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_wxPostScriptDC swig_types[127]
2594 #define SWIGTYPE_p_wxPrintData swig_types[128]
2595 #define SWIGTYPE_p_wxPrinterDC swig_types[129]
2596 #define SWIGTYPE_p_wxPseudoDC swig_types[130]
2597 #define SWIGTYPE_p_wxPyApp swig_types[131]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[134]
2601 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2602 #define SWIGTYPE_p_wxPyLocale swig_types[136]
2603 #define SWIGTYPE_p_wxPySizer swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxRect2D swig_types[141]
2608 #define SWIGTYPE_p_wxRegion swig_types[142]
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610 #define SWIGTYPE_p_wxRendererNative swig_types[144]
2611 #define SWIGTYPE_p_wxRendererVersion swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
);
3233 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3240 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3247 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3249 wxImage
img(cursorName
, type
);
3250 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3252 return new wxCursor(img
);
3254 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3259 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3262 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3263 return self
->operator bool();
3266 #include <wx/fontutil.h>
3267 #include <wx/fontmap.h>
3268 #include <wx/fontenum.h>
3270 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3271 return self
->ToString();
3274 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3275 static wxNativeEncodingInfo info
;
3276 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3283 SWIGINTERNINLINE PyObject
*
3284 SWIG_From_size_t (size_t value
)
3286 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3290 SWIGINTERNINLINE
int
3291 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3294 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3295 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxChar
*szName
, // name (for messages)
3399 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3400 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3410 const wxChar
*szDomain
= NULL
) const;
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szOrigString2
, size_t n
,
3413 const wxChar
*szDomain
= NULL
) const;
3415 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3416 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3418 const wxChar
*szOrigString2
, size_t n
,
3419 const wxChar
*szDomain
= NULL
) const;
3423 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3426 wxPyLocale::wxPyLocale() : wxLocale()
3430 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3431 const wxChar
*szShort
, // dir prefix (for msg files)
3432 const wxChar
*szLocale
, // locale (for setlocale)
3433 bool bLoadDefault
, // preload wxstd.mo?
3434 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3435 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3439 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3440 int flags
) : wxLocale(language
, flags
)
3444 wxPyLocale::~wxPyLocale()
3448 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3449 const wxChar
*szDomain
) const
3451 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3452 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3455 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3456 const wxChar
*szOrigString2
, size_t n
,
3457 const wxChar
*szDomain
) const
3459 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3460 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3463 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3464 const wxChar
*szDomain
) const
3467 static wxString str
;
3468 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.
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(szOrigString
);
3472 PyObject
* param2
= wx2PyString(szDomain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? (wxChar
*)str
.c_str() : NULL
);
3485 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3486 const wxChar
*szOrigString2
, size_t n
,
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
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szOrigString2
);
3496 PyObject
* param4
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3502 str
= Py2wxString(ret
);
3506 wxPyEndBlockThreads(blocked
);
3507 return (found
? (wxChar
*)str
.c_str() : NULL
);
3510 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3513 loc
= new wxPyLocale();
3515 loc
= new wxPyLocale(language
, flags
);
3516 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3517 // for the floating point conversions and such to work right.
3518 #if PY_VERSION_HEX < 0x02040000
3519 setlocale(LC_NUMERIC
, "C");
3524 #include "wx/wxPython/pydrawxxx.h"
3526 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3528 self
->GetPixel(x
, y
, &col
);
3531 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3533 self
->GetPixel(pt
, &col
);
3538 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3540 if (PyNumber_Check(obj
)) {
3541 if (val
) *val
= PyFloat_AsDouble(obj
);
3544 return SWIG_TypeError
;
3547 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3549 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3552 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3554 self
->GetClippingBox(rect
);
3557 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3559 self
->GetPartialTextExtents(text
, widths
);
3563 #define SWIG_From_double PyFloat_FromDouble
3565 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3566 self
->SetLogicalOrigin(point
.x
, point
.y
);
3568 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetDeviceOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->CalcBoundingBox(point
.x
, point
.y
);
3574 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3575 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3577 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3590 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3593 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3601 #include <wx/dcbuffer.h>
3604 #include <wx/dcps.h>
3607 class wxMetaFile
: public wxObject
{
3609 wxMetaFile(const wxString
&)
3610 { wxPyRaiseNotImplemented(); }
3613 class wxMetaFileDC
: public wxClientDC
{
3615 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3616 { wxPyRaiseNotImplemented(); }
3621 class wxPrinterDC
: public wxClientDC
{
3623 wxPrinterDC(const wxPrintData
&)
3624 { wxPyRaiseNotImplemented(); }
3629 #include <wx/graphics.h>
3632 #if !wxUSE_GRAPHICS_CONTEXT
3633 // C++ stub classes for platforms or build configurations that don't have
3634 // wxGraphicsContext yet.
3636 class wxGraphicsRenderer
;
3637 class wxGraphicsMatrix
;
3640 class wxGraphicsObject
: public wxObject
3643 wxGraphicsObject() {}
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
3660 virtual ~wxGraphicsPen() {}
3662 wxGraphicsPen wxNullGraphicsPen
;
3666 class wxGraphicsBrush
: public wxGraphicsObject
3669 wxGraphicsBrush() {}
3670 virtual ~wxGraphicsBrush() {}
3672 wxGraphicsBrush wxNullGraphicsBrush
;
3676 class wxGraphicsFont
: public wxGraphicsObject
3680 virtual ~wxGraphicsFont() {}
3682 wxGraphicsFont wxNullGraphicsFont
;
3686 class wxGraphicsPath
: public wxGraphicsObject
3689 wxGraphicsPath() { }
3690 wxGraphicsPath(wxGraphicsRenderer
* ) {
3691 PyErr_SetString(PyExc_NotImplementedError
,
3692 "wx.GraphicsPath is not available on this platform.");
3694 virtual ~wxGraphicsPath() {}
3696 void MoveToPoint( wxDouble
, wxDouble
) {}
3697 void MoveToPoint( const wxPoint2DDouble
& ) {}
3698 void AddLineToPoint( wxDouble
, wxDouble
) {}
3699 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3700 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3701 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3702 void AddPath( const wxGraphicsPath
& ) {}
3703 void CloseSubpath() {}
3704 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3705 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3706 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3707 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3709 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void * GetNativePath() const { return NULL
; }
3717 void UnGetNativePath(void *) const {}
3718 void Transform( const wxGraphicsMatrix
& ) {}
3719 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3720 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3722 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3723 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3725 wxGraphicsPath wxNullGraphicsPath
;
3728 class wxGraphicsMatrix
: public wxGraphicsObject
3731 wxGraphicsMatrix() { }
3732 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3733 PyErr_SetString(PyExc_NotImplementedError
,
3734 "wx.GraphicsMatrix is not available on this platform.");
3736 virtual ~wxGraphicsMatrix() {}
3737 virtual void Concat( const wxGraphicsMatrix
& ) {}
3738 virtual void Copy( const wxGraphicsMatrix
& ) {}
3739 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3740 wxDouble
, wxDouble
) {}
3741 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3742 wxDouble
*, wxDouble
*, wxDouble
*) {}
3743 virtual void Invert() {}
3744 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3745 virtual bool IsIdentity() const { return false; }
3746 virtual void Translate( wxDouble
, wxDouble
) {}
3747 virtual void Scale( wxDouble
, wxDouble
) {}
3748 virtual void Rotate( wxDouble
) {}
3749 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3750 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3751 virtual void * GetNativeMatrix() const { return NULL
; }
3753 wxGraphicsMatrix wxNullGraphicsMatrix
;
3756 class wxGraphicsContext
: public wxGraphicsObject
3760 wxGraphicsContext(wxGraphicsRenderer
* ) {
3761 PyErr_SetString(PyExc_NotImplementedError
,
3762 "wx.GraphicsContext is not available on this platform.");
3765 virtual ~wxGraphicsContext() {}
3767 static wxGraphicsContext
* Create() {
3768 PyErr_SetString(PyExc_NotImplementedError
,
3769 "wx.GraphicsContext is not available on this platform.");
3772 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* CreateFromNative( void * ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3784 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3785 PyErr_SetString(PyExc_NotImplementedError
,
3786 "wx.GraphicsContext is not available on this platform.");
3790 static wxGraphicsContext
* Create( wxWindow
* ) {
3791 PyErr_SetString(PyExc_NotImplementedError
,
3792 "wx.GraphicsContext is not available on this platform.");
3796 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3798 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3800 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3802 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3803 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3805 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3806 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3807 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3809 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3811 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3812 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3814 virtual void PushState() {}
3815 virtual void PopState() {}
3816 virtual void Clip( const wxRegion
& ) {}
3817 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3818 virtual void ResetClip() {}
3819 virtual void * GetNativeContext() { return NULL
; }
3820 virtual int GetLogicalFunction() const { return 0; }
3821 virtual bool SetLogicalFunction(int ) {}
3822 virtual void Translate( wxDouble
, wxDouble
) {}
3823 virtual void Scale( wxDouble
, wxDouble
) {}
3824 virtual void Rotate( wxDouble
) {}
3825 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3826 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3827 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3829 virtual void SetPen( const wxGraphicsPen
& ) {}
3830 void SetPen( const wxPen
& ) {}
3832 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3833 void SetBrush( const wxBrush
& ) {}
3835 virtual void SetFont( const wxGraphicsFont
& ) {}
3836 void SetFont( const wxFont
&, const wxColour
& ) {}
3838 virtual void StrokePath( const wxGraphicsPath
& ) {}
3839 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3840 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3842 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3843 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3846 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3847 wxDouble
*, wxDouble
* ) const {}
3848 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3850 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3851 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3853 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3854 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3855 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3856 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3857 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual bool ShouldOffset() const { return false; }
3865 class wxGraphicsRenderer
: public wxObject
3868 wxGraphicsRenderer() {
3869 PyErr_SetString(PyExc_NotImplementedError
,
3870 "wx.GraphicsRenderer is not available on this platform.");
3873 virtual ~wxGraphicsRenderer() {}
3875 static wxGraphicsRenderer
* GetDefaultRenderer() {
3876 PyErr_SetString(PyExc_NotImplementedError
,
3877 "wx.GraphicsRenderer is not available on this platform.");
3881 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3882 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3887 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3889 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3890 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3892 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3893 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3894 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3895 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3896 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3897 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3898 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3903 class wxGCDC
: public wxWindowDC
3906 wxGCDC(const wxWindowDC
&) {
3907 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3908 PyErr_SetString(PyExc_NotImplementedError
,
3909 "wxGCDC is not available on this platform.");
3910 wxPyEndBlockThreads(blocked
);
3913 wxGCDC(const wxWindow
*) {
3914 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3915 PyErr_SetString(PyExc_NotImplementedError
,
3916 "wxGCDC is not available on this platform.");
3917 wxPyEndBlockThreads(blocked
);
3921 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3922 PyErr_SetString(PyExc_NotImplementedError
,
3923 "wxGCDC is not available on this platform.");
3924 wxPyEndBlockThreads(blocked
);
3927 virtual ~wxGCDC() {}
3929 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3930 void SetGraphicsContext( wxGraphicsContext
* ) {}
3935 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3936 if ( !backgroundBrush
.IsNull() )
3937 self
->DrawText(str
, x
, y
, backgroundBrush
);
3939 self
->DrawText(str
, x
, y
);
3941 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3942 if ( !backgroundBrush
.IsNull() )
3943 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3945 self
->DrawText(str
, x
, y
, angle
);
3947 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3948 wxDouble width
= 0.0,
3950 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3951 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3952 PyObject
* rv
= PyTuple_New(2);
3953 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3954 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3957 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3958 wxArrayDouble widths
;
3959 self
->GetPartialTextExtents(text
, widths
);
3962 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3963 size_t c1
, c2
, count
;
3964 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3965 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3967 if ( beginP
!= NULL
&& endP
!= NULL
)
3969 count
= wxMin(c1
, c2
);
3970 self
->StrokeLines(count
, beginP
, endP
);
3976 #include "wx/dcgraph.h"
3979 #include <wx/overlay.h>
3983 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3984 self
->AddColour(name
, wxColour(red
, green
, blue
));
3987 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3988 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3989 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3990 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3993 #include <wx/effects.h>
3996 #include "wx/renderer.h"
3999 SWIGINTERNINLINE PyObject
*
4000 SWIG_From_bool (bool value
)
4002 return PyBool_FromLong(value
? 1 : 0);
4006 #include "wx/wxPython/pseudodc.h"
4008 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4010 self
->GetIdBounds(id
, rect
);
4016 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4017 PyObject
*resultobj
= 0;
4018 wxGDIObject
*result
= 0 ;
4020 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4022 if (!wxPyCheckForApp()) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (wxGDIObject
*)new wxGDIObject();
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4035 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4036 PyObject
*resultobj
= 0;
4037 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4040 PyObject
*swig_obj
[1] ;
4042 if (!args
) SWIG_fail
;
4044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4045 if (!SWIG_IsOK(res1
)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4048 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= SWIG_Py_Void();
4063 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4064 PyObject
*resultobj
= 0;
4065 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4069 PyObject
*swig_obj
[1] ;
4071 if (!args
) SWIG_fail
;
4073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4074 if (!SWIG_IsOK(res1
)) {
4075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4077 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (bool)(arg1
)->IsNull();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4096 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4097 return SWIG_Py_Void();
4100 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4101 return SWIG_Python_InitShadowInstance(args
);
4104 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
= 0;
4106 byte arg1
= (byte
) 0 ;
4107 byte arg2
= (byte
) 0 ;
4108 byte arg3
= (byte
) 0 ;
4109 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4110 wxColour
*result
= 0 ;
4111 unsigned char val1
;
4113 unsigned char val2
;
4115 unsigned char val3
;
4117 unsigned char val4
;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4121 PyObject
* obj2
= 0 ;
4122 PyObject
* obj3
= 0 ;
4123 char * kwnames
[] = {
4124 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4129 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4130 if (!SWIG_IsOK(ecode1
)) {
4131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4133 arg1
= static_cast< byte
>(val1
);
4136 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4137 if (!SWIG_IsOK(ecode2
)) {
4138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4140 arg2
= static_cast< byte
>(val2
);
4143 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4144 if (!SWIG_IsOK(ecode3
)) {
4145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4147 arg3
= static_cast< byte
>(val3
);
4150 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4151 if (!SWIG_IsOK(ecode4
)) {
4152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4154 arg4
= static_cast< byte
>(val4
);
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4169 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
= 0;
4171 wxString
*arg1
= 0 ;
4172 wxColour
*result
= 0 ;
4173 bool temp1
= false ;
4174 PyObject
* obj0
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "colorName", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4181 arg1
= wxString_in_helper(obj0
);
4182 if (arg1
== NULL
) SWIG_fail
;
4186 if (!wxPyCheckForApp()) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4207 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
= 0;
4209 unsigned long arg1
;
4210 wxColour
*result
= 0 ;
4211 unsigned long val1
;
4213 PyObject
* obj0
= 0 ;
4214 char * kwnames
[] = {
4215 (char *) "colRGB", NULL
4218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4219 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4220 if (!SWIG_IsOK(ecode1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4223 arg1
= static_cast< unsigned long >(val1
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (wxColour
*)new wxColour(arg1
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4237 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4238 PyObject
*resultobj
= 0;
4239 wxColour
*arg1
= (wxColour
*) 0 ;
4242 PyObject
*swig_obj
[1] ;
4244 if (!args
) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4250 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= SWIG_Py_Void();
4265 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4266 PyObject
*resultobj
= 0;
4267 wxColour
*arg1
= (wxColour
*) 0 ;
4271 PyObject
*swig_obj
[1] ;
4273 if (!args
) SWIG_fail
;
4275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4276 if (!SWIG_IsOK(res1
)) {
4277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4279 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (byte
)(arg1
)->Red();
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4293 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4294 PyObject
*resultobj
= 0;
4295 wxColour
*arg1
= (wxColour
*) 0 ;
4299 PyObject
*swig_obj
[1] ;
4301 if (!args
) SWIG_fail
;
4303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4304 if (!SWIG_IsOK(res1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4307 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (byte
)(arg1
)->Green();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4321 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4322 PyObject
*resultobj
= 0;
4323 wxColour
*arg1
= (wxColour
*) 0 ;
4327 PyObject
*swig_obj
[1] ;
4329 if (!args
) SWIG_fail
;
4331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4332 if (!SWIG_IsOK(res1
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4335 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (byte
)(arg1
)->Blue();
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4349 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4350 PyObject
*resultobj
= 0;
4351 wxColour
*arg1
= (wxColour
*) 0 ;
4355 PyObject
*swig_obj
[1] ;
4357 if (!args
) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4363 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= (byte
)(arg1
)->Alpha();
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4377 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4378 PyObject
*resultobj
= 0;
4379 wxColour
*arg1
= (wxColour
*) 0 ;
4383 PyObject
*swig_obj
[1] ;
4385 if (!args
) SWIG_fail
;
4387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4388 if (!SWIG_IsOK(res1
)) {
4389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4391 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 result
= (bool)(arg1
)->IsOk();
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4407 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxColour
*arg1
= (wxColour
*) 0 ;
4413 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4416 unsigned char val2
;
4418 unsigned char val3
;
4420 unsigned char val4
;
4422 unsigned char val5
;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 PyObject
* obj2
= 0 ;
4427 PyObject
* obj3
= 0 ;
4428 PyObject
* obj4
= 0 ;
4429 char * kwnames
[] = {
4430 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4435 if (!SWIG_IsOK(res1
)) {
4436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4438 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4439 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4440 if (!SWIG_IsOK(ecode2
)) {
4441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4443 arg2
= static_cast< byte
>(val2
);
4444 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4445 if (!SWIG_IsOK(ecode3
)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4448 arg3
= static_cast< byte
>(val3
);
4449 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4450 if (!SWIG_IsOK(ecode4
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4453 arg4
= static_cast< byte
>(val4
);
4455 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4456 if (!SWIG_IsOK(ecode5
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4459 arg5
= static_cast< byte
>(val5
);
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_Py_Void();
4474 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
= 0;
4476 wxColour
*arg1
= (wxColour
*) 0 ;
4477 unsigned long arg2
;
4480 unsigned long val2
;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4484 char * kwnames
[] = {
4485 (char *) "self",(char *) "colRGB", NULL
4488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",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_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4493 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4494 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4495 if (!SWIG_IsOK(ecode2
)) {
4496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4498 arg2
= static_cast< unsigned long >(val2
);
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= SWIG_Py_Void();
4512 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
= 0;
4514 wxColour
*arg1
= (wxColour
*) 0 ;
4515 wxString
*arg2
= 0 ;
4518 bool temp2
= false ;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4521 char * kwnames
[] = {
4522 (char *) "self",(char *) "colourName", NULL
4525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4527 if (!SWIG_IsOK(res1
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4530 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4532 arg2
= wxString_in_helper(obj1
);
4533 if (arg2
== NULL
) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 (arg1
)->Set((wxString
const &)*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= SWIG_Py_Void();
4557 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
= 0;
4559 wxColour
*arg1
= (wxColour
*) 0 ;
4560 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4566 PyObject
* obj0
= 0 ;
4567 PyObject
* obj1
= 0 ;
4568 char * kwnames
[] = {
4569 (char *) "self",(char *) "flags", NULL
4572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4574 if (!SWIG_IsOK(res1
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4577 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4579 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4580 if (!SWIG_IsOK(ecode2
)) {
4581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4583 arg2
= static_cast< long >(val2
);
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4604 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4605 PyObject
*resultobj
= 0;
4606 wxColour
*arg1
= (wxColour
*) 0 ;
4610 PyObject
*swig_obj
[1] ;
4612 if (!args
) SWIG_fail
;
4614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4615 if (!SWIG_IsOK(res1
)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4618 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= SWIG_From_long(static_cast< long >(result
));
4632 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
= 0;
4634 wxColour
*arg1
= (wxColour
*) 0 ;
4635 PyObject
*arg2
= (PyObject
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 char * kwnames
[] = {
4642 (char *) "self",(char *) "other", NULL
4645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4647 if (!SWIG_IsOK(res1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4650 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4653 result
= (bool)wxColour___eq__(arg1
,arg2
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4665 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxColour
*arg1
= (wxColour
*) 0 ;
4668 PyObject
*arg2
= (PyObject
*) 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "other", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4683 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4686 result
= (bool)wxColour___ne__(arg1
,arg2
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
= 0;
4700 wxColour
*arg1
= (wxColour
*) 0 ;
4701 bool arg2
= (bool) false ;
4702 PyObject
*result
= 0 ;
4707 PyObject
* obj0
= 0 ;
4708 PyObject
* obj1
= 0 ;
4709 char * kwnames
[] = {
4710 (char *) "self",(char *) "includeAlpha", NULL
4713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4715 if (!SWIG_IsOK(res1
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4718 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4721 if (!SWIG_IsOK(ecode2
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4724 arg2
= static_cast< bool >(val2
);
4727 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4737 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4738 PyObject
*resultobj
= 0;
4739 wxColour
*arg1
= (wxColour
*) 0 ;
4740 unsigned long result
;
4743 PyObject
*swig_obj
[1] ;
4745 if (!args
) SWIG_fail
;
4747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4748 if (!SWIG_IsOK(res1
)) {
4749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4751 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4753 result
= (unsigned long)wxColour_GetRGB(arg1
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4763 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4766 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4767 return SWIG_Py_Void();
4770 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4771 return SWIG_Python_InitShadowInstance(args
);
4774 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
= 0;
4777 unsigned char *arg2
= (unsigned char *) 0 ;
4778 unsigned char *arg3
= (unsigned char *) 0 ;
4779 unsigned char *arg4
= (unsigned char *) 0 ;
4780 wxPalette
*result
= 0 ;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4791 PyObject
* obj2
= 0 ;
4792 PyObject
* obj3
= 0 ;
4793 char * kwnames
[] = {
4794 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4798 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4799 if (!SWIG_IsOK(ecode1
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4802 arg1
= static_cast< int >(val1
);
4803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4804 if (!SWIG_IsOK(res2
)) {
4805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4807 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4808 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4809 if (!SWIG_IsOK(res3
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4812 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4813 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4814 if (!SWIG_IsOK(res4
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4817 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4819 if (!wxPyCheckForApp()) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4832 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4833 PyObject
*resultobj
= 0;
4834 wxPalette
*arg1
= (wxPalette
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4845 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_Py_Void();
4860 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
= 0;
4862 wxPalette
*arg1
= (wxPalette
*) 0 ;
4869 unsigned char val2
;
4871 unsigned char val3
;
4873 unsigned char val4
;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4877 PyObject
* obj2
= 0 ;
4878 PyObject
* obj3
= 0 ;
4879 char * kwnames
[] = {
4880 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4885 if (!SWIG_IsOK(res1
)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4888 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4889 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4890 if (!SWIG_IsOK(ecode2
)) {
4891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4893 arg2
= static_cast< byte
>(val2
);
4894 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4895 if (!SWIG_IsOK(ecode3
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4898 arg3
= static_cast< byte
>(val3
);
4899 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4900 if (!SWIG_IsOK(ecode4
)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4903 arg4
= static_cast< byte
>(val4
);
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_From_int(static_cast< int >(result
));
4917 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
= 0;
4919 wxPalette
*arg1
= (wxPalette
*) 0 ;
4921 byte
*arg3
= (byte
*) 0 ;
4922 byte
*arg4
= (byte
*) 0 ;
4923 byte
*arg5
= (byte
*) 0 ;
4930 int res3
= SWIG_TMPOBJ
;
4932 int res4
= SWIG_TMPOBJ
;
4934 int res5
= SWIG_TMPOBJ
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "pixel", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4949 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4951 if (!SWIG_IsOK(ecode2
)) {
4952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4954 arg2
= static_cast< int >(val2
);
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4964 if (SWIG_IsTmpObj(res3
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4967 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4970 if (SWIG_IsTmpObj(res4
)) {
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4973 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4976 if (SWIG_IsTmpObj(res5
)) {
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4979 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4988 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4989 PyObject
*resultobj
= 0;
4990 wxPalette
*arg1
= (wxPalette
*) 0 ;
4994 PyObject
*swig_obj
[1] ;
4996 if (!args
) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5002 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_From_int(static_cast< int >(result
));
5016 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5017 PyObject
*resultobj
= 0;
5018 wxPalette
*arg1
= (wxPalette
*) 0 ;
5022 PyObject
*swig_obj
[1] ;
5024 if (!args
) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5030 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (bool)(arg1
)->IsOk();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5046 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5049 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5050 return SWIG_Py_Void();
5053 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5054 return SWIG_Python_InitShadowInstance(args
);
5057 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
= 0;
5059 wxColour
*arg1
= 0 ;
5060 int arg2
= (int) 1 ;
5061 int arg3
= (int) wxSOLID
;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 PyObject
* obj2
= 0 ;
5071 char * kwnames
[] = {
5072 (char *) "colour",(char *) "width",(char *) "style", NULL
5075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5078 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5082 if (!SWIG_IsOK(ecode2
)) {
5083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5085 arg2
= static_cast< int >(val2
);
5088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5089 if (!SWIG_IsOK(ecode3
)) {
5090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5092 arg3
= static_cast< int >(val3
);
5095 if (!wxPyCheckForApp()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5108 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxPen
*arg1
= (wxPen
*) 0 ;
5113 PyObject
*swig_obj
[1] ;
5115 if (!args
) SWIG_fail
;
5117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5118 if (!SWIG_IsOK(res1
)) {
5119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5121 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_Py_Void();
5136 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5137 PyObject
*resultobj
= 0;
5138 wxPen
*arg1
= (wxPen
*) 0 ;
5142 PyObject
*swig_obj
[1] ;
5144 if (!args
) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5150 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (int)(arg1
)->GetCap();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_From_int(static_cast< int >(result
));
5164 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5165 PyObject
*resultobj
= 0;
5166 wxPen
*arg1
= (wxPen
*) 0 ;
5170 PyObject
*swig_obj
[1] ;
5172 if (!args
) SWIG_fail
;
5174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5175 if (!SWIG_IsOK(res1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5178 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (arg1
)->GetColour();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5192 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5193 PyObject
*resultobj
= 0;
5194 wxPen
*arg1
= (wxPen
*) 0 ;
5198 PyObject
*swig_obj
[1] ;
5200 if (!args
) SWIG_fail
;
5202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5203 if (!SWIG_IsOK(res1
)) {
5204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5206 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (int)(arg1
)->GetJoin();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_From_int(static_cast< int >(result
));
5220 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5221 PyObject
*resultobj
= 0;
5222 wxPen
*arg1
= (wxPen
*) 0 ;
5226 PyObject
*swig_obj
[1] ;
5228 if (!args
) SWIG_fail
;
5230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5231 if (!SWIG_IsOK(res1
)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5234 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (int)(arg1
)->GetStyle();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_From_int(static_cast< int >(result
));
5248 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5249 PyObject
*resultobj
= 0;
5250 wxPen
*arg1
= (wxPen
*) 0 ;
5254 PyObject
*swig_obj
[1] ;
5256 if (!args
) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5262 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (int)(arg1
)->GetWidth();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_From_int(static_cast< int >(result
));
5276 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5277 PyObject
*resultobj
= 0;
5278 wxPen
*arg1
= (wxPen
*) 0 ;
5282 PyObject
*swig_obj
[1] ;
5284 if (!args
) SWIG_fail
;
5286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5287 if (!SWIG_IsOK(res1
)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5290 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (bool)(arg1
)->IsOk();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
= 0;
5308 wxPen
*arg1
= (wxPen
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 char * kwnames
[] = {
5317 (char *) "self",(char *) "cap_style", NULL
5320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",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_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5325 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5327 if (!SWIG_IsOK(ecode2
)) {
5328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5330 arg2
= static_cast< int >(val2
);
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 (arg1
)->SetCap(arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_Py_Void();
5344 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
= 0;
5346 wxPen
*arg1
= (wxPen
*) 0 ;
5347 wxColour
*arg2
= 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5353 char * kwnames
[] = {
5354 (char *) "self",(char *) "colour", NULL
5357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",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_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5362 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 (arg1
)->SetColour(*arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= SWIG_Py_Void();
5380 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
= 0;
5382 wxPen
*arg1
= (wxPen
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5390 char * kwnames
[] = {
5391 (char *) "self",(char *) "join_style", NULL
5394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5396 if (!SWIG_IsOK(res1
)) {
5397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5399 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5401 if (!SWIG_IsOK(ecode2
)) {
5402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5404 arg2
= static_cast< int >(val2
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->SetJoin(arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_Py_Void();
5418 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxPen
*arg1
= (wxPen
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "self",(char *) "style", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5434 if (!SWIG_IsOK(res1
)) {
5435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5437 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5439 if (!SWIG_IsOK(ecode2
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5442 arg2
= static_cast< int >(val2
);
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->SetStyle(arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= SWIG_Py_Void();
5456 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
= 0;
5458 wxPen
*arg1
= (wxPen
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5466 char * kwnames
[] = {
5467 (char *) "self",(char *) "width", NULL
5470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",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_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5475 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5477 if (!SWIG_IsOK(ecode2
)) {
5478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5480 arg2
= static_cast< int >(val2
);
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 (arg1
)->SetWidth(arg2
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_Py_Void();
5494 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
= 0;
5496 wxPen
*arg1
= (wxPen
*) 0 ;
5498 wxDash
*arg3
= (wxDash
*) 0 ;
5501 PyObject
* obj0
= 0 ;
5502 PyObject
* obj1
= 0 ;
5503 char * kwnames
[] = {
5504 (char *) "self",(char *) "dashes", NULL
5507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5512 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5514 arg2
= PyList_Size(obj1
);
5515 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5516 if (arg3
== NULL
) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 (arg1
)->SetDashes(arg2
,arg3
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= SWIG_Py_Void();
5526 if (arg3
) delete [] arg3
;
5531 if (arg3
) delete [] arg3
;
5537 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5538 PyObject
*resultobj
= 0;
5539 wxPen
*arg1
= (wxPen
*) 0 ;
5540 PyObject
*result
= 0 ;
5543 PyObject
*swig_obj
[1] ;
5545 if (!args
) SWIG_fail
;
5547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5548 if (!SWIG_IsOK(res1
)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5551 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5565 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
= 0;
5567 wxPen
*arg1
= (wxPen
*) 0 ;
5568 PyObject
*arg2
= (PyObject
*) 0 ;
5569 PyObject
*arg3
= (PyObject
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5574 PyObject
* obj2
= 0 ;
5575 char * kwnames
[] = {
5576 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5584 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 wxPen__SetDashes(arg1
,arg2
,arg3
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_Py_Void();
5600 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5601 PyObject
*resultobj
= 0;
5602 wxPen
*arg1
= (wxPen
*) 0 ;
5606 PyObject
*swig_obj
[1] ;
5608 if (!args
) SWIG_fail
;
5610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5611 if (!SWIG_IsOK(res1
)) {
5612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5614 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= SWIG_From_int(static_cast< int >(result
));
5628 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
= 0;
5630 wxPen
*arg1
= (wxPen
*) 0 ;
5631 wxPen
*arg2
= (wxPen
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5639 char * kwnames
[] = {
5640 (char *) "self",(char *) "other", NULL
5643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5645 if (!SWIG_IsOK(res1
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5648 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5650 if (!SWIG_IsOK(res2
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5653 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5669 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
= 0;
5671 wxPen
*arg1
= (wxPen
*) 0 ;
5672 wxPen
*arg2
= (wxPen
*) 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 char * kwnames
[] = {
5681 (char *) "self",(char *) "other", NULL
5684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5689 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5691 if (!SWIG_IsOK(res2
)) {
5692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5694 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5710 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5714 return SWIG_Py_Void();
5717 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5718 return SWIG_Python_InitShadowInstance(args
);
5721 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxColour
*arg1
= 0 ;
5724 int arg2
= (int) wxSOLID
;
5725 wxBrush
*result
= 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 char * kwnames
[] = {
5732 (char *) "colour",(char *) "style", NULL
5735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5738 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5742 if (!SWIG_IsOK(ecode2
)) {
5743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5745 arg2
= static_cast< int >(val2
);
5748 if (!wxPyCheckForApp()) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5761 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
= 0;
5763 wxBitmap
*arg1
= 0 ;
5764 wxBrush
*result
= 0 ;
5767 PyObject
* obj0
= 0 ;
5768 char * kwnames
[] = {
5769 (char *) "stippleBitmap", NULL
5772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5780 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5782 if (!wxPyCheckForApp()) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5795 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxBrush
*arg1
= (wxBrush
*) 0 ;
5800 PyObject
*swig_obj
[1] ;
5802 if (!args
) SWIG_fail
;
5804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5805 if (!SWIG_IsOK(res1
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5808 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_Py_Void();
5823 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
= 0;
5825 wxBrush
*arg1
= (wxBrush
*) 0 ;
5826 wxColour
*arg2
= 0 ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 char * kwnames
[] = {
5833 (char *) "self",(char *) "col", NULL
5836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5838 if (!SWIG_IsOK(res1
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5841 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 (arg1
)->SetColour((wxColour
const &)*arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= SWIG_Py_Void();
5859 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
= 0;
5861 wxBrush
*arg1
= (wxBrush
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5869 char * kwnames
[] = {
5870 (char *) "self",(char *) "style", NULL
5873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5875 if (!SWIG_IsOK(res1
)) {
5876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5878 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5880 if (!SWIG_IsOK(ecode2
)) {
5881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5883 arg2
= static_cast< int >(val2
);
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 (arg1
)->SetStyle(arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_Py_Void();
5897 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
= 0;
5899 wxBrush
*arg1
= (wxBrush
*) 0 ;
5900 wxBitmap
*arg2
= 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5907 char * kwnames
[] = {
5908 (char *) "self",(char *) "stipple", NULL
5911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5916 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5918 if (!SWIG_IsOK(res2
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5924 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= SWIG_Py_Void();
5938 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5939 PyObject
*resultobj
= 0;
5940 wxBrush
*arg1
= (wxBrush
*) 0 ;
5944 PyObject
*swig_obj
[1] ;
5946 if (!args
) SWIG_fail
;
5948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5949 if (!SWIG_IsOK(res1
)) {
5950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5952 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= ((wxBrush
const *)arg1
)->GetColour();
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5966 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5967 PyObject
*resultobj
= 0;
5968 wxBrush
*arg1
= (wxBrush
*) 0 ;
5972 PyObject
*swig_obj
[1] ;
5974 if (!args
) SWIG_fail
;
5976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5977 if (!SWIG_IsOK(res1
)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5980 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_From_int(static_cast< int >(result
));
5994 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5995 PyObject
*resultobj
= 0;
5996 wxBrush
*arg1
= (wxBrush
*) 0 ;
5997 wxBitmap
*result
= 0 ;
6000 PyObject
*swig_obj
[1] ;
6002 if (!args
) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6008 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6022 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxBrush
*arg1
= (wxBrush
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6036 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6052 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6053 PyObject
*resultobj
= 0;
6054 wxBrush
*arg1
= (wxBrush
*) 0 ;
6058 PyObject
*swig_obj
[1] ;
6060 if (!args
) SWIG_fail
;
6062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6063 if (!SWIG_IsOK(res1
)) {
6064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6066 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)(arg1
)->IsOk();
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6082 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6085 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6086 return SWIG_Py_Void();
6089 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6090 return SWIG_Python_InitShadowInstance(args
);
6093 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
= 0;
6095 wxString
*arg1
= 0 ;
6096 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6097 wxBitmap
*result
= 0 ;
6098 bool temp1
= false ;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6103 char * kwnames
[] = {
6104 (char *) "name",(char *) "type", NULL
6107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6109 arg1
= wxString_in_helper(obj0
);
6110 if (arg1
== NULL
) SWIG_fail
;
6114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6115 if (!SWIG_IsOK(ecode2
)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6118 arg2
= static_cast< wxBitmapType
>(val2
);
6121 if (!wxPyCheckForApp()) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6142 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6143 PyObject
*resultobj
= 0;
6144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6147 PyObject
*swig_obj
[1] ;
6149 if (!args
) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6155 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_Py_Void();
6168 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
= 0;
6172 int arg3
= (int) -1 ;
6173 wxBitmap
*result
= 0 ;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6182 PyObject
* obj2
= 0 ;
6183 char * kwnames
[] = {
6184 (char *) "width",(char *) "height",(char *) "depth", NULL
6187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6189 if (!SWIG_IsOK(ecode1
)) {
6190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6192 arg1
= static_cast< int >(val1
);
6193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6194 if (!SWIG_IsOK(ecode2
)) {
6195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6197 arg2
= static_cast< int >(val2
);
6199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6200 if (!SWIG_IsOK(ecode3
)) {
6201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6203 arg3
= static_cast< int >(val3
);
6206 if (!wxPyCheckForApp()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6219 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
= 0;
6222 wxBitmap
*result
= 0 ;
6225 PyObject
* obj0
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "icon", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6231 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6232 if (!SWIG_IsOK(res1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6238 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6240 if (!wxPyCheckForApp()) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6253 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
= 0;
6256 int arg2
= (int) -1 ;
6257 wxBitmap
*result
= 0 ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 char * kwnames
[] = {
6265 (char *) "image",(char *) "depth", NULL
6268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6269 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6270 if (!SWIG_IsOK(res1
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6276 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6279 if (!SWIG_IsOK(ecode2
)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6282 arg2
= static_cast< int >(val2
);
6285 if (!wxPyCheckForApp()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6298 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
= 0;
6300 PyObject
*arg1
= (PyObject
*) 0 ;
6301 wxBitmap
*result
= 0 ;
6302 PyObject
* obj0
= 0 ;
6303 char * kwnames
[] = {
6304 (char *) "listOfStrings", NULL
6307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6310 if (!wxPyCheckForApp()) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6323 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
= 0;
6325 PyObject
*arg1
= (PyObject
*) 0 ;
6328 int arg4
= (int) 1 ;
6329 wxBitmap
*result
= 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6339 PyObject
* obj3
= 0 ;
6340 char * kwnames
[] = {
6341 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6347 if (!SWIG_IsOK(ecode2
)) {
6348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6350 arg2
= static_cast< int >(val2
);
6351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6352 if (!SWIG_IsOK(ecode3
)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6355 arg3
= static_cast< int >(val3
);
6357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6358 if (!SWIG_IsOK(ecode4
)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6361 arg4
= static_cast< int >(val4
);
6364 if (!wxPyCheckForApp()) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6377 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6378 PyObject
*resultobj
= 0;
6379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6383 PyObject
*swig_obj
[1] ;
6385 if (!args
) SWIG_fail
;
6387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6388 if (!SWIG_IsOK(res1
)) {
6389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6391 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6393 result
= (bool)(arg1
)->IsOk();
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6406 PyObject
*resultobj
= 0;
6407 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6411 PyObject
*swig_obj
[1] ;
6413 if (!args
) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6419 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6421 result
= (int)(arg1
)->GetWidth();
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_From_int(static_cast< int >(result
));
6431 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6432 PyObject
*resultobj
= 0;
6433 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6437 PyObject
*swig_obj
[1] ;
6439 if (!args
) SWIG_fail
;
6441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6442 if (!SWIG_IsOK(res1
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6447 result
= (int)(arg1
)->GetHeight();
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_From_int(static_cast< int >(result
));
6457 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 PyObject
*swig_obj
[1] ;
6465 if (!args
) SWIG_fail
;
6467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6468 if (!SWIG_IsOK(res1
)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6471 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6473 result
= (int)(arg1
)->GetDepth();
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_From_int(static_cast< int >(result
));
6483 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6484 PyObject
*resultobj
= 0;
6485 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6497 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6499 result
= wxBitmap_GetSize(arg1
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6509 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 PyObject
*resultobj
= 0;
6511 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6512 SwigValueWrapper
<wxImage
> result
;
6515 PyObject
*swig_obj
[1] ;
6517 if (!args
) SWIG_fail
;
6519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6520 if (!SWIG_IsOK(res1
)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6523 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6525 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6535 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6538 wxMask
*result
= 0 ;
6541 PyObject
*swig_obj
[1] ;
6543 if (!args
) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6551 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6561 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= 0;
6563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6564 wxMask
*arg2
= (wxMask
*) 0 ;
6568 PyObject
* obj0
= 0 ;
6569 PyObject
* obj1
= 0 ;
6570 char * kwnames
[] = {
6571 (char *) "self",(char *) "mask", NULL
6574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6579 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6580 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6581 if (!SWIG_IsOK(res2
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6585 (arg1
)->SetMask(arg2
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_Py_Void();
6595 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
= 0;
6597 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6598 wxColour
*arg2
= 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 char * kwnames
[] = {
6605 (char *) "self",(char *) "colour", NULL
6608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6610 if (!SWIG_IsOK(res1
)) {
6611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6613 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6619 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= SWIG_Py_Void();
6629 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
= 0;
6631 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6633 SwigValueWrapper
<wxBitmap
> result
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 char * kwnames
[] = {
6640 (char *) "self",(char *) "rect", NULL
6643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6645 if (!SWIG_IsOK(res1
)) {
6646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6648 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6651 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6654 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6664 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
= 0;
6666 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6667 wxString
*arg2
= 0 ;
6669 wxPalette
*arg4
= (wxPalette
*) NULL
;
6673 bool temp2
= false ;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6680 PyObject
* obj2
= 0 ;
6681 PyObject
* obj3
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6691 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6693 arg2
= wxString_in_helper(obj1
);
6694 if (arg2
== NULL
) SWIG_fail
;
6697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6698 if (!SWIG_IsOK(ecode3
)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6701 arg3
= static_cast< wxBitmapType
>(val3
);
6703 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6704 if (!SWIG_IsOK(res4
)) {
6705 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6707 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6710 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6730 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
= 0;
6732 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6733 wxString
*arg2
= 0 ;
6738 bool temp2
= false ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 PyObject
* obj2
= 0 ;
6744 char * kwnames
[] = {
6745 (char *) "self",(char *) "name",(char *) "type", NULL
6748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6750 if (!SWIG_IsOK(res1
)) {
6751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6753 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6755 arg2
= wxString_in_helper(obj1
);
6756 if (arg2
== NULL
) SWIG_fail
;
6759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6760 if (!SWIG_IsOK(ecode3
)) {
6761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6763 arg3
= static_cast< wxBitmapType
>(val3
);
6765 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6785 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6786 PyObject
*resultobj
= 0;
6787 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6788 wxPalette
*result
= 0 ;
6791 PyObject
*swig_obj
[1] ;
6793 if (!args
) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6799 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6801 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6811 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
= 0;
6813 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6822 char * kwnames
[] = {
6823 (char *) "self",(char *) "icon", NULL
6826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6828 if (!SWIG_IsOK(res1
)) {
6829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6833 if (!SWIG_IsOK(res2
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6839 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6841 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6853 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
= 0;
6855 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6863 char * kwnames
[] = {
6864 (char *) "self",(char *) "height", NULL
6867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6869 if (!SWIG_IsOK(res1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6874 if (!SWIG_IsOK(ecode2
)) {
6875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6877 arg2
= static_cast< int >(val2
);
6879 (arg1
)->SetHeight(arg2
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_Py_Void();
6889 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6899 char * kwnames
[] = {
6900 (char *) "self",(char *) "width", NULL
6903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6905 if (!SWIG_IsOK(res1
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6908 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6910 if (!SWIG_IsOK(ecode2
)) {
6911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6913 arg2
= static_cast< int >(val2
);
6915 (arg1
)->SetWidth(arg2
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_Py_Void();
6925 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
= 0;
6927 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "self",(char *) "depth", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6944 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6946 if (!SWIG_IsOK(ecode2
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6949 arg2
= static_cast< int >(val2
);
6951 (arg1
)->SetDepth(arg2
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_Py_Void();
6961 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
= 0;
6963 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6970 char * kwnames
[] = {
6971 (char *) "self",(char *) "size", NULL
6974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6976 if (!SWIG_IsOK(res1
)) {
6977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6979 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6982 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6985 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_Py_Void();
6995 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
= 0;
6997 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7005 char * kwnames
[] = {
7006 (char *) "self",(char *) "data", NULL
7009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7011 if (!SWIG_IsOK(res1
)) {
7012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7014 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7016 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7020 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= SWIG_Py_Void();
7030 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
= 0;
7032 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7038 PyObject
* obj0
= 0 ;
7039 PyObject
* obj1
= 0 ;
7040 char * kwnames
[] = {
7041 (char *) "self",(char *) "data", NULL
7044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7046 if (!SWIG_IsOK(res1
)) {
7047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7049 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7051 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7055 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_Py_Void();
7065 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
= 0;
7067 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7068 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7076 char * kwnames
[] = {
7077 (char *) "self",(char *) "other", NULL
7080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7082 if (!SWIG_IsOK(res1
)) {
7083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7085 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7087 if (!SWIG_IsOK(res2
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7090 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7092 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7104 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7107 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 char * kwnames
[] = {
7116 (char *) "self",(char *) "other", NULL
7119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7121 if (!SWIG_IsOK(res1
)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7126 if (!SWIG_IsOK(res2
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7129 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7131 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7143 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7146 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7147 return SWIG_Py_Void();
7150 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7151 return SWIG_Python_InitShadowInstance(args
);
7154 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
= 0;
7162 wxBitmap
*result
= 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7171 PyObject
* obj2
= 0 ;
7172 PyObject
* obj3
= 0 ;
7173 char * kwnames
[] = {
7174 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7179 if (!SWIG_IsOK(ecode1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7182 arg1
= static_cast< int >(val1
);
7183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7184 if (!SWIG_IsOK(ecode2
)) {
7185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7187 arg2
= static_cast< int >(val2
);
7189 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7193 if (obj3
!= Py_None
) {
7194 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7199 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7209 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
= 0;
7215 wxBitmap
*result
= 0 ;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7223 PyObject
* obj2
= 0 ;
7224 char * kwnames
[] = {
7225 (char *) "width",(char *) "height",(char *) "data", NULL
7228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7230 if (!SWIG_IsOK(ecode1
)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7233 arg1
= static_cast< int >(val1
);
7234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7235 if (!SWIG_IsOK(ecode2
)) {
7236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7238 arg2
= static_cast< int >(val2
);
7240 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7244 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7254 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
= 0;
7260 wxBitmap
*result
= 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 PyObject
* obj2
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "width",(char *) "height",(char *) "data", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7275 if (!SWIG_IsOK(ecode1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7278 arg1
= static_cast< int >(val1
);
7279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7280 if (!SWIG_IsOK(ecode2
)) {
7281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7283 arg2
= static_cast< int >(val2
);
7285 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7289 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7299 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7300 PyObject
*resultobj
= 0;
7301 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7305 PyObject
*swig_obj
[1] ;
7307 if (!args
) SWIG_fail
;
7309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7310 if (!SWIG_IsOK(res1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7313 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7315 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7325 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7326 PyObject
*resultobj
= 0;
7327 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7331 PyObject
*swig_obj
[1] ;
7333 if (!args
) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7339 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7341 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_From_int(static_cast< int >(result
));
7351 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 PyObject
*resultobj
= 0;
7353 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7357 PyObject
*swig_obj
[1] ;
7359 if (!args
) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7365 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7367 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_From_int(static_cast< int >(result
));
7377 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7378 PyObject
*resultobj
= 0;
7379 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7383 PyObject
*swig_obj
[1] ;
7385 if (!args
) SWIG_fail
;
7387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7388 if (!SWIG_IsOK(res1
)) {
7389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7391 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7393 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7403 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7404 PyObject
*resultobj
= 0;
7405 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7409 PyObject
*swig_obj
[1] ;
7411 if (!args
) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7417 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7419 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= SWIG_From_int(static_cast< int >(result
));
7429 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7432 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7433 return SWIG_Py_Void();
7436 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7437 PyObject
*resultobj
= 0;
7438 wxBitmap
*arg1
= 0 ;
7439 wxNativePixelData
*result
= 0 ;
7443 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7445 if (!SWIG_IsOK(res1
)) {
7446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7451 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7453 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7463 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7464 PyObject
*resultobj
= 0;
7465 wxBitmap
*arg1
= 0 ;
7467 wxNativePixelData
*result
= 0 ;
7472 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7474 if (!SWIG_IsOK(res1
)) {
7475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7480 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7483 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7486 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7496 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7497 PyObject
*resultobj
= 0;
7498 wxBitmap
*arg1
= 0 ;
7501 wxNativePixelData
*result
= 0 ;
7507 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7509 if (!SWIG_IsOK(res1
)) {
7510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7515 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7518 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7522 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7525 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7535 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7539 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7542 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7545 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7548 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7552 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7557 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7558 PyObject
*resultobj
= 0;
7559 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7570 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_Py_Void();
7583 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7584 PyObject
*resultobj
= 0;
7585 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7586 wxNativePixelData_Accessor result
;
7589 PyObject
*swig_obj
[1] ;
7591 if (!args
) SWIG_fail
;
7593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7594 if (!SWIG_IsOK(res1
)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7597 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7599 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7609 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7610 PyObject
*resultobj
= 0;
7611 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7622 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_Py_Void();
7634 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7635 PyObject
*resultobj
= 0;
7636 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7640 PyObject
*swig_obj
[1] ;
7642 if (!args
) SWIG_fail
;
7644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7645 if (!SWIG_IsOK(res1
)) {
7646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7648 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7650 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7662 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7665 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7666 return SWIG_Py_Void();
7669 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7670 return SWIG_Python_InitShadowInstance(args
);
7673 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7674 PyObject
*resultobj
= 0;
7675 wxNativePixelData
*arg1
= 0 ;
7676 wxNativePixelData_Accessor
*result
= 0 ;
7680 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7682 if (!SWIG_IsOK(res1
)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7688 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7690 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7700 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7701 PyObject
*resultobj
= 0;
7702 wxBitmap
*arg1
= 0 ;
7703 wxNativePixelData
*arg2
= 0 ;
7704 wxNativePixelData_Accessor
*result
= 0 ;
7710 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7712 if (!SWIG_IsOK(res1
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7718 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7719 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7720 if (!SWIG_IsOK(res2
)) {
7721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7726 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7728 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7738 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7739 PyObject
*resultobj
= 0;
7740 wxNativePixelData_Accessor
*result
= 0 ;
7742 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7744 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7754 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7758 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7761 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7764 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7767 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7771 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7776 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7777 PyObject
*resultobj
= 0;
7778 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7781 PyObject
*swig_obj
[1] ;
7783 if (!args
) SWIG_fail
;
7785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7786 if (!SWIG_IsOK(res1
)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7789 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_Py_Void();
7802 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
= 0;
7804 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7805 wxNativePixelData
*arg2
= 0 ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 char * kwnames
[] = {
7813 (char *) "self",(char *) "data", NULL
7816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7818 if (!SWIG_IsOK(res1
)) {
7819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7821 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7823 if (!SWIG_IsOK(res2
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7829 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7831 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_Py_Void();
7841 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7842 PyObject
*resultobj
= 0;
7843 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7847 PyObject
*swig_obj
[1] ;
7849 if (!args
) SWIG_fail
;
7851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7852 if (!SWIG_IsOK(res1
)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7855 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7857 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7870 PyObject
*resultobj
= 0;
7871 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7874 PyObject
*swig_obj
[1] ;
7876 if (!args
) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7882 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7884 wxNativePixelData_Accessor_nextPixel(arg1
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_Py_Void();
7894 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
= 0;
7896 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7897 wxNativePixelData
*arg2
= 0 ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7911 PyObject
* obj3
= 0 ;
7912 char * kwnames
[] = {
7913 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7918 if (!SWIG_IsOK(res1
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7921 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7923 if (!SWIG_IsOK(res2
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7929 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7931 if (!SWIG_IsOK(ecode3
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7934 arg3
= static_cast< int >(val3
);
7935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7936 if (!SWIG_IsOK(ecode4
)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7939 arg4
= static_cast< int >(val4
);
7941 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= SWIG_Py_Void();
7951 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
= 0;
7953 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7954 wxNativePixelData
*arg2
= 0 ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7964 PyObject
* obj2
= 0 ;
7965 char * kwnames
[] = {
7966 (char *) "self",(char *) "data",(char *) "x", NULL
7969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7971 if (!SWIG_IsOK(res1
)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7974 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7982 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7984 if (!SWIG_IsOK(ecode3
)) {
7985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7987 arg3
= static_cast< int >(val3
);
7989 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_Py_Void();
7999 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
= 0;
8001 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8002 wxNativePixelData
*arg2
= 0 ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8012 PyObject
* obj2
= 0 ;
8013 char * kwnames
[] = {
8014 (char *) "self",(char *) "data",(char *) "y", NULL
8017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8019 if (!SWIG_IsOK(res1
)) {
8020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8022 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8024 if (!SWIG_IsOK(res2
)) {
8025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8030 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8032 if (!SWIG_IsOK(ecode3
)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8035 arg3
= static_cast< int >(val3
);
8037 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_Py_Void();
8047 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
= 0;
8049 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8050 wxNativePixelData
*arg2
= 0 ;
8061 PyObject
* obj0
= 0 ;
8062 PyObject
* obj1
= 0 ;
8063 PyObject
* obj2
= 0 ;
8064 PyObject
* obj3
= 0 ;
8065 char * kwnames
[] = {
8066 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8071 if (!SWIG_IsOK(res1
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8074 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8076 if (!SWIG_IsOK(res2
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8082 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8084 if (!SWIG_IsOK(ecode3
)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8087 arg3
= static_cast< int >(val3
);
8088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8089 if (!SWIG_IsOK(ecode4
)) {
8090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8092 arg4
= static_cast< int >(val4
);
8094 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_Py_Void();
8104 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
= 0;
8106 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8112 unsigned char val2
;
8114 unsigned char val3
;
8116 unsigned char val4
;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8120 PyObject
* obj2
= 0 ;
8121 PyObject
* obj3
= 0 ;
8122 char * kwnames
[] = {
8123 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8128 if (!SWIG_IsOK(res1
)) {
8129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8131 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8132 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8133 if (!SWIG_IsOK(ecode2
)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8136 arg2
= static_cast< byte
>(val2
);
8137 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8138 if (!SWIG_IsOK(ecode3
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8141 arg3
= static_cast< byte
>(val3
);
8142 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8143 if (!SWIG_IsOK(ecode4
)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8146 arg4
= static_cast< byte
>(val4
);
8148 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_Py_Void();
8158 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8159 PyObject
*resultobj
= 0;
8160 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8161 PyObject
*result
= 0 ;
8164 PyObject
*swig_obj
[1] ;
8166 if (!args
) SWIG_fail
;
8168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8169 if (!SWIG_IsOK(res1
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8172 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8174 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8184 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8187 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8188 return SWIG_Py_Void();
8191 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8192 return SWIG_Python_InitShadowInstance(args
);
8195 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8196 PyObject
*resultobj
= 0;
8197 wxBitmap
*arg1
= 0 ;
8198 wxAlphaPixelData
*result
= 0 ;
8202 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8204 if (!SWIG_IsOK(res1
)) {
8205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8212 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8222 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8223 PyObject
*resultobj
= 0;
8224 wxBitmap
*arg1
= 0 ;
8226 wxAlphaPixelData
*result
= 0 ;
8231 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8239 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8242 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8245 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8255 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8256 PyObject
*resultobj
= 0;
8257 wxBitmap
*arg1
= 0 ;
8260 wxAlphaPixelData
*result
= 0 ;
8266 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8268 if (!SWIG_IsOK(res1
)) {
8269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8274 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8277 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8281 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8284 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8294 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8298 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8301 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8304 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8307 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8311 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8316 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8317 PyObject
*resultobj
= 0;
8318 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8321 PyObject
*swig_obj
[1] ;
8323 if (!args
) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8329 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_Py_Void();
8342 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8343 PyObject
*resultobj
= 0;
8344 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8345 wxAlphaPixelData_Accessor result
;
8348 PyObject
*swig_obj
[1] ;
8350 if (!args
) SWIG_fail
;
8352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8353 if (!SWIG_IsOK(res1
)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8356 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8358 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8368 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 PyObject
*resultobj
= 0;
8370 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8373 PyObject
*swig_obj
[1] ;
8375 if (!args
) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8381 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_Py_Void();
8393 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8394 PyObject
*resultobj
= 0;
8395 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8399 PyObject
*swig_obj
[1] ;
8401 if (!args
) SWIG_fail
;
8403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8404 if (!SWIG_IsOK(res1
)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8407 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8409 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8424 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8425 return SWIG_Py_Void();
8428 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8429 return SWIG_Python_InitShadowInstance(args
);
8432 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8433 PyObject
*resultobj
= 0;
8434 wxAlphaPixelData
*arg1
= 0 ;
8435 wxAlphaPixelData_Accessor
*result
= 0 ;
8439 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8441 if (!SWIG_IsOK(res1
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8447 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8449 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8459 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8460 PyObject
*resultobj
= 0;
8461 wxBitmap
*arg1
= 0 ;
8462 wxAlphaPixelData
*arg2
= 0 ;
8463 wxAlphaPixelData_Accessor
*result
= 0 ;
8469 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8471 if (!SWIG_IsOK(res1
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8477 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8478 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8479 if (!SWIG_IsOK(res2
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8485 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8487 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8497 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8498 PyObject
*resultobj
= 0;
8499 wxAlphaPixelData_Accessor
*result
= 0 ;
8501 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8503 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8513 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8517 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8520 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8523 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8526 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8530 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8535 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8536 PyObject
*resultobj
= 0;
8537 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8540 PyObject
*swig_obj
[1] ;
8542 if (!args
) SWIG_fail
;
8544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8545 if (!SWIG_IsOK(res1
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8548 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_Py_Void();
8561 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
= 0;
8563 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8564 wxAlphaPixelData
*arg2
= 0 ;
8569 PyObject
* obj0
= 0 ;
8570 PyObject
* obj1
= 0 ;
8571 char * kwnames
[] = {
8572 (char *) "self",(char *) "data", NULL
8575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8577 if (!SWIG_IsOK(res1
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8580 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8582 if (!SWIG_IsOK(res2
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8588 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8590 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_Py_Void();
8600 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8601 PyObject
*resultobj
= 0;
8602 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8606 PyObject
*swig_obj
[1] ;
8608 if (!args
) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8614 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8616 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8628 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8629 PyObject
*resultobj
= 0;
8630 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8633 PyObject
*swig_obj
[1] ;
8635 if (!args
) SWIG_fail
;
8637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8638 if (!SWIG_IsOK(res1
)) {
8639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8641 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8643 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_Py_Void();
8653 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
= 0;
8655 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8656 wxAlphaPixelData
*arg2
= 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 PyObject
* obj2
= 0 ;
8670 PyObject
* obj3
= 0 ;
8671 char * kwnames
[] = {
8672 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8677 if (!SWIG_IsOK(res1
)) {
8678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8680 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8682 if (!SWIG_IsOK(res2
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8688 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8690 if (!SWIG_IsOK(ecode3
)) {
8691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8693 arg3
= static_cast< int >(val3
);
8694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8695 if (!SWIG_IsOK(ecode4
)) {
8696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8698 arg4
= static_cast< int >(val4
);
8700 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_Py_Void();
8710 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= 0;
8712 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8713 wxAlphaPixelData
*arg2
= 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8723 PyObject
* obj2
= 0 ;
8724 char * kwnames
[] = {
8725 (char *) "self",(char *) "data",(char *) "x", NULL
8728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8730 if (!SWIG_IsOK(res1
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8733 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8735 if (!SWIG_IsOK(res2
)) {
8736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8741 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8743 if (!SWIG_IsOK(ecode3
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8746 arg3
= static_cast< int >(val3
);
8748 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_Py_Void();
8758 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
= 0;
8760 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8761 wxAlphaPixelData
*arg2
= 0 ;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8771 PyObject
* obj2
= 0 ;
8772 char * kwnames
[] = {
8773 (char *) "self",(char *) "data",(char *) "y", NULL
8776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8778 if (!SWIG_IsOK(res1
)) {
8779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8781 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8783 if (!SWIG_IsOK(res2
)) {
8784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8789 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8791 if (!SWIG_IsOK(ecode3
)) {
8792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8794 arg3
= static_cast< int >(val3
);
8796 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= SWIG_Py_Void();
8806 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
= 0;
8808 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8809 wxAlphaPixelData
*arg2
= 0 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8833 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8835 if (!SWIG_IsOK(res2
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8841 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8843 if (!SWIG_IsOK(ecode3
)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8846 arg3
= static_cast< int >(val3
);
8847 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8848 if (!SWIG_IsOK(ecode4
)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8851 arg4
= static_cast< int >(val4
);
8853 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_Py_Void();
8863 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
= 0;
8865 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8872 unsigned char val2
;
8874 unsigned char val3
;
8876 unsigned char val4
;
8878 unsigned char val5
;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8883 PyObject
* obj3
= 0 ;
8884 PyObject
* obj4
= 0 ;
8885 char * kwnames
[] = {
8886 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8891 if (!SWIG_IsOK(res1
)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8894 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8895 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8896 if (!SWIG_IsOK(ecode2
)) {
8897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8899 arg2
= static_cast< byte
>(val2
);
8900 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8901 if (!SWIG_IsOK(ecode3
)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8904 arg3
= static_cast< byte
>(val3
);
8905 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8906 if (!SWIG_IsOK(ecode4
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8909 arg4
= static_cast< byte
>(val4
);
8910 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8911 if (!SWIG_IsOK(ecode5
)) {
8912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8914 arg5
= static_cast< byte
>(val5
);
8916 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_Py_Void();
8926 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8927 PyObject
*resultobj
= 0;
8928 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8929 PyObject
*result
= 0 ;
8932 PyObject
*swig_obj
[1] ;
8934 if (!args
) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8940 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8942 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8952 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8955 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8956 return SWIG_Py_Void();
8959 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8960 return SWIG_Python_InitShadowInstance(args
);
8963 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
= 0;
8965 wxBitmap
*arg1
= 0 ;
8966 wxColour
const &arg2_defvalue
= wxNullColour
;
8967 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8968 wxMask
*result
= 0 ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 char * kwnames
[] = {
8975 (char *) "bitmap",(char *) "colour", NULL
8978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8979 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8980 if (!SWIG_IsOK(res1
)) {
8981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8986 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8990 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8994 if (!wxPyCheckForApp()) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9007 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9008 PyObject
*resultobj
= 0;
9009 wxMask
*arg1
= (wxMask
*) 0 ;
9012 PyObject
*swig_obj
[1] ;
9014 if (!args
) SWIG_fail
;
9016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9017 if (!SWIG_IsOK(res1
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9020 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= SWIG_Py_Void();
9033 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9036 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9037 return SWIG_Py_Void();
9040 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9041 return SWIG_Python_InitShadowInstance(args
);
9044 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= 0;
9046 wxString
*arg1
= 0 ;
9048 int arg3
= (int) -1 ;
9049 int arg4
= (int) -1 ;
9050 wxIcon
*result
= 0 ;
9051 bool temp1
= false ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9060 PyObject
* obj2
= 0 ;
9061 PyObject
* obj3
= 0 ;
9062 char * kwnames
[] = {
9063 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9068 arg1
= wxString_in_helper(obj0
);
9069 if (arg1
== NULL
) SWIG_fail
;
9072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9073 if (!SWIG_IsOK(ecode2
)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9076 arg2
= static_cast< wxBitmapType
>(val2
);
9078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9079 if (!SWIG_IsOK(ecode3
)) {
9080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9082 arg3
= static_cast< int >(val3
);
9085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9086 if (!SWIG_IsOK(ecode4
)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9089 arg4
= static_cast< int >(val4
);
9092 if (!wxPyCheckForApp()) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9113 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9114 PyObject
*resultobj
= 0;
9115 wxIcon
*arg1
= (wxIcon
*) 0 ;
9118 PyObject
*swig_obj
[1] ;
9120 if (!args
) SWIG_fail
;
9122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9123 if (!SWIG_IsOK(res1
)) {
9124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9126 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_Py_Void();
9141 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9142 PyObject
*resultobj
= 0;
9143 wxIcon
*result
= 0 ;
9145 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9147 if (!wxPyCheckForApp()) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxIcon
*)new wxIcon();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9160 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
= 0;
9162 wxIconLocation
*arg1
= 0 ;
9163 wxIcon
*result
= 0 ;
9166 PyObject
* obj0
= 0 ;
9167 char * kwnames
[] = {
9168 (char *) "loc", NULL
9171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9172 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9173 if (!SWIG_IsOK(res1
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9179 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9181 if (!wxPyCheckForApp()) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9194 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= 0;
9196 wxBitmap
*arg1
= 0 ;
9197 wxIcon
*result
= 0 ;
9200 PyObject
* obj0
= 0 ;
9201 char * kwnames
[] = {
9202 (char *) "bmp", NULL
9205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9206 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9207 if (!SWIG_IsOK(res1
)) {
9208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9213 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9215 if (!wxPyCheckForApp()) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9228 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= 0;
9230 PyObject
*arg1
= (PyObject
*) 0 ;
9231 wxIcon
*result
= 0 ;
9232 PyObject
* obj0
= 0 ;
9233 char * kwnames
[] = {
9234 (char *) "listOfStrings", NULL
9237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9240 if (!wxPyCheckForApp()) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (wxIcon
*)new_wxIcon(arg1
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9253 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
= 0;
9255 wxIcon
*arg1
= (wxIcon
*) 0 ;
9256 wxString
*arg2
= 0 ;
9261 bool temp2
= false ;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9266 PyObject
* obj2
= 0 ;
9267 char * kwnames
[] = {
9268 (char *) "self",(char *) "name",(char *) "type", NULL
9271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9273 if (!SWIG_IsOK(res1
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9276 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9278 arg2
= wxString_in_helper(obj1
);
9279 if (arg2
== NULL
) SWIG_fail
;
9282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9283 if (!SWIG_IsOK(ecode3
)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9286 arg3
= static_cast< wxBitmapType
>(val3
);
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9310 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9311 PyObject
*resultobj
= 0;
9312 wxIcon
*arg1
= (wxIcon
*) 0 ;
9316 PyObject
*swig_obj
[1] ;
9318 if (!args
) SWIG_fail
;
9320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9321 if (!SWIG_IsOK(res1
)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9324 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (bool)(arg1
)->IsOk();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9340 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(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_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9354 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (int)(arg1
)->GetWidth();
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_From_int(static_cast< int >(result
));
9368 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9369 PyObject
*resultobj
= 0;
9370 wxIcon
*arg1
= (wxIcon
*) 0 ;
9374 PyObject
*swig_obj
[1] ;
9376 if (!args
) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9382 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (int)(arg1
)->GetHeight();
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_From_int(static_cast< int >(result
));
9396 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9397 PyObject
*resultobj
= 0;
9398 wxIcon
*arg1
= (wxIcon
*) 0 ;
9402 PyObject
*swig_obj
[1] ;
9404 if (!args
) SWIG_fail
;
9406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9407 if (!SWIG_IsOK(res1
)) {
9408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9410 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (int)(arg1
)->GetDepth();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_From_int(static_cast< int >(result
));
9424 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= 0;
9426 wxIcon
*arg1
= (wxIcon
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9433 PyObject
* obj1
= 0 ;
9434 char * kwnames
[] = {
9435 (char *) "self",(char *) "w", NULL
9438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9443 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9445 if (!SWIG_IsOK(ecode2
)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9448 arg2
= static_cast< int >(val2
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 (arg1
)->SetWidth(arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_Py_Void();
9462 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
= 0;
9464 wxIcon
*arg1
= (wxIcon
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9472 char * kwnames
[] = {
9473 (char *) "self",(char *) "h", NULL
9476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9478 if (!SWIG_IsOK(res1
)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9481 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9483 if (!SWIG_IsOK(ecode2
)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9486 arg2
= static_cast< int >(val2
);
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->SetHeight(arg2
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_Py_Void();
9500 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
= 0;
9502 wxIcon
*arg1
= (wxIcon
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 char * kwnames
[] = {
9511 (char *) "self",(char *) "d", NULL
9514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9519 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9521 if (!SWIG_IsOK(ecode2
)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9524 arg2
= static_cast< int >(val2
);
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 (arg1
)->SetDepth(arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_Py_Void();
9538 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
= 0;
9540 wxIcon
*arg1
= (wxIcon
*) 0 ;
9541 wxBitmap
*arg2
= 0 ;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9548 char * kwnames
[] = {
9549 (char *) "self",(char *) "bmp", NULL
9552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9554 if (!SWIG_IsOK(res1
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9557 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9559 if (!SWIG_IsOK(res2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9565 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_Py_Void();
9579 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9582 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9583 return SWIG_Py_Void();
9586 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9587 return SWIG_Python_InitShadowInstance(args
);
9590 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= 0;
9592 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9593 int arg2
= (int) 0 ;
9594 wxIconLocation
*result
= 0 ;
9595 bool temp1
= false ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "filename",(char *) "num", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9607 arg1
= wxString_in_helper(obj0
);
9608 if (arg1
== NULL
) SWIG_fail
;
9613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9614 if (!SWIG_IsOK(ecode2
)) {
9615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9617 arg2
= static_cast< int >(val2
);
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9640 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9641 PyObject
*resultobj
= 0;
9642 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9645 PyObject
*swig_obj
[1] ;
9647 if (!args
) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9653 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 PyObject
*resultobj
= 0;
9670 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9682 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9698 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9701 wxString
*arg2
= 0 ;
9704 bool temp2
= false ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 char * kwnames
[] = {
9708 (char *) "self",(char *) "filename", NULL
9711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9716 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9718 arg2
= wxString_in_helper(obj1
);
9719 if (arg2
== NULL
) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetFileName((wxString
const &)*arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_Py_Void();
9743 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9744 PyObject
*resultobj
= 0;
9745 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9746 wxString
*result
= 0 ;
9749 PyObject
*swig_obj
[1] ;
9751 if (!args
) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9757 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9762 result
= (wxString
*) &_result_ref
;
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9780 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "num", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9799 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9801 if (!SWIG_IsOK(ecode2
)) {
9802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9804 arg2
= static_cast< int >(val2
);
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 wxIconLocation_SetIndex(arg1
,arg2
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_Py_Void();
9818 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9819 PyObject
*resultobj
= 0;
9820 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9824 PyObject
*swig_obj
[1] ;
9826 if (!args
) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9832 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (int)wxIconLocation_GetIndex(arg1
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_From_int(static_cast< int >(result
));
9846 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9849 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9850 return SWIG_Py_Void();
9853 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9854 return SWIG_Python_InitShadowInstance(args
);
9857 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9858 PyObject
*resultobj
= 0;
9859 wxIconBundle
*result
= 0 ;
9861 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= (wxIconBundle
*)new wxIconBundle();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9875 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9877 wxString
*arg1
= 0 ;
9879 wxIconBundle
*result
= 0 ;
9880 bool temp1
= false ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 char * kwnames
[] = {
9886 (char *) "file",(char *) "type", NULL
9889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9891 arg1
= wxString_in_helper(obj0
);
9892 if (arg1
== NULL
) SWIG_fail
;
9895 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9896 if (!SWIG_IsOK(ecode2
)) {
9897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9899 arg2
= static_cast< long >(val2
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9921 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
= 0;
9924 wxIconBundle
*result
= 0 ;
9927 PyObject
* obj0
= 0 ;
9928 char * kwnames
[] = {
9929 (char *) "icon", NULL
9932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9933 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9934 if (!SWIG_IsOK(res1
)) {
9935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9940 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9954 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9955 PyObject
*resultobj
= 0;
9956 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9959 PyObject
*swig_obj
[1] ;
9961 if (!args
) SWIG_fail
;
9963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9964 if (!SWIG_IsOK(res1
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9967 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_Py_Void();
9982 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
= 0;
9984 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9992 char * kwnames
[] = {
9993 (char *) "self",(char *) "icon", NULL
9996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10001 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10003 if (!SWIG_IsOK(res2
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10009 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_Py_Void();
10023 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
= 0;
10025 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10026 wxString
*arg2
= 0 ;
10030 bool temp2
= false ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 PyObject
* obj2
= 0 ;
10036 char * kwnames
[] = {
10037 (char *) "self",(char *) "file",(char *) "type", NULL
10040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10045 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10047 arg2
= wxString_in_helper(obj1
);
10048 if (arg2
== NULL
) SWIG_fail
;
10051 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10052 if (!SWIG_IsOK(ecode3
)) {
10053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10055 arg3
= static_cast< long >(val3
);
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_Py_Void();
10077 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10081 wxIcon
*result
= 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "self",(char *) "size", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10096 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10105 result
= (wxIcon
*) &_result_ref
;
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 wxIcon
* resultptr
= new wxIcon(*result
);
10112 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10120 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10123 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10124 return SWIG_Py_Void();
10127 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10128 return SWIG_Python_InitShadowInstance(args
);
10131 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
= 0;
10133 wxString
*arg1
= 0 ;
10135 int arg3
= (int) 0 ;
10136 int arg4
= (int) 0 ;
10137 wxCursor
*result
= 0 ;
10138 bool temp1
= false ;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 PyObject
* obj2
= 0 ;
10148 PyObject
* obj3
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10155 arg1
= wxString_in_helper(obj0
);
10156 if (arg1
== NULL
) SWIG_fail
;
10159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10160 if (!SWIG_IsOK(ecode2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10163 arg2
= static_cast< long >(val2
);
10165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10166 if (!SWIG_IsOK(ecode3
)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10169 arg3
= static_cast< int >(val3
);
10172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10173 if (!SWIG_IsOK(ecode4
)) {
10174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10176 arg4
= static_cast< int >(val4
);
10179 if (!wxPyCheckForApp()) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10200 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 PyObject
*resultobj
= 0;
10202 wxCursor
*arg1
= (wxCursor
*) 0 ;
10205 PyObject
*swig_obj
[1] ;
10207 if (!args
) SWIG_fail
;
10208 swig_obj
[0] = args
;
10209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10210 if (!SWIG_IsOK(res1
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10213 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_Py_Void();
10228 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10231 wxCursor
*result
= 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char * kwnames
[] = {
10236 (char *) "id", NULL
10239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10241 if (!SWIG_IsOK(ecode1
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10244 arg1
= static_cast< int >(val1
);
10246 if (!wxPyCheckForApp()) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (wxCursor
*)new wxCursor(arg1
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10259 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
= 0;
10261 wxImage
*arg1
= 0 ;
10262 wxCursor
*result
= 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char * kwnames
[] = {
10267 (char *) "image", NULL
10270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10278 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10280 if (!wxPyCheckForApp()) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10293 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 PyObject
*resultobj
= 0;
10295 wxCursor
*arg1
= (wxCursor
*) 0 ;
10299 PyObject
*swig_obj
[1] ;
10301 if (!args
) SWIG_fail
;
10302 swig_obj
[0] = args
;
10303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10307 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsOk();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10326 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10327 return SWIG_Py_Void();
10330 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10331 return SWIG_Python_InitShadowInstance(args
);
10334 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 int arg1
= (int) 0 ;
10337 int arg2
= (int) 0 ;
10338 int arg3
= (int) 0 ;
10339 int arg4
= (int) 0 ;
10340 wxRegion
*result
= 0 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 PyObject
* obj2
= 0 ;
10352 PyObject
* obj3
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10360 if (!SWIG_IsOK(ecode1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10363 arg1
= static_cast< int >(val1
);
10366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10367 if (!SWIG_IsOK(ecode2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10370 arg2
= static_cast< int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10381 if (!SWIG_IsOK(ecode4
)) {
10382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10384 arg4
= static_cast< int >(val4
);
10387 if (!wxPyCheckForApp()) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10400 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
= 0;
10402 wxBitmap
*arg1
= 0 ;
10403 wxRegion
*result
= 0 ;
10406 PyObject
* obj0
= 0 ;
10407 char * kwnames
[] = {
10408 (char *) "bmp", NULL
10411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10412 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10413 if (!SWIG_IsOK(res1
)) {
10414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10419 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10421 if (!wxPyCheckForApp()) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10434 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
= 0;
10436 wxBitmap
*arg1
= 0 ;
10437 wxColour
*arg2
= 0 ;
10438 int arg3
= (int) 0 ;
10439 wxRegion
*result
= 0 ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 char * kwnames
[] = {
10449 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10453 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10454 if (!SWIG_IsOK(res1
)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10460 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10463 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10467 if (!SWIG_IsOK(ecode3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10470 arg3
= static_cast< int >(val3
);
10473 if (!wxPyCheckForApp()) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10486 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
= 0;
10489 wxPoint
*arg2
= (wxPoint
*) 0 ;
10490 int arg3
= (int) wxWINDING_RULE
;
10491 wxRegion
*result
= 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char * kwnames
[] = {
10497 (char *) "points",(char *) "fillStyle", NULL
10500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10502 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10503 if (arg2
== NULL
) SWIG_fail
;
10506 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10507 if (!SWIG_IsOK(ecode3
)) {
10508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10510 arg3
= static_cast< int >(val3
);
10513 if (!wxPyCheckForApp()) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10521 if (arg2
) delete [] arg2
;
10526 if (arg2
) delete [] arg2
;
10532 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10533 PyObject
*resultobj
= 0;
10534 wxRegion
*arg1
= (wxRegion
*) 0 ;
10537 PyObject
*swig_obj
[1] ;
10539 if (!args
) SWIG_fail
;
10540 swig_obj
[0] = args
;
10541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_Py_Void();
10560 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10561 PyObject
*resultobj
= 0;
10562 wxRegion
*arg1
= (wxRegion
*) 0 ;
10565 PyObject
*swig_obj
[1] ;
10567 if (!args
) SWIG_fail
;
10568 swig_obj
[0] = args
;
10569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10570 if (!SWIG_IsOK(res1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10573 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_Py_Void();
10587 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
= 0;
10589 wxRegion
*arg1
= (wxRegion
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 PyObject
* obj2
= 0 ;
10602 char * kwnames
[] = {
10603 (char *) "self",(char *) "x",(char *) "y", NULL
10606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10608 if (!SWIG_IsOK(res1
)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10611 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10613 if (!SWIG_IsOK(ecode2
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10616 arg2
= static_cast< int >(val2
);
10617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10618 if (!SWIG_IsOK(ecode3
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10621 arg3
= static_cast< int >(val3
);
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10637 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
= 0;
10639 wxRegion
*arg1
= (wxRegion
*) 0 ;
10642 wxRegionContain result
;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 PyObject
* obj2
= 0 ;
10652 char * kwnames
[] = {
10653 (char *) "self",(char *) "x",(char *) "y", NULL
10656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10661 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10663 if (!SWIG_IsOK(ecode2
)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10666 arg2
= static_cast< int >(val2
);
10667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10668 if (!SWIG_IsOK(ecode3
)) {
10669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10671 arg3
= static_cast< int >(val3
);
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= SWIG_From_int(static_cast< int >(result
));
10685 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= 0;
10687 wxRegion
*arg1
= (wxRegion
*) 0 ;
10688 wxPoint
*arg2
= 0 ;
10689 wxRegionContain result
;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char * kwnames
[] = {
10696 (char *) "self",(char *) "pt", NULL
10699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10701 if (!SWIG_IsOK(res1
)) {
10702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10704 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_From_int(static_cast< int >(result
));
10722 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
= 0;
10724 wxRegion
*arg1
= (wxRegion
*) 0 ;
10726 wxRegionContain result
;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char * kwnames
[] = {
10733 (char *) "self",(char *) "rect", NULL
10736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10738 if (!SWIG_IsOK(res1
)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10741 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_From_int(static_cast< int >(result
));
10759 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
= 0;
10761 wxRegion
*arg1
= (wxRegion
*) 0 ;
10766 wxRegionContain result
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 PyObject
* obj2
= 0 ;
10780 PyObject
* obj3
= 0 ;
10781 PyObject
* obj4
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10791 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10793 if (!SWIG_IsOK(ecode2
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10796 arg2
= static_cast< int >(val2
);
10797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10798 if (!SWIG_IsOK(ecode3
)) {
10799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10801 arg3
= static_cast< int >(val3
);
10802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10803 if (!SWIG_IsOK(ecode4
)) {
10804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10806 arg4
= static_cast< int >(val4
);
10807 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10808 if (!SWIG_IsOK(ecode5
)) {
10809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10811 arg5
= static_cast< int >(val5
);
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= SWIG_From_int(static_cast< int >(result
));
10825 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 PyObject
*resultobj
= 0;
10827 wxRegion
*arg1
= (wxRegion
*) 0 ;
10831 PyObject
*swig_obj
[1] ;
10833 if (!args
) SWIG_fail
;
10834 swig_obj
[0] = args
;
10835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10839 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (arg1
)->GetBox();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10853 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
= 0;
10855 wxRegion
*arg1
= (wxRegion
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 PyObject
* obj2
= 0 ;
10874 PyObject
* obj3
= 0 ;
10875 PyObject
* obj4
= 0 ;
10876 char * kwnames
[] = {
10877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10882 if (!SWIG_IsOK(res1
)) {
10883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10885 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10887 if (!SWIG_IsOK(ecode2
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10890 arg2
= static_cast< int >(val2
);
10891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10892 if (!SWIG_IsOK(ecode3
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10895 arg3
= static_cast< int >(val3
);
10896 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10897 if (!SWIG_IsOK(ecode4
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10900 arg4
= static_cast< int >(val4
);
10901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10902 if (!SWIG_IsOK(ecode5
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10905 arg5
= static_cast< int >(val5
);
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10921 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxRegion
*arg1
= (wxRegion
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "rect", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
= 0;
10962 wxRegion
*arg1
= (wxRegion
*) 0 ;
10963 wxRegion
*arg2
= 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char * kwnames
[] = {
10972 (char *) "self",(char *) "region", NULL
10975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10980 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10982 if (!SWIG_IsOK(res2
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10988 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11005 PyObject
*resultobj
= 0;
11006 wxRegion
*arg1
= (wxRegion
*) 0 ;
11010 PyObject
*swig_obj
[1] ;
11012 if (!args
) SWIG_fail
;
11013 swig_obj
[0] = args
;
11014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11015 if (!SWIG_IsOK(res1
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11018 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (bool)(arg1
)->IsEmpty();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11034 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
= 0;
11036 wxRegion
*arg1
= (wxRegion
*) 0 ;
11037 wxRegion
*arg2
= 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "self",(char *) "region", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) 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_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11054 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11056 if (!SWIG_IsOK(res2
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11062 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
= 0;
11080 wxRegion
*arg1
= (wxRegion
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 PyObject
* obj2
= 0 ;
11099 PyObject
* obj3
= 0 ;
11100 PyObject
* obj4
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11112 if (!SWIG_IsOK(ecode2
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11115 arg2
= static_cast< int >(val2
);
11116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11117 if (!SWIG_IsOK(ecode3
)) {
11118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11120 arg3
= static_cast< int >(val3
);
11121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11122 if (!SWIG_IsOK(ecode4
)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11125 arg4
= static_cast< int >(val4
);
11126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11127 if (!SWIG_IsOK(ecode5
)) {
11128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11130 arg5
= static_cast< int >(val5
);
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxRegion
*arg1
= (wxRegion
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char * kwnames
[] = {
11157 (char *) "self",(char *) "rect", NULL
11160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11165 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11185 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
= 0;
11187 wxRegion
*arg1
= (wxRegion
*) 0 ;
11188 wxRegion
*arg2
= 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "region", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) 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_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11205 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11207 if (!SWIG_IsOK(res2
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11213 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11229 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
= 0;
11231 wxRegion
*arg1
= (wxRegion
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 PyObject
* obj2
= 0 ;
11250 PyObject
* obj3
= 0 ;
11251 PyObject
* obj4
= 0 ;
11252 char * kwnames
[] = {
11253 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11261 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11263 if (!SWIG_IsOK(ecode2
)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11266 arg2
= static_cast< int >(val2
);
11267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11268 if (!SWIG_IsOK(ecode3
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11271 arg3
= static_cast< int >(val3
);
11272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11273 if (!SWIG_IsOK(ecode4
)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11276 arg4
= static_cast< int >(val4
);
11277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11278 if (!SWIG_IsOK(ecode5
)) {
11279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11281 arg5
= static_cast< int >(val5
);
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= 0;
11299 wxRegion
*arg1
= (wxRegion
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "self",(char *) "rect", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11316 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11336 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
= 0;
11338 wxRegion
*arg1
= (wxRegion
*) 0 ;
11339 wxRegion
*arg2
= 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "self",(char *) "region", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) 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_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11356 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11358 if (!SWIG_IsOK(res2
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11364 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
= 0;
11382 wxRegion
*arg1
= (wxRegion
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 PyObject
* obj2
= 0 ;
11401 PyObject
* obj3
= 0 ;
11402 PyObject
* obj4
= 0 ;
11403 char * kwnames
[] = {
11404 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11412 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11414 if (!SWIG_IsOK(ecode2
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11417 arg2
= static_cast< int >(val2
);
11418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11419 if (!SWIG_IsOK(ecode3
)) {
11420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11422 arg3
= static_cast< int >(val3
);
11423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11424 if (!SWIG_IsOK(ecode4
)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11427 arg4
= static_cast< int >(val4
);
11428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11429 if (!SWIG_IsOK(ecode5
)) {
11430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11432 arg5
= static_cast< int >(val5
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11448 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
= 0;
11450 wxRegion
*arg1
= (wxRegion
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "self",(char *) "rect", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11467 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11470 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11487 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxRegion
*arg1
= (wxRegion
*) 0 ;
11490 wxRegion
*arg2
= 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char * kwnames
[] = {
11499 (char *) "self",(char *) "region", NULL
11502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11507 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11509 if (!SWIG_IsOK(res2
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11515 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11531 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11532 PyObject
*resultobj
= 0;
11533 wxRegion
*arg1
= (wxRegion
*) 0 ;
11534 SwigValueWrapper
<wxBitmap
> result
;
11537 PyObject
*swig_obj
[1] ;
11539 if (!args
) SWIG_fail
;
11540 swig_obj
[0] = args
;
11541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11542 if (!SWIG_IsOK(res1
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (arg1
)->ConvertToBitmap();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11559 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
= 0;
11561 wxRegion
*arg1
= (wxRegion
*) 0 ;
11562 wxBitmap
*arg2
= 0 ;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 char * kwnames
[] = {
11571 (char *) "self",(char *) "bmp", NULL
11574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11579 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11581 if (!SWIG_IsOK(res2
)) {
11582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11587 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11603 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
= 0;
11605 wxRegion
*arg1
= (wxRegion
*) 0 ;
11606 wxBitmap
*arg2
= 0 ;
11607 wxColour
*arg3
= 0 ;
11608 int arg4
= (int) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 PyObject
* obj2
= 0 ;
11620 PyObject
* obj3
= 0 ;
11621 char * kwnames
[] = {
11622 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11627 if (!SWIG_IsOK(res1
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11630 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11632 if (!SWIG_IsOK(res2
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11638 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11641 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11645 if (!SWIG_IsOK(ecode4
)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11648 arg4
= static_cast< int >(val4
);
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11665 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11668 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11669 return SWIG_Py_Void();
11672 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11673 return SWIG_Python_InitShadowInstance(args
);
11676 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
= 0;
11678 wxRegion
*arg1
= 0 ;
11679 wxRegionIterator
*result
= 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char * kwnames
[] = {
11684 (char *) "region", NULL
11687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11688 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11689 if (!SWIG_IsOK(res1
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11695 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11697 if (!wxPyCheckForApp()) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11710 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11711 PyObject
*resultobj
= 0;
11712 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11715 PyObject
*swig_obj
[1] ;
11717 if (!args
) SWIG_fail
;
11718 swig_obj
[0] = args
;
11719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11723 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= SWIG_Py_Void();
11738 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(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_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11752 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)(arg1
)->GetX();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_From_int(static_cast< int >(result
));
11766 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(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_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11780 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (int)(arg1
)->GetY();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_From_int(static_cast< int >(result
));
11794 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(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_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11808 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (int)(arg1
)->GetW();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_From_int(static_cast< int >(result
));
11822 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(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_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11836 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (int)(arg1
)->GetWidth();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_From_int(static_cast< int >(result
));
11850 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(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_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11864 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (int)(arg1
)->GetH();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_From_int(static_cast< int >(result
));
11878 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(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_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11892 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (int)(arg1
)->GetHeight();
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_From_int(static_cast< int >(result
));
11906 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11912 PyObject
*swig_obj
[1] ;
11914 if (!args
) SWIG_fail
;
11915 swig_obj
[0] = args
;
11916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11917 if (!SWIG_IsOK(res1
)) {
11918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11920 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (arg1
)->GetRect();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11934 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11935 PyObject
*resultobj
= 0;
11936 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_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11948 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->HaveRects();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11964 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11965 PyObject
*resultobj
= 0;
11966 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11977 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_Py_Void();
11991 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11992 PyObject
*resultobj
= 0;
11993 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11996 PyObject
*swig_obj
[1] ;
11998 if (!args
) SWIG_fail
;
11999 swig_obj
[0] = args
;
12000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12001 if (!SWIG_IsOK(res1
)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12004 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 wxRegionIterator_Next(arg1
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_Py_Void();
12018 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12019 PyObject
*resultobj
= 0;
12020 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12024 PyObject
*swig_obj
[1] ;
12026 if (!args
) SWIG_fail
;
12027 swig_obj
[0] = args
;
12028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12032 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12048 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12051 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12052 return SWIG_Py_Void();
12055 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12056 return SWIG_Python_InitShadowInstance(args
);
12059 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12060 PyObject
*resultobj
= 0;
12061 wxNativeFontInfo
*result
= 0 ;
12063 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12077 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12078 PyObject
*resultobj
= 0;
12079 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12082 PyObject
*swig_obj
[1] ;
12084 if (!args
) SWIG_fail
;
12085 swig_obj
[0] = args
;
12086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12087 if (!SWIG_IsOK(res1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12090 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_Py_Void();
12105 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12110 PyObject
*swig_obj
[1] ;
12112 if (!args
) SWIG_fail
;
12113 swig_obj
[0] = args
;
12114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12118 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_Py_Void();
12132 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
= 0;
12134 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "font", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12151 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12153 if (!SWIG_IsOK(res2
)) {
12154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12159 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_Py_Void();
12173 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 PyObject
*resultobj
= 0;
12175 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
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_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12187 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_From_int(static_cast< int >(result
));
12201 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12202 PyObject
*resultobj
= 0;
12203 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12204 wxFontStyle result
;
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_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12215 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_From_int(static_cast< int >(result
));
12229 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12230 PyObject
*resultobj
= 0;
12231 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12232 wxFontWeight result
;
12235 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12243 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_From_int(static_cast< int >(result
));
12257 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12258 PyObject
*resultobj
= 0;
12259 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12263 PyObject
*swig_obj
[1] ;
12265 if (!args
) SWIG_fail
;
12266 swig_obj
[0] = args
;
12267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12268 if (!SWIG_IsOK(res1
)) {
12269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12271 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12287 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12288 PyObject
*resultobj
= 0;
12289 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12293 PyObject
*swig_obj
[1] ;
12295 if (!args
) SWIG_fail
;
12296 swig_obj
[0] = args
;
12297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12298 if (!SWIG_IsOK(res1
)) {
12299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12301 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12321 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12322 PyObject
*resultobj
= 0;
12323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12324 wxFontFamily result
;
12327 PyObject
*swig_obj
[1] ;
12329 if (!args
) SWIG_fail
;
12330 swig_obj
[0] = args
;
12331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12332 if (!SWIG_IsOK(res1
)) {
12333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12335 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_From_int(static_cast< int >(result
));
12349 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12352 wxFontEncoding result
;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12363 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_int(static_cast< int >(result
));
12377 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 char * kwnames
[] = {
12388 (char *) "self",(char *) "pointsize", NULL
12391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12393 if (!SWIG_IsOK(res1
)) {
12394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12396 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12398 if (!SWIG_IsOK(ecode2
)) {
12399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12401 arg2
= static_cast< int >(val2
);
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 (arg1
)->SetPointSize(arg2
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_Py_Void();
12415 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
= 0;
12417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 char * kwnames
[] = {
12426 (char *) "self",(char *) "style", NULL
12429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12431 if (!SWIG_IsOK(res1
)) {
12432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12434 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12436 if (!SWIG_IsOK(ecode2
)) {
12437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12439 arg2
= static_cast< wxFontStyle
>(val2
);
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 (arg1
)->SetStyle(arg2
);
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_Py_Void();
12453 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
= 0;
12455 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12456 wxFontWeight arg2
;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 char * kwnames
[] = {
12464 (char *) "self",(char *) "weight", NULL
12467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12469 if (!SWIG_IsOK(res1
)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12472 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12474 if (!SWIG_IsOK(ecode2
)) {
12475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12477 arg2
= static_cast< wxFontWeight
>(val2
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetWeight(arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_Py_Void();
12491 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= 0;
12493 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char * kwnames
[] = {
12502 (char *) "self",(char *) "underlined", NULL
12505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12510 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12511 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12512 if (!SWIG_IsOK(ecode2
)) {
12513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12515 arg2
= static_cast< bool >(val2
);
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 (arg1
)->SetUnderlined(arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= SWIG_Py_Void();
12529 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
= 0;
12531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 char * kwnames
[] = {
12539 (char *) "self",(char *) "facename", NULL
12542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12544 if (!SWIG_IsOK(res1
)) {
12545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12547 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12549 wxString
* sptr
= wxString_in_helper(obj1
);
12550 if (sptr
== NULL
) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (bool)(arg1
)->SetFaceName(arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12569 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
= 0;
12571 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12572 wxFontFamily arg2
;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 char * kwnames
[] = {
12580 (char *) "self",(char *) "family", NULL
12583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12585 if (!SWIG_IsOK(res1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12588 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12590 if (!SWIG_IsOK(ecode2
)) {
12591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12593 arg2
= static_cast< wxFontFamily
>(val2
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->SetFamily(arg2
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_Py_Void();
12607 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
= 0;
12609 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12610 wxFontEncoding arg2
;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char * kwnames
[] = {
12618 (char *) "self",(char *) "encoding", NULL
12621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12626 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12628 if (!SWIG_IsOK(ecode2
)) {
12629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12631 arg2
= static_cast< wxFontEncoding
>(val2
);
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetEncoding(arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12645 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
= 0;
12647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12648 wxString
*arg2
= 0 ;
12652 bool temp2
= false ;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "s", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12664 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12666 arg2
= wxString_in_helper(obj1
);
12667 if (arg2
== NULL
) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12694 PyObject
*resultobj
= 0;
12695 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12699 PyObject
*swig_obj
[1] ;
12701 if (!args
) SWIG_fail
;
12702 swig_obj
[0] = args
;
12703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12704 if (!SWIG_IsOK(res1
)) {
12705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12707 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12727 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12728 PyObject
*resultobj
= 0;
12729 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12733 PyObject
*swig_obj
[1] ;
12735 if (!args
) SWIG_fail
;
12736 swig_obj
[0] = args
;
12737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12741 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= wxNativeFontInfo___str__(arg1
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12761 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= 0;
12763 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12764 wxString
*arg2
= 0 ;
12768 bool temp2
= false ;
12769 PyObject
* obj0
= 0 ;
12770 PyObject
* obj1
= 0 ;
12771 char * kwnames
[] = {
12772 (char *) "self",(char *) "s", NULL
12775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12780 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12782 arg2
= wxString_in_helper(obj1
);
12783 if (arg2
== NULL
) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12809 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12810 PyObject
*resultobj
= 0;
12811 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12815 PyObject
*swig_obj
[1] ;
12817 if (!args
) SWIG_fail
;
12818 swig_obj
[0] = args
;
12819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12820 if (!SWIG_IsOK(res1
)) {
12821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12823 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12843 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12846 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12847 return SWIG_Py_Void();
12850 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 return SWIG_Python_InitShadowInstance(args
);
12854 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12855 PyObject
*resultobj
= 0;
12856 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12857 wxString
*arg2
= (wxString
*) 0 ;
12860 bool temp2
= false ;
12861 PyObject
*swig_obj
[2] ;
12863 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12868 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12870 arg2
= wxString_in_helper(swig_obj
[1]);
12871 if (arg2
== NULL
) SWIG_fail
;
12874 if (arg1
) (arg1
)->facename
= *arg2
;
12876 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12892 PyObject
*resultobj
= 0;
12893 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12894 wxString
*result
= 0 ;
12897 PyObject
*swig_obj
[1] ;
12899 if (!args
) SWIG_fail
;
12900 swig_obj
[0] = args
;
12901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12905 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12906 result
= (wxString
*)& ((arg1
)->facename
);
12909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12920 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12921 PyObject
*resultobj
= 0;
12922 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12923 wxFontEncoding arg2
;
12928 PyObject
*swig_obj
[2] ;
12930 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12935 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12936 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12937 if (!SWIG_IsOK(ecode2
)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12940 arg2
= static_cast< wxFontEncoding
>(val2
);
12941 if (arg1
) (arg1
)->encoding
= arg2
;
12943 resultobj
= SWIG_Py_Void();
12950 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12951 PyObject
*resultobj
= 0;
12952 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12953 wxFontEncoding result
;
12956 PyObject
*swig_obj
[1] ;
12958 if (!args
) SWIG_fail
;
12959 swig_obj
[0] = args
;
12960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12964 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12965 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12966 resultobj
= SWIG_From_int(static_cast< int >(result
));
12973 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 PyObject
*resultobj
= 0;
12975 wxNativeEncodingInfo
*result
= 0 ;
12977 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12991 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 PyObject
*resultobj
= 0;
12993 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12996 PyObject
*swig_obj
[1] ;
12998 if (!args
) SWIG_fail
;
12999 swig_obj
[0] = args
;
13000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13001 if (!SWIG_IsOK(res1
)) {
13002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13004 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_Py_Void();
13019 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13022 wxString
*arg2
= 0 ;
13026 bool temp2
= false ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char * kwnames
[] = {
13030 (char *) "self",(char *) "s", NULL
13033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13038 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13040 arg2
= wxString_in_helper(obj1
);
13041 if (arg2
== NULL
) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13067 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13068 PyObject
*resultobj
= 0;
13069 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13073 PyObject
*swig_obj
[1] ;
13075 if (!args
) SWIG_fail
;
13076 swig_obj
[0] = args
;
13077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13078 if (!SWIG_IsOK(res1
)) {
13079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13081 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13101 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13104 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13105 return SWIG_Py_Void();
13108 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 return SWIG_Python_InitShadowInstance(args
);
13112 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
= 0;
13114 wxFontEncoding arg1
;
13115 wxNativeEncodingInfo
*result
= 0 ;
13118 PyObject
* obj0
= 0 ;
13119 char * kwnames
[] = {
13120 (char *) "encoding", NULL
13123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13125 if (!SWIG_IsOK(ecode1
)) {
13126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13128 arg1
= static_cast< wxFontEncoding
>(val1
);
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13142 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
= 0;
13144 wxNativeEncodingInfo
*arg1
= 0 ;
13148 PyObject
* obj0
= 0 ;
13149 char * kwnames
[] = {
13150 (char *) "info", NULL
13153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13154 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13155 if (!SWIG_IsOK(res1
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13161 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13177 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 PyObject
*resultobj
= 0;
13179 wxFontMapper
*result
= 0 ;
13181 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (wxFontMapper
*)new wxFontMapper();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13195 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13196 PyObject
*resultobj
= 0;
13197 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13200 PyObject
*swig_obj
[1] ;
13202 if (!args
) SWIG_fail
;
13203 swig_obj
[0] = args
;
13204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13208 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_Py_Void();
13223 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13224 PyObject
*resultobj
= 0;
13225 wxFontMapper
*result
= 0 ;
13227 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (wxFontMapper
*)wxFontMapper::Get();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13241 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
= 0;
13243 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13244 wxFontMapper
*result
= 0 ;
13247 PyObject
* obj0
= 0 ;
13248 char * kwnames
[] = {
13249 (char *) "mapper", NULL
13252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13254 if (!SWIG_IsOK(res1
)) {
13255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13257 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13271 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
= 0;
13273 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13274 wxString
*arg2
= 0 ;
13275 bool arg3
= (bool) true ;
13276 wxFontEncoding result
;
13279 bool temp2
= false ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 PyObject
* obj2
= 0 ;
13285 char * kwnames
[] = {
13286 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13291 if (!SWIG_IsOK(res1
)) {
13292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13294 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13296 arg2
= wxString_in_helper(obj1
);
13297 if (arg2
== NULL
) SWIG_fail
;
13301 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13302 if (!SWIG_IsOK(ecode3
)) {
13303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13305 arg3
= static_cast< bool >(val3
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_From_int(static_cast< int >(result
));
13328 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13329 PyObject
*resultobj
= 0;
13332 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13346 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13349 wxFontEncoding result
;
13352 PyObject
* obj0
= 0 ;
13353 char * kwnames
[] = {
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13358 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13359 if (!SWIG_IsOK(ecode1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13362 arg1
= static_cast< size_t >(val1
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_From_int(static_cast< int >(result
));
13376 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
= 0;
13378 wxFontEncoding arg1
;
13382 PyObject
* obj0
= 0 ;
13383 char * kwnames
[] = {
13384 (char *) "encoding", NULL
13387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13388 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13389 if (!SWIG_IsOK(ecode1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13392 arg1
= static_cast< wxFontEncoding
>(val1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= wxFontMapper::GetEncodingName(arg1
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13412 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
= 0;
13414 wxFontEncoding arg1
;
13418 PyObject
* obj0
= 0 ;
13419 char * kwnames
[] = {
13420 (char *) "encoding", NULL
13423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13425 if (!SWIG_IsOK(ecode1
)) {
13426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13428 arg1
= static_cast< wxFontEncoding
>(val1
);
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= wxFontMapper::GetEncodingDescription(arg1
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13448 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
= 0;
13450 wxString
*arg1
= 0 ;
13451 wxFontEncoding result
;
13452 bool temp1
= false ;
13453 PyObject
* obj0
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "name", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13460 arg1
= wxString_in_helper(obj0
);
13461 if (arg1
== NULL
) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_From_int(static_cast< int >(result
));
13485 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
= 0;
13487 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13488 wxString
*arg2
= 0 ;
13491 bool temp2
= false ;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char * kwnames
[] = {
13495 (char *) "self",(char *) "prefix", NULL
13498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13500 if (!SWIG_IsOK(res1
)) {
13501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13503 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13505 arg2
= wxString_in_helper(obj1
);
13506 if (arg2
== NULL
) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_Py_Void();
13530 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13531 PyObject
*resultobj
= 0;
13534 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= wxFontMapper::GetDefaultConfigPath();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13554 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
= 0;
13556 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13557 wxFontEncoding arg2
;
13558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13560 bool arg4
= (bool) true ;
13561 PyObject
*result
= 0 ;
13566 bool temp3
= false ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 PyObject
* obj2
= 0 ;
13572 PyObject
* obj3
= 0 ;
13573 char * kwnames
[] = {
13574 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13579 if (!SWIG_IsOK(res1
)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13582 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13584 if (!SWIG_IsOK(ecode2
)) {
13585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13587 arg2
= static_cast< wxFontEncoding
>(val2
);
13590 arg3
= wxString_in_helper(obj2
);
13591 if (arg3
== NULL
) SWIG_fail
;
13596 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13597 if (!SWIG_IsOK(ecode4
)) {
13598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13600 arg4
= static_cast< bool >(val4
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= result
;
13623 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
= 0;
13625 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13626 wxFontEncoding arg2
;
13627 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13628 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13634 bool temp3
= false ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 PyObject
* obj2
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13647 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13649 if (!SWIG_IsOK(ecode2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13652 arg2
= static_cast< wxFontEncoding
>(val2
);
13655 arg3
= wxString_in_helper(obj2
);
13656 if (arg3
== NULL
) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13683 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
= 0;
13685 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13686 wxWindow
*arg2
= (wxWindow
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "self",(char *) "parent", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13702 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13704 if (!SWIG_IsOK(res2
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 (arg1
)->SetDialogParent(arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_Py_Void();
13721 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13724 wxString
*arg2
= 0 ;
13727 bool temp2
= false ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "title", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13739 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13741 arg2
= wxString_in_helper(obj1
);
13742 if (arg2
== NULL
) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= SWIG_Py_Void();
13766 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13769 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13770 return SWIG_Py_Void();
13773 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13774 return SWIG_Python_InitShadowInstance(args
);
13777 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13783 bool arg5
= (bool) false ;
13784 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13785 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13786 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13787 wxFont
*result
= 0 ;
13798 bool temp6
= false ;
13801 PyObject
* obj0
= 0 ;
13802 PyObject
* obj1
= 0 ;
13803 PyObject
* obj2
= 0 ;
13804 PyObject
* obj3
= 0 ;
13805 PyObject
* obj4
= 0 ;
13806 PyObject
* obj5
= 0 ;
13807 PyObject
* obj6
= 0 ;
13808 char * kwnames
[] = {
13809 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13814 if (!SWIG_IsOK(ecode1
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13817 arg1
= static_cast< int >(val1
);
13818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13819 if (!SWIG_IsOK(ecode2
)) {
13820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13822 arg2
= static_cast< int >(val2
);
13823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13824 if (!SWIG_IsOK(ecode3
)) {
13825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13827 arg3
= static_cast< int >(val3
);
13828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13829 if (!SWIG_IsOK(ecode4
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13832 arg4
= static_cast< int >(val4
);
13834 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13835 if (!SWIG_IsOK(ecode5
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13838 arg5
= static_cast< bool >(val5
);
13842 arg6
= wxString_in_helper(obj5
);
13843 if (arg6
== NULL
) SWIG_fail
;
13848 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13849 if (!SWIG_IsOK(ecode7
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13852 arg7
= static_cast< wxFontEncoding
>(val7
);
13855 if (!wxPyCheckForApp()) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13876 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13877 PyObject
*resultobj
= 0;
13878 wxFont
*arg1
= (wxFont
*) 0 ;
13881 PyObject
*swig_obj
[1] ;
13883 if (!args
) SWIG_fail
;
13884 swig_obj
[0] = args
;
13885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13886 if (!SWIG_IsOK(res1
)) {
13887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13889 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_Py_Void();
13904 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
= 0;
13906 wxNativeFontInfo
*arg1
= 0 ;
13907 wxFont
*result
= 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char * kwnames
[] = {
13912 (char *) "info", NULL
13915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13917 if (!SWIG_IsOK(res1
)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13923 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13925 if (!wxPyCheckForApp()) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13938 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxString
*arg1
= 0 ;
13941 wxFont
*result
= 0 ;
13942 bool temp1
= false ;
13943 PyObject
* obj0
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "info", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13950 arg1
= wxString_in_helper(obj0
);
13951 if (arg1
== NULL
) SWIG_fail
;
13955 if (!wxPyCheckForApp()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13976 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
= 0;
13979 wxFontFamily arg2
;
13980 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13983 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13984 wxFont
*result
= 0 ;
13991 bool temp4
= false ;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 PyObject
* obj2
= 0 ;
13997 PyObject
* obj3
= 0 ;
13998 PyObject
* obj4
= 0 ;
13999 char * kwnames
[] = {
14000 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14005 if (!SWIG_IsOK(ecode1
)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14008 arg1
= static_cast< int >(val1
);
14009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14010 if (!SWIG_IsOK(ecode2
)) {
14011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14013 arg2
= static_cast< wxFontFamily
>(val2
);
14015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14016 if (!SWIG_IsOK(ecode3
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14019 arg3
= static_cast< int >(val3
);
14023 arg4
= wxString_in_helper(obj3
);
14024 if (arg4
== NULL
) SWIG_fail
;
14029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14030 if (!SWIG_IsOK(ecode5
)) {
14031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14033 arg5
= static_cast< wxFontEncoding
>(val5
);
14036 if (!wxPyCheckForApp()) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14057 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
= 0;
14063 bool arg5
= (bool) false ;
14064 wxString
const &arg6_defvalue
= wxEmptyString
;
14065 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14066 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14067 wxFont
*result
= 0 ;
14077 bool temp6
= false ;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 PyObject
* obj2
= 0 ;
14083 PyObject
* obj3
= 0 ;
14084 PyObject
* obj4
= 0 ;
14085 PyObject
* obj5
= 0 ;
14086 PyObject
* obj6
= 0 ;
14087 char * kwnames
[] = {
14088 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14094 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14097 if (!SWIG_IsOK(ecode2
)) {
14098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14100 arg2
= static_cast< int >(val2
);
14101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14102 if (!SWIG_IsOK(ecode3
)) {
14103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14105 arg3
= static_cast< int >(val3
);
14106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14107 if (!SWIG_IsOK(ecode4
)) {
14108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14110 arg4
= static_cast< int >(val4
);
14112 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14113 if (!SWIG_IsOK(ecode5
)) {
14114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14116 arg5
= static_cast< bool >(val5
);
14120 arg6
= wxString_in_helper(obj5
);
14121 if (arg6
== NULL
) SWIG_fail
;
14126 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14127 if (!SWIG_IsOK(ecode7
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14130 arg7
= static_cast< wxFontEncoding
>(val7
);
14133 if (!wxPyCheckForApp()) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14154 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
= 0;
14157 wxFontFamily arg2
;
14158 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14159 wxString
const &arg4_defvalue
= wxEmptyString
;
14160 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14161 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14162 wxFont
*result
= 0 ;
14168 bool temp4
= false ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 PyObject
* obj2
= 0 ;
14174 PyObject
* obj3
= 0 ;
14175 PyObject
* obj4
= 0 ;
14176 char * kwnames
[] = {
14177 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14183 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14186 if (!SWIG_IsOK(ecode2
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14189 arg2
= static_cast< wxFontFamily
>(val2
);
14191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14192 if (!SWIG_IsOK(ecode3
)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14195 arg3
= static_cast< int >(val3
);
14199 arg4
= wxString_in_helper(obj3
);
14200 if (arg4
== NULL
) SWIG_fail
;
14205 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14206 if (!SWIG_IsOK(ecode5
)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14209 arg5
= static_cast< wxFontEncoding
>(val5
);
14212 if (!wxPyCheckForApp()) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14233 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14234 PyObject
*resultobj
= 0;
14235 wxFont
*arg1
= (wxFont
*) 0 ;
14239 PyObject
*swig_obj
[1] ;
14241 if (!args
) SWIG_fail
;
14242 swig_obj
[0] = args
;
14243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14244 if (!SWIG_IsOK(res1
)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14247 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= 0;
14265 wxFont
*arg1
= (wxFont
*) 0 ;
14266 wxFont
*arg2
= (wxFont
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char * kwnames
[] = {
14275 (char *) "self",(char *) "other", NULL
14278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14283 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14285 if (!SWIG_IsOK(res2
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14288 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14306 wxFont
*arg1
= (wxFont
*) 0 ;
14307 wxFont
*arg2
= (wxFont
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char * kwnames
[] = {
14316 (char *) "self",(char *) "other", NULL
14319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14321 if (!SWIG_IsOK(res1
)) {
14322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14324 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14326 if (!SWIG_IsOK(res2
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14329 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14345 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(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_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14359 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_From_int(static_cast< int >(result
));
14373 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14374 PyObject
*resultobj
= 0;
14375 wxFont
*arg1
= (wxFont
*) 0 ;
14379 PyObject
*swig_obj
[1] ;
14381 if (!args
) SWIG_fail
;
14382 swig_obj
[0] = args
;
14383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14384 if (!SWIG_IsOK(res1
)) {
14385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14387 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14401 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14402 PyObject
*resultobj
= 0;
14403 wxFont
*arg1
= (wxFont
*) 0 ;
14407 PyObject
*swig_obj
[1] ;
14409 if (!args
) SWIG_fail
;
14410 swig_obj
[0] = args
;
14411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14412 if (!SWIG_IsOK(res1
)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14415 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14431 SWIGINTERN PyObject
*_wrap_Font_GetFamily(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_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14445 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_From_int(static_cast< int >(result
));
14459 SWIGINTERN PyObject
*_wrap_Font_GetStyle(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_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14473 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_From_int(static_cast< int >(result
));
14487 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14488 PyObject
*resultobj
= 0;
14489 wxFont
*arg1
= (wxFont
*) 0 ;
14493 PyObject
*swig_obj
[1] ;
14495 if (!args
) SWIG_fail
;
14496 swig_obj
[0] = args
;
14497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14498 if (!SWIG_IsOK(res1
)) {
14499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14501 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_From_int(static_cast< int >(result
));
14515 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14516 PyObject
*resultobj
= 0;
14517 wxFont
*arg1
= (wxFont
*) 0 ;
14521 PyObject
*swig_obj
[1] ;
14523 if (!args
) SWIG_fail
;
14524 swig_obj
[0] = args
;
14525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14526 if (!SWIG_IsOK(res1
)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14529 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14546 PyObject
*resultobj
= 0;
14547 wxFont
*arg1
= (wxFont
*) 0 ;
14551 PyObject
*swig_obj
[1] ;
14553 if (!args
) SWIG_fail
;
14554 swig_obj
[0] = args
;
14555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14559 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= ((wxFont
const *)arg1
)->GetFaceName();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14579 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14580 PyObject
*resultobj
= 0;
14581 wxFont
*arg1
= (wxFont
*) 0 ;
14582 wxFontEncoding result
;
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_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14593 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_From_int(static_cast< int >(result
));
14607 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14608 PyObject
*resultobj
= 0;
14609 wxFont
*arg1
= (wxFont
*) 0 ;
14610 wxNativeFontInfo
*result
= 0 ;
14613 PyObject
*swig_obj
[1] ;
14615 if (!args
) SWIG_fail
;
14616 swig_obj
[0] = args
;
14617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14621 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14635 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14636 PyObject
*resultobj
= 0;
14637 wxFont
*arg1
= (wxFont
*) 0 ;
14641 PyObject
*swig_obj
[1] ;
14643 if (!args
) SWIG_fail
;
14644 swig_obj
[0] = args
;
14645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14646 if (!SWIG_IsOK(res1
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14665 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14666 PyObject
*resultobj
= 0;
14667 wxFont
*arg1
= (wxFont
*) 0 ;
14671 PyObject
*swig_obj
[1] ;
14673 if (!args
) SWIG_fail
;
14674 swig_obj
[0] = args
;
14675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14679 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14699 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxFont
*arg1
= (wxFont
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14713 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14733 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
= 0;
14735 wxFont
*arg1
= (wxFont
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char * kwnames
[] = {
14744 (char *) "self",(char *) "pointSize", NULL
14747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14749 if (!SWIG_IsOK(res1
)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14752 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14754 if (!SWIG_IsOK(ecode2
)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14757 arg2
= static_cast< int >(val2
);
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->SetPointSize(arg2
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_Py_Void();
14771 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
= 0;
14773 wxFont
*arg1
= (wxFont
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char * kwnames
[] = {
14781 (char *) "self",(char *) "pixelSize", NULL
14784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14786 if (!SWIG_IsOK(res1
)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14789 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14792 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_Py_Void();
14807 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
= 0;
14809 wxFont
*arg1
= (wxFont
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 PyObject
* obj1
= 0 ;
14817 char * kwnames
[] = {
14818 (char *) "self",(char *) "family", NULL
14821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14823 if (!SWIG_IsOK(res1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14826 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14828 if (!SWIG_IsOK(ecode2
)) {
14829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14831 arg2
= static_cast< int >(val2
);
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 (arg1
)->SetFamily(arg2
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_Py_Void();
14845 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
= 0;
14847 wxFont
*arg1
= (wxFont
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char * kwnames
[] = {
14856 (char *) "self",(char *) "style", NULL
14859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14861 if (!SWIG_IsOK(res1
)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14864 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14866 if (!SWIG_IsOK(ecode2
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14869 arg2
= static_cast< int >(val2
);
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->SetStyle(arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_Py_Void();
14883 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
= 0;
14885 wxFont
*arg1
= (wxFont
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "weight", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14904 if (!SWIG_IsOK(ecode2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14907 arg2
= static_cast< int >(val2
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 (arg1
)->SetWeight(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_Py_Void();
14921 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
= 0;
14923 wxFont
*arg1
= (wxFont
*) 0 ;
14924 wxString
*arg2
= 0 ;
14928 bool temp2
= false ;
14929 PyObject
* obj0
= 0 ;
14930 PyObject
* obj1
= 0 ;
14931 char * kwnames
[] = {
14932 (char *) "self",(char *) "faceName", NULL
14935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14937 if (!SWIG_IsOK(res1
)) {
14938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14940 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14942 arg2
= wxString_in_helper(obj1
);
14943 if (arg2
== NULL
) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14969 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
= 0;
14971 wxFont
*arg1
= (wxFont
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 PyObject
* obj1
= 0 ;
14979 char * kwnames
[] = {
14980 (char *) "self",(char *) "underlined", NULL
14983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14988 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14989 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14990 if (!SWIG_IsOK(ecode2
)) {
14991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14993 arg2
= static_cast< bool >(val2
);
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 (arg1
)->SetUnderlined(arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= SWIG_Py_Void();
15007 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
= 0;
15009 wxFont
*arg1
= (wxFont
*) 0 ;
15010 wxFontEncoding arg2
;
15015 PyObject
* obj0
= 0 ;
15016 PyObject
* obj1
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "self",(char *) "encoding", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15026 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15028 if (!SWIG_IsOK(ecode2
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15031 arg2
= static_cast< wxFontEncoding
>(val2
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetEncoding(arg2
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_Py_Void();
15045 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
= 0;
15047 wxFont
*arg1
= (wxFont
*) 0 ;
15048 wxNativeFontInfo
*arg2
= 0 ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char * kwnames
[] = {
15056 (char *) "self",(char *) "info", NULL
15059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15064 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15066 if (!SWIG_IsOK(res2
)) {
15067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15072 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_Py_Void();
15086 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxFont
*arg1
= (wxFont
*) 0 ;
15089 wxString
*arg2
= 0 ;
15093 bool temp2
= false ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "self",(char *) "info", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15105 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15107 arg2
= wxString_in_helper(obj1
);
15108 if (arg2
== NULL
) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15134 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
= 0;
15136 wxFont
*arg1
= (wxFont
*) 0 ;
15137 wxString
*arg2
= 0 ;
15141 bool temp2
= false ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char * kwnames
[] = {
15145 (char *) "self",(char *) "info", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15155 arg2
= wxString_in_helper(obj1
);
15156 if (arg2
== NULL
) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15182 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15183 PyObject
*resultobj
= 0;
15184 wxFont
*arg1
= (wxFont
*) 0 ;
15188 PyObject
*swig_obj
[1] ;
15190 if (!args
) SWIG_fail
;
15191 swig_obj
[0] = args
;
15192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15193 if (!SWIG_IsOK(res1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15196 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15216 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15217 PyObject
*resultobj
= 0;
15218 wxFont
*arg1
= (wxFont
*) 0 ;
15222 PyObject
*swig_obj
[1] ;
15224 if (!args
) SWIG_fail
;
15225 swig_obj
[0] = args
;
15226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15230 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= ((wxFont
const *)arg1
)->GetStyleString();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15250 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15251 PyObject
*resultobj
= 0;
15252 wxFont
*arg1
= (wxFont
*) 0 ;
15256 PyObject
*swig_obj
[1] ;
15258 if (!args
) SWIG_fail
;
15259 swig_obj
[0] = args
;
15260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15261 if (!SWIG_IsOK(res1
)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15264 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= ((wxFont
const *)arg1
)->GetWeightString();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15284 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
= 0;
15286 wxFont
*arg1
= (wxFont
*) 0 ;
15287 bool arg2
= (bool) true ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 char * kwnames
[] = {
15295 (char *) "self",(char *) "no", NULL
15298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15300 if (!SWIG_IsOK(res1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15306 if (!SWIG_IsOK(ecode2
)) {
15307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15309 arg2
= static_cast< bool >(val2
);
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 (arg1
)->SetNoAntiAliasing(arg2
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= SWIG_Py_Void();
15324 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15325 PyObject
*resultobj
= 0;
15326 wxFont
*arg1
= (wxFont
*) 0 ;
15330 PyObject
*swig_obj
[1] ;
15332 if (!args
) SWIG_fail
;
15333 swig_obj
[0] = args
;
15334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15335 if (!SWIG_IsOK(res1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15338 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15354 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 PyObject
*resultobj
= 0;
15356 wxFontEncoding result
;
15358 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15360 if (!wxPyCheckForApp()) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_From_int(static_cast< int >(result
));
15373 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxFontEncoding arg1
;
15378 PyObject
* obj0
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "encoding", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15385 if (!SWIG_IsOK(ecode1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15388 arg1
= static_cast< wxFontEncoding
>(val1
);
15390 if (!wxPyCheckForApp()) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 wxFont::SetDefaultEncoding(arg1
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_Py_Void();
15403 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15406 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15407 return SWIG_Py_Void();
15410 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15411 return SWIG_Python_InitShadowInstance(args
);
15414 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15415 PyObject
*resultobj
= 0;
15416 wxPyFontEnumerator
*result
= 0 ;
15418 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15420 if (!wxPyCheckForApp()) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15433 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15434 PyObject
*resultobj
= 0;
15435 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15438 PyObject
*swig_obj
[1] ;
15440 if (!args
) SWIG_fail
;
15441 swig_obj
[0] = args
;
15442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15446 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_Py_Void();
15461 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
= 0;
15463 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15464 PyObject
*arg2
= (PyObject
*) 0 ;
15465 PyObject
*arg3
= (PyObject
*) 0 ;
15466 int arg4
= (int) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 PyObject
* obj2
= 0 ;
15474 PyObject
* obj3
= 0 ;
15475 char * kwnames
[] = {
15476 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15484 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15489 if (!SWIG_IsOK(ecode4
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15492 arg4
= static_cast< int >(val4
);
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= SWIG_Py_Void();
15507 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
= 0;
15509 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15510 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15511 bool arg3
= (bool) false ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 PyObject
* obj2
= 0 ;
15522 char * kwnames
[] = {
15523 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15528 if (!SWIG_IsOK(res1
)) {
15529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15531 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15534 if (!SWIG_IsOK(ecode2
)) {
15535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15537 arg2
= static_cast< wxFontEncoding
>(val2
);
15540 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15541 if (!SWIG_IsOK(ecode3
)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15544 arg3
= static_cast< bool >(val3
);
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15561 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15564 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15565 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15569 bool temp2
= false ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 char * kwnames
[] = {
15573 (char *) "self",(char *) "facename", NULL
15576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15578 if (!SWIG_IsOK(res1
)) {
15579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15581 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15584 arg2
= wxString_in_helper(obj1
);
15585 if (arg2
== NULL
) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15612 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 PyObject
*resultobj
= 0;
15614 PyObject
*result
= 0 ;
15616 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
;
15630 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15631 PyObject
*resultobj
= 0;
15632 PyObject
*result
= 0 ;
15634 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= result
;
15648 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
= 0;
15650 wxString
*arg1
= 0 ;
15652 bool temp1
= false ;
15653 PyObject
* obj0
= 0 ;
15654 char * kwnames
[] = {
15655 (char *) "str", NULL
15658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15660 arg1
= wxString_in_helper(obj0
);
15661 if (arg1
== NULL
) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15687 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15690 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15691 return SWIG_Py_Void();
15694 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15695 return SWIG_Python_InitShadowInstance(args
);
15698 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 PyObject
*resultobj
= 0;
15700 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15706 PyObject
*swig_obj
[2] ;
15708 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15710 if (!SWIG_IsOK(res1
)) {
15711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15713 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15714 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15715 if (!SWIG_IsOK(ecode2
)) {
15716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15718 arg2
= static_cast< int >(val2
);
15719 if (arg1
) (arg1
)->Language
= arg2
;
15721 resultobj
= SWIG_Py_Void();
15728 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 PyObject
*resultobj
= 0;
15730 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15734 PyObject
*swig_obj
[1] ;
15736 if (!args
) SWIG_fail
;
15737 swig_obj
[0] = args
;
15738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15739 if (!SWIG_IsOK(res1
)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15742 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15743 result
= (int) ((arg1
)->Language
);
15744 resultobj
= SWIG_From_int(static_cast< int >(result
));
15751 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15752 PyObject
*resultobj
= 0;
15753 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15754 wxString
*arg2
= (wxString
*) 0 ;
15757 bool temp2
= false ;
15758 PyObject
*swig_obj
[2] ;
15760 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15765 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15767 arg2
= wxString_in_helper(swig_obj
[1]);
15768 if (arg2
== NULL
) SWIG_fail
;
15771 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15773 resultobj
= SWIG_Py_Void();
15788 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15789 PyObject
*resultobj
= 0;
15790 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15791 wxString
*result
= 0 ;
15794 PyObject
*swig_obj
[1] ;
15796 if (!args
) SWIG_fail
;
15797 swig_obj
[0] = args
;
15798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15802 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15803 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15806 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15808 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15817 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15818 PyObject
*resultobj
= 0;
15819 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15820 wxString
*arg2
= (wxString
*) 0 ;
15823 bool temp2
= false ;
15824 PyObject
*swig_obj
[2] ;
15826 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15828 if (!SWIG_IsOK(res1
)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15831 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15833 arg2
= wxString_in_helper(swig_obj
[1]);
15834 if (arg2
== NULL
) SWIG_fail
;
15837 if (arg1
) (arg1
)->Description
= *arg2
;
15839 resultobj
= SWIG_Py_Void();
15854 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15855 PyObject
*resultobj
= 0;
15856 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15857 wxString
*result
= 0 ;
15860 PyObject
*swig_obj
[1] ;
15862 if (!args
) SWIG_fail
;
15863 swig_obj
[0] = args
;
15864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15868 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15869 result
= (wxString
*)& ((arg1
)->Description
);
15872 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15874 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15883 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15886 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15887 return SWIG_Py_Void();
15890 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
= 0;
15892 int arg1
= (int) -1 ;
15893 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15894 wxLocale
*result
= 0 ;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char * kwnames
[] = {
15902 (char *) "language",(char *) "flags", NULL
15905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15908 if (!SWIG_IsOK(ecode1
)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15911 arg1
= static_cast< int >(val1
);
15914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15915 if (!SWIG_IsOK(ecode2
)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15918 arg2
= static_cast< int >(val2
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15933 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxLocale
*arg1
= (wxLocale
*) 0 ;
15938 PyObject
*swig_obj
[1] ;
15940 if (!args
) SWIG_fail
;
15941 swig_obj
[0] = args
;
15942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15943 if (!SWIG_IsOK(res1
)) {
15944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15946 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_Py_Void();
15961 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
= 0;
15963 wxLocale
*arg1
= (wxLocale
*) 0 ;
15964 wxString
*arg2
= 0 ;
15965 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15966 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15969 bool arg5
= (bool) true ;
15970 bool arg6
= (bool) false ;
15974 bool temp2
= false ;
15975 bool temp3
= false ;
15976 bool temp4
= false ;
15981 PyObject
* obj0
= 0 ;
15982 PyObject
* obj1
= 0 ;
15983 PyObject
* obj2
= 0 ;
15984 PyObject
* obj3
= 0 ;
15985 PyObject
* obj4
= 0 ;
15986 PyObject
* obj5
= 0 ;
15987 char * kwnames
[] = {
15988 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15996 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15998 arg2
= wxString_in_helper(obj1
);
15999 if (arg2
== NULL
) SWIG_fail
;
16004 arg3
= wxString_in_helper(obj2
);
16005 if (arg3
== NULL
) SWIG_fail
;
16011 arg4
= wxString_in_helper(obj3
);
16012 if (arg4
== NULL
) SWIG_fail
;
16017 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16018 if (!SWIG_IsOK(ecode5
)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16021 arg5
= static_cast< bool >(val5
);
16024 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16025 if (!SWIG_IsOK(ecode6
)) {
16026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16028 arg6
= static_cast< bool >(val6
);
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16069 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
= 0;
16071 wxLocale
*arg1
= (wxLocale
*) 0 ;
16072 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16073 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 PyObject
* obj2
= 0 ;
16084 char * kwnames
[] = {
16085 (char *) "self",(char *) "language",(char *) "flags", NULL
16088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16090 if (!SWIG_IsOK(res1
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16093 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16096 if (!SWIG_IsOK(ecode2
)) {
16097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16099 arg2
= static_cast< int >(val2
);
16102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16103 if (!SWIG_IsOK(ecode3
)) {
16104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16106 arg3
= static_cast< int >(val3
);
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16123 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16124 PyObject
*resultobj
= 0;
16127 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (int)wxLocale::GetSystemLanguage();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_From_int(static_cast< int >(result
));
16141 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 PyObject
*resultobj
= 0;
16143 wxFontEncoding result
;
16145 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_From_int(static_cast< int >(result
));
16159 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16160 PyObject
*resultobj
= 0;
16163 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= wxLocale::GetSystemEncodingName();
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16183 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16184 PyObject
*resultobj
= 0;
16185 wxLocale
*arg1
= (wxLocale
*) 0 ;
16189 PyObject
*swig_obj
[1] ;
16191 if (!args
) SWIG_fail
;
16192 swig_obj
[0] = args
;
16193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16194 if (!SWIG_IsOK(res1
)) {
16195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16197 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16213 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16214 PyObject
*resultobj
= 0;
16215 wxLocale
*arg1
= (wxLocale
*) 0 ;
16219 PyObject
*swig_obj
[1] ;
16221 if (!args
) SWIG_fail
;
16222 swig_obj
[0] = args
;
16223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16224 if (!SWIG_IsOK(res1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16227 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= ((wxLocale
const *)arg1
)->GetLocale();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16247 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16248 PyObject
*resultobj
= 0;
16249 wxLocale
*arg1
= (wxLocale
*) 0 ;
16253 PyObject
*swig_obj
[1] ;
16255 if (!args
) SWIG_fail
;
16256 swig_obj
[0] = args
;
16257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16258 if (!SWIG_IsOK(res1
)) {
16259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16261 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= SWIG_From_int(static_cast< int >(result
));
16275 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16276 PyObject
*resultobj
= 0;
16277 wxLocale
*arg1
= (wxLocale
*) 0 ;
16281 PyObject
*swig_obj
[1] ;
16283 if (!args
) SWIG_fail
;
16284 swig_obj
[0] = args
;
16285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16286 if (!SWIG_IsOK(res1
)) {
16287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16289 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= ((wxLocale
const *)arg1
)->GetSysName();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16309 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16310 PyObject
*resultobj
= 0;
16311 wxLocale
*arg1
= (wxLocale
*) 0 ;
16315 PyObject
*swig_obj
[1] ;
16317 if (!args
) SWIG_fail
;
16318 swig_obj
[0] = args
;
16319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16320 if (!SWIG_IsOK(res1
)) {
16321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16323 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16343 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
= 0;
16345 wxString
*arg1
= 0 ;
16346 bool temp1
= false ;
16347 PyObject
* obj0
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "prefix", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16354 arg1
= wxString_in_helper(obj0
);
16355 if (arg1
== NULL
) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= SWIG_Py_Void();
16379 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
= 0;
16381 wxLocale
*arg1
= (wxLocale
*) 0 ;
16382 wxString
*arg2
= 0 ;
16386 bool temp2
= false ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char * kwnames
[] = {
16390 (char *) "self",(char *) "szDomain", NULL
16393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16395 if (!SWIG_IsOK(res1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16398 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16400 arg2
= wxString_in_helper(obj1
);
16401 if (arg2
== NULL
) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16427 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
= 0;
16433 PyObject
* obj0
= 0 ;
16434 char * kwnames
[] = {
16435 (char *) "lang", NULL
16438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16440 if (!SWIG_IsOK(ecode1
)) {
16441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16443 arg1
= static_cast< int >(val1
);
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (bool)wxLocale::IsAvailable(arg1
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16459 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
= 0;
16461 wxLocale
*arg1
= (wxLocale
*) 0 ;
16462 wxString
*arg2
= 0 ;
16466 bool temp2
= false ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 char * kwnames
[] = {
16470 (char *) "self",(char *) "szDomain", NULL
16473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16475 if (!SWIG_IsOK(res1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16478 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16480 arg2
= wxString_in_helper(obj1
);
16481 if (arg2
== NULL
) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
= 0;
16510 wxLanguageInfo
*result
= 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char * kwnames
[] = {
16515 (char *) "lang", NULL
16518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16520 if (!SWIG_IsOK(ecode1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16523 arg1
= static_cast< int >(val1
);
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16537 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
= 0;
16543 PyObject
* obj0
= 0 ;
16544 char * kwnames
[] = {
16545 (char *) "lang", NULL
16548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16550 if (!SWIG_IsOK(ecode1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16553 arg1
= static_cast< int >(val1
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= wxLocale::GetLanguageName(arg1
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16573 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxString
*arg1
= 0 ;
16576 wxLanguageInfo
*result
= 0 ;
16577 bool temp1
= false ;
16578 PyObject
* obj0
= 0 ;
16579 char * kwnames
[] = {
16580 (char *) "locale", NULL
16583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16585 arg1
= wxString_in_helper(obj0
);
16586 if (arg1
== NULL
) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16610 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
= 0;
16612 wxLanguageInfo
*arg1
= 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char * kwnames
[] = {
16617 (char *) "info", NULL
16620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16621 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16628 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= SWIG_Py_Void();
16642 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
= 0;
16644 wxLocale
*arg1
= (wxLocale
*) 0 ;
16645 wxString
*arg2
= 0 ;
16646 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16647 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16651 bool temp2
= false ;
16652 bool temp3
= false ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 PyObject
* obj2
= 0 ;
16656 char * kwnames
[] = {
16657 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16662 if (!SWIG_IsOK(res1
)) {
16663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16665 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16667 arg2
= wxString_in_helper(obj1
);
16668 if (arg2
== NULL
) SWIG_fail
;
16673 arg3
= wxString_in_helper(obj2
);
16674 if (arg3
== NULL
) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16713 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16714 PyObject
*resultobj
= 0;
16715 wxLocale
*arg1
= (wxLocale
*) 0 ;
16716 wxString
*result
= 0 ;
16719 PyObject
*swig_obj
[1] ;
16721 if (!args
) SWIG_fail
;
16722 swig_obj
[0] = args
;
16723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16724 if (!SWIG_IsOK(res1
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16727 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16732 result
= (wxString
*) &_result_ref
;
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16750 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16753 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16754 return SWIG_Py_Void();
16757 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16758 return SWIG_Python_InitShadowInstance(args
);
16761 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
= 0;
16763 int arg1
= (int) -1 ;
16764 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16765 wxPyLocale
*result
= 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 char * kwnames
[] = {
16773 (char *) "language",(char *) "flags", NULL
16776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16779 if (!SWIG_IsOK(ecode1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16782 arg1
= static_cast< int >(val1
);
16785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16786 if (!SWIG_IsOK(ecode2
)) {
16787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16789 arg2
= static_cast< int >(val2
);
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16804 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16805 PyObject
*resultobj
= 0;
16806 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16809 PyObject
*swig_obj
[1] ;
16811 if (!args
) SWIG_fail
;
16812 swig_obj
[0] = args
;
16813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16817 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_Py_Void();
16832 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
= 0;
16834 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16835 PyObject
*arg2
= (PyObject
*) 0 ;
16836 PyObject
*arg3
= (PyObject
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 PyObject
* obj2
= 0 ;
16842 char * kwnames
[] = {
16843 (char *) "self",(char *) "self",(char *) "_class", NULL
16846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16848 if (!SWIG_IsOK(res1
)) {
16849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16851 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_Py_Void();
16867 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
= 0;
16869 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16870 wxChar
*arg2
= (wxChar
*) 0 ;
16871 wxChar
*arg3
= (wxChar
*) NULL
;
16872 wxChar
*result
= 0 ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 PyObject
* obj2
= 0 ;
16882 char * kwnames
[] = {
16883 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetSingularString" "', 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_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16896 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16899 if (!SWIG_IsOK(res3
)) {
16900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16902 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16917 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
= 0;
16919 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16920 wxChar
*arg2
= (wxChar
*) 0 ;
16921 wxChar
*arg3
= (wxChar
*) 0 ;
16923 wxChar
*arg5
= (wxChar
*) NULL
;
16924 wxChar
*result
= 0 ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 PyObject
* obj2
= 0 ;
16938 PyObject
* obj3
= 0 ;
16939 PyObject
* obj4
= 0 ;
16940 char * kwnames
[] = {
16941 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16949 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16951 if (!SWIG_IsOK(res2
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16954 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16955 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16956 if (!SWIG_IsOK(res3
)) {
16957 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16959 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16960 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16961 if (!SWIG_IsOK(ecode4
)) {
16962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16964 arg4
= static_cast< size_t >(val4
);
16966 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16967 if (!SWIG_IsOK(res5
)) {
16968 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16970 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16985 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16989 return SWIG_Py_Void();
16992 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16993 return SWIG_Python_InitShadowInstance(args
);
16996 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16997 PyObject
*resultobj
= 0;
16998 wxLocale
*result
= 0 ;
17000 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (wxLocale
*)wxGetLocale();
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17014 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17015 PyObject
*resultobj
= 0;
17016 wxString
*arg1
= 0 ;
17018 bool temp1
= false ;
17020 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17022 arg1
= wxString_in_helper(swig_obj
[0]);
17023 if (arg1
== NULL
) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= wxGetTranslation((wxString
const &)*arg1
);
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17053 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17054 PyObject
*resultobj
= 0;
17055 wxString
*arg1
= 0 ;
17056 wxString
*arg2
= 0 ;
17058 bool temp1
= false ;
17059 bool temp2
= false ;
17061 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17063 arg1
= wxString_in_helper(swig_obj
[0]);
17064 if (arg1
== NULL
) SWIG_fail
;
17068 arg2
= wxString_in_helper(swig_obj
[1]);
17069 if (arg2
== NULL
) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17107 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17108 PyObject
*resultobj
= 0;
17109 wxString
*arg1
= 0 ;
17110 wxString
*arg2
= 0 ;
17113 bool temp1
= false ;
17114 bool temp2
= false ;
17118 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17120 arg1
= wxString_in_helper(swig_obj
[0]);
17121 if (arg1
== NULL
) SWIG_fail
;
17125 arg2
= wxString_in_helper(swig_obj
[1]);
17126 if (arg2
== NULL
) SWIG_fail
;
17129 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17130 if (!SWIG_IsOK(ecode3
)) {
17131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17133 arg3
= static_cast< size_t >(val3
);
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17169 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17170 PyObject
*resultobj
= 0;
17171 wxString
*arg1
= 0 ;
17172 wxString
*arg2
= 0 ;
17174 wxString
*arg4
= 0 ;
17176 bool temp1
= false ;
17177 bool temp2
= false ;
17180 bool temp4
= false ;
17182 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17184 arg1
= wxString_in_helper(swig_obj
[0]);
17185 if (arg1
== NULL
) SWIG_fail
;
17189 arg2
= wxString_in_helper(swig_obj
[1]);
17190 if (arg2
== NULL
) SWIG_fail
;
17193 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17194 if (!SWIG_IsOK(ecode3
)) {
17195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17197 arg3
= static_cast< size_t >(val3
);
17199 arg4
= wxString_in_helper(swig_obj
[3]);
17200 if (arg4
== NULL
) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17246 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17250 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17253 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17256 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17259 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17262 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17266 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17271 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17272 PyObject
*resultobj
= 0;
17273 wxEncodingConverter
*result
= 0 ;
17275 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17289 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17290 PyObject
*resultobj
= 0;
17291 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17294 PyObject
*swig_obj
[1] ;
17296 if (!args
) SWIG_fail
;
17297 swig_obj
[0] = args
;
17298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17299 if (!SWIG_IsOK(res1
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17302 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= SWIG_Py_Void();
17317 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
= 0;
17319 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17320 wxFontEncoding arg2
;
17321 wxFontEncoding arg3
;
17322 int arg4
= (int) wxCONVERT_STRICT
;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 PyObject
* obj2
= 0 ;
17335 PyObject
* obj3
= 0 ;
17336 char * kwnames
[] = {
17337 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17342 if (!SWIG_IsOK(res1
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17345 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17347 if (!SWIG_IsOK(ecode2
)) {
17348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17350 arg2
= static_cast< wxFontEncoding
>(val2
);
17351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17352 if (!SWIG_IsOK(ecode3
)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17355 arg3
= static_cast< wxFontEncoding
>(val3
);
17357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17358 if (!SWIG_IsOK(ecode4
)) {
17359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17361 arg4
= static_cast< int >(val4
);
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17378 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
= 0;
17380 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17381 wxString
*arg2
= 0 ;
17385 bool temp2
= false ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 char * kwnames
[] = {
17389 (char *) "self",(char *) "input", NULL
17392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17397 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17399 arg2
= wxString_in_helper(obj1
);
17400 if (arg2
== NULL
) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17430 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
= 0;
17432 wxFontEncoding arg1
;
17433 int arg2
= (int) wxPLATFORM_CURRENT
;
17434 wxFontEncodingArray result
;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 char * kwnames
[] = {
17442 (char *) "enc",(char *) "platform", NULL
17445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17447 if (!SWIG_IsOK(ecode1
)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17450 arg1
= static_cast< wxFontEncoding
>(val1
);
17452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17453 if (!SWIG_IsOK(ecode2
)) {
17454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17456 arg2
= static_cast< int >(val2
);
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= PyList_New(0);
17466 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17467 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17468 PyList_Append(resultobj
, number
);
17478 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
= 0;
17480 wxFontEncoding arg1
;
17481 wxFontEncodingArray result
;
17484 PyObject
* obj0
= 0 ;
17485 char * kwnames
[] = {
17486 (char *) "enc", NULL
17489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17490 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17491 if (!SWIG_IsOK(ecode1
)) {
17492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17494 arg1
= static_cast< wxFontEncoding
>(val1
);
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= PyList_New(0);
17503 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17504 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17505 PyList_Append(resultobj
, number
);
17515 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
= 0;
17517 wxFontEncoding arg1
;
17518 wxFontEncoding arg2
;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char * kwnames
[] = {
17527 (char *) "encIn",(char *) "encOut", NULL
17530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17531 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17532 if (!SWIG_IsOK(ecode1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17535 arg1
= static_cast< wxFontEncoding
>(val1
);
17536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17537 if (!SWIG_IsOK(ecode2
)) {
17538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17540 arg2
= static_cast< wxFontEncoding
>(val2
);
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17556 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17559 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17560 return SWIG_Py_Void();
17563 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17564 return SWIG_Python_InitShadowInstance(args
);
17567 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17568 PyObject
*resultobj
= 0;
17569 wxDC
*arg1
= (wxDC
*) 0 ;
17572 PyObject
*swig_obj
[1] ;
17574 if (!args
) SWIG_fail
;
17575 swig_obj
[0] = args
;
17576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 resultobj
= SWIG_Py_Void();
17595 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
= 0;
17597 wxDC
*arg1
= (wxDC
*) 0 ;
17600 wxColour
*arg4
= 0 ;
17601 int arg5
= (int) wxFLOOD_SURFACE
;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 PyObject
* obj2
= 0 ;
17615 PyObject
* obj3
= 0 ;
17616 PyObject
* obj4
= 0 ;
17617 char * kwnames
[] = {
17618 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17623 if (!SWIG_IsOK(res1
)) {
17624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17628 if (!SWIG_IsOK(ecode2
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17631 arg2
= static_cast< int >(val2
);
17632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17633 if (!SWIG_IsOK(ecode3
)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17636 arg3
= static_cast< int >(val3
);
17639 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17643 if (!SWIG_IsOK(ecode5
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17646 arg5
= static_cast< int >(val5
);
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17663 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
= 0;
17665 wxDC
*arg1
= (wxDC
*) 0 ;
17666 wxPoint
*arg2
= 0 ;
17667 wxColour
*arg3
= 0 ;
17668 int arg4
= (int) wxFLOOD_SURFACE
;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 PyObject
* obj2
= 0 ;
17679 PyObject
* obj3
= 0 ;
17680 char * kwnames
[] = {
17681 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17700 if (!SWIG_IsOK(ecode4
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17703 arg4
= static_cast< int >(val4
);
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17720 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxDC
*arg1
= (wxDC
*) 0 ;
17724 wxColour
*arg3
= 0 ;
17725 wxColour
*arg4
= 0 ;
17726 wxPoint
*arg5
= 0 ;
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 *) "circleCenter", NULL
17742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",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_GradientFillConcentric" "', 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
;
17762 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_Py_Void();
17777 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxDC
*arg1
= (wxDC
*) 0 ;
17781 wxColour
*arg3
= 0 ;
17782 wxColour
*arg4
= 0 ;
17783 wxDirection arg5
= (wxDirection
) wxEAST
;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 PyObject
* obj3
= 0 ;
17795 PyObject
* obj4
= 0 ;
17796 char * kwnames
[] = {
17797 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17802 if (!SWIG_IsOK(res1
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17812 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17816 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17819 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17820 if (!SWIG_IsOK(ecode5
)) {
17821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17823 arg5
= static_cast< wxDirection
>(val5
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_Py_Void();
17838 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
= 0;
17840 wxDC
*arg1
= (wxDC
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 PyObject
* obj2
= 0 ;
17853 char * kwnames
[] = {
17854 (char *) "self",(char *) "x",(char *) "y", NULL
17857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17859 if (!SWIG_IsOK(res1
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17864 if (!SWIG_IsOK(ecode2
)) {
17865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17867 arg2
= static_cast< int >(val2
);
17868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17869 if (!SWIG_IsOK(ecode3
)) {
17870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17872 arg3
= static_cast< int >(val3
);
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17886 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= 0;
17888 wxDC
*arg1
= (wxDC
*) 0 ;
17889 wxPoint
*arg2
= 0 ;
17894 PyObject
* obj0
= 0 ;
17895 PyObject
* obj1
= 0 ;
17896 char * kwnames
[] = {
17897 (char *) "self",(char *) "pt", NULL
17900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17902 if (!SWIG_IsOK(res1
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17923 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
= 0;
17925 wxDC
*arg1
= (wxDC
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 PyObject
* obj2
= 0 ;
17943 PyObject
* obj3
= 0 ;
17944 PyObject
* obj4
= 0 ;
17945 char * kwnames
[] = {
17946 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17951 if (!SWIG_IsOK(res1
)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17956 if (!SWIG_IsOK(ecode2
)) {
17957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17959 arg2
= static_cast< int >(val2
);
17960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17961 if (!SWIG_IsOK(ecode3
)) {
17962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17964 arg3
= static_cast< int >(val3
);
17965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17966 if (!SWIG_IsOK(ecode4
)) {
17967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17969 arg4
= static_cast< int >(val4
);
17970 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17971 if (!SWIG_IsOK(ecode5
)) {
17972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17974 arg5
= static_cast< int >(val5
);
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_Py_Void();
17988 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
= 0;
17990 wxDC
*arg1
= (wxDC
*) 0 ;
17991 wxPoint
*arg2
= 0 ;
17992 wxPoint
*arg3
= 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 PyObject
* obj2
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= SWIG_Py_Void();
18031 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
= 0;
18033 wxDC
*arg1
= (wxDC
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 PyObject
* obj1
= 0 ;
18044 PyObject
* obj2
= 0 ;
18045 char * kwnames
[] = {
18046 (char *) "self",(char *) "x",(char *) "y", NULL
18049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18051 if (!SWIG_IsOK(res1
)) {
18052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18056 if (!SWIG_IsOK(ecode2
)) {
18057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18059 arg2
= static_cast< int >(val2
);
18060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18061 if (!SWIG_IsOK(ecode3
)) {
18062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18064 arg3
= static_cast< int >(val3
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->CrossHair(arg2
,arg3
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_Py_Void();
18078 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxDC
*arg1
= (wxDC
*) 0 ;
18081 wxPoint
*arg2
= 0 ;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char * kwnames
[] = {
18088 (char *) "self",(char *) "pt", NULL
18091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_Py_Void();
18114 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
= 0;
18116 wxDC
*arg1
= (wxDC
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 PyObject
* obj2
= 0 ;
18140 PyObject
* obj3
= 0 ;
18141 PyObject
* obj4
= 0 ;
18142 PyObject
* obj5
= 0 ;
18143 PyObject
* obj6
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18150 if (!SWIG_IsOK(res1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18155 if (!SWIG_IsOK(ecode2
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18158 arg2
= static_cast< int >(val2
);
18159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18160 if (!SWIG_IsOK(ecode3
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18163 arg3
= static_cast< int >(val3
);
18164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18165 if (!SWIG_IsOK(ecode4
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18168 arg4
= static_cast< int >(val4
);
18169 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18170 if (!SWIG_IsOK(ecode5
)) {
18171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18173 arg5
= static_cast< int >(val5
);
18174 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18175 if (!SWIG_IsOK(ecode6
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18178 arg6
= static_cast< int >(val6
);
18179 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18180 if (!SWIG_IsOK(ecode7
)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18183 arg7
= static_cast< int >(val7
);
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_Py_Void();
18197 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
= 0;
18199 wxDC
*arg1
= (wxDC
*) 0 ;
18200 wxPoint
*arg2
= 0 ;
18201 wxPoint
*arg3
= 0 ;
18202 wxPoint
*arg4
= 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 PyObject
* obj2
= 0 ;
18211 PyObject
* obj3
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_Py_Void();
18247 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
= 0;
18249 wxDC
*arg1
= (wxDC
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 PyObject
* obj3
= 0 ;
18268 PyObject
* obj4
= 0 ;
18269 char * kwnames
[] = {
18270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18275 if (!SWIG_IsOK(res1
)) {
18276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18280 if (!SWIG_IsOK(ecode2
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18283 arg2
= static_cast< int >(val2
);
18284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18285 if (!SWIG_IsOK(ecode3
)) {
18286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18288 arg3
= static_cast< int >(val3
);
18289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18290 if (!SWIG_IsOK(ecode4
)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18293 arg4
= static_cast< int >(val4
);
18294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18295 if (!SWIG_IsOK(ecode5
)) {
18296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18298 arg5
= static_cast< int >(val5
);
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_Py_Void();
18312 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
= 0;
18314 wxDC
*arg1
= (wxDC
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 char * kwnames
[] = {
18322 (char *) "self",(char *) "rect", NULL
18325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18333 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_Py_Void();
18348 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
= 0;
18350 wxDC
*arg1
= (wxDC
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 PyObject
* obj2
= 0 ;
18374 PyObject
* obj3
= 0 ;
18375 PyObject
* obj4
= 0 ;
18376 PyObject
* obj5
= 0 ;
18377 PyObject
* obj6
= 0 ;
18378 char * kwnames
[] = {
18379 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18384 if (!SWIG_IsOK(res1
)) {
18385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18389 if (!SWIG_IsOK(ecode2
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18392 arg2
= static_cast< int >(val2
);
18393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18394 if (!SWIG_IsOK(ecode3
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18397 arg3
= static_cast< int >(val3
);
18398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18399 if (!SWIG_IsOK(ecode4
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18402 arg4
= static_cast< int >(val4
);
18403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18404 if (!SWIG_IsOK(ecode5
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18407 arg5
= static_cast< int >(val5
);
18408 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18409 if (!SWIG_IsOK(ecode6
)) {
18410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18412 arg6
= static_cast< double >(val6
);
18413 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18414 if (!SWIG_IsOK(ecode7
)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18417 arg7
= static_cast< double >(val7
);
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_Py_Void();
18431 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
= 0;
18433 wxDC
*arg1
= (wxDC
*) 0 ;
18434 wxPoint
*arg2
= 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 PyObject
* obj3
= 0 ;
18450 PyObject
* obj4
= 0 ;
18451 char * kwnames
[] = {
18452 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18457 if (!SWIG_IsOK(res1
)) {
18458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18467 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18469 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18470 if (!SWIG_IsOK(ecode4
)) {
18471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18473 arg4
= static_cast< double >(val4
);
18474 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18475 if (!SWIG_IsOK(ecode5
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18478 arg5
= static_cast< double >(val5
);
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_Py_Void();
18492 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
= 0;
18494 wxDC
*arg1
= (wxDC
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 PyObject
* obj2
= 0 ;
18506 char * kwnames
[] = {
18507 (char *) "self",(char *) "x",(char *) "y", NULL
18510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18512 if (!SWIG_IsOK(res1
)) {
18513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18517 if (!SWIG_IsOK(ecode2
)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18520 arg2
= static_cast< int >(val2
);
18521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18522 if (!SWIG_IsOK(ecode3
)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18525 arg3
= static_cast< int >(val3
);
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->DrawPoint(arg2
,arg3
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_Py_Void();
18539 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
= 0;
18541 wxDC
*arg1
= (wxDC
*) 0 ;
18542 wxPoint
*arg2
= 0 ;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 char * kwnames
[] = {
18549 (char *) "self",(char *) "pt", NULL
18552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18554 if (!SWIG_IsOK(res1
)) {
18555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18560 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_Py_Void();
18575 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
= 0;
18577 wxDC
*arg1
= (wxDC
*) 0 ;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 PyObject
* obj2
= 0 ;
18595 PyObject
* obj3
= 0 ;
18596 PyObject
* obj4
= 0 ;
18597 char * kwnames
[] = {
18598 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18603 if (!SWIG_IsOK(res1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18608 if (!SWIG_IsOK(ecode2
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18611 arg2
= static_cast< int >(val2
);
18612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18613 if (!SWIG_IsOK(ecode3
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18616 arg3
= static_cast< int >(val3
);
18617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18618 if (!SWIG_IsOK(ecode4
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18621 arg4
= static_cast< int >(val4
);
18622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18623 if (!SWIG_IsOK(ecode5
)) {
18624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18626 arg5
= static_cast< int >(val5
);
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_Py_Void();
18640 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
= 0;
18642 wxDC
*arg1
= (wxDC
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 PyObject
* obj1
= 0 ;
18649 char * kwnames
[] = {
18650 (char *) "self",(char *) "rect", NULL
18653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18655 if (!SWIG_IsOK(res1
)) {
18656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18661 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_Py_Void();
18676 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
= 0;
18678 wxDC
*arg1
= (wxDC
*) 0 ;
18679 wxPoint
*arg2
= 0 ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 PyObject
* obj2
= 0 ;
18688 char * kwnames
[] = {
18689 (char *) "self",(char *) "pt",(char *) "sz", NULL
18692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18694 if (!SWIG_IsOK(res1
)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18700 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18704 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_Py_Void();
18719 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
= 0;
18721 wxDC
*arg1
= (wxDC
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 PyObject
* obj3
= 0 ;
18743 PyObject
* obj4
= 0 ;
18744 PyObject
* obj5
= 0 ;
18745 char * kwnames
[] = {
18746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18756 if (!SWIG_IsOK(ecode2
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18759 arg2
= static_cast< int >(val2
);
18760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18761 if (!SWIG_IsOK(ecode3
)) {
18762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18764 arg3
= static_cast< int >(val3
);
18765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18766 if (!SWIG_IsOK(ecode4
)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18769 arg4
= static_cast< int >(val4
);
18770 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18771 if (!SWIG_IsOK(ecode5
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18774 arg5
= static_cast< int >(val5
);
18775 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18776 if (!SWIG_IsOK(ecode6
)) {
18777 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18779 arg6
= static_cast< double >(val6
);
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_Py_Void();
18793 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
= 0;
18795 wxDC
*arg1
= (wxDC
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 PyObject
* obj1
= 0 ;
18805 PyObject
* obj2
= 0 ;
18806 char * kwnames
[] = {
18807 (char *) "self",(char *) "r",(char *) "radius", NULL
18810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18818 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18820 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18821 if (!SWIG_IsOK(ecode3
)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18824 arg3
= static_cast< double >(val3
);
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_Py_Void();
18838 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
= 0;
18840 wxDC
*arg1
= (wxDC
*) 0 ;
18841 wxPoint
*arg2
= 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 PyObject
* obj2
= 0 ;
18853 PyObject
* obj3
= 0 ;
18854 char * kwnames
[] = {
18855 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18860 if (!SWIG_IsOK(res1
)) {
18861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18870 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18873 if (!SWIG_IsOK(ecode4
)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18876 arg4
= static_cast< double >(val4
);
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= SWIG_Py_Void();
18890 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
= 0;
18892 wxDC
*arg1
= (wxDC
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 PyObject
* obj2
= 0 ;
18907 PyObject
* obj3
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18919 if (!SWIG_IsOK(ecode2
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18922 arg2
= static_cast< int >(val2
);
18923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18924 if (!SWIG_IsOK(ecode3
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18927 arg3
= static_cast< int >(val3
);
18928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18929 if (!SWIG_IsOK(ecode4
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18932 arg4
= static_cast< int >(val4
);
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_Py_Void();
18946 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
= 0;
18948 wxDC
*arg1
= (wxDC
*) 0 ;
18949 wxPoint
*arg2
= 0 ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 PyObject
* obj2
= 0 ;
18959 char * kwnames
[] = {
18960 (char *) "self",(char *) "pt",(char *) "radius", NULL
18963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18965 if (!SWIG_IsOK(res1
)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18974 if (!SWIG_IsOK(ecode3
)) {
18975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18977 arg3
= static_cast< int >(val3
);
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= SWIG_Py_Void();
18991 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
= 0;
18993 wxDC
*arg1
= (wxDC
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 PyObject
* obj2
= 0 ;
19011 PyObject
* obj3
= 0 ;
19012 PyObject
* obj4
= 0 ;
19013 char * kwnames
[] = {
19014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19019 if (!SWIG_IsOK(res1
)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19024 if (!SWIG_IsOK(ecode2
)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19027 arg2
= static_cast< int >(val2
);
19028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19029 if (!SWIG_IsOK(ecode3
)) {
19030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19032 arg3
= static_cast< int >(val3
);
19033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19034 if (!SWIG_IsOK(ecode4
)) {
19035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19037 arg4
= static_cast< int >(val4
);
19038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19039 if (!SWIG_IsOK(ecode5
)) {
19040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19042 arg5
= static_cast< int >(val5
);
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_Py_Void();
19056 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
= 0;
19058 wxDC
*arg1
= (wxDC
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char * kwnames
[] = {
19066 (char *) "self",(char *) "rect", NULL
19069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19077 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_Py_Void();
19092 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
= 0;
19094 wxDC
*arg1
= (wxDC
*) 0 ;
19095 wxPoint
*arg2
= 0 ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 char * kwnames
[] = {
19105 (char *) "self",(char *) "pt",(char *) "sz", NULL
19108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19110 if (!SWIG_IsOK(res1
)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19120 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19135 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxDC
*arg1
= (wxDC
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 PyObject
* obj2
= 0 ;
19152 PyObject
* obj3
= 0 ;
19153 char * kwnames
[] = {
19154 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19164 if (!SWIG_IsOK(res2
)) {
19165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19170 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19172 if (!SWIG_IsOK(ecode3
)) {
19173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19175 arg3
= static_cast< int >(val3
);
19176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19177 if (!SWIG_IsOK(ecode4
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19180 arg4
= static_cast< int >(val4
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_Py_Void();
19194 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxDC
*arg1
= (wxDC
*) 0 ;
19198 wxPoint
*arg3
= 0 ;
19204 PyObject
* obj0
= 0 ;
19205 PyObject
* obj1
= 0 ;
19206 PyObject
* obj2
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "icon",(char *) "pt", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19218 if (!SWIG_IsOK(res2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19224 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_Py_Void();
19242 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
= 0;
19244 wxDC
*arg1
= (wxDC
*) 0 ;
19245 wxBitmap
*arg2
= 0 ;
19248 bool arg5
= (bool) false ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 PyObject
* obj2
= 0 ;
19262 PyObject
* obj3
= 0 ;
19263 PyObject
* obj4
= 0 ;
19264 char * kwnames
[] = {
19265 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19275 if (!SWIG_IsOK(res2
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19281 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19283 if (!SWIG_IsOK(ecode3
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19286 arg3
= static_cast< int >(val3
);
19287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19288 if (!SWIG_IsOK(ecode4
)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19291 arg4
= static_cast< int >(val4
);
19293 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19294 if (!SWIG_IsOK(ecode5
)) {
19295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19297 arg5
= static_cast< bool >(val5
);
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_Py_Void();
19312 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
= 0;
19314 wxDC
*arg1
= (wxDC
*) 0 ;
19315 wxBitmap
*arg2
= 0 ;
19316 wxPoint
*arg3
= 0 ;
19317 bool arg4
= (bool) false ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 PyObject
* obj2
= 0 ;
19328 PyObject
* obj3
= 0 ;
19329 char * kwnames
[] = {
19330 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19335 if (!SWIG_IsOK(res1
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19340 if (!SWIG_IsOK(res2
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19352 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19353 if (!SWIG_IsOK(ecode4
)) {
19354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19356 arg4
= static_cast< bool >(val4
);
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_Py_Void();
19371 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
= 0;
19373 wxDC
*arg1
= (wxDC
*) 0 ;
19374 wxString
*arg2
= 0 ;
19379 bool temp2
= false ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 PyObject
* obj2
= 0 ;
19387 PyObject
* obj3
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19399 arg2
= wxString_in_helper(obj1
);
19400 if (arg2
== NULL
) SWIG_fail
;
19403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19404 if (!SWIG_IsOK(ecode3
)) {
19405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19407 arg3
= static_cast< int >(val3
);
19408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19409 if (!SWIG_IsOK(ecode4
)) {
19410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19412 arg4
= static_cast< int >(val4
);
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_Py_Void();
19434 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= 0;
19436 wxDC
*arg1
= (wxDC
*) 0 ;
19437 wxString
*arg2
= 0 ;
19438 wxPoint
*arg3
= 0 ;
19441 bool temp2
= false ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 char * kwnames
[] = {
19447 (char *) "self",(char *) "text",(char *) "pt", NULL
19450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19452 if (!SWIG_IsOK(res1
)) {
19453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19457 arg2
= wxString_in_helper(obj1
);
19458 if (arg2
== NULL
) SWIG_fail
;
19463 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 resultobj
= SWIG_Py_Void();
19486 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
= 0;
19488 wxDC
*arg1
= (wxDC
*) 0 ;
19489 wxString
*arg2
= 0 ;
19495 bool temp2
= false ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 PyObject
* obj2
= 0 ;
19505 PyObject
* obj3
= 0 ;
19506 PyObject
* obj4
= 0 ;
19507 char * kwnames
[] = {
19508 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19513 if (!SWIG_IsOK(res1
)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19518 arg2
= wxString_in_helper(obj1
);
19519 if (arg2
== NULL
) SWIG_fail
;
19522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19523 if (!SWIG_IsOK(ecode3
)) {
19524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19526 arg3
= static_cast< int >(val3
);
19527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19528 if (!SWIG_IsOK(ecode4
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19531 arg4
= static_cast< int >(val4
);
19532 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19533 if (!SWIG_IsOK(ecode5
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19536 arg5
= static_cast< double >(val5
);
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_Py_Void();
19558 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxDC
*arg1
= (wxDC
*) 0 ;
19561 wxString
*arg2
= 0 ;
19562 wxPoint
*arg3
= 0 ;
19566 bool temp2
= false ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 PyObject
* obj3
= 0 ;
19574 char * kwnames
[] = {
19575 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19580 if (!SWIG_IsOK(res1
)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19585 arg2
= wxString_in_helper(obj1
);
19586 if (arg2
== NULL
) SWIG_fail
;
19591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19593 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19594 if (!SWIG_IsOK(ecode4
)) {
19595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19597 arg4
= static_cast< double >(val4
);
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_Py_Void();
19619 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
= 0;
19621 wxDC
*arg1
= (wxDC
*) 0 ;
19626 wxDC
*arg6
= (wxDC
*) 0 ;
19629 int arg9
= (int) wxCOPY
;
19630 bool arg10
= (bool) false ;
19631 int arg11
= (int) -1 ;
19632 int arg12
= (int) -1 ;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 PyObject
* obj2
= 0 ;
19661 PyObject
* obj3
= 0 ;
19662 PyObject
* obj4
= 0 ;
19663 PyObject
* obj5
= 0 ;
19664 PyObject
* obj6
= 0 ;
19665 PyObject
* obj7
= 0 ;
19666 PyObject
* obj8
= 0 ;
19667 PyObject
* obj9
= 0 ;
19668 PyObject
* obj10
= 0 ;
19669 PyObject
* obj11
= 0 ;
19670 char * kwnames
[] = {
19671 (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
19674 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
;
19675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19681 if (!SWIG_IsOK(ecode2
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19684 arg2
= static_cast< int >(val2
);
19685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19686 if (!SWIG_IsOK(ecode3
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19689 arg3
= static_cast< int >(val3
);
19690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19691 if (!SWIG_IsOK(ecode4
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19694 arg4
= static_cast< int >(val4
);
19695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19696 if (!SWIG_IsOK(ecode5
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19699 arg5
= static_cast< int >(val5
);
19700 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19701 if (!SWIG_IsOK(res6
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19704 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19705 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19706 if (!SWIG_IsOK(ecode7
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19709 arg7
= static_cast< int >(val7
);
19710 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19711 if (!SWIG_IsOK(ecode8
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19714 arg8
= static_cast< int >(val8
);
19716 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19717 if (!SWIG_IsOK(ecode9
)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19720 arg9
= static_cast< int >(val9
);
19723 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19724 if (!SWIG_IsOK(ecode10
)) {
19725 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19727 arg10
= static_cast< bool >(val10
);
19730 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19731 if (!SWIG_IsOK(ecode11
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19734 arg11
= static_cast< int >(val11
);
19737 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19738 if (!SWIG_IsOK(ecode12
)) {
19739 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19741 arg12
= static_cast< int >(val12
);
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19758 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
= 0;
19760 wxDC
*arg1
= (wxDC
*) 0 ;
19761 wxPoint
*arg2
= 0 ;
19763 wxDC
*arg4
= (wxDC
*) 0 ;
19764 wxPoint
*arg5
= 0 ;
19765 int arg6
= (int) wxCOPY
;
19766 bool arg7
= (bool) false ;
19767 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19768 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 PyObject
* obj2
= 0 ;
19785 PyObject
* obj3
= 0 ;
19786 PyObject
* obj4
= 0 ;
19787 PyObject
* obj5
= 0 ;
19788 PyObject
* obj6
= 0 ;
19789 PyObject
* obj7
= 0 ;
19790 char * kwnames
[] = {
19791 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19796 if (!SWIG_IsOK(res1
)) {
19797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19806 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19808 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19809 if (!SWIG_IsOK(res4
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19812 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19815 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19818 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19819 if (!SWIG_IsOK(ecode6
)) {
19820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19822 arg6
= static_cast< int >(val6
);
19825 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19826 if (!SWIG_IsOK(ecode7
)) {
19827 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19829 arg7
= static_cast< bool >(val7
);
19834 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19852 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= 0;
19854 wxDC
*arg1
= (wxDC
*) 0 ;
19855 wxRect
*arg2
= (wxRect
*) NULL
;
19856 SwigValueWrapper
<wxBitmap
> result
;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char * kwnames
[] = {
19864 (char *) "self",(char *) "subrect", NULL
19867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19869 if (!SWIG_IsOK(res1
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19875 if (!SWIG_IsOK(res2
)) {
19876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19878 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19893 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
= 0;
19895 wxDC
*arg1
= (wxDC
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 PyObject
* obj2
= 0 ;
19913 PyObject
* obj3
= 0 ;
19914 PyObject
* obj4
= 0 ;
19915 char * kwnames
[] = {
19916 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19921 if (!SWIG_IsOK(res1
)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19926 if (!SWIG_IsOK(ecode2
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19929 arg2
= static_cast< int >(val2
);
19930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19931 if (!SWIG_IsOK(ecode3
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19934 arg3
= static_cast< int >(val3
);
19935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19936 if (!SWIG_IsOK(ecode4
)) {
19937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19939 arg4
= static_cast< int >(val4
);
19940 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19941 if (!SWIG_IsOK(ecode5
)) {
19942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19944 arg5
= static_cast< int >(val5
);
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_Py_Void();
19958 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxDC
*arg1
= (wxDC
*) 0 ;
19961 wxPoint
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 PyObject
* obj2
= 0 ;
19970 char * kwnames
[] = {
19971 (char *) "self",(char *) "pt",(char *) "sz", NULL
19974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19976 if (!SWIG_IsOK(res1
)) {
19977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19986 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_Py_Void();
20001 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
= 0;
20003 wxDC
*arg1
= (wxDC
*) 0 ;
20004 wxRegion
*arg2
= 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char * kwnames
[] = {
20012 (char *) "self",(char *) "region", NULL
20015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20022 if (!SWIG_IsOK(res2
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20028 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_Py_Void();
20042 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
= 0;
20044 wxDC
*arg1
= (wxDC
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "rect", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_Py_Void();
20078 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxDC
*arg1
= (wxDC
*) 0 ;
20082 wxPoint
*arg3
= (wxPoint
*) 0 ;
20083 int arg4
= (int) 0 ;
20084 int arg5
= (int) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 PyObject
* obj2
= 0 ;
20094 PyObject
* obj3
= 0 ;
20095 char * kwnames
[] = {
20096 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20101 if (!SWIG_IsOK(res1
)) {
20102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20106 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20107 if (arg3
== NULL
) SWIG_fail
;
20110 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20111 if (!SWIG_IsOK(ecode4
)) {
20112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20114 arg4
= static_cast< int >(val4
);
20117 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20118 if (!SWIG_IsOK(ecode5
)) {
20119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20121 arg5
= static_cast< int >(val5
);
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_Py_Void();
20131 if (arg3
) delete [] arg3
;
20136 if (arg3
) delete [] arg3
;
20142 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
= 0;
20144 wxDC
*arg1
= (wxDC
*) 0 ;
20146 wxPoint
*arg3
= (wxPoint
*) 0 ;
20147 int arg4
= (int) 0 ;
20148 int arg5
= (int) 0 ;
20149 int arg6
= (int) wxODDEVEN_RULE
;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 PyObject
* obj2
= 0 ;
20161 PyObject
* obj3
= 0 ;
20162 PyObject
* obj4
= 0 ;
20163 char * kwnames
[] = {
20164 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20169 if (!SWIG_IsOK(res1
)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20174 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20175 if (arg3
== NULL
) SWIG_fail
;
20178 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20179 if (!SWIG_IsOK(ecode4
)) {
20180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20182 arg4
= static_cast< int >(val4
);
20185 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20186 if (!SWIG_IsOK(ecode5
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20189 arg5
= static_cast< int >(val5
);
20192 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20193 if (!SWIG_IsOK(ecode6
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20196 arg6
= static_cast< int >(val6
);
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_Py_Void();
20206 if (arg3
) delete [] arg3
;
20211 if (arg3
) delete [] arg3
;
20217 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxDC
*arg1
= (wxDC
*) 0 ;
20220 wxString
*arg2
= 0 ;
20222 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20223 int arg5
= (int) -1 ;
20226 bool temp2
= false ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 PyObject
* obj2
= 0 ;
20235 PyObject
* obj3
= 0 ;
20236 PyObject
* obj4
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20248 arg2
= wxString_in_helper(obj1
);
20249 if (arg2
== NULL
) SWIG_fail
;
20254 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20258 if (!SWIG_IsOK(ecode4
)) {
20259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20261 arg4
= static_cast< int >(val4
);
20264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20265 if (!SWIG_IsOK(ecode5
)) {
20266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20268 arg5
= static_cast< int >(val5
);
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_Py_Void();
20291 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= 0;
20293 wxDC
*arg1
= (wxDC
*) 0 ;
20294 wxString
*arg2
= 0 ;
20295 wxBitmap
*arg3
= 0 ;
20297 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20298 int arg6
= (int) -1 ;
20302 bool temp2
= false ;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 PyObject
* obj2
= 0 ;
20313 PyObject
* obj3
= 0 ;
20314 PyObject
* obj4
= 0 ;
20315 PyObject
* obj5
= 0 ;
20316 char * kwnames
[] = {
20317 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20322 if (!SWIG_IsOK(res1
)) {
20323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20327 arg2
= wxString_in_helper(obj1
);
20328 if (arg2
== NULL
) SWIG_fail
;
20331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20332 if (!SWIG_IsOK(res3
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20338 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20341 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20344 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20345 if (!SWIG_IsOK(ecode5
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20348 arg5
= static_cast< int >(val5
);
20351 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20352 if (!SWIG_IsOK(ecode6
)) {
20353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20355 arg6
= static_cast< int >(val6
);
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20378 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
= 0;
20380 wxDC
*arg1
= (wxDC
*) 0 ;
20382 wxPoint
*arg3
= (wxPoint
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char * kwnames
[] = {
20388 (char *) "self",(char *) "points", NULL
20391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20393 if (!SWIG_IsOK(res1
)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20398 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20399 if (arg3
== NULL
) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 (arg1
)->DrawSpline(arg2
,arg3
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= SWIG_Py_Void();
20409 if (arg3
) delete [] arg3
;
20414 if (arg3
) delete [] arg3
;
20420 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20421 PyObject
*resultobj
= 0;
20422 wxDC
*arg1
= (wxDC
*) 0 ;
20425 PyObject
*swig_obj
[1] ;
20427 if (!args
) SWIG_fail
;
20428 swig_obj
[0] = args
;
20429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20430 if (!SWIG_IsOK(res1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= SWIG_Py_Void();
20447 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
= 0;
20449 wxDC
*arg1
= (wxDC
*) 0 ;
20450 wxString
*arg2
= 0 ;
20454 bool temp2
= false ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 char * kwnames
[] = {
20458 (char *) "self",(char *) "message", NULL
20461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20468 arg2
= wxString_in_helper(obj1
);
20469 if (arg2
== NULL
) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20495 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20496 PyObject
*resultobj
= 0;
20497 wxDC
*arg1
= (wxDC
*) 0 ;
20500 PyObject
*swig_obj
[1] ;
20502 if (!args
) SWIG_fail
;
20503 swig_obj
[0] = args
;
20504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20505 if (!SWIG_IsOK(res1
)) {
20506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20508 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= SWIG_Py_Void();
20522 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20523 PyObject
*resultobj
= 0;
20524 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
*swig_obj
[1] ;
20529 if (!args
) SWIG_fail
;
20530 swig_obj
[0] = args
;
20531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 (arg1
)->StartPage();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_Py_Void();
20549 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20550 PyObject
*resultobj
= 0;
20551 wxDC
*arg1
= (wxDC
*) 0 ;
20554 PyObject
*swig_obj
[1] ;
20556 if (!args
) SWIG_fail
;
20557 swig_obj
[0] = args
;
20558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_Py_Void();
20576 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= 0;
20578 wxDC
*arg1
= (wxDC
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 char * kwnames
[] = {
20587 (char *) "self",(char *) "font", NULL
20590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20592 if (!SWIG_IsOK(res1
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20597 if (!SWIG_IsOK(res2
)) {
20598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20603 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 (arg1
)->SetFont((wxFont
const &)*arg2
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_Py_Void();
20617 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
= 0;
20619 wxDC
*arg1
= (wxDC
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "self",(char *) "pen", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20638 if (!SWIG_IsOK(res2
)) {
20639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20644 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->SetPen((wxPen
const &)*arg2
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_Py_Void();
20658 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= 0;
20660 wxDC
*arg1
= (wxDC
*) 0 ;
20661 wxBrush
*arg2
= 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "brush", NULL
20672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20679 if (!SWIG_IsOK(res2
)) {
20680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20685 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_Py_Void();
20699 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= 0;
20701 wxDC
*arg1
= (wxDC
*) 0 ;
20702 wxBrush
*arg2
= 0 ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "self",(char *) "brush", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20720 if (!SWIG_IsOK(res2
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20726 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= SWIG_Py_Void();
20740 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
= 0;
20742 wxDC
*arg1
= (wxDC
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char * kwnames
[] = {
20751 (char *) "self",(char *) "mode", NULL
20754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20756 if (!SWIG_IsOK(res1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20761 if (!SWIG_IsOK(ecode2
)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20764 arg2
= static_cast< int >(val2
);
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 (arg1
)->SetBackgroundMode(arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_Py_Void();
20778 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
= 0;
20780 wxDC
*arg1
= (wxDC
*) 0 ;
20781 wxPalette
*arg2
= 0 ;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 char * kwnames
[] = {
20789 (char *) "self",(char *) "palette", NULL
20792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20794 if (!SWIG_IsOK(res1
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20799 if (!SWIG_IsOK(res2
)) {
20800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20805 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_Py_Void();
20819 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20820 PyObject
*resultobj
= 0;
20821 wxDC
*arg1
= (wxDC
*) 0 ;
20824 PyObject
*swig_obj
[1] ;
20826 if (!args
) SWIG_fail
;
20827 swig_obj
[0] = args
;
20828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->DestroyClippingRegion();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_Py_Void();
20846 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20847 PyObject
*resultobj
= 0;
20848 wxDC
*arg1
= (wxDC
*) 0 ;
20849 int *arg2
= (int *) 0 ;
20850 int *arg3
= (int *) 0 ;
20851 int *arg4
= (int *) 0 ;
20852 int *arg5
= (int *) 0 ;
20856 int res2
= SWIG_TMPOBJ
;
20858 int res3
= SWIG_TMPOBJ
;
20860 int res4
= SWIG_TMPOBJ
;
20862 int res5
= SWIG_TMPOBJ
;
20863 PyObject
*swig_obj
[1] ;
20869 if (!args
) SWIG_fail
;
20870 swig_obj
[0] = args
;
20871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20872 if (!SWIG_IsOK(res1
)) {
20873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_Py_Void();
20883 if (SWIG_IsTmpObj(res2
)) {
20884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20886 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20889 if (SWIG_IsTmpObj(res3
)) {
20890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20892 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20895 if (SWIG_IsTmpObj(res4
)) {
20896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20898 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20901 if (SWIG_IsTmpObj(res5
)) {
20902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20904 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20913 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20914 PyObject
*resultobj
= 0;
20915 wxDC
*arg1
= (wxDC
*) 0 ;
20919 PyObject
*swig_obj
[1] ;
20921 if (!args
) SWIG_fail
;
20922 swig_obj
[0] = args
;
20923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20924 if (!SWIG_IsOK(res1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= wxDC_GetClippingRect(arg1
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20941 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20942 PyObject
*resultobj
= 0;
20943 wxDC
*arg1
= (wxDC
*) 0 ;
20947 PyObject
*swig_obj
[1] ;
20949 if (!args
) SWIG_fail
;
20950 swig_obj
[0] = args
;
20951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20952 if (!SWIG_IsOK(res1
)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= SWIG_From_int(static_cast< int >(result
));
20969 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20970 PyObject
*resultobj
= 0;
20971 wxDC
*arg1
= (wxDC
*) 0 ;
20975 PyObject
*swig_obj
[1] ;
20977 if (!args
) SWIG_fail
;
20978 swig_obj
[0] = args
;
20979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_From_int(static_cast< int >(result
));
20997 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= 0;
20999 wxDC
*arg1
= (wxDC
*) 0 ;
21000 wxString
*arg2
= 0 ;
21001 int *arg3
= (int *) 0 ;
21002 int *arg4
= (int *) 0 ;
21005 bool temp2
= false ;
21007 int res3
= SWIG_TMPOBJ
;
21009 int res4
= SWIG_TMPOBJ
;
21010 PyObject
* obj0
= 0 ;
21011 PyObject
* obj1
= 0 ;
21012 char * kwnames
[] = {
21013 (char *) "self",(char *) "string", NULL
21018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21020 if (!SWIG_IsOK(res1
)) {
21021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21025 arg2
= wxString_in_helper(obj1
);
21026 if (arg2
== NULL
) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_Py_Void();
21036 if (SWIG_IsTmpObj(res3
)) {
21037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21039 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21042 if (SWIG_IsTmpObj(res4
)) {
21043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21045 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21062 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
= 0;
21064 wxDC
*arg1
= (wxDC
*) 0 ;
21065 wxString
*arg2
= 0 ;
21066 int *arg3
= (int *) 0 ;
21067 int *arg4
= (int *) 0 ;
21068 int *arg5
= (int *) 0 ;
21069 int *arg6
= (int *) 0 ;
21070 wxFont
*arg7
= (wxFont
*) NULL
;
21073 bool temp2
= false ;
21075 int res3
= SWIG_TMPOBJ
;
21077 int res4
= SWIG_TMPOBJ
;
21079 int res5
= SWIG_TMPOBJ
;
21081 int res6
= SWIG_TMPOBJ
;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 PyObject
* obj2
= 0 ;
21087 char * kwnames
[] = {
21088 (char *) "self",(char *) "string",(char *) "font", NULL
21095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21102 arg2
= wxString_in_helper(obj1
);
21103 if (arg2
== NULL
) SWIG_fail
;
21107 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21108 if (!SWIG_IsOK(res7
)) {
21109 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21111 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_Py_Void();
21120 if (SWIG_IsTmpObj(res3
)) {
21121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21123 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21126 if (SWIG_IsTmpObj(res4
)) {
21127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21129 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21132 if (SWIG_IsTmpObj(res5
)) {
21133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21135 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21138 if (SWIG_IsTmpObj(res6
)) {
21139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21141 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21158 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
= 0;
21160 wxDC
*arg1
= (wxDC
*) 0 ;
21161 wxString
*arg2
= 0 ;
21162 int *arg3
= (int *) 0 ;
21163 int *arg4
= (int *) 0 ;
21164 int *arg5
= (int *) 0 ;
21165 wxFont
*arg6
= (wxFont
*) NULL
;
21168 bool temp2
= false ;
21170 int res3
= SWIG_TMPOBJ
;
21172 int res4
= SWIG_TMPOBJ
;
21174 int res5
= SWIG_TMPOBJ
;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 PyObject
* obj2
= 0 ;
21180 char * kwnames
[] = {
21181 (char *) "self",(char *) "text",(char *) "font", NULL
21187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21189 if (!SWIG_IsOK(res1
)) {
21190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21194 arg2
= wxString_in_helper(obj1
);
21195 if (arg2
== NULL
) SWIG_fail
;
21199 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21200 if (!SWIG_IsOK(res6
)) {
21201 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21203 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_Py_Void();
21212 if (SWIG_IsTmpObj(res3
)) {
21213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21215 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21218 if (SWIG_IsTmpObj(res4
)) {
21219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21221 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21224 if (SWIG_IsTmpObj(res5
)) {
21225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21227 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21244 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
= 0;
21246 wxDC
*arg1
= (wxDC
*) 0 ;
21247 wxString
*arg2
= 0 ;
21251 bool temp2
= false ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char * kwnames
[] = {
21255 (char *) "self",(char *) "text", NULL
21258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21260 if (!SWIG_IsOK(res1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21265 arg2
= wxString_in_helper(obj1
);
21266 if (arg2
== NULL
) SWIG_fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= wxArrayInt2PyList_helper(result
);
21292 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21293 PyObject
*resultobj
= 0;
21294 wxDC
*arg1
= (wxDC
*) 0 ;
21298 PyObject
*swig_obj
[1] ;
21300 if (!args
) SWIG_fail
;
21301 swig_obj
[0] = args
;
21302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21303 if (!SWIG_IsOK(res1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (arg1
)->GetSize();
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21320 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21321 PyObject
*resultobj
= 0;
21322 wxDC
*arg1
= (wxDC
*) 0 ;
21323 int *arg2
= (int *) 0 ;
21324 int *arg3
= (int *) 0 ;
21328 int res2
= SWIG_TMPOBJ
;
21330 int res3
= SWIG_TMPOBJ
;
21331 PyObject
*swig_obj
[1] ;
21335 if (!args
) SWIG_fail
;
21336 swig_obj
[0] = args
;
21337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21338 if (!SWIG_IsOK(res1
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 (arg1
)->GetSize(arg2
,arg3
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_Py_Void();
21349 if (SWIG_IsTmpObj(res2
)) {
21350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21352 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21355 if (SWIG_IsTmpObj(res3
)) {
21356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21358 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21367 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21368 PyObject
*resultobj
= 0;
21369 wxDC
*arg1
= (wxDC
*) 0 ;
21373 PyObject
*swig_obj
[1] ;
21375 if (!args
) SWIG_fail
;
21376 swig_obj
[0] = args
;
21377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21378 if (!SWIG_IsOK(res1
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21395 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxDC
*arg1
= (wxDC
*) 0 ;
21398 int *arg2
= (int *) 0 ;
21399 int *arg3
= (int *) 0 ;
21403 int res2
= SWIG_TMPOBJ
;
21405 int res3
= SWIG_TMPOBJ
;
21406 PyObject
*swig_obj
[1] ;
21410 if (!args
) SWIG_fail
;
21411 swig_obj
[0] = args
;
21412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_Py_Void();
21424 if (SWIG_IsTmpObj(res2
)) {
21425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21427 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21430 if (SWIG_IsTmpObj(res3
)) {
21431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21433 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21442 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
= 0;
21444 wxDC
*arg1
= (wxDC
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 char * kwnames
[] = {
21454 (char *) "self",(char *) "x", NULL
21457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21459 if (!SWIG_IsOK(res1
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21464 if (!SWIG_IsOK(ecode2
)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21467 arg2
= static_cast< int >(val2
);
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_From_int(static_cast< int >(result
));
21481 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= 0;
21483 wxDC
*arg1
= (wxDC
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char * kwnames
[] = {
21493 (char *) "self",(char *) "y", NULL
21496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21498 if (!SWIG_IsOK(res1
)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21503 if (!SWIG_IsOK(ecode2
)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21506 arg2
= static_cast< int >(val2
);
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 resultobj
= SWIG_From_int(static_cast< int >(result
));
21520 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
= 0;
21522 wxDC
*arg1
= (wxDC
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char * kwnames
[] = {
21532 (char *) "self",(char *) "x", NULL
21535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21537 if (!SWIG_IsOK(res1
)) {
21538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21542 if (!SWIG_IsOK(ecode2
)) {
21543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21545 arg2
= static_cast< int >(val2
);
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_From_int(static_cast< int >(result
));
21559 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
= 0;
21561 wxDC
*arg1
= (wxDC
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char * kwnames
[] = {
21571 (char *) "self",(char *) "y", NULL
21574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21576 if (!SWIG_IsOK(res1
)) {
21577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21581 if (!SWIG_IsOK(ecode2
)) {
21582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21584 arg2
= static_cast< int >(val2
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_From_int(static_cast< int >(result
));
21598 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
= 0;
21600 wxDC
*arg1
= (wxDC
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char * kwnames
[] = {
21610 (char *) "self",(char *) "x", NULL
21613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21615 if (!SWIG_IsOK(res1
)) {
21616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21620 if (!SWIG_IsOK(ecode2
)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21623 arg2
= static_cast< int >(val2
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= SWIG_From_int(static_cast< int >(result
));
21637 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
= 0;
21639 wxDC
*arg1
= (wxDC
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char * kwnames
[] = {
21649 (char *) "self",(char *) "y", NULL
21652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21659 if (!SWIG_IsOK(ecode2
)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21662 arg2
= static_cast< int >(val2
);
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= SWIG_From_int(static_cast< int >(result
));
21676 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
= 0;
21678 wxDC
*arg1
= (wxDC
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 char * kwnames
[] = {
21688 (char *) "self",(char *) "x", NULL
21691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21693 if (!SWIG_IsOK(res1
)) {
21694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21698 if (!SWIG_IsOK(ecode2
)) {
21699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21701 arg2
= static_cast< int >(val2
);
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_From_int(static_cast< int >(result
));
21715 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
= 0;
21717 wxDC
*arg1
= (wxDC
*) 0 ;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 char * kwnames
[] = {
21727 (char *) "self",(char *) "y", NULL
21730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21732 if (!SWIG_IsOK(res1
)) {
21733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21737 if (!SWIG_IsOK(ecode2
)) {
21738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21740 arg2
= static_cast< int >(val2
);
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= SWIG_From_int(static_cast< int >(result
));
21754 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21755 PyObject
*resultobj
= 0;
21756 wxDC
*arg1
= (wxDC
*) 0 ;
21760 PyObject
*swig_obj
[1] ;
21762 if (!args
) SWIG_fail
;
21763 swig_obj
[0] = args
;
21764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21765 if (!SWIG_IsOK(res1
)) {
21766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(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_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21815 PyObject
*resultobj
= 0;
21816 wxDC
*arg1
= (wxDC
*) 0 ;
21820 PyObject
*swig_obj
[1] ;
21822 if (!args
) SWIG_fail
;
21823 swig_obj
[0] = args
;
21824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21825 if (!SWIG_IsOK(res1
)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_From_int(static_cast< int >(result
));
21842 SWIGINTERN PyObject
*_wrap_DC_GetPPI(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_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= ((wxDC
const *)arg1
)->GetPPI();
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21870 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21871 PyObject
*resultobj
= 0;
21872 wxDC
*arg1
= (wxDC
*) 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_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21900 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21901 PyObject
*resultobj
= 0;
21902 wxDC
*arg1
= (wxDC
*) 0 ;
21906 PyObject
*swig_obj
[1] ;
21908 if (!args
) SWIG_fail
;
21909 swig_obj
[0] = args
;
21910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21911 if (!SWIG_IsOK(res1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= SWIG_From_int(static_cast< int >(result
));
21928 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21929 PyObject
*resultobj
= 0;
21930 wxDC
*arg1
= (wxDC
*) 0 ;
21931 wxBrush
*result
= 0 ;
21934 PyObject
*swig_obj
[1] ;
21936 if (!args
) SWIG_fail
;
21937 swig_obj
[0] = args
;
21938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21939 if (!SWIG_IsOK(res1
)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21947 result
= (wxBrush
*) &_result_ref
;
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 wxBrush
* resultptr
= new wxBrush(*result
);
21954 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21962 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21963 PyObject
*resultobj
= 0;
21964 wxDC
*arg1
= (wxDC
*) 0 ;
21965 wxBrush
*result
= 0 ;
21968 PyObject
*swig_obj
[1] ;
21970 if (!args
) SWIG_fail
;
21971 swig_obj
[0] = args
;
21972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21973 if (!SWIG_IsOK(res1
)) {
21974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21981 result
= (wxBrush
*) &_result_ref
;
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21987 wxBrush
* resultptr
= new wxBrush(*result
);
21988 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21996 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21997 PyObject
*resultobj
= 0;
21998 wxDC
*arg1
= (wxDC
*) 0 ;
21999 wxFont
*result
= 0 ;
22002 PyObject
*swig_obj
[1] ;
22004 if (!args
) SWIG_fail
;
22005 swig_obj
[0] = args
;
22006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22015 result
= (wxFont
*) &_result_ref
;
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22021 wxFont
* resultptr
= new wxFont(*result
);
22022 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22030 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22031 PyObject
*resultobj
= 0;
22032 wxDC
*arg1
= (wxDC
*) 0 ;
22033 wxPen
*result
= 0 ;
22036 PyObject
*swig_obj
[1] ;
22038 if (!args
) SWIG_fail
;
22039 swig_obj
[0] = args
;
22040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22041 if (!SWIG_IsOK(res1
)) {
22042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22049 result
= (wxPen
*) &_result_ref
;
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 wxPen
* resultptr
= new wxPen(*result
);
22056 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22064 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22065 PyObject
*resultobj
= 0;
22066 wxDC
*arg1
= (wxDC
*) 0 ;
22067 wxColour
*result
= 0 ;
22070 PyObject
*swig_obj
[1] ;
22072 if (!args
) SWIG_fail
;
22073 swig_obj
[0] = args
;
22074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22075 if (!SWIG_IsOK(res1
)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22083 result
= (wxColour
*) &_result_ref
;
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22095 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22096 PyObject
*resultobj
= 0;
22097 wxDC
*arg1
= (wxDC
*) 0 ;
22098 wxColour
*result
= 0 ;
22101 PyObject
*swig_obj
[1] ;
22103 if (!args
) SWIG_fail
;
22104 swig_obj
[0] = args
;
22105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22106 if (!SWIG_IsOK(res1
)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22114 result
= (wxColour
*) &_result_ref
;
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22126 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
= 0;
22128 wxDC
*arg1
= (wxDC
*) 0 ;
22129 wxColour
*arg2
= 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "self",(char *) "colour", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22147 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_Py_Void();
22162 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
= 0;
22164 wxDC
*arg1
= (wxDC
*) 0 ;
22165 wxColour
*arg2
= 0 ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 char * kwnames
[] = {
22172 (char *) "self",(char *) "colour", NULL
22175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22177 if (!SWIG_IsOK(res1
)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= SWIG_Py_Void();
22198 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22199 PyObject
*resultobj
= 0;
22200 wxDC
*arg1
= (wxDC
*) 0 ;
22204 PyObject
*swig_obj
[1] ;
22206 if (!args
) SWIG_fail
;
22207 swig_obj
[0] = args
;
22208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_From_int(static_cast< int >(result
));
22226 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
= 0;
22228 wxDC
*arg1
= (wxDC
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "self",(char *) "mode", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22247 if (!SWIG_IsOK(ecode2
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22250 arg2
= static_cast< int >(val2
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 (arg1
)->SetMapMode(arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_Py_Void();
22264 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22265 PyObject
*resultobj
= 0;
22266 wxDC
*arg1
= (wxDC
*) 0 ;
22267 double *arg2
= (double *) 0 ;
22268 double *arg3
= (double *) 0 ;
22272 int res2
= SWIG_TMPOBJ
;
22274 int res3
= SWIG_TMPOBJ
;
22275 PyObject
*swig_obj
[1] ;
22279 if (!args
) SWIG_fail
;
22280 swig_obj
[0] = args
;
22281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_Py_Void();
22293 if (SWIG_IsTmpObj(res2
)) {
22294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22296 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22299 if (SWIG_IsTmpObj(res3
)) {
22300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22302 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22311 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
= 0;
22313 wxDC
*arg1
= (wxDC
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 PyObject
* obj2
= 0 ;
22325 char * kwnames
[] = {
22326 (char *) "self",(char *) "x",(char *) "y", NULL
22329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22335 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22336 if (!SWIG_IsOK(ecode2
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22339 arg2
= static_cast< double >(val2
);
22340 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22341 if (!SWIG_IsOK(ecode3
)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22344 arg3
= static_cast< double >(val3
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->SetUserScale(arg2
,arg3
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_Py_Void();
22358 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22359 PyObject
*resultobj
= 0;
22360 wxDC
*arg1
= (wxDC
*) 0 ;
22361 double *arg2
= (double *) 0 ;
22362 double *arg3
= (double *) 0 ;
22366 int res2
= SWIG_TMPOBJ
;
22368 int res3
= SWIG_TMPOBJ
;
22369 PyObject
*swig_obj
[1] ;
22373 if (!args
) SWIG_fail
;
22374 swig_obj
[0] = args
;
22375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->GetLogicalScale(arg2
,arg3
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_Py_Void();
22387 if (SWIG_IsTmpObj(res2
)) {
22388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22390 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22393 if (SWIG_IsTmpObj(res3
)) {
22394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22396 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22405 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= 0;
22407 wxDC
*arg1
= (wxDC
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 PyObject
* obj2
= 0 ;
22419 char * kwnames
[] = {
22420 (char *) "self",(char *) "x",(char *) "y", NULL
22423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22429 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22430 if (!SWIG_IsOK(ecode2
)) {
22431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22433 arg2
= static_cast< double >(val2
);
22434 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22435 if (!SWIG_IsOK(ecode3
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22438 arg3
= static_cast< double >(val3
);
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 (arg1
)->SetLogicalScale(arg2
,arg3
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_Py_Void();
22452 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22453 PyObject
*resultobj
= 0;
22454 wxDC
*arg1
= (wxDC
*) 0 ;
22458 PyObject
*swig_obj
[1] ;
22460 if (!args
) SWIG_fail
;
22461 swig_obj
[0] = args
;
22462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22480 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22481 PyObject
*resultobj
= 0;
22482 wxDC
*arg1
= (wxDC
*) 0 ;
22483 int *arg2
= (int *) 0 ;
22484 int *arg3
= (int *) 0 ;
22488 int res2
= SWIG_TMPOBJ
;
22490 int res3
= SWIG_TMPOBJ
;
22491 PyObject
*swig_obj
[1] ;
22495 if (!args
) SWIG_fail
;
22496 swig_obj
[0] = args
;
22497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_Py_Void();
22509 if (SWIG_IsTmpObj(res2
)) {
22510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22512 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22515 if (SWIG_IsTmpObj(res3
)) {
22516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22518 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22527 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
= 0;
22529 wxDC
*arg1
= (wxDC
*) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 PyObject
* obj2
= 0 ;
22541 char * kwnames
[] = {
22542 (char *) "self",(char *) "x",(char *) "y", NULL
22545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22547 if (!SWIG_IsOK(res1
)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22552 if (!SWIG_IsOK(ecode2
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22555 arg2
= static_cast< int >(val2
);
22556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22557 if (!SWIG_IsOK(ecode3
)) {
22558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22560 arg3
= static_cast< int >(val3
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_Py_Void();
22574 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
= 0;
22576 wxDC
*arg1
= (wxDC
*) 0 ;
22577 wxPoint
*arg2
= 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char * kwnames
[] = {
22584 (char *) "self",(char *) "point", NULL
22587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22589 if (!SWIG_IsOK(res1
)) {
22590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_Py_Void();
22610 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22611 PyObject
*resultobj
= 0;
22612 wxDC
*arg1
= (wxDC
*) 0 ;
22616 PyObject
*swig_obj
[1] ;
22618 if (!args
) SWIG_fail
;
22619 swig_obj
[0] = args
;
22620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22621 if (!SWIG_IsOK(res1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22638 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22639 PyObject
*resultobj
= 0;
22640 wxDC
*arg1
= (wxDC
*) 0 ;
22641 int *arg2
= (int *) 0 ;
22642 int *arg3
= (int *) 0 ;
22646 int res2
= SWIG_TMPOBJ
;
22648 int res3
= SWIG_TMPOBJ
;
22649 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_Py_Void();
22667 if (SWIG_IsTmpObj(res2
)) {
22668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22670 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22673 if (SWIG_IsTmpObj(res3
)) {
22674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22676 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22685 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
= 0;
22687 wxDC
*arg1
= (wxDC
*) 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 PyObject
* obj2
= 0 ;
22699 char * kwnames
[] = {
22700 (char *) "self",(char *) "x",(char *) "y", NULL
22703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22710 if (!SWIG_IsOK(ecode2
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22713 arg2
= static_cast< int >(val2
);
22714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22715 if (!SWIG_IsOK(ecode3
)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22718 arg3
= static_cast< int >(val3
);
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= SWIG_Py_Void();
22732 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
= 0;
22734 wxDC
*arg1
= (wxDC
*) 0 ;
22735 wxPoint
*arg2
= 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 char * kwnames
[] = {
22742 (char *) "self",(char *) "point", NULL
22745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= SWIG_Py_Void();
22768 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
= 0;
22770 wxDC
*arg1
= (wxDC
*) 0 ;
22779 PyObject
* obj0
= 0 ;
22780 PyObject
* obj1
= 0 ;
22781 PyObject
* obj2
= 0 ;
22782 char * kwnames
[] = {
22783 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22793 if (!SWIG_IsOK(ecode2
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22796 arg2
= static_cast< bool >(val2
);
22797 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22798 if (!SWIG_IsOK(ecode3
)) {
22799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22801 arg3
= static_cast< bool >(val3
);
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= SWIG_Py_Void();
22815 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22816 PyObject
*resultobj
= 0;
22817 wxDC
*arg1
= (wxDC
*) 0 ;
22821 PyObject
*swig_obj
[1] ;
22823 if (!args
) SWIG_fail
;
22824 swig_obj
[0] = args
;
22825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_From_int(static_cast< int >(result
));
22843 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxDC
*arg1
= (wxDC
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 char * kwnames
[] = {
22854 (char *) "self",(char *) "function", NULL
22857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22859 if (!SWIG_IsOK(res1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22864 if (!SWIG_IsOK(ecode2
)) {
22865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22867 arg2
= static_cast< int >(val2
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 (arg1
)->SetLogicalFunction(arg2
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_Py_Void();
22881 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxDC
*arg1
= (wxDC
*) 0 ;
22886 PyObject
*swig_obj
[1] ;
22888 if (!args
) SWIG_fail
;
22889 swig_obj
[0] = args
;
22890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22891 if (!SWIG_IsOK(res1
)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 (arg1
)->ComputeScaleAndOrigin();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= SWIG_Py_Void();
22908 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
= 0;
22910 wxDC
*arg1
= (wxDC
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 PyObject
* obj2
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "self",(char *) "x",(char *) "y", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22933 if (!SWIG_IsOK(ecode2
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22936 arg2
= static_cast< int >(val2
);
22937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22938 if (!SWIG_IsOK(ecode3
)) {
22939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22941 arg3
= static_cast< int >(val3
);
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= SWIG_Py_Void();
22955 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
= 0;
22957 wxDC
*arg1
= (wxDC
*) 0 ;
22958 wxPoint
*arg2
= 0 ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 char * kwnames
[] = {
22965 (char *) "self",(char *) "point", NULL
22968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_Py_Void();
22991 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22992 PyObject
*resultobj
= 0;
22993 wxDC
*arg1
= (wxDC
*) 0 ;
22996 PyObject
*swig_obj
[1] ;
22998 if (!args
) SWIG_fail
;
22999 swig_obj
[0] = args
;
23000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23001 if (!SWIG_IsOK(res1
)) {
23002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 (arg1
)->ResetBoundingBox();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_Py_Void();
23018 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 PyObject
*resultobj
= 0;
23020 wxDC
*arg1
= (wxDC
*) 0 ;
23024 PyObject
*swig_obj
[1] ;
23026 if (!args
) SWIG_fail
;
23027 swig_obj
[0] = args
;
23028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23029 if (!SWIG_IsOK(res1
)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (int)((wxDC
const *)arg1
)->MinX();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_From_int(static_cast< int >(result
));
23046 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23047 PyObject
*resultobj
= 0;
23048 wxDC
*arg1
= (wxDC
*) 0 ;
23052 PyObject
*swig_obj
[1] ;
23054 if (!args
) SWIG_fail
;
23055 swig_obj
[0] = args
;
23056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23057 if (!SWIG_IsOK(res1
)) {
23058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (int)((wxDC
const *)arg1
)->MaxX();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_From_int(static_cast< int >(result
));
23074 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23075 PyObject
*resultobj
= 0;
23076 wxDC
*arg1
= (wxDC
*) 0 ;
23080 PyObject
*swig_obj
[1] ;
23082 if (!args
) SWIG_fail
;
23083 swig_obj
[0] = args
;
23084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23085 if (!SWIG_IsOK(res1
)) {
23086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (int)((wxDC
const *)arg1
)->MinY();
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_From_int(static_cast< int >(result
));
23102 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 PyObject
*resultobj
= 0;
23104 wxDC
*arg1
= (wxDC
*) 0 ;
23108 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (int)((wxDC
const *)arg1
)->MaxY();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_From_int(static_cast< int >(result
));
23130 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23131 PyObject
*resultobj
= 0;
23132 wxDC
*arg1
= (wxDC
*) 0 ;
23133 int *arg2
= (int *) 0 ;
23134 int *arg3
= (int *) 0 ;
23135 int *arg4
= (int *) 0 ;
23136 int *arg5
= (int *) 0 ;
23140 int res2
= SWIG_TMPOBJ
;
23142 int res3
= SWIG_TMPOBJ
;
23144 int res4
= SWIG_TMPOBJ
;
23146 int res5
= SWIG_TMPOBJ
;
23147 PyObject
*swig_obj
[1] ;
23153 if (!args
) SWIG_fail
;
23154 swig_obj
[0] = args
;
23155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23156 if (!SWIG_IsOK(res1
)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_Py_Void();
23167 if (SWIG_IsTmpObj(res2
)) {
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23170 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23173 if (SWIG_IsTmpObj(res3
)) {
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23176 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23179 if (SWIG_IsTmpObj(res4
)) {
23180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23182 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23185 if (SWIG_IsTmpObj(res5
)) {
23186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23188 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23197 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 PyObject
*resultobj
= 0;
23199 wxDC
*arg1
= (wxDC
*) 0 ;
23200 wxLayoutDirection result
;
23203 PyObject
*swig_obj
[1] ;
23205 if (!args
) SWIG_fail
;
23206 swig_obj
[0] = args
;
23207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_From_int(static_cast< int >(result
));
23225 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
= 0;
23227 wxDC
*arg1
= (wxDC
*) 0 ;
23228 wxLayoutDirection arg2
;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 char * kwnames
[] = {
23236 (char *) "self",(char *) "dir", NULL
23239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23246 if (!SWIG_IsOK(ecode2
)) {
23247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23249 arg2
= static_cast< wxLayoutDirection
>(val2
);
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 (arg1
)->SetLayoutDirection(arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_Py_Void();
23263 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
= 0;
23265 wxDC
*arg1
= (wxDC
*) 0 ;
23266 PyObject
*arg2
= (PyObject
*) 0 ;
23267 PyObject
*arg3
= (PyObject
*) 0 ;
23268 PyObject
*arg4
= (PyObject
*) 0 ;
23269 PyObject
*result
= 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 PyObject
* obj2
= 0 ;
23275 PyObject
* obj3
= 0 ;
23276 char * kwnames
[] = {
23277 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23282 if (!SWIG_IsOK(res1
)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= result
;
23302 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
= 0;
23304 wxDC
*arg1
= (wxDC
*) 0 ;
23305 PyObject
*arg2
= (PyObject
*) 0 ;
23306 PyObject
*arg3
= (PyObject
*) 0 ;
23307 PyObject
*arg4
= (PyObject
*) 0 ;
23308 PyObject
*result
= 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 PyObject
* obj2
= 0 ;
23314 PyObject
* obj3
= 0 ;
23315 char * kwnames
[] = {
23316 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= result
;
23341 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
= 0;
23343 wxDC
*arg1
= (wxDC
*) 0 ;
23344 PyObject
*arg2
= (PyObject
*) 0 ;
23345 PyObject
*arg3
= (PyObject
*) 0 ;
23346 PyObject
*arg4
= (PyObject
*) 0 ;
23347 PyObject
*result
= 0 ;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 PyObject
* obj2
= 0 ;
23353 PyObject
* obj3
= 0 ;
23354 char * kwnames
[] = {
23355 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23360 if (!SWIG_IsOK(res1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= result
;
23380 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
= 0;
23382 wxDC
*arg1
= (wxDC
*) 0 ;
23383 PyObject
*arg2
= (PyObject
*) 0 ;
23384 PyObject
*arg3
= (PyObject
*) 0 ;
23385 PyObject
*arg4
= (PyObject
*) 0 ;
23386 PyObject
*result
= 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 PyObject
* obj3
= 0 ;
23393 char * kwnames
[] = {
23394 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23399 if (!SWIG_IsOK(res1
)) {
23400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= result
;
23419 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= 0;
23421 wxDC
*arg1
= (wxDC
*) 0 ;
23422 PyObject
*arg2
= (PyObject
*) 0 ;
23423 PyObject
*arg3
= (PyObject
*) 0 ;
23424 PyObject
*arg4
= (PyObject
*) 0 ;
23425 PyObject
*result
= 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 PyObject
* obj2
= 0 ;
23431 PyObject
* obj3
= 0 ;
23432 char * kwnames
[] = {
23433 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= result
;
23458 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxDC
*arg1
= (wxDC
*) 0 ;
23461 PyObject
*arg2
= (PyObject
*) 0 ;
23462 PyObject
*arg3
= (PyObject
*) 0 ;
23463 PyObject
*arg4
= (PyObject
*) 0 ;
23464 PyObject
*arg5
= (PyObject
*) 0 ;
23465 PyObject
*result
= 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 PyObject
* obj2
= 0 ;
23471 PyObject
* obj3
= 0 ;
23472 PyObject
* obj4
= 0 ;
23473 char * kwnames
[] = {
23474 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23479 if (!SWIG_IsOK(res1
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= result
;
23500 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23503 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23504 return SWIG_Py_Void();
23507 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
= 0;
23510 wxColour
*arg2
= 0 ;
23511 wxDCTextColourChanger
*result
= 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char * kwnames
[] = {
23518 (char *) "dc",(char *) "col", NULL
23521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23522 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23523 if (!SWIG_IsOK(res1
)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23547 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23548 PyObject
*resultobj
= 0;
23549 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23552 PyObject
*swig_obj
[1] ;
23554 if (!args
) SWIG_fail
;
23555 swig_obj
[0] = args
;
23556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23557 if (!SWIG_IsOK(res1
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23560 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_Py_Void();
23575 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23578 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23579 return SWIG_Py_Void();
23582 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23583 return SWIG_Python_InitShadowInstance(args
);
23586 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
= 0;
23590 wxDCPenChanger
*result
= 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char * kwnames
[] = {
23598 (char *) "dc",(char *) "pen", NULL
23601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23602 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23603 if (!SWIG_IsOK(res1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23611 if (!SWIG_IsOK(res2
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23617 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23631 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23632 PyObject
*resultobj
= 0;
23633 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23636 PyObject
*swig_obj
[1] ;
23638 if (!args
) SWIG_fail
;
23639 swig_obj
[0] = args
;
23640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23641 if (!SWIG_IsOK(res1
)) {
23642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23644 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_Py_Void();
23659 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23662 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23663 return SWIG_Py_Void();
23666 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23667 return SWIG_Python_InitShadowInstance(args
);
23670 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
= 0;
23673 wxBrush
*arg2
= 0 ;
23674 wxDCBrushChanger
*result
= 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "dc",(char *) "brush", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23686 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23695 if (!SWIG_IsOK(res2
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23701 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23715 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23716 PyObject
*resultobj
= 0;
23717 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23720 PyObject
*swig_obj
[1] ;
23722 if (!args
) SWIG_fail
;
23723 swig_obj
[0] = args
;
23724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23725 if (!SWIG_IsOK(res1
)) {
23726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23728 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_Py_Void();
23743 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23746 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23747 return SWIG_Py_Void();
23750 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23751 return SWIG_Python_InitShadowInstance(args
);
23754 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23755 PyObject
*resultobj
= 0;
23757 wxRegion
*arg2
= 0 ;
23758 wxDCClipper
*result
= 0 ;
23764 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23766 if (!SWIG_IsOK(res1
)) {
23767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23773 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23774 if (!SWIG_IsOK(res2
)) {
23775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23780 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23794 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23795 PyObject
*resultobj
= 0;
23798 wxDCClipper
*result
= 0 ;
23803 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23814 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23829 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23830 PyObject
*resultobj
= 0;
23836 wxDCClipper
*result
= 0 ;
23848 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23857 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23858 if (!SWIG_IsOK(ecode2
)) {
23859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23861 arg2
= static_cast< int >(val2
);
23862 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23863 if (!SWIG_IsOK(ecode3
)) {
23864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23866 arg3
= static_cast< int >(val3
);
23867 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23868 if (!SWIG_IsOK(ecode4
)) {
23869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23871 arg4
= static_cast< int >(val4
);
23872 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23873 if (!SWIG_IsOK(ecode5
)) {
23874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23876 arg5
= static_cast< int >(val5
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23890 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23894 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23899 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23900 _v
= SWIG_CheckState(res
);
23902 if (!_v
) goto check_1
;
23903 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23908 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23911 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23915 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23920 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23921 PyObject
*resultobj
= 0;
23922 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23925 PyObject
*swig_obj
[1] ;
23927 if (!args
) SWIG_fail
;
23928 swig_obj
[0] = args
;
23929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23933 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_Py_Void();
23948 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23951 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23952 return SWIG_Py_Void();
23955 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23956 return SWIG_Python_InitShadowInstance(args
);
23959 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23960 PyObject
*resultobj
= 0;
23961 wxScreenDC
*result
= 0 ;
23963 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23965 if (!wxPyCheckForApp()) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (wxScreenDC
*)new wxScreenDC();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23978 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
= 0;
23980 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23981 wxWindow
*arg2
= (wxWindow
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "window", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23998 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24000 if (!SWIG_IsOK(res2
)) {
24001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24003 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24019 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
= 0;
24021 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24022 wxRect
*arg2
= (wxRect
*) NULL
;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 char * kwnames
[] = {
24031 (char *) "self",(char *) "rect", NULL
24034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24036 if (!SWIG_IsOK(res1
)) {
24037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24039 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24042 if (!SWIG_IsOK(res2
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24045 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24062 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24063 PyObject
*resultobj
= 0;
24064 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24068 PyObject
*swig_obj
[1] ;
24070 if (!args
) SWIG_fail
;
24071 swig_obj
[0] = args
;
24072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24073 if (!SWIG_IsOK(res1
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24076 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (bool)(arg1
)->EndDrawingOnTop();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24092 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24095 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24096 return SWIG_Py_Void();
24099 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 return SWIG_Python_InitShadowInstance(args
);
24103 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxWindow
*arg1
= (wxWindow
*) 0 ;
24106 wxWindowDC
*result
= 0 ;
24109 PyObject
* obj0
= 0 ;
24110 char * kwnames
[] = {
24111 (char *) "win", NULL
24114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24116 if (!SWIG_IsOK(res1
)) {
24117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24119 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24121 if (!wxPyCheckForApp()) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24134 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24137 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24138 return SWIG_Py_Void();
24141 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24142 return SWIG_Python_InitShadowInstance(args
);
24145 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxWindow
*arg1
= (wxWindow
*) 0 ;
24148 wxClientDC
*result
= 0 ;
24151 PyObject
* obj0
= 0 ;
24152 char * kwnames
[] = {
24153 (char *) "win", NULL
24156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24158 if (!SWIG_IsOK(res1
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24163 if (!wxPyCheckForApp()) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (wxClientDC
*)new wxClientDC(arg1
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24176 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24179 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24180 return SWIG_Py_Void();
24183 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 return SWIG_Python_InitShadowInstance(args
);
24187 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
= 0;
24189 wxWindow
*arg1
= (wxWindow
*) 0 ;
24190 wxPaintDC
*result
= 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char * kwnames
[] = {
24195 (char *) "win", NULL
24198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24205 if (!wxPyCheckForApp()) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24218 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24221 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24222 return SWIG_Py_Void();
24225 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24226 return SWIG_Python_InitShadowInstance(args
);
24229 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24231 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24232 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24233 wxMemoryDC
*result
= 0 ;
24236 PyObject
* obj0
= 0 ;
24237 char * kwnames
[] = {
24238 (char *) "bitmap", NULL
24241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24243 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24250 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24253 if (!wxPyCheckForApp()) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24266 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
= 0;
24268 wxDC
*arg1
= (wxDC
*) 0 ;
24269 wxMemoryDC
*result
= 0 ;
24272 PyObject
* obj0
= 0 ;
24273 char * kwnames
[] = {
24274 (char *) "oldDC", NULL
24277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24284 if (!wxPyCheckForApp()) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24297 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24300 wxBitmap
*arg2
= 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "self",(char *) "bitmap", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24316 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24318 if (!SWIG_IsOK(res2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24324 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->SelectObject(*arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_Py_Void();
24338 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
= 0;
24340 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24341 wxBitmap
*arg2
= 0 ;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 char * kwnames
[] = {
24349 (char *) "self",(char *) "bmp", NULL
24352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24354 if (!SWIG_IsOK(res1
)) {
24355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24357 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24359 if (!SWIG_IsOK(res2
)) {
24360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24365 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_Py_Void();
24379 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24382 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24383 return SWIG_Py_Void();
24386 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24387 return SWIG_Python_InitShadowInstance(args
);
24390 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24391 PyObject
*resultobj
= 0;
24392 wxDC
*arg1
= (wxDC
*) 0 ;
24393 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24394 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24395 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24396 wxBufferedDC
*result
= 0 ;
24404 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24406 if (!SWIG_IsOK(res1
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24411 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24412 if (!SWIG_IsOK(res2
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24418 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24421 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24422 if (!SWIG_IsOK(ecode3
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24425 arg3
= static_cast< int >(val3
);
24428 if (!wxPyCheckForApp()) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24441 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24442 PyObject
*resultobj
= 0;
24443 wxDC
*arg1
= (wxDC
*) 0 ;
24445 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24446 wxBufferedDC
*result
= 0 ;
24453 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24461 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24464 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24465 if (!SWIG_IsOK(ecode3
)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24468 arg3
= static_cast< int >(val3
);
24471 if (!wxPyCheckForApp()) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24484 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24488 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24490 if ((argc
>= 1) && (argc
<= 3)) {
24495 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24496 _v
= SWIG_CheckState(res
);
24498 if (!_v
) goto check_1
;
24500 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24504 if ((argc
>= 2) && (argc
<= 3)) {
24505 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24509 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24514 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24515 PyObject
*resultobj
= 0;
24516 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24519 PyObject
*swig_obj
[1] ;
24521 if (!args
) SWIG_fail
;
24522 swig_obj
[0] = args
;
24523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24527 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_Py_Void();
24542 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24543 PyObject
*resultobj
= 0;
24544 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24547 PyObject
*swig_obj
[1] ;
24549 if (!args
) SWIG_fail
;
24550 swig_obj
[0] = args
;
24551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24555 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_Py_Void();
24569 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char * kwnames
[] = {
24580 (char *) "self",(char *) "style", NULL
24583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24588 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24590 if (!SWIG_IsOK(ecode2
)) {
24591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24593 arg2
= static_cast< int >(val2
);
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 (arg1
)->SetStyle(arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= SWIG_Py_Void();
24607 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24608 PyObject
*resultobj
= 0;
24609 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24613 PyObject
*swig_obj
[1] ;
24615 if (!args
) SWIG_fail
;
24616 swig_obj
[0] = args
;
24617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24621 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_From_int(static_cast< int >(result
));
24635 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24638 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24639 return SWIG_Py_Void();
24642 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 return SWIG_Python_InitShadowInstance(args
);
24646 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxWindow
*arg1
= (wxWindow
*) 0 ;
24649 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24650 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24651 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24652 wxBufferedPaintDC
*result
= 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 PyObject
* obj2
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "window",(char *) "buffer",(char *) "style", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24671 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24674 if (!SWIG_IsOK(res2
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24680 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24684 if (!SWIG_IsOK(ecode3
)) {
24685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24687 arg3
= static_cast< int >(val3
);
24690 if (!wxPyCheckForApp()) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24703 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24706 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24707 return SWIG_Py_Void();
24710 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 return SWIG_Python_InitShadowInstance(args
);
24714 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxWindow
*arg1
= (wxWindow
*) 0 ;
24717 wxAutoBufferedPaintDC
*result
= 0 ;
24720 PyObject
* obj0
= 0 ;
24721 char * kwnames
[] = {
24722 (char *) "win", NULL
24725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24744 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24747 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24748 return SWIG_Py_Void();
24751 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24752 return SWIG_Python_InitShadowInstance(args
);
24755 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 wxWindow
*arg1
= (wxWindow
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 char * kwnames
[] = {
24763 (char *) "window", NULL
24766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24787 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
= 0;
24791 wxMirrorDC
*result
= 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "dc",(char *) "mirror", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24811 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24812 if (!SWIG_IsOK(ecode2
)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24815 arg2
= static_cast< bool >(val2
);
24817 if (!wxPyCheckForApp()) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24830 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24833 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24834 return SWIG_Py_Void();
24837 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24838 return SWIG_Python_InitShadowInstance(args
);
24841 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
= 0;
24843 wxPrintData
*arg1
= 0 ;
24844 wxPostScriptDC
*result
= 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char * kwnames
[] = {
24849 (char *) "printData", NULL
24852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24853 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24860 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24862 if (!wxPyCheckForApp()) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24875 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24876 PyObject
*resultobj
= 0;
24877 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24878 wxPrintData
*result
= 0 ;
24881 PyObject
*swig_obj
[1] ;
24883 if (!args
) SWIG_fail
;
24884 swig_obj
[0] = args
;
24885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24886 if (!SWIG_IsOK(res1
)) {
24887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24889 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24894 result
= (wxPrintData
*) &_result_ref
;
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24906 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24908 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24909 wxPrintData
*arg2
= 0 ;
24914 PyObject
* obj0
= 0 ;
24915 PyObject
* obj1
= 0 ;
24916 char * kwnames
[] = {
24917 (char *) "self",(char *) "data", NULL
24920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24925 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24927 if (!SWIG_IsOK(res2
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24933 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_Py_Void();
24947 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24952 PyObject
* obj0
= 0 ;
24953 char * kwnames
[] = {
24954 (char *) "ppi", NULL
24957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24959 if (!SWIG_IsOK(ecode1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24962 arg1
= static_cast< int >(val1
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 wxPostScriptDC::SetResolution(arg1
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_Py_Void();
24976 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24977 PyObject
*resultobj
= 0;
24980 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (int)wxPostScriptDC::GetResolution();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_From_int(static_cast< int >(result
));
24994 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24998 return SWIG_Py_Void();
25001 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25002 return SWIG_Python_InitShadowInstance(args
);
25005 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
= 0;
25007 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25008 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25009 wxMetaFile
*result
= 0 ;
25010 bool temp1
= false ;
25011 PyObject
* obj0
= 0 ;
25012 char * kwnames
[] = {
25013 (char *) "filename", NULL
25016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25019 arg1
= wxString_in_helper(obj0
);
25020 if (arg1
== NULL
) SWIG_fail
;
25025 if (!wxPyCheckForApp()) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25046 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25049 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25050 return SWIG_Py_Void();
25053 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25054 return SWIG_Python_InitShadowInstance(args
);
25057 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
= 0;
25059 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25060 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25061 int arg2
= (int) 0 ;
25062 int arg3
= (int) 0 ;
25063 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25065 wxMetaFileDC
*result
= 0 ;
25066 bool temp1
= false ;
25071 bool temp4
= false ;
25072 PyObject
* obj0
= 0 ;
25073 PyObject
* obj1
= 0 ;
25074 PyObject
* obj2
= 0 ;
25075 PyObject
* obj3
= 0 ;
25076 char * kwnames
[] = {
25077 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25083 arg1
= wxString_in_helper(obj0
);
25084 if (arg1
== NULL
) SWIG_fail
;
25089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25090 if (!SWIG_IsOK(ecode2
)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25093 arg2
= static_cast< int >(val2
);
25096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25097 if (!SWIG_IsOK(ecode3
)) {
25098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25100 arg3
= static_cast< int >(val3
);
25104 arg4
= wxString_in_helper(obj3
);
25105 if (arg4
== NULL
) SWIG_fail
;
25110 if (!wxPyCheckForApp()) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25139 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25142 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25143 return SWIG_Py_Void();
25146 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25147 return SWIG_Python_InitShadowInstance(args
);
25150 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
= 0;
25152 wxPrintData
*arg1
= 0 ;
25153 wxPrinterDC
*result
= 0 ;
25156 PyObject
* obj0
= 0 ;
25157 char * kwnames
[] = {
25158 (char *) "printData", NULL
25161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25162 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25163 if (!SWIG_IsOK(res1
)) {
25164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25169 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25171 if (!wxPyCheckForApp()) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25184 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25187 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25188 return SWIG_Py_Void();
25191 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25192 return SWIG_Python_InitShadowInstance(args
);
25195 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25198 wxGraphicsObject
*result
= 0 ;
25201 PyObject
* obj0
= 0 ;
25202 char * kwnames
[] = {
25203 (char *) "renderer", NULL
25206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25212 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25215 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25225 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25230 PyObject
*swig_obj
[1] ;
25232 if (!args
) SWIG_fail
;
25233 swig_obj
[0] = args
;
25234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25238 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_Py_Void();
25251 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25252 PyObject
*resultobj
= 0;
25253 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25257 PyObject
*swig_obj
[1] ;
25259 if (!args
) SWIG_fail
;
25260 swig_obj
[0] = args
;
25261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25265 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25267 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25279 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 PyObject
*resultobj
= 0;
25281 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25282 wxGraphicsRenderer
*result
= 0 ;
25285 PyObject
*swig_obj
[1] ;
25287 if (!args
) SWIG_fail
;
25288 swig_obj
[0] = args
;
25289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25293 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25295 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25305 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25308 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25309 return SWIG_Py_Void();
25312 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25313 return SWIG_Python_InitShadowInstance(args
);
25316 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25317 PyObject
*resultobj
= 0;
25318 wxGraphicsPen
*result
= 0 ;
25320 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25322 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25332 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25333 PyObject
*resultobj
= 0;
25334 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25337 PyObject
*swig_obj
[1] ;
25339 if (!args
) SWIG_fail
;
25340 swig_obj
[0] = args
;
25341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25342 if (!SWIG_IsOK(res1
)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25345 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_Py_Void();
25358 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25361 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25362 return SWIG_Py_Void();
25365 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 return SWIG_Python_InitShadowInstance(args
);
25369 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25370 PyObject
*resultobj
= 0;
25371 wxGraphicsBrush
*result
= 0 ;
25373 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25375 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25385 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25386 PyObject
*resultobj
= 0;
25387 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25390 PyObject
*swig_obj
[1] ;
25392 if (!args
) SWIG_fail
;
25393 swig_obj
[0] = args
;
25394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25398 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_Py_Void();
25411 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25414 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25415 return SWIG_Py_Void();
25418 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 return SWIG_Python_InitShadowInstance(args
);
25422 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25423 PyObject
*resultobj
= 0;
25424 wxGraphicsFont
*result
= 0 ;
25426 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25428 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25438 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 PyObject
*resultobj
= 0;
25440 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25443 PyObject
*swig_obj
[1] ;
25445 if (!args
) SWIG_fail
;
25446 swig_obj
[0] = args
;
25447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25448 if (!SWIG_IsOK(res1
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25451 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_Py_Void();
25464 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25467 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25468 return SWIG_Py_Void();
25471 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 return SWIG_Python_InitShadowInstance(args
);
25475 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25476 PyObject
*resultobj
= 0;
25477 wxGraphicsMatrix
*result
= 0 ;
25479 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25481 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25491 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25492 PyObject
*resultobj
= 0;
25493 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25496 PyObject
*swig_obj
[1] ;
25498 if (!args
) SWIG_fail
;
25499 swig_obj
[0] = args
;
25500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25501 if (!SWIG_IsOK(res1
)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25504 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_Py_Void();
25517 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
= 0;
25519 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25520 wxGraphicsMatrix
*arg2
= 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char * kwnames
[] = {
25528 (char *) "self",(char *) "t", NULL
25531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25536 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25538 if (!SWIG_IsOK(res2
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25544 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25546 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_Py_Void();
25556 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
= 0;
25558 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25559 wxDouble arg2
= (wxDouble
) 1.0 ;
25560 wxDouble arg3
= (wxDouble
) 0.0 ;
25561 wxDouble arg4
= (wxDouble
) 0.0 ;
25562 wxDouble arg5
= (wxDouble
) 1.0 ;
25563 wxDouble arg6
= (wxDouble
) 0.0 ;
25564 wxDouble arg7
= (wxDouble
) 0.0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 PyObject
* obj2
= 0 ;
25582 PyObject
* obj3
= 0 ;
25583 PyObject
* obj4
= 0 ;
25584 PyObject
* obj5
= 0 ;
25585 PyObject
* obj6
= 0 ;
25586 char * kwnames
[] = {
25587 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25595 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25597 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25598 if (!SWIG_IsOK(ecode2
)) {
25599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25601 arg2
= static_cast< wxDouble
>(val2
);
25604 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25605 if (!SWIG_IsOK(ecode3
)) {
25606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25608 arg3
= static_cast< wxDouble
>(val3
);
25611 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25612 if (!SWIG_IsOK(ecode4
)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25615 arg4
= static_cast< wxDouble
>(val4
);
25618 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25619 if (!SWIG_IsOK(ecode5
)) {
25620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25622 arg5
= static_cast< wxDouble
>(val5
);
25625 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25626 if (!SWIG_IsOK(ecode6
)) {
25627 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25629 arg6
= static_cast< wxDouble
>(val6
);
25632 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25633 if (!SWIG_IsOK(ecode7
)) {
25634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25636 arg7
= static_cast< wxDouble
>(val7
);
25639 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_Py_Void();
25649 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25650 PyObject
*resultobj
= 0;
25651 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25652 wxDouble
*arg2
= (wxDouble
*) 0 ;
25653 wxDouble
*arg3
= (wxDouble
*) 0 ;
25654 wxDouble
*arg4
= (wxDouble
*) 0 ;
25655 wxDouble
*arg5
= (wxDouble
*) 0 ;
25656 wxDouble
*arg6
= (wxDouble
*) 0 ;
25657 wxDouble
*arg7
= (wxDouble
*) 0 ;
25661 int res2
= SWIG_TMPOBJ
;
25663 int res3
= SWIG_TMPOBJ
;
25665 int res4
= SWIG_TMPOBJ
;
25667 int res5
= SWIG_TMPOBJ
;
25669 int res6
= SWIG_TMPOBJ
;
25671 int res7
= SWIG_TMPOBJ
;
25672 PyObject
*swig_obj
[1] ;
25680 if (!args
) SWIG_fail
;
25681 swig_obj
[0] = args
;
25682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25683 if (!SWIG_IsOK(res1
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25686 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25688 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_Py_Void();
25692 if (SWIG_IsTmpObj(res2
)) {
25693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25695 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25698 if (SWIG_IsTmpObj(res3
)) {
25699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25701 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25704 if (SWIG_IsTmpObj(res4
)) {
25705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25707 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25710 if (SWIG_IsTmpObj(res5
)) {
25711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25713 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25716 if (SWIG_IsTmpObj(res6
)) {
25717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25719 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25722 if (SWIG_IsTmpObj(res7
)) {
25723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25725 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25734 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 PyObject
*resultobj
= 0;
25736 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25747 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_Py_Void();
25759 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
= 0;
25761 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25762 wxGraphicsMatrix
*arg2
= 0 ;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 char * kwnames
[] = {
25771 (char *) "self",(char *) "t", NULL
25774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25776 if (!SWIG_IsOK(res1
)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25779 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25781 if (!SWIG_IsOK(res2
)) {
25782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25787 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25789 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25802 PyObject
*resultobj
= 0;
25803 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25807 PyObject
*swig_obj
[1] ;
25809 if (!args
) SWIG_fail
;
25810 swig_obj
[0] = args
;
25811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25815 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25817 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25818 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25829 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
= 0;
25831 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 PyObject
* obj2
= 0 ;
25843 char * kwnames
[] = {
25844 (char *) "self",(char *) "dx",(char *) "dy", NULL
25847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25849 if (!SWIG_IsOK(res1
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25852 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25853 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25854 if (!SWIG_IsOK(ecode2
)) {
25855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25857 arg2
= static_cast< wxDouble
>(val2
);
25858 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25859 if (!SWIG_IsOK(ecode3
)) {
25860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25862 arg3
= static_cast< wxDouble
>(val3
);
25864 (arg1
)->Translate(arg2
,arg3
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_Py_Void();
25874 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
= 0;
25876 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 PyObject
* obj2
= 0 ;
25888 char * kwnames
[] = {
25889 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25894 if (!SWIG_IsOK(res1
)) {
25895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25897 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25898 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25899 if (!SWIG_IsOK(ecode2
)) {
25900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25902 arg2
= static_cast< wxDouble
>(val2
);
25903 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25904 if (!SWIG_IsOK(ecode3
)) {
25905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25907 arg3
= static_cast< wxDouble
>(val3
);
25909 (arg1
)->Scale(arg2
,arg3
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_Py_Void();
25919 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= 0;
25921 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 char * kwnames
[] = {
25930 (char *) "self",(char *) "angle", NULL
25933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25935 if (!SWIG_IsOK(res1
)) {
25936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25938 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25939 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25940 if (!SWIG_IsOK(ecode2
)) {
25941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25943 arg2
= static_cast< wxDouble
>(val2
);
25945 (arg1
)->Rotate(arg2
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_Py_Void();
25955 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
= 0;
25957 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25958 wxDouble
*arg2
= (wxDouble
*) 0 ;
25959 wxDouble
*arg3
= (wxDouble
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 PyObject
* obj2
= 0 ;
25969 char * kwnames
[] = {
25970 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25978 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25979 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25981 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25982 if (!SWIG_IsOK(ecode
)) {
25983 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25985 temp2
= static_cast< wxDouble
>(val
);
25987 res2
= SWIG_AddTmpMask(ecode
);
25989 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25991 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25992 if (!SWIG_IsOK(ecode
)) {
25993 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25995 temp3
= static_cast< wxDouble
>(val
);
25997 res3
= SWIG_AddTmpMask(ecode
);
26000 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_Py_Void();
26004 if (SWIG_IsTmpObj(res2
)) {
26005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26007 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26010 if (SWIG_IsTmpObj(res3
)) {
26011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26022 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
= 0;
26024 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26025 wxDouble
*arg2
= (wxDouble
*) 0 ;
26026 wxDouble
*arg3
= (wxDouble
*) 0 ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 PyObject
* obj2
= 0 ;
26036 char * kwnames
[] = {
26037 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26045 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26046 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26048 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26049 if (!SWIG_IsOK(ecode
)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26052 temp2
= static_cast< wxDouble
>(val
);
26054 res2
= SWIG_AddTmpMask(ecode
);
26056 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26058 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26059 if (!SWIG_IsOK(ecode
)) {
26060 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26062 temp3
= static_cast< wxDouble
>(val
);
26064 res3
= SWIG_AddTmpMask(ecode
);
26067 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_Py_Void();
26071 if (SWIG_IsTmpObj(res2
)) {
26072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26074 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26077 if (SWIG_IsTmpObj(res3
)) {
26078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26080 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26089 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 PyObject
*resultobj
= 0;
26091 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26095 PyObject
*swig_obj
[1] ;
26097 if (!args
) SWIG_fail
;
26098 swig_obj
[0] = args
;
26099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26103 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26105 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26115 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26118 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26119 return SWIG_Py_Void();
26122 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26123 return SWIG_Python_InitShadowInstance(args
);
26126 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26127 PyObject
*resultobj
= 0;
26128 wxGraphicsPath
*result
= 0 ;
26130 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26132 if (!wxPyCheckForApp()) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26145 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26146 PyObject
*resultobj
= 0;
26147 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26150 PyObject
*swig_obj
[1] ;
26152 if (!args
) SWIG_fail
;
26153 swig_obj
[0] = args
;
26154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26158 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_Py_Void();
26171 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26172 PyObject
*resultobj
= 0;
26173 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26183 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26188 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26189 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26190 if (!SWIG_IsOK(ecode2
)) {
26191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26193 arg2
= static_cast< wxDouble
>(val2
);
26194 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26195 if (!SWIG_IsOK(ecode3
)) {
26196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26198 arg3
= static_cast< wxDouble
>(val3
);
26200 (arg1
)->MoveToPoint(arg2
,arg3
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_Py_Void();
26210 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26211 PyObject
*resultobj
= 0;
26212 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26213 wxPoint2D
*arg2
= 0 ;
26218 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26223 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26226 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26229 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_Py_Void();
26239 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26243 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26246 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26249 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26253 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26258 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26259 PyObject
*resultobj
= 0;
26260 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26270 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26275 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26276 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26277 if (!SWIG_IsOK(ecode2
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26280 arg2
= static_cast< wxDouble
>(val2
);
26281 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26282 if (!SWIG_IsOK(ecode3
)) {
26283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26285 arg3
= static_cast< wxDouble
>(val3
);
26287 (arg1
)->AddLineToPoint(arg2
,arg3
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_Py_Void();
26297 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26298 PyObject
*resultobj
= 0;
26299 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26300 wxPoint2D
*arg2
= 0 ;
26305 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26307 if (!SWIG_IsOK(res1
)) {
26308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26310 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26313 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26316 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= SWIG_Py_Void();
26326 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26330 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26333 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26336 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26340 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26345 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26346 PyObject
*resultobj
= 0;
26347 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26369 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26371 if (!SWIG_IsOK(res1
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26374 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26375 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26376 if (!SWIG_IsOK(ecode2
)) {
26377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26379 arg2
= static_cast< wxDouble
>(val2
);
26380 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26381 if (!SWIG_IsOK(ecode3
)) {
26382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26384 arg3
= static_cast< wxDouble
>(val3
);
26385 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26386 if (!SWIG_IsOK(ecode4
)) {
26387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26389 arg4
= static_cast< wxDouble
>(val4
);
26390 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26391 if (!SWIG_IsOK(ecode5
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26394 arg5
= static_cast< wxDouble
>(val5
);
26395 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26396 if (!SWIG_IsOK(ecode6
)) {
26397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26399 arg6
= static_cast< wxDouble
>(val6
);
26400 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26401 if (!SWIG_IsOK(ecode7
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26404 arg7
= static_cast< wxDouble
>(val7
);
26406 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26417 PyObject
*resultobj
= 0;
26418 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26419 wxPoint2D
*arg2
= 0 ;
26420 wxPoint2D
*arg3
= 0 ;
26421 wxPoint2D
*arg4
= 0 ;
26428 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26433 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26436 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26440 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26444 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26447 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26461 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26464 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26467 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26471 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26476 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
= 0;
26478 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26479 wxGraphicsPath
*arg2
= 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 char * kwnames
[] = {
26487 (char *) "self",(char *) "path", NULL
26490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26495 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26497 if (!SWIG_IsOK(res2
)) {
26498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26503 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26505 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= SWIG_Py_Void();
26515 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26516 PyObject
*resultobj
= 0;
26517 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26520 PyObject
*swig_obj
[1] ;
26522 if (!args
) SWIG_fail
;
26523 swig_obj
[0] = args
;
26524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26528 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26530 (arg1
)->CloseSubpath();
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= SWIG_Py_Void();
26540 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26541 PyObject
*resultobj
= 0;
26542 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26546 PyObject
*swig_obj
[1] ;
26548 if (!args
) SWIG_fail
;
26549 swig_obj
[0] = args
;
26550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26554 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26556 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26566 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26567 PyObject
*resultobj
= 0;
26568 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26574 bool arg7
= (bool) true ;
26590 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
26591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26592 if (!SWIG_IsOK(res1
)) {
26593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26595 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26596 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26597 if (!SWIG_IsOK(ecode2
)) {
26598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26600 arg2
= static_cast< wxDouble
>(val2
);
26601 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26602 if (!SWIG_IsOK(ecode3
)) {
26603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26605 arg3
= static_cast< wxDouble
>(val3
);
26606 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26607 if (!SWIG_IsOK(ecode4
)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26610 arg4
= static_cast< wxDouble
>(val4
);
26611 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26612 if (!SWIG_IsOK(ecode5
)) {
26613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26615 arg5
= static_cast< wxDouble
>(val5
);
26616 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26617 if (!SWIG_IsOK(ecode6
)) {
26618 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26620 arg6
= static_cast< wxDouble
>(val6
);
26622 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26623 if (!SWIG_IsOK(ecode7
)) {
26624 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26626 arg7
= static_cast< bool >(val7
);
26629 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_Py_Void();
26639 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26640 PyObject
*resultobj
= 0;
26641 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26642 wxPoint2D
*arg2
= 0 ;
26646 bool arg6
= (bool) true ;
26659 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
26660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26661 if (!SWIG_IsOK(res1
)) {
26662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26664 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26667 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26669 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26670 if (!SWIG_IsOK(ecode3
)) {
26671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26673 arg3
= static_cast< wxDouble
>(val3
);
26674 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26675 if (!SWIG_IsOK(ecode4
)) {
26676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26678 arg4
= static_cast< wxDouble
>(val4
);
26679 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26680 if (!SWIG_IsOK(ecode5
)) {
26681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26683 arg5
= static_cast< wxDouble
>(val5
);
26685 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26686 if (!SWIG_IsOK(ecode6
)) {
26687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26689 arg6
= static_cast< bool >(val6
);
26692 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_Py_Void();
26702 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26706 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26708 if ((argc
>= 5) && (argc
<= 6)) {
26712 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
26715 if (!_v
) goto check_1
;
26719 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
26720 _v
= SWIG_CheckState(res
);
26723 if (!_v
) goto check_1
;
26725 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26729 if ((argc
>= 6) && (argc
<= 7)) {
26730 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26734 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26739 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
= 0;
26741 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 PyObject
* obj2
= 0 ;
26759 PyObject
* obj3
= 0 ;
26760 PyObject
* obj4
= 0 ;
26761 char * kwnames
[] = {
26762 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26770 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26771 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26772 if (!SWIG_IsOK(ecode2
)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26775 arg2
= static_cast< wxDouble
>(val2
);
26776 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26777 if (!SWIG_IsOK(ecode3
)) {
26778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26780 arg3
= static_cast< wxDouble
>(val3
);
26781 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26782 if (!SWIG_IsOK(ecode4
)) {
26783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26785 arg4
= static_cast< wxDouble
>(val4
);
26786 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26787 if (!SWIG_IsOK(ecode5
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26790 arg5
= static_cast< wxDouble
>(val5
);
26792 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_Py_Void();
26802 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
= 0;
26804 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 PyObject
* obj2
= 0 ;
26822 PyObject
* obj3
= 0 ;
26823 PyObject
* obj4
= 0 ;
26824 char * kwnames
[] = {
26825 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26833 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26834 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26835 if (!SWIG_IsOK(ecode2
)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26838 arg2
= static_cast< wxDouble
>(val2
);
26839 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26840 if (!SWIG_IsOK(ecode3
)) {
26841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26843 arg3
= static_cast< wxDouble
>(val3
);
26844 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26845 if (!SWIG_IsOK(ecode4
)) {
26846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26848 arg4
= static_cast< wxDouble
>(val4
);
26849 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26850 if (!SWIG_IsOK(ecode5
)) {
26851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26853 arg5
= static_cast< wxDouble
>(val5
);
26855 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= SWIG_Py_Void();
26865 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
= 0;
26867 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 PyObject
* obj2
= 0 ;
26882 PyObject
* obj3
= 0 ;
26883 char * kwnames
[] = {
26884 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26889 if (!SWIG_IsOK(res1
)) {
26890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26892 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26893 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26894 if (!SWIG_IsOK(ecode2
)) {
26895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26897 arg2
= static_cast< wxDouble
>(val2
);
26898 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26899 if (!SWIG_IsOK(ecode3
)) {
26900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26902 arg3
= static_cast< wxDouble
>(val3
);
26903 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26904 if (!SWIG_IsOK(ecode4
)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26907 arg4
= static_cast< wxDouble
>(val4
);
26909 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= SWIG_Py_Void();
26919 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
= 0;
26921 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 PyObject
* obj2
= 0 ;
26942 PyObject
* obj3
= 0 ;
26943 PyObject
* obj4
= 0 ;
26944 PyObject
* obj5
= 0 ;
26945 char * kwnames
[] = {
26946 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26954 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26955 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26956 if (!SWIG_IsOK(ecode2
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26959 arg2
= static_cast< wxDouble
>(val2
);
26960 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26961 if (!SWIG_IsOK(ecode3
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26964 arg3
= static_cast< wxDouble
>(val3
);
26965 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26966 if (!SWIG_IsOK(ecode4
)) {
26967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26969 arg4
= static_cast< wxDouble
>(val4
);
26970 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26971 if (!SWIG_IsOK(ecode5
)) {
26972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26974 arg5
= static_cast< wxDouble
>(val5
);
26975 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26976 if (!SWIG_IsOK(ecode6
)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26979 arg6
= static_cast< wxDouble
>(val6
);
26981 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= SWIG_Py_Void();
26991 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
= 0;
26993 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 PyObject
* obj2
= 0 ;
27011 PyObject
* obj3
= 0 ;
27012 PyObject
* obj4
= 0 ;
27013 char * kwnames
[] = {
27014 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27022 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27023 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27024 if (!SWIG_IsOK(ecode2
)) {
27025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27027 arg2
= static_cast< wxDouble
>(val2
);
27028 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27029 if (!SWIG_IsOK(ecode3
)) {
27030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27032 arg3
= static_cast< wxDouble
>(val3
);
27033 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27034 if (!SWIG_IsOK(ecode4
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27037 arg4
= static_cast< wxDouble
>(val4
);
27038 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27039 if (!SWIG_IsOK(ecode5
)) {
27040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27042 arg5
= static_cast< wxDouble
>(val5
);
27044 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 PyObject
* obj1
= 0 ;
27076 PyObject
* obj2
= 0 ;
27077 PyObject
* obj3
= 0 ;
27078 PyObject
* obj4
= 0 ;
27079 PyObject
* obj5
= 0 ;
27080 char * kwnames
[] = {
27081 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27086 if (!SWIG_IsOK(res1
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27089 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27090 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27091 if (!SWIG_IsOK(ecode2
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27094 arg2
= static_cast< wxDouble
>(val2
);
27095 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27096 if (!SWIG_IsOK(ecode3
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27099 arg3
= static_cast< wxDouble
>(val3
);
27100 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27101 if (!SWIG_IsOK(ecode4
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27104 arg4
= static_cast< wxDouble
>(val4
);
27105 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27106 if (!SWIG_IsOK(ecode5
)) {
27107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27109 arg5
= static_cast< wxDouble
>(val5
);
27110 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27111 if (!SWIG_IsOK(ecode6
)) {
27112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27114 arg6
= static_cast< wxDouble
>(val6
);
27116 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_Py_Void();
27126 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27127 PyObject
*resultobj
= 0;
27128 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27132 PyObject
*swig_obj
[1] ;
27134 if (!args
) SWIG_fail
;
27135 swig_obj
[0] = args
;
27136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27140 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27142 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27152 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
= 0;
27154 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27155 void *arg2
= (void *) 0 ;
27159 PyObject
* obj0
= 0 ;
27160 PyObject
* obj1
= 0 ;
27161 char * kwnames
[] = {
27162 (char *) "self",(char *) "p", NULL
27165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27170 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27171 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27172 if (!SWIG_IsOK(res2
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27176 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
= 0;
27188 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27189 wxGraphicsMatrix
*arg2
= 0 ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 char * kwnames
[] = {
27197 (char *) "self",(char *) "matrix", NULL
27200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27205 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27207 if (!SWIG_IsOK(res2
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27213 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27215 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_Py_Void();
27225 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27226 PyObject
*resultobj
= 0;
27227 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27231 PyObject
*swig_obj
[1] ;
27233 if (!args
) SWIG_fail
;
27234 swig_obj
[0] = args
;
27235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27239 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27241 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27251 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27252 PyObject
*resultobj
= 0;
27253 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27256 int arg4
= (int) wxODDEVEN_RULE
;
27267 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27272 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27273 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27274 if (!SWIG_IsOK(ecode2
)) {
27275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27277 arg2
= static_cast< wxDouble
>(val2
);
27278 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27279 if (!SWIG_IsOK(ecode3
)) {
27280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27282 arg3
= static_cast< wxDouble
>(val3
);
27284 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27285 if (!SWIG_IsOK(ecode4
)) {
27286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27288 arg4
= static_cast< int >(val4
);
27291 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27303 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27304 PyObject
*resultobj
= 0;
27305 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27306 wxPoint2D
*arg2
= 0 ;
27307 int arg3
= (int) wxODDEVEN_RULE
;
27315 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27317 if (!SWIG_IsOK(res1
)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27320 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27323 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27326 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27327 if (!SWIG_IsOK(ecode3
)) {
27328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27330 arg3
= static_cast< int >(val3
);
27333 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27345 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27349 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27351 if ((argc
>= 2) && (argc
<= 3)) {
27355 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27358 if (!_v
) goto check_1
;
27362 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27363 _v
= SWIG_CheckState(res
);
27366 if (!_v
) goto check_1
;
27368 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27372 if ((argc
>= 3) && (argc
<= 4)) {
27373 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27377 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27382 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27385 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27386 return SWIG_Py_Void();
27389 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27390 return SWIG_Python_InitShadowInstance(args
);
27393 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27394 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27399 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27400 PyObject
*pyobj
= 0;
27402 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27407 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27408 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27413 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27414 PyObject
*pyobj
= 0;
27416 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27421 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27422 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27427 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27428 PyObject
*pyobj
= 0;
27430 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27435 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27436 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27441 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27442 PyObject
*pyobj
= 0;
27444 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27449 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27450 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27455 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27456 PyObject
*pyobj
= 0;
27458 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27463 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27464 PyObject
*resultobj
= 0;
27465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27468 PyObject
*swig_obj
[1] ;
27470 if (!args
) SWIG_fail
;
27471 swig_obj
[0] = args
;
27472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27473 if (!SWIG_IsOK(res1
)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27476 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_Py_Void();
27489 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27490 PyObject
*resultobj
= 0;
27491 wxWindowDC
*arg1
= 0 ;
27492 wxGraphicsContext
*result
= 0 ;
27496 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27504 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27506 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27516 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27517 PyObject
*resultobj
= 0;
27518 wxWindow
*arg1
= (wxWindow
*) 0 ;
27519 wxGraphicsContext
*result
= 0 ;
27523 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27525 if (!SWIG_IsOK(res1
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27528 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27530 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27540 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27544 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27549 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27550 _v
= SWIG_CheckState(res
);
27552 if (!_v
) goto check_1
;
27553 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27558 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27562 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27567 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27568 PyObject
*resultobj
= 0;
27569 wxGraphicsContext
*result
= 0 ;
27571 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27573 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27583 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
= 0;
27585 void *arg1
= (void *) 0 ;
27586 wxGraphicsContext
*result
= 0 ;
27588 PyObject
* obj0
= 0 ;
27589 char * kwnames
[] = {
27590 (char *) "context", NULL
27593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27594 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27595 if (!SWIG_IsOK(res1
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27599 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27609 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
= 0;
27611 void *arg1
= (void *) 0 ;
27612 wxGraphicsContext
*result
= 0 ;
27614 PyObject
* obj0
= 0 ;
27615 char * kwnames
[] = {
27616 (char *) "window", NULL
27619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27620 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27621 if (!SWIG_IsOK(res1
)) {
27622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27625 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27635 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27636 PyObject
*resultobj
= 0;
27637 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27638 wxGraphicsPath result
;
27641 PyObject
*swig_obj
[1] ;
27643 if (!args
) SWIG_fail
;
27644 swig_obj
[0] = args
;
27645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27646 if (!SWIG_IsOK(res1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27649 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27651 result
= (arg1
)->CreatePath();
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27661 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27662 PyObject
*resultobj
= 0;
27663 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27665 wxGraphicsPen result
;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 char * kwnames
[] = {
27673 (char *) "self",(char *) "pen", NULL
27676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27678 if (!SWIG_IsOK(res1
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27681 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27683 if (!SWIG_IsOK(res2
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27689 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27691 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27701 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
= 0;
27703 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27704 wxBrush
*arg2
= 0 ;
27705 wxGraphicsBrush result
;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 char * kwnames
[] = {
27713 (char *) "self",(char *) "brush", NULL
27716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27718 if (!SWIG_IsOK(res1
)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27721 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27723 if (!SWIG_IsOK(res2
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27729 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27731 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27741 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
= 0;
27743 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27748 wxColour
*arg6
= 0 ;
27749 wxColour
*arg7
= 0 ;
27750 wxGraphicsBrush result
;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 PyObject
* obj2
= 0 ;
27766 PyObject
* obj3
= 0 ;
27767 PyObject
* obj4
= 0 ;
27768 PyObject
* obj5
= 0 ;
27769 PyObject
* obj6
= 0 ;
27770 char * kwnames
[] = {
27771 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27779 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27780 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27781 if (!SWIG_IsOK(ecode2
)) {
27782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27784 arg2
= static_cast< wxDouble
>(val2
);
27785 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27786 if (!SWIG_IsOK(ecode3
)) {
27787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27789 arg3
= static_cast< wxDouble
>(val3
);
27790 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27791 if (!SWIG_IsOK(ecode4
)) {
27792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27794 arg4
= static_cast< wxDouble
>(val4
);
27795 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27796 if (!SWIG_IsOK(ecode5
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27799 arg5
= static_cast< wxDouble
>(val5
);
27802 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27806 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27809 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27819 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
= 0;
27821 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27827 wxColour
*arg7
= 0 ;
27828 wxColour
*arg8
= 0 ;
27829 wxGraphicsBrush result
;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 PyObject
* obj2
= 0 ;
27847 PyObject
* obj3
= 0 ;
27848 PyObject
* obj4
= 0 ;
27849 PyObject
* obj5
= 0 ;
27850 PyObject
* obj6
= 0 ;
27851 PyObject
* obj7
= 0 ;
27852 char * kwnames
[] = {
27853 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27861 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27862 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27866 arg2
= static_cast< wxDouble
>(val2
);
27867 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27868 if (!SWIG_IsOK(ecode3
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27871 arg3
= static_cast< wxDouble
>(val3
);
27872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27873 if (!SWIG_IsOK(ecode4
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27876 arg4
= static_cast< wxDouble
>(val4
);
27877 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27878 if (!SWIG_IsOK(ecode5
)) {
27879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27881 arg5
= static_cast< wxDouble
>(val5
);
27882 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27883 if (!SWIG_IsOK(ecode6
)) {
27884 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27886 arg6
= static_cast< wxDouble
>(val6
);
27889 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27893 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27896 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27906 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
= 0;
27908 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27910 wxColour
const &arg3_defvalue
= *wxBLACK
;
27911 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27912 wxGraphicsFont result
;
27918 PyObject
* obj0
= 0 ;
27919 PyObject
* obj1
= 0 ;
27920 PyObject
* obj2
= 0 ;
27921 char * kwnames
[] = {
27922 (char *) "self",(char *) "font",(char *) "col", NULL
27925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27930 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27932 if (!SWIG_IsOK(res2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27938 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27942 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27946 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27956 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
= 0;
27958 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27959 wxDouble arg2
= (wxDouble
) 1.0 ;
27960 wxDouble arg3
= (wxDouble
) 0.0 ;
27961 wxDouble arg4
= (wxDouble
) 0.0 ;
27962 wxDouble arg5
= (wxDouble
) 1.0 ;
27963 wxDouble arg6
= (wxDouble
) 0.0 ;
27964 wxDouble arg7
= (wxDouble
) 0.0 ;
27965 wxGraphicsMatrix result
;
27980 PyObject
* obj0
= 0 ;
27981 PyObject
* obj1
= 0 ;
27982 PyObject
* obj2
= 0 ;
27983 PyObject
* obj3
= 0 ;
27984 PyObject
* obj4
= 0 ;
27985 PyObject
* obj5
= 0 ;
27986 PyObject
* obj6
= 0 ;
27987 char * kwnames
[] = {
27988 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27996 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27998 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27999 if (!SWIG_IsOK(ecode2
)) {
28000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28002 arg2
= static_cast< wxDouble
>(val2
);
28005 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28006 if (!SWIG_IsOK(ecode3
)) {
28007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28009 arg3
= static_cast< wxDouble
>(val3
);
28012 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28013 if (!SWIG_IsOK(ecode4
)) {
28014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28016 arg4
= static_cast< wxDouble
>(val4
);
28019 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28020 if (!SWIG_IsOK(ecode5
)) {
28021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28023 arg5
= static_cast< wxDouble
>(val5
);
28026 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28027 if (!SWIG_IsOK(ecode6
)) {
28028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28030 arg6
= static_cast< wxDouble
>(val6
);
28033 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28034 if (!SWIG_IsOK(ecode7
)) {
28035 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28037 arg7
= static_cast< wxDouble
>(val7
);
28040 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28050 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28051 PyObject
*resultobj
= 0;
28052 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28055 PyObject
*swig_obj
[1] ;
28057 if (!args
) SWIG_fail
;
28058 swig_obj
[0] = args
;
28059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28060 if (!SWIG_IsOK(res1
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28063 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28065 (arg1
)->PushState();
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_Py_Void();
28075 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 PyObject
*resultobj
= 0;
28077 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28088 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28090 (arg1
)->PopState();
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 resultobj
= SWIG_Py_Void();
28100 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
= 0;
28102 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28103 wxRegion
*arg2
= 0 ;
28108 PyObject
* obj0
= 0 ;
28109 PyObject
* obj1
= 0 ;
28110 char * kwnames
[] = {
28111 (char *) "self",(char *) "region", NULL
28114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28119 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28121 if (!SWIG_IsOK(res2
)) {
28122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28127 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28129 (arg1
)->Clip((wxRegion
const &)*arg2
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= SWIG_Py_Void();
28139 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
= 0;
28141 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 PyObject
* obj2
= 0 ;
28159 PyObject
* obj3
= 0 ;
28160 PyObject
* obj4
= 0 ;
28161 char * kwnames
[] = {
28162 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28170 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28171 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28172 if (!SWIG_IsOK(ecode2
)) {
28173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28175 arg2
= static_cast< wxDouble
>(val2
);
28176 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28177 if (!SWIG_IsOK(ecode3
)) {
28178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28180 arg3
= static_cast< wxDouble
>(val3
);
28181 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28182 if (!SWIG_IsOK(ecode4
)) {
28183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28185 arg4
= static_cast< wxDouble
>(val4
);
28186 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28187 if (!SWIG_IsOK(ecode5
)) {
28188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28190 arg5
= static_cast< wxDouble
>(val5
);
28192 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= SWIG_Py_Void();
28202 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28203 PyObject
*resultobj
= 0;
28204 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28207 PyObject
*swig_obj
[1] ;
28209 if (!args
) SWIG_fail
;
28210 swig_obj
[0] = args
;
28211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28215 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28217 (arg1
)->ResetClip();
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_Py_Void();
28227 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28228 PyObject
*resultobj
= 0;
28229 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28233 PyObject
*swig_obj
[1] ;
28235 if (!args
) SWIG_fail
;
28236 swig_obj
[0] = args
;
28237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28238 if (!SWIG_IsOK(res1
)) {
28239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28241 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28243 result
= (void *)(arg1
)->GetNativeContext();
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28253 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28254 PyObject
*resultobj
= 0;
28255 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28259 PyObject
*swig_obj
[1] ;
28261 if (!args
) SWIG_fail
;
28262 swig_obj
[0] = args
;
28263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28267 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28269 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= SWIG_From_int(static_cast< int >(result
));
28279 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
= 0;
28281 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28288 PyObject
* obj0
= 0 ;
28289 PyObject
* obj1
= 0 ;
28290 char * kwnames
[] = {
28291 (char *) "self",(char *) "function", NULL
28294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28299 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28301 if (!SWIG_IsOK(ecode2
)) {
28302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28304 arg2
= static_cast< int >(val2
);
28306 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28318 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
= 0;
28320 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 PyObject
* obj2
= 0 ;
28332 char * kwnames
[] = {
28333 (char *) "self",(char *) "dx",(char *) "dy", NULL
28336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28338 if (!SWIG_IsOK(res1
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28341 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28342 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28343 if (!SWIG_IsOK(ecode2
)) {
28344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28346 arg2
= static_cast< wxDouble
>(val2
);
28347 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28348 if (!SWIG_IsOK(ecode3
)) {
28349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28351 arg3
= static_cast< wxDouble
>(val3
);
28353 (arg1
)->Translate(arg2
,arg3
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= SWIG_Py_Void();
28363 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
= 0;
28365 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28374 PyObject
* obj0
= 0 ;
28375 PyObject
* obj1
= 0 ;
28376 PyObject
* obj2
= 0 ;
28377 char * kwnames
[] = {
28378 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28386 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28387 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28388 if (!SWIG_IsOK(ecode2
)) {
28389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28391 arg2
= static_cast< wxDouble
>(val2
);
28392 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28393 if (!SWIG_IsOK(ecode3
)) {
28394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28396 arg3
= static_cast< wxDouble
>(val3
);
28398 (arg1
)->Scale(arg2
,arg3
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_Py_Void();
28408 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
= 0;
28410 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char * kwnames
[] = {
28419 (char *) "self",(char *) "angle", NULL
28422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28427 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28428 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28429 if (!SWIG_IsOK(ecode2
)) {
28430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28432 arg2
= static_cast< wxDouble
>(val2
);
28434 (arg1
)->Rotate(arg2
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_Py_Void();
28444 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
= 0;
28446 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28447 wxGraphicsMatrix
*arg2
= 0 ;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char * kwnames
[] = {
28455 (char *) "self",(char *) "matrix", NULL
28458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28463 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28465 if (!SWIG_IsOK(res2
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28471 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28473 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_Py_Void();
28483 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
= 0;
28485 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28486 wxGraphicsMatrix
*arg2
= 0 ;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 char * kwnames
[] = {
28494 (char *) "self",(char *) "matrix", NULL
28497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28499 if (!SWIG_IsOK(res1
)) {
28500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28502 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28504 if (!SWIG_IsOK(res2
)) {
28505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28510 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28512 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28515 resultobj
= SWIG_Py_Void();
28522 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28523 PyObject
*resultobj
= 0;
28524 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28525 wxGraphicsMatrix result
;
28528 PyObject
*swig_obj
[1] ;
28530 if (!args
) SWIG_fail
;
28531 swig_obj
[0] = args
;
28532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28533 if (!SWIG_IsOK(res1
)) {
28534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28536 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28538 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28548 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28549 PyObject
*resultobj
= 0;
28550 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28551 wxGraphicsPen
*arg2
= 0 ;
28557 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28559 if (!SWIG_IsOK(res1
)) {
28560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28562 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28563 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28564 if (!SWIG_IsOK(res2
)) {
28565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28570 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28572 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_Py_Void();
28582 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28583 PyObject
*resultobj
= 0;
28584 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28591 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28593 if (!SWIG_IsOK(res1
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28596 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28597 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28598 if (!SWIG_IsOK(res2
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28604 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28606 (arg1
)->SetPen((wxPen
const &)*arg2
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= SWIG_Py_Void();
28616 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28620 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28625 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28626 _v
= SWIG_CheckState(res
);
28628 if (!_v
) goto check_1
;
28629 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28634 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28638 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28643 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28644 PyObject
*resultobj
= 0;
28645 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28646 wxGraphicsBrush
*arg2
= 0 ;
28652 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28654 if (!SWIG_IsOK(res1
)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28657 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28658 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28659 if (!SWIG_IsOK(res2
)) {
28660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28665 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28667 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= SWIG_Py_Void();
28677 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28678 PyObject
*resultobj
= 0;
28679 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28680 wxBrush
*arg2
= 0 ;
28686 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28688 if (!SWIG_IsOK(res1
)) {
28689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28691 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28692 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28693 if (!SWIG_IsOK(res2
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28699 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28701 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= SWIG_Py_Void();
28711 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28715 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28720 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28721 _v
= SWIG_CheckState(res
);
28723 if (!_v
) goto check_1
;
28724 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28729 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28733 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28738 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28739 PyObject
*resultobj
= 0;
28740 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28741 wxGraphicsFont
*arg2
= 0 ;
28747 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28749 if (!SWIG_IsOK(res1
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28752 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28753 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28754 if (!SWIG_IsOK(res2
)) {
28755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28760 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28762 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= SWIG_Py_Void();
28772 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28773 PyObject
*resultobj
= 0;
28774 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28776 wxColour
const &arg3_defvalue
= *wxBLACK
;
28777 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28784 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28789 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28790 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28791 if (!SWIG_IsOK(res2
)) {
28792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28797 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28801 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28805 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28808 resultobj
= SWIG_Py_Void();
28815 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28819 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28824 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28825 _v
= SWIG_CheckState(res
);
28827 if (!_v
) goto check_1
;
28828 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28832 if ((argc
>= 2) && (argc
<= 3)) {
28833 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28837 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28842 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
= 0;
28844 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28845 wxGraphicsPath
*arg2
= 0 ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 char * kwnames
[] = {
28853 (char *) "self",(char *) "path", NULL
28856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28858 if (!SWIG_IsOK(res1
)) {
28859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28861 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28863 if (!SWIG_IsOK(res2
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28869 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28871 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 resultobj
= SWIG_Py_Void();
28881 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
= 0;
28883 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28884 wxGraphicsPath
*arg2
= 0 ;
28885 int arg3
= (int) wxODDEVEN_RULE
;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 PyObject
* obj2
= 0 ;
28895 char * kwnames
[] = {
28896 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28904 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28906 if (!SWIG_IsOK(res2
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28912 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28915 if (!SWIG_IsOK(ecode3
)) {
28916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28918 arg3
= static_cast< int >(val3
);
28921 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_Py_Void();
28931 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
= 0;
28933 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28934 wxGraphicsPath
*arg2
= 0 ;
28935 int arg3
= (int) wxODDEVEN_RULE
;
28942 PyObject
* obj0
= 0 ;
28943 PyObject
* obj1
= 0 ;
28944 PyObject
* obj2
= 0 ;
28945 char * kwnames
[] = {
28946 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28956 if (!SWIG_IsOK(res2
)) {
28957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28962 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28965 if (!SWIG_IsOK(ecode3
)) {
28966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28968 arg3
= static_cast< int >(val3
);
28971 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28974 resultobj
= SWIG_Py_Void();
28981 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28982 PyObject
*resultobj
= 0;
28983 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28984 wxString
*arg2
= 0 ;
28987 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28988 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28991 bool temp2
= false ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 PyObject
* obj2
= 0 ;
29001 PyObject
* obj3
= 0 ;
29002 PyObject
* obj4
= 0 ;
29003 char * kwnames
[] = {
29004 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29009 if (!SWIG_IsOK(res1
)) {
29010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29012 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29014 arg2
= wxString_in_helper(obj1
);
29015 if (arg2
== NULL
) SWIG_fail
;
29018 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29019 if (!SWIG_IsOK(ecode3
)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29022 arg3
= static_cast< wxDouble
>(val3
);
29023 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29024 if (!SWIG_IsOK(ecode4
)) {
29025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29027 arg4
= static_cast< wxDouble
>(val4
);
29029 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29030 if (!SWIG_IsOK(res5
)) {
29031 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29036 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29039 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29042 resultobj
= SWIG_Py_Void();
29057 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
= 0;
29059 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29060 wxString
*arg2
= 0 ;
29064 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29065 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29068 bool temp2
= false ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 PyObject
* obj2
= 0 ;
29080 PyObject
* obj3
= 0 ;
29081 PyObject
* obj4
= 0 ;
29082 PyObject
* obj5
= 0 ;
29083 char * kwnames
[] = {
29084 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29089 if (!SWIG_IsOK(res1
)) {
29090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29092 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29094 arg2
= wxString_in_helper(obj1
);
29095 if (arg2
== NULL
) SWIG_fail
;
29098 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29099 if (!SWIG_IsOK(ecode3
)) {
29100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29102 arg3
= static_cast< wxDouble
>(val3
);
29103 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29104 if (!SWIG_IsOK(ecode4
)) {
29105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29107 arg4
= static_cast< wxDouble
>(val4
);
29108 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29109 if (!SWIG_IsOK(ecode5
)) {
29110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29112 arg5
= static_cast< wxDouble
>(val5
);
29114 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29115 if (!SWIG_IsOK(res6
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29121 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29124 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_Py_Void();
29142 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
= 0;
29144 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29145 wxString
*arg2
= 0 ;
29146 wxDouble
*arg3
= (wxDouble
*) 0 ;
29147 wxDouble
*arg4
= (wxDouble
*) 0 ;
29148 wxDouble
*arg5
= (wxDouble
*) 0 ;
29149 wxDouble
*arg6
= (wxDouble
*) 0 ;
29152 bool temp2
= false ;
29154 int res3
= SWIG_TMPOBJ
;
29156 int res4
= SWIG_TMPOBJ
;
29158 int res5
= SWIG_TMPOBJ
;
29160 int res6
= SWIG_TMPOBJ
;
29161 PyObject
* obj0
= 0 ;
29162 PyObject
* obj1
= 0 ;
29163 char * kwnames
[] = {
29164 (char *) "self",(char *) "text", NULL
29171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29173 if (!SWIG_IsOK(res1
)) {
29174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29176 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29178 arg2
= wxString_in_helper(obj1
);
29179 if (arg2
== NULL
) SWIG_fail
;
29183 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= SWIG_Py_Void();
29187 if (SWIG_IsTmpObj(res3
)) {
29188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29190 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29193 if (SWIG_IsTmpObj(res4
)) {
29194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29196 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29199 if (SWIG_IsTmpObj(res5
)) {
29200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29202 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29205 if (SWIG_IsTmpObj(res6
)) {
29206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29208 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29225 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29226 PyObject
*resultobj
= 0;
29227 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29228 wxString
*arg2
= 0 ;
29229 PyObject
*result
= 0 ;
29232 bool temp2
= false ;
29233 PyObject
* obj0
= 0 ;
29234 PyObject
* obj1
= 0 ;
29235 char * kwnames
[] = {
29236 (char *) "self",(char *) "text", NULL
29239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29241 if (!SWIG_IsOK(res1
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29244 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29246 arg2
= wxString_in_helper(obj1
);
29247 if (arg2
== NULL
) SWIG_fail
;
29251 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= result
;
29269 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29272 wxString
*arg2
= 0 ;
29273 wxArrayDouble result
;
29276 bool temp2
= false ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 char * kwnames
[] = {
29280 (char *) "self",(char *) "text", NULL
29283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29285 if (!SWIG_IsOK(res1
)) {
29286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29288 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29290 arg2
= wxString_in_helper(obj1
);
29291 if (arg2
== NULL
) SWIG_fail
;
29295 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= wxArrayDouble2PyList_helper(result
);
29315 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29317 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29318 wxBitmap
*arg2
= 0 ;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 PyObject
* obj2
= 0 ;
29338 PyObject
* obj3
= 0 ;
29339 PyObject
* obj4
= 0 ;
29340 PyObject
* obj5
= 0 ;
29341 char * kwnames
[] = {
29342 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29347 if (!SWIG_IsOK(res1
)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29350 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29352 if (!SWIG_IsOK(res2
)) {
29353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29358 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29359 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29360 if (!SWIG_IsOK(ecode3
)) {
29361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29363 arg3
= static_cast< wxDouble
>(val3
);
29364 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29365 if (!SWIG_IsOK(ecode4
)) {
29366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29368 arg4
= static_cast< wxDouble
>(val4
);
29369 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29370 if (!SWIG_IsOK(ecode5
)) {
29371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29373 arg5
= static_cast< wxDouble
>(val5
);
29374 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29375 if (!SWIG_IsOK(ecode6
)) {
29376 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29378 arg6
= static_cast< wxDouble
>(val6
);
29380 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= SWIG_Py_Void();
29390 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
= 0;
29392 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 PyObject
* obj2
= 0 ;
29413 PyObject
* obj3
= 0 ;
29414 PyObject
* obj4
= 0 ;
29415 PyObject
* obj5
= 0 ;
29416 char * kwnames
[] = {
29417 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29422 if (!SWIG_IsOK(res1
)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29425 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29427 if (!SWIG_IsOK(res2
)) {
29428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29433 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29434 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29435 if (!SWIG_IsOK(ecode3
)) {
29436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29438 arg3
= static_cast< wxDouble
>(val3
);
29439 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29440 if (!SWIG_IsOK(ecode4
)) {
29441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29443 arg4
= static_cast< wxDouble
>(val4
);
29444 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29445 if (!SWIG_IsOK(ecode5
)) {
29446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29448 arg5
= static_cast< wxDouble
>(val5
);
29449 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29450 if (!SWIG_IsOK(ecode6
)) {
29451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29453 arg6
= static_cast< wxDouble
>(val6
);
29455 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 resultobj
= SWIG_Py_Void();
29465 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
= 0;
29467 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29482 PyObject
* obj0
= 0 ;
29483 PyObject
* obj1
= 0 ;
29484 PyObject
* obj2
= 0 ;
29485 PyObject
* obj3
= 0 ;
29486 PyObject
* obj4
= 0 ;
29487 char * kwnames
[] = {
29488 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29496 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29497 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29498 if (!SWIG_IsOK(ecode2
)) {
29499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29501 arg2
= static_cast< wxDouble
>(val2
);
29502 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29503 if (!SWIG_IsOK(ecode3
)) {
29504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29506 arg3
= static_cast< wxDouble
>(val3
);
29507 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29508 if (!SWIG_IsOK(ecode4
)) {
29509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29511 arg4
= static_cast< wxDouble
>(val4
);
29512 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29513 if (!SWIG_IsOK(ecode5
)) {
29514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29516 arg5
= static_cast< wxDouble
>(val5
);
29518 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= SWIG_Py_Void();
29528 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
= 0;
29530 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29532 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29535 PyObject
* obj0
= 0 ;
29536 PyObject
* obj1
= 0 ;
29537 char * kwnames
[] = {
29538 (char *) "self",(char *) "points", NULL
29541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29543 if (!SWIG_IsOK(res1
)) {
29544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29546 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29548 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29549 if (arg3
== NULL
) SWIG_fail
;
29552 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= SWIG_Py_Void();
29557 if (arg3
) delete [] arg3
;
29562 if (arg3
) delete [] arg3
;
29568 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
= 0;
29570 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29571 PyObject
*arg2
= (PyObject
*) 0 ;
29572 PyObject
*arg3
= (PyObject
*) 0 ;
29575 PyObject
* obj0
= 0 ;
29576 PyObject
* obj1
= 0 ;
29577 PyObject
* obj2
= 0 ;
29578 char * kwnames
[] = {
29579 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29584 if (!SWIG_IsOK(res1
)) {
29585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29587 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29591 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29594 resultobj
= SWIG_Py_Void();
29601 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29602 PyObject
*resultobj
= 0;
29603 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29605 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29606 int arg4
= (int) wxODDEVEN_RULE
;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 PyObject
* obj2
= 0 ;
29614 char * kwnames
[] = {
29615 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29620 if (!SWIG_IsOK(res1
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29623 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29625 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29626 if (arg3
== NULL
) SWIG_fail
;
29629 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29630 if (!SWIG_IsOK(ecode4
)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29633 arg4
= static_cast< int >(val4
);
29636 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29637 if (PyErr_Occurred()) SWIG_fail
;
29639 resultobj
= SWIG_Py_Void();
29641 if (arg3
) delete [] arg3
;
29646 if (arg3
) delete [] arg3
;
29652 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
= 0;
29654 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 PyObject
* obj2
= 0 ;
29672 PyObject
* obj3
= 0 ;
29673 PyObject
* obj4
= 0 ;
29674 char * kwnames
[] = {
29675 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29684 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29685 if (!SWIG_IsOK(ecode2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29688 arg2
= static_cast< wxDouble
>(val2
);
29689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29690 if (!SWIG_IsOK(ecode3
)) {
29691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29693 arg3
= static_cast< wxDouble
>(val3
);
29694 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29695 if (!SWIG_IsOK(ecode4
)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29698 arg4
= static_cast< wxDouble
>(val4
);
29699 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29700 if (!SWIG_IsOK(ecode5
)) {
29701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29703 arg5
= static_cast< wxDouble
>(val5
);
29705 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= SWIG_Py_Void();
29715 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
= 0;
29717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29732 PyObject
* obj0
= 0 ;
29733 PyObject
* obj1
= 0 ;
29734 PyObject
* obj2
= 0 ;
29735 PyObject
* obj3
= 0 ;
29736 PyObject
* obj4
= 0 ;
29737 char * kwnames
[] = {
29738 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29743 if (!SWIG_IsOK(res1
)) {
29744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29746 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29747 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29748 if (!SWIG_IsOK(ecode2
)) {
29749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29751 arg2
= static_cast< wxDouble
>(val2
);
29752 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29753 if (!SWIG_IsOK(ecode3
)) {
29754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29756 arg3
= static_cast< wxDouble
>(val3
);
29757 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29758 if (!SWIG_IsOK(ecode4
)) {
29759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29761 arg4
= static_cast< wxDouble
>(val4
);
29762 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29763 if (!SWIG_IsOK(ecode5
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29766 arg5
= static_cast< wxDouble
>(val5
);
29768 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= SWIG_Py_Void();
29778 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
= 0;
29780 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 PyObject
* obj2
= 0 ;
29801 PyObject
* obj3
= 0 ;
29802 PyObject
* obj4
= 0 ;
29803 PyObject
* obj5
= 0 ;
29804 char * kwnames
[] = {
29805 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29810 if (!SWIG_IsOK(res1
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29813 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29814 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29815 if (!SWIG_IsOK(ecode2
)) {
29816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29818 arg2
= static_cast< wxDouble
>(val2
);
29819 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29820 if (!SWIG_IsOK(ecode3
)) {
29821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29823 arg3
= static_cast< wxDouble
>(val3
);
29824 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29825 if (!SWIG_IsOK(ecode4
)) {
29826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29828 arg4
= static_cast< wxDouble
>(val4
);
29829 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29830 if (!SWIG_IsOK(ecode5
)) {
29831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29833 arg5
= static_cast< wxDouble
>(val5
);
29834 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29835 if (!SWIG_IsOK(ecode6
)) {
29836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29838 arg6
= static_cast< wxDouble
>(val6
);
29840 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29843 resultobj
= SWIG_Py_Void();
29850 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29851 PyObject
*resultobj
= 0;
29852 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29856 PyObject
*swig_obj
[1] ;
29858 if (!args
) SWIG_fail
;
29859 swig_obj
[0] = args
;
29860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29864 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29866 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29867 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29878 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29881 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29882 return SWIG_Py_Void();
29885 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29886 PyObject
*resultobj
= 0;
29887 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29890 PyObject
*swig_obj
[1] ;
29892 if (!args
) SWIG_fail
;
29893 swig_obj
[0] = args
;
29894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29895 if (!SWIG_IsOK(res1
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29898 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_Py_Void();
29911 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29912 PyObject
*resultobj
= 0;
29913 wxGraphicsRenderer
*result
= 0 ;
29915 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29917 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29918 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29927 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29928 PyObject
*resultobj
= 0;
29929 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29930 wxWindowDC
*arg2
= 0 ;
29931 wxGraphicsContext
*result
= 0 ;
29937 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29939 if (!SWIG_IsOK(res1
)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29942 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29943 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29944 if (!SWIG_IsOK(res2
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29950 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29952 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29962 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29963 PyObject
*resultobj
= 0;
29964 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29965 wxWindow
*arg2
= (wxWindow
*) 0 ;
29966 wxGraphicsContext
*result
= 0 ;
29972 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29974 if (!SWIG_IsOK(res1
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29977 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29978 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29979 if (!SWIG_IsOK(res2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29982 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29984 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29994 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29998 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30003 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30004 _v
= SWIG_CheckState(res
);
30006 if (!_v
) goto check_1
;
30007 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30012 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30016 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30021 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30022 PyObject
*resultobj
= 0;
30023 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30024 wxGraphicsContext
*result
= 0 ;
30027 PyObject
*swig_obj
[1] ;
30029 if (!args
) SWIG_fail
;
30030 swig_obj
[0] = args
;
30031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30032 if (!SWIG_IsOK(res1
)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30035 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30037 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30047 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30050 void *arg2
= (void *) 0 ;
30051 wxGraphicsContext
*result
= 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "self",(char *) "context", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30063 if (!SWIG_IsOK(res1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30066 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30067 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30068 if (!SWIG_IsOK(res2
)) {
30069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30072 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30082 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
= 0;
30084 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30085 void *arg2
= (void *) 0 ;
30086 wxGraphicsContext
*result
= 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 char * kwnames
[] = {
30093 (char *) "self",(char *) "window", NULL
30096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30098 if (!SWIG_IsOK(res1
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30101 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30102 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30103 if (!SWIG_IsOK(res2
)) {
30104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30107 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30117 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30118 PyObject
*resultobj
= 0;
30119 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30120 wxGraphicsPath result
;
30123 PyObject
*swig_obj
[1] ;
30125 if (!args
) SWIG_fail
;
30126 swig_obj
[0] = args
;
30127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30128 if (!SWIG_IsOK(res1
)) {
30129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30131 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30133 result
= (arg1
)->CreatePath();
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30143 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
= 0;
30145 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30146 wxDouble arg2
= (wxDouble
) 1.0 ;
30147 wxDouble arg3
= (wxDouble
) 0.0 ;
30148 wxDouble arg4
= (wxDouble
) 0.0 ;
30149 wxDouble arg5
= (wxDouble
) 1.0 ;
30150 wxDouble arg6
= (wxDouble
) 0.0 ;
30151 wxDouble arg7
= (wxDouble
) 0.0 ;
30152 wxGraphicsMatrix result
;
30167 PyObject
* obj0
= 0 ;
30168 PyObject
* obj1
= 0 ;
30169 PyObject
* obj2
= 0 ;
30170 PyObject
* obj3
= 0 ;
30171 PyObject
* obj4
= 0 ;
30172 PyObject
* obj5
= 0 ;
30173 PyObject
* obj6
= 0 ;
30174 char * kwnames
[] = {
30175 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30180 if (!SWIG_IsOK(res1
)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30183 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30185 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30186 if (!SWIG_IsOK(ecode2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30189 arg2
= static_cast< wxDouble
>(val2
);
30192 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30193 if (!SWIG_IsOK(ecode3
)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30196 arg3
= static_cast< wxDouble
>(val3
);
30199 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30200 if (!SWIG_IsOK(ecode4
)) {
30201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30203 arg4
= static_cast< wxDouble
>(val4
);
30206 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30207 if (!SWIG_IsOK(ecode5
)) {
30208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30210 arg5
= static_cast< wxDouble
>(val5
);
30213 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30214 if (!SWIG_IsOK(ecode6
)) {
30215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30217 arg6
= static_cast< wxDouble
>(val6
);
30220 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30221 if (!SWIG_IsOK(ecode7
)) {
30222 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30224 arg7
= static_cast< wxDouble
>(val7
);
30227 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30237 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
= 0;
30239 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30241 wxGraphicsPen result
;
30246 PyObject
* obj0
= 0 ;
30247 PyObject
* obj1
= 0 ;
30248 char * kwnames
[] = {
30249 (char *) "self",(char *) "pen", NULL
30252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30254 if (!SWIG_IsOK(res1
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30257 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30259 if (!SWIG_IsOK(res2
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30265 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30267 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30277 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
= 0;
30279 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30280 wxBrush
*arg2
= 0 ;
30281 wxGraphicsBrush result
;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 char * kwnames
[] = {
30289 (char *) "self",(char *) "brush", NULL
30292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30297 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30299 if (!SWIG_IsOK(res2
)) {
30300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30305 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30307 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30317 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
= 0;
30319 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30324 wxColour
*arg6
= 0 ;
30325 wxColour
*arg7
= 0 ;
30326 wxGraphicsBrush result
;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 PyObject
* obj2
= 0 ;
30342 PyObject
* obj3
= 0 ;
30343 PyObject
* obj4
= 0 ;
30344 PyObject
* obj5
= 0 ;
30345 PyObject
* obj6
= 0 ;
30346 char * kwnames
[] = {
30347 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30352 if (!SWIG_IsOK(res1
)) {
30353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30355 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30356 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30357 if (!SWIG_IsOK(ecode2
)) {
30358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30360 arg2
= static_cast< wxDouble
>(val2
);
30361 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30362 if (!SWIG_IsOK(ecode3
)) {
30363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30365 arg3
= static_cast< wxDouble
>(val3
);
30366 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30367 if (!SWIG_IsOK(ecode4
)) {
30368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30370 arg4
= static_cast< wxDouble
>(val4
);
30371 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30372 if (!SWIG_IsOK(ecode5
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30375 arg5
= static_cast< wxDouble
>(val5
);
30378 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30382 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30385 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30388 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30395 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30396 PyObject
*resultobj
= 0;
30397 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30403 wxColour
*arg7
= 0 ;
30404 wxColour
*arg8
= 0 ;
30405 wxGraphicsBrush result
;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 PyObject
* obj2
= 0 ;
30423 PyObject
* obj3
= 0 ;
30424 PyObject
* obj4
= 0 ;
30425 PyObject
* obj5
= 0 ;
30426 PyObject
* obj6
= 0 ;
30427 PyObject
* obj7
= 0 ;
30428 char * kwnames
[] = {
30429 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30434 if (!SWIG_IsOK(res1
)) {
30435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30437 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30438 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30439 if (!SWIG_IsOK(ecode2
)) {
30440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30442 arg2
= static_cast< wxDouble
>(val2
);
30443 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30444 if (!SWIG_IsOK(ecode3
)) {
30445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30447 arg3
= static_cast< wxDouble
>(val3
);
30448 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30449 if (!SWIG_IsOK(ecode4
)) {
30450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30452 arg4
= static_cast< wxDouble
>(val4
);
30453 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30454 if (!SWIG_IsOK(ecode5
)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30457 arg5
= static_cast< wxDouble
>(val5
);
30458 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30459 if (!SWIG_IsOK(ecode6
)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30462 arg6
= static_cast< wxDouble
>(val6
);
30465 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30469 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30472 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30482 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
= 0;
30484 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30486 wxColour
const &arg3_defvalue
= *wxBLACK
;
30487 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30488 wxGraphicsFont result
;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 PyObject
* obj2
= 0 ;
30497 char * kwnames
[] = {
30498 (char *) "self",(char *) "font",(char *) "col", NULL
30501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30506 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30508 if (!SWIG_IsOK(res2
)) {
30509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30514 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30518 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30522 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30532 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30535 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30536 return SWIG_Py_Void();
30539 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30540 PyObject
*resultobj
= 0;
30541 wxWindowDC
*arg1
= 0 ;
30542 wxGCDC
*result
= 0 ;
30546 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30548 if (!SWIG_IsOK(res1
)) {
30549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30554 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30556 if (!wxPyCheckForApp()) SWIG_fail
;
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30569 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30570 PyObject
*resultobj
= 0;
30571 wxWindow
*arg1
= (wxWindow
*) 0 ;
30572 wxGCDC
*result
= 0 ;
30576 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30578 if (!SWIG_IsOK(res1
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30583 if (!wxPyCheckForApp()) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 result
= (wxGCDC
*)new wxGCDC(arg1
);
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30596 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30600 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30605 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30606 _v
= SWIG_CheckState(res
);
30608 if (!_v
) goto check_1
;
30609 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30614 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30618 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30623 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30624 PyObject
*resultobj
= 0;
30625 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30628 PyObject
*swig_obj
[1] ;
30630 if (!args
) SWIG_fail
;
30631 swig_obj
[0] = args
;
30632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30633 if (!SWIG_IsOK(res1
)) {
30634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30636 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= SWIG_Py_Void();
30649 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30650 PyObject
*resultobj
= 0;
30651 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30652 wxGraphicsContext
*result
= 0 ;
30655 PyObject
*swig_obj
[1] ;
30657 if (!args
) SWIG_fail
;
30658 swig_obj
[0] = args
;
30659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30660 if (!SWIG_IsOK(res1
)) {
30661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30663 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30665 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30675 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
= 0;
30677 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30678 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30683 PyObject
* obj0
= 0 ;
30684 PyObject
* obj1
= 0 ;
30685 char * kwnames
[] = {
30686 (char *) "self",(char *) "ctx", NULL
30689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30691 if (!SWIG_IsOK(res1
)) {
30692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30694 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30696 if (!SWIG_IsOK(res2
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30699 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30701 (arg1
)->SetGraphicsContext(arg2
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= SWIG_Py_Void();
30711 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30714 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30715 return SWIG_Py_Void();
30718 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30719 return SWIG_Python_InitShadowInstance(args
);
30722 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30723 PyObject
*resultobj
= 0;
30724 wxOverlay
*result
= 0 ;
30726 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 result
= (wxOverlay
*)new wxOverlay();
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30740 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30741 PyObject
*resultobj
= 0;
30742 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30745 PyObject
*swig_obj
[1] ;
30747 if (!args
) SWIG_fail
;
30748 swig_obj
[0] = args
;
30749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30750 if (!SWIG_IsOK(res1
)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30753 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 wxPyEndAllowThreads(__tstate
);
30759 if (PyErr_Occurred()) SWIG_fail
;
30761 resultobj
= SWIG_Py_Void();
30768 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30769 PyObject
*resultobj
= 0;
30770 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30773 PyObject
*swig_obj
[1] ;
30775 if (!args
) SWIG_fail
;
30776 swig_obj
[0] = args
;
30777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30778 if (!SWIG_IsOK(res1
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30781 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= SWIG_Py_Void();
30795 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30798 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30799 return SWIG_Py_Void();
30802 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30803 return SWIG_Python_InitShadowInstance(args
);
30806 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30807 PyObject
*resultobj
= 0;
30808 wxOverlay
*arg1
= 0 ;
30809 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30814 wxDCOverlay
*result
= 0 ;
30828 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30830 if (!SWIG_IsOK(res1
)) {
30831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30836 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30837 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30838 if (!SWIG_IsOK(res2
)) {
30839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30841 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30842 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30843 if (!SWIG_IsOK(ecode3
)) {
30844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30846 arg3
= static_cast< int >(val3
);
30847 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30848 if (!SWIG_IsOK(ecode4
)) {
30849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30851 arg4
= static_cast< int >(val4
);
30852 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30853 if (!SWIG_IsOK(ecode5
)) {
30854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30856 arg5
= static_cast< int >(val5
);
30857 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30858 if (!SWIG_IsOK(ecode6
)) {
30859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30861 arg6
= static_cast< int >(val6
);
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30875 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30876 PyObject
*resultobj
= 0;
30877 wxOverlay
*arg1
= 0 ;
30878 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30879 wxDCOverlay
*result
= 0 ;
30885 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30887 if (!SWIG_IsOK(res1
)) {
30888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30893 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30894 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30895 if (!SWIG_IsOK(res2
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30898 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30912 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30916 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30919 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30922 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30926 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30931 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30932 PyObject
*resultobj
= 0;
30933 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30936 PyObject
*swig_obj
[1] ;
30938 if (!args
) SWIG_fail
;
30939 swig_obj
[0] = args
;
30940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30941 if (!SWIG_IsOK(res1
)) {
30942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30944 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= SWIG_Py_Void();
30959 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30960 PyObject
*resultobj
= 0;
30961 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30964 PyObject
*swig_obj
[1] ;
30966 if (!args
) SWIG_fail
;
30967 swig_obj
[0] = args
;
30968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30969 if (!SWIG_IsOK(res1
)) {
30970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30972 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= SWIG_Py_Void();
30986 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30989 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30990 return SWIG_Py_Void();
30993 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30994 return SWIG_Python_InitShadowInstance(args
);
30997 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
= 0;
31001 int arg3
= (int) true ;
31002 int arg4
= (int) 1 ;
31003 wxImageList
*result
= 0 ;
31012 PyObject
* obj0
= 0 ;
31013 PyObject
* obj1
= 0 ;
31014 PyObject
* obj2
= 0 ;
31015 PyObject
* obj3
= 0 ;
31016 char * kwnames
[] = {
31017 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31021 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31022 if (!SWIG_IsOK(ecode1
)) {
31023 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31025 arg1
= static_cast< int >(val1
);
31026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31027 if (!SWIG_IsOK(ecode2
)) {
31028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31030 arg2
= static_cast< int >(val2
);
31032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31033 if (!SWIG_IsOK(ecode3
)) {
31034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31036 arg3
= static_cast< int >(val3
);
31039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31040 if (!SWIG_IsOK(ecode4
)) {
31041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31043 arg4
= static_cast< int >(val4
);
31046 if (!wxPyCheckForApp()) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31049 wxPyEndAllowThreads(__tstate
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31059 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31060 PyObject
*resultobj
= 0;
31061 wxImageList
*arg1
= (wxImageList
*) 0 ;
31064 PyObject
*swig_obj
[1] ;
31066 if (!args
) SWIG_fail
;
31067 swig_obj
[0] = args
;
31068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31069 if (!SWIG_IsOK(res1
)) {
31070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31072 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= SWIG_Py_Void();
31087 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
= 0;
31089 wxImageList
*arg1
= (wxImageList
*) 0 ;
31090 wxBitmap
*arg2
= 0 ;
31091 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31092 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 PyObject
* obj2
= 0 ;
31103 char * kwnames
[] = {
31104 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31109 if (!SWIG_IsOK(res1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31112 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31114 if (!SWIG_IsOK(res2
)) {
31115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31120 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31122 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31123 if (!SWIG_IsOK(res3
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31129 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_From_int(static_cast< int >(result
));
31144 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
= 0;
31146 wxImageList
*arg1
= (wxImageList
*) 0 ;
31147 wxBitmap
*arg2
= 0 ;
31148 wxColour
*arg3
= 0 ;
31155 PyObject
* obj0
= 0 ;
31156 PyObject
* obj1
= 0 ;
31157 PyObject
* obj2
= 0 ;
31158 char * kwnames
[] = {
31159 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31167 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31169 if (!SWIG_IsOK(res2
)) {
31170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31175 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31178 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= SWIG_From_int(static_cast< int >(result
));
31193 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
= 0;
31195 wxImageList
*arg1
= (wxImageList
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char * kwnames
[] = {
31205 (char *) "self",(char *) "icon", NULL
31208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31210 if (!SWIG_IsOK(res1
)) {
31211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31213 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31215 if (!SWIG_IsOK(res2
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31221 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= SWIG_From_int(static_cast< int >(result
));
31235 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
= 0;
31237 wxImageList
*arg1
= (wxImageList
*) 0 ;
31239 SwigValueWrapper
<wxBitmap
> result
;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char * kwnames
[] = {
31247 (char *) "self",(char *) "index", NULL
31250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31252 if (!SWIG_IsOK(res1
)) {
31253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31255 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31257 if (!SWIG_IsOK(ecode2
)) {
31258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31260 arg2
= static_cast< int >(val2
);
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31274 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31275 PyObject
*resultobj
= 0;
31276 wxImageList
*arg1
= (wxImageList
*) 0 ;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 char * kwnames
[] = {
31286 (char *) "self",(char *) "index", NULL
31289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31291 if (!SWIG_IsOK(res1
)) {
31292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31294 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31296 if (!SWIG_IsOK(ecode2
)) {
31297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31299 arg2
= static_cast< int >(val2
);
31301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31302 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31313 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
= 0;
31315 wxImageList
*arg1
= (wxImageList
*) 0 ;
31317 wxBitmap
*arg3
= 0 ;
31318 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31319 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31329 PyObject
* obj0
= 0 ;
31330 PyObject
* obj1
= 0 ;
31331 PyObject
* obj2
= 0 ;
31332 PyObject
* obj3
= 0 ;
31333 char * kwnames
[] = {
31334 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31339 if (!SWIG_IsOK(res1
)) {
31340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31342 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31344 if (!SWIG_IsOK(ecode2
)) {
31345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31347 arg2
= static_cast< int >(val2
);
31348 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31349 if (!SWIG_IsOK(res3
)) {
31350 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31355 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31357 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31358 if (!SWIG_IsOK(res4
)) {
31359 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31364 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31381 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxImageList
*arg1
= (wxImageList
*) 0 ;
31388 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31389 bool arg7
= (bool) (bool)false ;
31405 PyObject
* obj0
= 0 ;
31406 PyObject
* obj1
= 0 ;
31407 PyObject
* obj2
= 0 ;
31408 PyObject
* obj3
= 0 ;
31409 PyObject
* obj4
= 0 ;
31410 PyObject
* obj5
= 0 ;
31411 PyObject
* obj6
= 0 ;
31412 char * kwnames
[] = {
31413 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31418 if (!SWIG_IsOK(res1
)) {
31419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31421 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31423 if (!SWIG_IsOK(ecode2
)) {
31424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31426 arg2
= static_cast< int >(val2
);
31427 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31428 if (!SWIG_IsOK(res3
)) {
31429 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31434 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31436 if (!SWIG_IsOK(ecode4
)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31439 arg4
= static_cast< int >(val4
);
31440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31441 if (!SWIG_IsOK(ecode5
)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31444 arg5
= static_cast< int >(val5
);
31446 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31447 if (!SWIG_IsOK(ecode6
)) {
31448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31450 arg6
= static_cast< int >(val6
);
31453 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31454 if (!SWIG_IsOK(ecode7
)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31457 arg7
= static_cast< bool >(val7
);
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31474 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31475 PyObject
*resultobj
= 0;
31476 wxImageList
*arg1
= (wxImageList
*) 0 ;
31480 PyObject
*swig_obj
[1] ;
31482 if (!args
) SWIG_fail
;
31483 swig_obj
[0] = args
;
31484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31485 if (!SWIG_IsOK(res1
)) {
31486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31488 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 result
= (int)(arg1
)->GetImageCount();
31492 wxPyEndAllowThreads(__tstate
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31495 resultobj
= SWIG_From_int(static_cast< int >(result
));
31502 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
= 0;
31504 wxImageList
*arg1
= (wxImageList
*) 0 ;
31511 PyObject
* obj0
= 0 ;
31512 PyObject
* obj1
= 0 ;
31513 char * kwnames
[] = {
31514 (char *) "self",(char *) "index", NULL
31517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31519 if (!SWIG_IsOK(res1
)) {
31520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31522 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31524 if (!SWIG_IsOK(ecode2
)) {
31525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31527 arg2
= static_cast< int >(val2
);
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 result
= (bool)(arg1
)->Remove(arg2
);
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31543 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31544 PyObject
*resultobj
= 0;
31545 wxImageList
*arg1
= (wxImageList
*) 0 ;
31549 PyObject
*swig_obj
[1] ;
31551 if (!args
) SWIG_fail
;
31552 swig_obj
[0] = args
;
31553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31554 if (!SWIG_IsOK(res1
)) {
31555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31557 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31560 result
= (bool)(arg1
)->RemoveAll();
31561 wxPyEndAllowThreads(__tstate
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31573 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
= 0;
31575 wxImageList
*arg1
= (wxImageList
*) 0 ;
31584 int res3
= SWIG_TMPOBJ
;
31586 int res4
= SWIG_TMPOBJ
;
31587 PyObject
* obj0
= 0 ;
31588 PyObject
* obj1
= 0 ;
31589 char * kwnames
[] = {
31590 (char *) "self",(char *) "index", NULL
31595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31597 if (!SWIG_IsOK(res1
)) {
31598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31600 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31602 if (!SWIG_IsOK(ecode2
)) {
31603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31605 arg2
= static_cast< int >(val2
);
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31609 wxPyEndAllowThreads(__tstate
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31612 resultobj
= SWIG_Py_Void();
31613 if (SWIG_IsTmpObj(res3
)) {
31614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31616 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31619 if (SWIG_IsTmpObj(res4
)) {
31620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31622 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31631 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31634 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31635 return SWIG_Py_Void();
31638 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31639 return SWIG_Python_InitShadowInstance(args
);
31642 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31643 PyObject
*resultobj
= 0;
31644 wxStockGDI
*result
= 0 ;
31646 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 result
= (wxStockGDI
*)new wxStockGDI();
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31660 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31661 PyObject
*resultobj
= 0;
31662 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31665 PyObject
*swig_obj
[1] ;
31667 if (!args
) SWIG_fail
;
31668 swig_obj
[0] = args
;
31669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31670 if (!SWIG_IsOK(res1
)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31673 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= SWIG_Py_Void();
31688 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31689 PyObject
*resultobj
= 0;
31691 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 wxStockGDI::DeleteAll();
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_Py_Void();
31705 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31706 PyObject
*resultobj
= 0;
31707 wxStockGDI
*result
= 0 ;
31709 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31714 result
= (wxStockGDI
*) &_result_ref
;
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31726 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= 0;
31728 wxStockGDI::Item arg1
;
31729 wxBrush
*result
= 0 ;
31732 PyObject
* obj0
= 0 ;
31733 char * kwnames
[] = {
31734 (char *) "item", NULL
31737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31738 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31739 if (!SWIG_IsOK(ecode1
)) {
31740 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31742 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31745 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31756 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31757 PyObject
*resultobj
= 0;
31758 wxStockGDI::Item arg1
;
31759 wxColour
*result
= 0 ;
31762 PyObject
* obj0
= 0 ;
31763 char * kwnames
[] = {
31764 (char *) "item", NULL
31767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31769 if (!SWIG_IsOK(ecode1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31772 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31786 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
= 0;
31788 wxStockGDI::Item arg1
;
31789 wxCursor
*result
= 0 ;
31792 PyObject
* obj0
= 0 ;
31793 char * kwnames
[] = {
31794 (char *) "item", NULL
31797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31798 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31799 if (!SWIG_IsOK(ecode1
)) {
31800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31802 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31816 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
= 0;
31818 wxStockGDI::Item arg1
;
31819 wxPen
*result
= 0 ;
31822 PyObject
* obj0
= 0 ;
31823 char * kwnames
[] = {
31824 (char *) "item", NULL
31827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31828 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31829 if (!SWIG_IsOK(ecode1
)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31832 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31846 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31847 PyObject
*resultobj
= 0;
31848 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31849 wxStockGDI::Item arg2
;
31850 wxFont
*result
= 0 ;
31855 PyObject
* obj0
= 0 ;
31856 PyObject
* obj1
= 0 ;
31857 char * kwnames
[] = {
31858 (char *) "self",(char *) "item", NULL
31861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31863 if (!SWIG_IsOK(res1
)) {
31864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31866 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31868 if (!SWIG_IsOK(ecode2
)) {
31869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31871 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31875 wxPyEndAllowThreads(__tstate
);
31876 if (PyErr_Occurred()) SWIG_fail
;
31878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31885 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31888 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31889 return SWIG_Py_Void();
31892 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31893 return SWIG_Python_InitShadowInstance(args
);
31896 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31897 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31902 SWIGINTERN PyObject
*NullBitmap_get(void) {
31903 PyObject
*pyobj
= 0;
31905 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31910 SWIGINTERN
int NullIcon_set(PyObject
*) {
31911 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31916 SWIGINTERN PyObject
*NullIcon_get(void) {
31917 PyObject
*pyobj
= 0;
31919 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31924 SWIGINTERN
int NullCursor_set(PyObject
*) {
31925 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31930 SWIGINTERN PyObject
*NullCursor_get(void) {
31931 PyObject
*pyobj
= 0;
31933 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31938 SWIGINTERN
int NullPen_set(PyObject
*) {
31939 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31944 SWIGINTERN PyObject
*NullPen_get(void) {
31945 PyObject
*pyobj
= 0;
31947 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31952 SWIGINTERN
int NullBrush_set(PyObject
*) {
31953 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31958 SWIGINTERN PyObject
*NullBrush_get(void) {
31959 PyObject
*pyobj
= 0;
31961 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31966 SWIGINTERN
int NullPalette_set(PyObject
*) {
31967 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31972 SWIGINTERN PyObject
*NullPalette_get(void) {
31973 PyObject
*pyobj
= 0;
31975 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31980 SWIGINTERN
int NullFont_set(PyObject
*) {
31981 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31986 SWIGINTERN PyObject
*NullFont_get(void) {
31987 PyObject
*pyobj
= 0;
31989 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31994 SWIGINTERN
int NullColour_set(PyObject
*) {
31995 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32000 SWIGINTERN PyObject
*NullColour_get(void) {
32001 PyObject
*pyobj
= 0;
32003 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32008 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32009 PyObject
*resultobj
= 0;
32010 wxGDIObjListBase
*result
= 0 ;
32012 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32026 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32027 PyObject
*resultobj
= 0;
32028 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32031 PyObject
*swig_obj
[1] ;
32033 if (!args
) SWIG_fail
;
32034 swig_obj
[0] = args
;
32035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32036 if (!SWIG_IsOK(res1
)) {
32037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32039 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 wxPyEndAllowThreads(__tstate
);
32045 if (PyErr_Occurred()) SWIG_fail
;
32047 resultobj
= SWIG_Py_Void();
32054 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32057 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32058 return SWIG_Py_Void();
32061 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32062 return SWIG_Python_InitShadowInstance(args
);
32065 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32066 PyObject
*resultobj
= 0;
32067 wxPenList
*arg1
= (wxPenList
*) 0 ;
32068 wxColour
*arg2
= 0 ;
32071 wxPen
*result
= 0 ;
32079 PyObject
* obj0
= 0 ;
32080 PyObject
* obj1
= 0 ;
32081 PyObject
* obj2
= 0 ;
32082 PyObject
* obj3
= 0 ;
32083 char * kwnames
[] = {
32084 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32089 if (!SWIG_IsOK(res1
)) {
32090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32092 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32098 if (!SWIG_IsOK(ecode3
)) {
32099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32101 arg3
= static_cast< int >(val3
);
32102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32103 if (!SWIG_IsOK(ecode4
)) {
32104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32106 arg4
= static_cast< int >(val4
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32120 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
= 0;
32122 wxPenList
*arg1
= (wxPenList
*) 0 ;
32123 wxPen
*arg2
= (wxPen
*) 0 ;
32128 PyObject
* obj0
= 0 ;
32129 PyObject
* obj1
= 0 ;
32130 char * kwnames
[] = {
32131 (char *) "self",(char *) "pen", NULL
32134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32136 if (!SWIG_IsOK(res1
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32139 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32141 if (!SWIG_IsOK(res2
)) {
32142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32144 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 (arg1
)->AddPen(arg2
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_Py_Void();
32158 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
= 0;
32160 wxPenList
*arg1
= (wxPenList
*) 0 ;
32161 wxPen
*arg2
= (wxPen
*) 0 ;
32166 PyObject
* obj0
= 0 ;
32167 PyObject
* obj1
= 0 ;
32168 char * kwnames
[] = {
32169 (char *) "self",(char *) "pen", NULL
32172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32174 if (!SWIG_IsOK(res1
)) {
32175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32177 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32179 if (!SWIG_IsOK(res2
)) {
32180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32182 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32185 (arg1
)->RemovePen(arg2
);
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32189 resultobj
= SWIG_Py_Void();
32196 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32200 return SWIG_Py_Void();
32203 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32204 PyObject
*resultobj
= 0;
32205 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32206 wxColour
*arg2
= 0 ;
32207 int arg3
= (int) wxSOLID
;
32208 wxBrush
*result
= 0 ;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 PyObject
* obj2
= 0 ;
32217 char * kwnames
[] = {
32218 (char *) "self",(char *) "colour",(char *) "style", NULL
32221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32226 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32229 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32233 if (!SWIG_IsOK(ecode3
)) {
32234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32236 arg3
= static_cast< int >(val3
);
32239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32240 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32241 wxPyEndAllowThreads(__tstate
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32251 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
= 0;
32253 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32254 wxBrush
*arg2
= (wxBrush
*) 0 ;
32259 PyObject
* obj0
= 0 ;
32260 PyObject
* obj1
= 0 ;
32261 char * kwnames
[] = {
32262 (char *) "self",(char *) "brush", NULL
32265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32267 if (!SWIG_IsOK(res1
)) {
32268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32270 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32272 if (!SWIG_IsOK(res2
)) {
32273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32275 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 (arg1
)->AddBrush(arg2
);
32279 wxPyEndAllowThreads(__tstate
);
32280 if (PyErr_Occurred()) SWIG_fail
;
32282 resultobj
= SWIG_Py_Void();
32289 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
= 0;
32291 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32292 wxBrush
*arg2
= (wxBrush
*) 0 ;
32297 PyObject
* obj0
= 0 ;
32298 PyObject
* obj1
= 0 ;
32299 char * kwnames
[] = {
32300 (char *) "self",(char *) "brush", NULL
32303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32305 if (!SWIG_IsOK(res1
)) {
32306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32308 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32310 if (!SWIG_IsOK(res2
)) {
32311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32313 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 (arg1
)->RemoveBrush(arg2
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= SWIG_Py_Void();
32327 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32330 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32331 return SWIG_Py_Void();
32334 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
= 0;
32336 wxFontList
*arg1
= (wxFontList
*) 0 ;
32341 bool arg6
= (bool) false ;
32342 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32343 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32344 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32345 wxFont
*result
= 0 ;
32358 bool temp7
= false ;
32361 PyObject
* obj0
= 0 ;
32362 PyObject
* obj1
= 0 ;
32363 PyObject
* obj2
= 0 ;
32364 PyObject
* obj3
= 0 ;
32365 PyObject
* obj4
= 0 ;
32366 PyObject
* obj5
= 0 ;
32367 PyObject
* obj6
= 0 ;
32368 PyObject
* obj7
= 0 ;
32369 char * kwnames
[] = {
32370 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32375 if (!SWIG_IsOK(res1
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32378 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32380 if (!SWIG_IsOK(ecode2
)) {
32381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32383 arg2
= static_cast< int >(val2
);
32384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32385 if (!SWIG_IsOK(ecode3
)) {
32386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32388 arg3
= static_cast< int >(val3
);
32389 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32390 if (!SWIG_IsOK(ecode4
)) {
32391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32393 arg4
= static_cast< int >(val4
);
32394 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32395 if (!SWIG_IsOK(ecode5
)) {
32396 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32398 arg5
= static_cast< int >(val5
);
32400 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32401 if (!SWIG_IsOK(ecode6
)) {
32402 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32404 arg6
= static_cast< bool >(val6
);
32408 arg7
= wxString_in_helper(obj6
);
32409 if (arg7
== NULL
) SWIG_fail
;
32414 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32415 if (!SWIG_IsOK(ecode8
)) {
32416 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32418 arg8
= static_cast< wxFontEncoding
>(val8
);
32421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32422 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32441 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
= 0;
32443 wxFontList
*arg1
= (wxFontList
*) 0 ;
32444 wxFont
*arg2
= (wxFont
*) 0 ;
32449 PyObject
* obj0
= 0 ;
32450 PyObject
* obj1
= 0 ;
32451 char * kwnames
[] = {
32452 (char *) "self",(char *) "font", NULL
32455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32457 if (!SWIG_IsOK(res1
)) {
32458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32460 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32462 if (!SWIG_IsOK(res2
)) {
32463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32465 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 (arg1
)->AddFont(arg2
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32472 resultobj
= SWIG_Py_Void();
32479 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32480 PyObject
*resultobj
= 0;
32481 wxFontList
*arg1
= (wxFontList
*) 0 ;
32482 wxFont
*arg2
= (wxFont
*) 0 ;
32487 PyObject
* obj0
= 0 ;
32488 PyObject
* obj1
= 0 ;
32489 char * kwnames
[] = {
32490 (char *) "self",(char *) "font", NULL
32493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32495 if (!SWIG_IsOK(res1
)) {
32496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32498 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32500 if (!SWIG_IsOK(res2
)) {
32501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32503 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32506 (arg1
)->RemoveFont(arg2
);
32507 wxPyEndAllowThreads(__tstate
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32510 resultobj
= SWIG_Py_Void();
32517 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32520 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32521 return SWIG_Py_Void();
32524 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32525 PyObject
*resultobj
= 0;
32526 wxColourDatabase
*result
= 0 ;
32528 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32530 if (!wxPyCheckForApp()) SWIG_fail
;
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 result
= (wxColourDatabase
*)new wxColourDatabase();
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32543 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32544 PyObject
*resultobj
= 0;
32545 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32548 PyObject
*swig_obj
[1] ;
32550 if (!args
) SWIG_fail
;
32551 swig_obj
[0] = args
;
32552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32553 if (!SWIG_IsOK(res1
)) {
32554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32556 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= SWIG_Py_Void();
32571 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
= 0;
32573 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32574 wxString
*arg2
= 0 ;
32578 bool temp2
= false ;
32579 PyObject
* obj0
= 0 ;
32580 PyObject
* obj1
= 0 ;
32581 char * kwnames
[] = {
32582 (char *) "self",(char *) "name", NULL
32585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) 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_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32590 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32592 arg2
= wxString_in_helper(obj1
);
32593 if (arg2
== NULL
) SWIG_fail
;
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32617 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
= 0;
32619 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32620 wxColour
*arg2
= 0 ;
32625 PyObject
* obj0
= 0 ;
32626 PyObject
* obj1
= 0 ;
32627 char * kwnames
[] = {
32628 (char *) "self",(char *) "colour", NULL
32631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32633 if (!SWIG_IsOK(res1
)) {
32634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32636 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32644 wxPyEndAllowThreads(__tstate
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32660 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
= 0;
32662 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32663 wxString
*arg2
= 0 ;
32664 wxColour
*arg3
= 0 ;
32667 bool temp2
= false ;
32669 PyObject
* obj0
= 0 ;
32670 PyObject
* obj1
= 0 ;
32671 PyObject
* obj2
= 0 ;
32672 char * kwnames
[] = {
32673 (char *) "self",(char *) "name",(char *) "colour", NULL
32676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32681 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32683 arg2
= wxString_in_helper(obj1
);
32684 if (arg2
== NULL
) SWIG_fail
;
32689 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_Py_Void();
32712 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
= 0;
32714 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32715 wxString
*arg2
= 0 ;
32721 bool temp2
= false ;
32728 PyObject
* obj0
= 0 ;
32729 PyObject
* obj1
= 0 ;
32730 PyObject
* obj2
= 0 ;
32731 PyObject
* obj3
= 0 ;
32732 PyObject
* obj4
= 0 ;
32733 char * kwnames
[] = {
32734 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32739 if (!SWIG_IsOK(res1
)) {
32740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32742 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32744 arg2
= wxString_in_helper(obj1
);
32745 if (arg2
== NULL
) SWIG_fail
;
32748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32749 if (!SWIG_IsOK(ecode3
)) {
32750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32752 arg3
= static_cast< int >(val3
);
32753 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32754 if (!SWIG_IsOK(ecode4
)) {
32755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32757 arg4
= static_cast< int >(val4
);
32758 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32759 if (!SWIG_IsOK(ecode5
)) {
32760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32762 arg5
= static_cast< int >(val5
);
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32769 resultobj
= SWIG_Py_Void();
32784 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32787 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32788 return SWIG_Py_Void();
32791 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32792 return SWIG_Python_InitShadowInstance(args
);
32795 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32796 PyObject
*resultobj
= 0;
32797 wxFontList
*result
= 0 ;
32799 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 result
= (wxFontList
*)_wxPyInitTheFontList();
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32813 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32814 PyObject
*resultobj
= 0;
32815 wxPenList
*result
= 0 ;
32817 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= (wxPenList
*)_wxPyInitThePenList();
32821 wxPyEndAllowThreads(__tstate
);
32822 if (PyErr_Occurred()) SWIG_fail
;
32824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32831 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32832 PyObject
*resultobj
= 0;
32833 wxBrushList
*result
= 0 ;
32835 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32849 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32850 PyObject
*resultobj
= 0;
32851 wxColourDatabase
*result
= 0 ;
32853 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32867 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32868 PyObject
*resultobj
= 0;
32869 wxEffects
*result
= 0 ;
32871 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 result
= (wxEffects
*)new wxEffects();
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32885 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32886 PyObject
*resultobj
= 0;
32887 wxEffects
*arg1
= (wxEffects
*) 0 ;
32891 PyObject
*swig_obj
[1] ;
32893 if (!args
) SWIG_fail
;
32894 swig_obj
[0] = args
;
32895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32896 if (!SWIG_IsOK(res1
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32899 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32913 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32914 PyObject
*resultobj
= 0;
32915 wxEffects
*arg1
= (wxEffects
*) 0 ;
32919 PyObject
*swig_obj
[1] ;
32921 if (!args
) SWIG_fail
;
32922 swig_obj
[0] = args
;
32923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32924 if (!SWIG_IsOK(res1
)) {
32925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32927 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32941 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32942 PyObject
*resultobj
= 0;
32943 wxEffects
*arg1
= (wxEffects
*) 0 ;
32947 PyObject
*swig_obj
[1] ;
32949 if (!args
) SWIG_fail
;
32950 swig_obj
[0] = args
;
32951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32952 if (!SWIG_IsOK(res1
)) {
32953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32955 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32969 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32970 PyObject
*resultobj
= 0;
32971 wxEffects
*arg1
= (wxEffects
*) 0 ;
32975 PyObject
*swig_obj
[1] ;
32977 if (!args
) SWIG_fail
;
32978 swig_obj
[0] = args
;
32979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32980 if (!SWIG_IsOK(res1
)) {
32981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32983 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32990 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32997 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32998 PyObject
*resultobj
= 0;
32999 wxEffects
*arg1
= (wxEffects
*) 0 ;
33003 PyObject
*swig_obj
[1] ;
33005 if (!args
) SWIG_fail
;
33006 swig_obj
[0] = args
;
33007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33008 if (!SWIG_IsOK(res1
)) {
33009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33011 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33015 wxPyEndAllowThreads(__tstate
);
33016 if (PyErr_Occurred()) SWIG_fail
;
33018 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33025 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33026 PyObject
*resultobj
= 0;
33027 wxEffects
*arg1
= (wxEffects
*) 0 ;
33028 wxColour
*arg2
= 0 ;
33032 PyObject
* obj0
= 0 ;
33033 PyObject
* obj1
= 0 ;
33034 char * kwnames
[] = {
33035 (char *) "self",(char *) "c", NULL
33038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33040 if (!SWIG_IsOK(res1
)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33043 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33054 resultobj
= SWIG_Py_Void();
33061 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
= 0;
33063 wxEffects
*arg1
= (wxEffects
*) 0 ;
33064 wxColour
*arg2
= 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 char * kwnames
[] = {
33071 (char *) "self",(char *) "c", NULL
33074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33076 if (!SWIG_IsOK(res1
)) {
33077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33079 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= SWIG_Py_Void();
33097 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
= 0;
33099 wxEffects
*arg1
= (wxEffects
*) 0 ;
33100 wxColour
*arg2
= 0 ;
33104 PyObject
* obj0
= 0 ;
33105 PyObject
* obj1
= 0 ;
33106 char * kwnames
[] = {
33107 (char *) "self",(char *) "c", NULL
33110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33112 if (!SWIG_IsOK(res1
)) {
33113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33115 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33122 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33123 wxPyEndAllowThreads(__tstate
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= SWIG_Py_Void();
33133 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
= 0;
33135 wxEffects
*arg1
= (wxEffects
*) 0 ;
33136 wxColour
*arg2
= 0 ;
33140 PyObject
* obj0
= 0 ;
33141 PyObject
* obj1
= 0 ;
33142 char * kwnames
[] = {
33143 (char *) "self",(char *) "c", NULL
33146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33148 if (!SWIG_IsOK(res1
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33151 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= SWIG_Py_Void();
33169 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33170 PyObject
*resultobj
= 0;
33171 wxEffects
*arg1
= (wxEffects
*) 0 ;
33172 wxColour
*arg2
= 0 ;
33176 PyObject
* obj0
= 0 ;
33177 PyObject
* obj1
= 0 ;
33178 char * kwnames
[] = {
33179 (char *) "self",(char *) "c", NULL
33182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33184 if (!SWIG_IsOK(res1
)) {
33185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33187 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33195 wxPyEndAllowThreads(__tstate
);
33196 if (PyErr_Occurred()) SWIG_fail
;
33198 resultobj
= SWIG_Py_Void();
33205 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33206 PyObject
*resultobj
= 0;
33207 wxEffects
*arg1
= (wxEffects
*) 0 ;
33208 wxColour
*arg2
= 0 ;
33209 wxColour
*arg3
= 0 ;
33210 wxColour
*arg4
= 0 ;
33211 wxColour
*arg5
= 0 ;
33212 wxColour
*arg6
= 0 ;
33220 PyObject
* obj0
= 0 ;
33221 PyObject
* obj1
= 0 ;
33222 PyObject
* obj2
= 0 ;
33223 PyObject
* obj3
= 0 ;
33224 PyObject
* obj4
= 0 ;
33225 PyObject
* obj5
= 0 ;
33226 char * kwnames
[] = {
33227 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33232 if (!SWIG_IsOK(res1
)) {
33233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33235 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33238 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33242 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33246 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33250 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33254 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33258 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= SWIG_Py_Void();
33269 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33270 PyObject
*resultobj
= 0;
33271 wxEffects
*arg1
= (wxEffects
*) 0 ;
33274 int arg4
= (int) 1 ;
33282 PyObject
* obj0
= 0 ;
33283 PyObject
* obj1
= 0 ;
33284 PyObject
* obj2
= 0 ;
33285 PyObject
* obj3
= 0 ;
33286 char * kwnames
[] = {
33287 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33292 if (!SWIG_IsOK(res1
)) {
33293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33295 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33297 if (!SWIG_IsOK(res2
)) {
33298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33303 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33306 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33310 if (!SWIG_IsOK(ecode4
)) {
33311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33313 arg4
= static_cast< int >(val4
);
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_Py_Void();
33328 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33329 PyObject
*resultobj
= 0;
33330 wxEffects
*arg1
= (wxEffects
*) 0 ;
33333 wxBitmap
*arg4
= 0 ;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 PyObject
* obj2
= 0 ;
33345 PyObject
* obj3
= 0 ;
33346 char * kwnames
[] = {
33347 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33352 if (!SWIG_IsOK(res1
)) {
33353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33355 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33358 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33360 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33361 if (!SWIG_IsOK(res3
)) {
33362 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33367 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33368 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33369 if (!SWIG_IsOK(res4
)) {
33370 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33375 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33391 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33394 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33395 return SWIG_Py_Void();
33398 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33399 return SWIG_Python_InitShadowInstance(args
);
33402 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
= 0;
33407 wxSplitterRenderParams
*result
= 0 ;
33414 PyObject
* obj0
= 0 ;
33415 PyObject
* obj1
= 0 ;
33416 PyObject
* obj2
= 0 ;
33417 char * kwnames
[] = {
33418 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33423 if (!SWIG_IsOK(ecode1
)) {
33424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33426 arg1
= static_cast< int >(val1
);
33427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33428 if (!SWIG_IsOK(ecode2
)) {
33429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33431 arg2
= static_cast< int >(val2
);
33432 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33433 if (!SWIG_IsOK(ecode3
)) {
33434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33436 arg3
= static_cast< bool >(val3
);
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33450 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33451 PyObject
*resultobj
= 0;
33452 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33455 PyObject
*swig_obj
[1] ;
33457 if (!args
) SWIG_fail
;
33458 swig_obj
[0] = args
;
33459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33460 if (!SWIG_IsOK(res1
)) {
33461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33463 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33468 wxPyEndAllowThreads(__tstate
);
33469 if (PyErr_Occurred()) SWIG_fail
;
33471 resultobj
= SWIG_Py_Void();
33478 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33479 PyObject
*resultobj
= 0;
33480 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33484 PyObject
*swig_obj
[1] ;
33486 if (!args
) SWIG_fail
;
33487 swig_obj
[0] = args
;
33488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33489 if (!SWIG_IsOK(res1
)) {
33490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33492 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33493 result
= (int)(int) ((arg1
)->widthSash
);
33494 resultobj
= SWIG_From_int(static_cast< int >(result
));
33501 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33502 PyObject
*resultobj
= 0;
33503 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33507 PyObject
*swig_obj
[1] ;
33509 if (!args
) SWIG_fail
;
33510 swig_obj
[0] = args
;
33511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33512 if (!SWIG_IsOK(res1
)) {
33513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33515 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33516 result
= (int)(int) ((arg1
)->border
);
33517 resultobj
= SWIG_From_int(static_cast< int >(result
));
33524 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33525 PyObject
*resultobj
= 0;
33526 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33530 PyObject
*swig_obj
[1] ;
33532 if (!args
) SWIG_fail
;
33533 swig_obj
[0] = args
;
33534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33535 if (!SWIG_IsOK(res1
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33538 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33539 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33540 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33547 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33550 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33551 return SWIG_Py_Void();
33554 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33555 return SWIG_Python_InitShadowInstance(args
);
33558 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33559 PyObject
*resultobj
= 0;
33560 wxHeaderButtonParams
*result
= 0 ;
33562 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33566 wxPyEndAllowThreads(__tstate
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33576 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33577 PyObject
*resultobj
= 0;
33578 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33581 PyObject
*swig_obj
[1] ;
33583 if (!args
) SWIG_fail
;
33584 swig_obj
[0] = args
;
33585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33586 if (!SWIG_IsOK(res1
)) {
33587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33589 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= SWIG_Py_Void();
33604 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33605 PyObject
*resultobj
= 0;
33606 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33607 wxColour
*arg2
= (wxColour
*) 0 ;
33611 PyObject
*swig_obj
[2] ;
33613 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33615 if (!SWIG_IsOK(res1
)) {
33616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33618 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33621 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33623 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33625 resultobj
= SWIG_Py_Void();
33632 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33633 PyObject
*resultobj
= 0;
33634 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33635 wxColour
*result
= 0 ;
33638 PyObject
*swig_obj
[1] ;
33640 if (!args
) SWIG_fail
;
33641 swig_obj
[0] = args
;
33642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33643 if (!SWIG_IsOK(res1
)) {
33644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33646 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33647 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33655 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33656 PyObject
*resultobj
= 0;
33657 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33658 wxColour
*arg2
= (wxColour
*) 0 ;
33662 PyObject
*swig_obj
[2] ;
33664 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33669 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33672 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33674 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33676 resultobj
= SWIG_Py_Void();
33683 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33684 PyObject
*resultobj
= 0;
33685 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33686 wxColour
*result
= 0 ;
33689 PyObject
*swig_obj
[1] ;
33691 if (!args
) SWIG_fail
;
33692 swig_obj
[0] = args
;
33693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33694 if (!SWIG_IsOK(res1
)) {
33695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33697 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33698 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33706 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33707 PyObject
*resultobj
= 0;
33708 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33709 wxString
*arg2
= (wxString
*) 0 ;
33712 bool temp2
= false ;
33713 PyObject
*swig_obj
[2] ;
33715 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33717 if (!SWIG_IsOK(res1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33720 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33722 arg2
= wxString_in_helper(swig_obj
[1]);
33723 if (arg2
== NULL
) SWIG_fail
;
33726 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33728 resultobj
= SWIG_Py_Void();
33743 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33744 PyObject
*resultobj
= 0;
33745 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33746 wxString
*result
= 0 ;
33749 PyObject
*swig_obj
[1] ;
33751 if (!args
) SWIG_fail
;
33752 swig_obj
[0] = args
;
33753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33754 if (!SWIG_IsOK(res1
)) {
33755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33757 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33758 result
= (wxString
*)& ((arg1
)->m_labelText
);
33761 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33763 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33772 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33773 PyObject
*resultobj
= 0;
33774 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33775 wxFont
*arg2
= (wxFont
*) 0 ;
33780 PyObject
*swig_obj
[2] ;
33782 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33784 if (!SWIG_IsOK(res1
)) {
33785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33787 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33788 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33789 if (!SWIG_IsOK(res2
)) {
33790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33792 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33793 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33795 resultobj
= SWIG_Py_Void();
33802 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33803 PyObject
*resultobj
= 0;
33804 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33805 wxFont
*result
= 0 ;
33808 PyObject
*swig_obj
[1] ;
33810 if (!args
) SWIG_fail
;
33811 swig_obj
[0] = args
;
33812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33813 if (!SWIG_IsOK(res1
)) {
33814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33816 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33817 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33825 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33826 PyObject
*resultobj
= 0;
33827 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33828 wxColour
*arg2
= (wxColour
*) 0 ;
33832 PyObject
*swig_obj
[2] ;
33834 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33836 if (!SWIG_IsOK(res1
)) {
33837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33839 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33842 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33844 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33846 resultobj
= SWIG_Py_Void();
33853 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33854 PyObject
*resultobj
= 0;
33855 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33856 wxColour
*result
= 0 ;
33859 PyObject
*swig_obj
[1] ;
33861 if (!args
) SWIG_fail
;
33862 swig_obj
[0] = args
;
33863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33864 if (!SWIG_IsOK(res1
)) {
33865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33867 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33868 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33876 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33877 PyObject
*resultobj
= 0;
33878 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33879 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33884 PyObject
*swig_obj
[2] ;
33886 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33888 if (!SWIG_IsOK(res1
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33891 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33892 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33893 if (!SWIG_IsOK(res2
)) {
33894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33896 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33897 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33899 resultobj
= SWIG_Py_Void();
33906 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33907 PyObject
*resultobj
= 0;
33908 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33909 wxBitmap
*result
= 0 ;
33912 PyObject
*swig_obj
[1] ;
33914 if (!args
) SWIG_fail
;
33915 swig_obj
[0] = args
;
33916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33917 if (!SWIG_IsOK(res1
)) {
33918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33920 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33921 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33929 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33930 PyObject
*resultobj
= 0;
33931 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33937 PyObject
*swig_obj
[2] ;
33939 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33941 if (!SWIG_IsOK(res1
)) {
33942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33944 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33945 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33946 if (!SWIG_IsOK(ecode2
)) {
33947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33949 arg2
= static_cast< int >(val2
);
33950 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33952 resultobj
= SWIG_Py_Void();
33959 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33960 PyObject
*resultobj
= 0;
33961 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33965 PyObject
*swig_obj
[1] ;
33967 if (!args
) SWIG_fail
;
33968 swig_obj
[0] = args
;
33969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33970 if (!SWIG_IsOK(res1
)) {
33971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33973 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33974 result
= (int) ((arg1
)->m_labelAlignment
);
33975 resultobj
= SWIG_From_int(static_cast< int >(result
));
33982 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33985 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33986 return SWIG_Py_Void();
33989 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33990 return SWIG_Python_InitShadowInstance(args
);
33993 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
= 0;
33997 wxRendererVersion
*result
= 0 ;
34002 PyObject
* obj0
= 0 ;
34003 PyObject
* obj1
= 0 ;
34004 char * kwnames
[] = {
34005 (char *) "version_",(char *) "age_", NULL
34008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34010 if (!SWIG_IsOK(ecode1
)) {
34011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34013 arg1
= static_cast< int >(val1
);
34014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34015 if (!SWIG_IsOK(ecode2
)) {
34016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34018 arg2
= static_cast< int >(val2
);
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34032 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34033 PyObject
*resultobj
= 0;
34034 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34037 PyObject
*swig_obj
[1] ;
34039 if (!args
) SWIG_fail
;
34040 swig_obj
[0] = args
;
34041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34042 if (!SWIG_IsOK(res1
)) {
34043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34045 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= SWIG_Py_Void();
34060 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
= 0;
34062 wxRendererVersion
*arg1
= 0 ;
34066 PyObject
* obj0
= 0 ;
34067 char * kwnames
[] = {
34068 (char *) "ver", NULL
34071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34072 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34073 if (!SWIG_IsOK(res1
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34079 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34095 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34096 PyObject
*resultobj
= 0;
34097 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34101 PyObject
*swig_obj
[1] ;
34103 if (!args
) SWIG_fail
;
34104 swig_obj
[0] = args
;
34105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34106 if (!SWIG_IsOK(res1
)) {
34107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34109 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34110 result
= (int)(int) ((arg1
)->version
);
34111 resultobj
= SWIG_From_int(static_cast< int >(result
));
34118 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34119 PyObject
*resultobj
= 0;
34120 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34124 PyObject
*swig_obj
[1] ;
34126 if (!args
) SWIG_fail
;
34127 swig_obj
[0] = args
;
34128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34129 if (!SWIG_IsOK(res1
)) {
34130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34132 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34133 result
= (int)(int) ((arg1
)->age
);
34134 resultobj
= SWIG_From_int(static_cast< int >(result
));
34141 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34144 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34145 return SWIG_Py_Void();
34148 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34149 return SWIG_Python_InitShadowInstance(args
);
34152 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34153 PyObject
*resultobj
= 0;
34154 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34155 wxWindow
*arg2
= (wxWindow
*) 0 ;
34158 int arg5
= (int) 0 ;
34159 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34160 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34175 PyObject
* obj0
= 0 ;
34176 PyObject
* obj1
= 0 ;
34177 PyObject
* obj2
= 0 ;
34178 PyObject
* obj3
= 0 ;
34179 PyObject
* obj4
= 0 ;
34180 PyObject
* obj5
= 0 ;
34181 PyObject
* obj6
= 0 ;
34182 char * kwnames
[] = {
34183 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34191 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34193 if (!SWIG_IsOK(res2
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34197 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34198 if (!SWIG_IsOK(res3
)) {
34199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34204 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34207 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34211 if (!SWIG_IsOK(ecode5
)) {
34212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34214 arg5
= static_cast< int >(val5
);
34217 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34218 if (!SWIG_IsOK(ecode6
)) {
34219 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34221 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34224 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34225 if (!SWIG_IsOK(res7
)) {
34226 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34228 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34233 wxPyEndAllowThreads(__tstate
);
34234 if (PyErr_Occurred()) SWIG_fail
;
34236 resultobj
= SWIG_From_int(static_cast< int >(result
));
34243 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
= 0;
34245 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34246 wxWindow
*arg2
= (wxWindow
*) 0 ;
34249 int arg5
= (int) 0 ;
34250 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34251 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34266 PyObject
* obj0
= 0 ;
34267 PyObject
* obj1
= 0 ;
34268 PyObject
* obj2
= 0 ;
34269 PyObject
* obj3
= 0 ;
34270 PyObject
* obj4
= 0 ;
34271 PyObject
* obj5
= 0 ;
34272 PyObject
* obj6
= 0 ;
34273 char * kwnames
[] = {
34274 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34279 if (!SWIG_IsOK(res1
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34282 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34284 if (!SWIG_IsOK(res2
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34287 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34288 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34289 if (!SWIG_IsOK(res3
)) {
34290 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34295 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34298 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34302 if (!SWIG_IsOK(ecode5
)) {
34303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34305 arg5
= static_cast< int >(val5
);
34308 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34309 if (!SWIG_IsOK(ecode6
)) {
34310 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34312 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34315 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34316 if (!SWIG_IsOK(res7
)) {
34317 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34319 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 resultobj
= SWIG_From_int(static_cast< int >(result
));
34334 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
= 0;
34336 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34337 wxWindow
*arg2
= (wxWindow
*) 0 ;
34343 PyObject
* obj0
= 0 ;
34344 PyObject
* obj1
= 0 ;
34345 char * kwnames
[] = {
34346 (char *) "self",(char *) "win", NULL
34349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34351 if (!SWIG_IsOK(res1
)) {
34352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34354 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34356 if (!SWIG_IsOK(res2
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34359 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34362 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34363 wxPyEndAllowThreads(__tstate
);
34364 if (PyErr_Occurred()) SWIG_fail
;
34366 resultobj
= SWIG_From_int(static_cast< int >(result
));
34373 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34374 PyObject
*resultobj
= 0;
34375 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34376 wxWindow
*arg2
= (wxWindow
*) 0 ;
34379 int arg5
= (int) 0 ;
34389 PyObject
* obj0
= 0 ;
34390 PyObject
* obj1
= 0 ;
34391 PyObject
* obj2
= 0 ;
34392 PyObject
* obj3
= 0 ;
34393 PyObject
* obj4
= 0 ;
34394 char * kwnames
[] = {
34395 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34400 if (!SWIG_IsOK(res1
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34403 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34405 if (!SWIG_IsOK(res2
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34408 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34409 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34410 if (!SWIG_IsOK(res3
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34416 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34419 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34422 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34423 if (!SWIG_IsOK(ecode5
)) {
34424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34426 arg5
= static_cast< int >(val5
);
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34431 wxPyEndAllowThreads(__tstate
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34434 resultobj
= SWIG_Py_Void();
34441 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(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_DrawSplitterBorder",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_DrawSplitterBorder" "', 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_DrawSplitterBorder" "', 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_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', 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_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34494 arg5
= static_cast< int >(val5
);
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 (arg1
)->DrawSplitterBorder(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_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
= 0;
34511 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34512 wxWindow
*arg2
= (wxWindow
*) 0 ;
34516 wxOrientation arg6
;
34517 int arg7
= (int) 0 ;
34531 PyObject
* obj0
= 0 ;
34532 PyObject
* obj1
= 0 ;
34533 PyObject
* obj2
= 0 ;
34534 PyObject
* obj3
= 0 ;
34535 PyObject
* obj4
= 0 ;
34536 PyObject
* obj5
= 0 ;
34537 PyObject
* obj6
= 0 ;
34538 char * kwnames
[] = {
34539 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34544 if (!SWIG_IsOK(res1
)) {
34545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34547 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34549 if (!SWIG_IsOK(res2
)) {
34550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34552 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34553 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34554 if (!SWIG_IsOK(res3
)) {
34555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34560 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34563 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34566 if (!SWIG_IsOK(ecode5
)) {
34567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34569 arg5
= static_cast< int >(val5
);
34570 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34571 if (!SWIG_IsOK(ecode6
)) {
34572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34574 arg6
= static_cast< wxOrientation
>(val6
);
34576 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34577 if (!SWIG_IsOK(ecode7
)) {
34578 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34580 arg7
= static_cast< int >(val7
);
34583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34584 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34585 wxPyEndAllowThreads(__tstate
);
34586 if (PyErr_Occurred()) SWIG_fail
;
34588 resultobj
= SWIG_Py_Void();
34595 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34596 PyObject
*resultobj
= 0;
34597 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34598 wxWindow
*arg2
= (wxWindow
*) 0 ;
34601 int arg5
= (int) 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 PyObject
* obj2
= 0 ;
34614 PyObject
* obj3
= 0 ;
34615 PyObject
* obj4
= 0 ;
34616 char * kwnames
[] = {
34617 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34622 if (!SWIG_IsOK(res1
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34625 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34627 if (!SWIG_IsOK(res2
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34631 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34632 if (!SWIG_IsOK(res3
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34638 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34641 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34644 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34645 if (!SWIG_IsOK(ecode5
)) {
34646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34648 arg5
= static_cast< int >(val5
);
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= SWIG_Py_Void();
34663 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34664 PyObject
*resultobj
= 0;
34665 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34666 wxWindow
*arg2
= (wxWindow
*) 0 ;
34669 int arg5
= (int) 0 ;
34679 PyObject
* obj0
= 0 ;
34680 PyObject
* obj1
= 0 ;
34681 PyObject
* obj2
= 0 ;
34682 PyObject
* obj3
= 0 ;
34683 PyObject
* obj4
= 0 ;
34684 char * kwnames
[] = {
34685 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34690 if (!SWIG_IsOK(res1
)) {
34691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34693 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34695 if (!SWIG_IsOK(res2
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34698 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34699 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34700 if (!SWIG_IsOK(res3
)) {
34701 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34706 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34709 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34713 if (!SWIG_IsOK(ecode5
)) {
34714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34716 arg5
= static_cast< int >(val5
);
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34720 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34721 wxPyEndAllowThreads(__tstate
);
34722 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= SWIG_Py_Void();
34731 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
= 0;
34733 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34734 wxWindow
*arg2
= (wxWindow
*) 0 ;
34737 int arg5
= (int) 0 ;
34747 PyObject
* obj0
= 0 ;
34748 PyObject
* obj1
= 0 ;
34749 PyObject
* obj2
= 0 ;
34750 PyObject
* obj3
= 0 ;
34751 PyObject
* obj4
= 0 ;
34752 char * kwnames
[] = {
34753 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34758 if (!SWIG_IsOK(res1
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34761 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34763 if (!SWIG_IsOK(res2
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34766 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34767 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34768 if (!SWIG_IsOK(res3
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34774 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34777 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34780 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34781 if (!SWIG_IsOK(ecode5
)) {
34782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34784 arg5
= static_cast< int >(val5
);
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34789 wxPyEndAllowThreads(__tstate
);
34790 if (PyErr_Occurred()) SWIG_fail
;
34792 resultobj
= SWIG_Py_Void();
34799 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34800 PyObject
*resultobj
= 0;
34801 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34802 wxWindow
*arg2
= (wxWindow
*) 0 ;
34805 int arg5
= (int) 0 ;
34815 PyObject
* obj0
= 0 ;
34816 PyObject
* obj1
= 0 ;
34817 PyObject
* obj2
= 0 ;
34818 PyObject
* obj3
= 0 ;
34819 PyObject
* obj4
= 0 ;
34820 char * kwnames
[] = {
34821 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34826 if (!SWIG_IsOK(res1
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34829 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34831 if (!SWIG_IsOK(res2
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34835 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34836 if (!SWIG_IsOK(res3
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34842 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34845 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34848 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34849 if (!SWIG_IsOK(ecode5
)) {
34850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34852 arg5
= static_cast< int >(val5
);
34855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34856 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34857 wxPyEndAllowThreads(__tstate
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34860 resultobj
= SWIG_Py_Void();
34867 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34868 PyObject
*resultobj
= 0;
34869 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34870 wxWindow
*arg2
= (wxWindow
*) 0 ;
34873 int arg5
= (int) 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 PyObject
* obj2
= 0 ;
34886 PyObject
* obj3
= 0 ;
34887 PyObject
* obj4
= 0 ;
34888 char * kwnames
[] = {
34889 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34894 if (!SWIG_IsOK(res1
)) {
34895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34897 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34899 if (!SWIG_IsOK(res2
)) {
34900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34902 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34903 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34904 if (!SWIG_IsOK(res3
)) {
34905 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34910 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34913 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34916 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34917 if (!SWIG_IsOK(ecode5
)) {
34918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34920 arg5
= static_cast< int >(val5
);
34923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34924 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34925 wxPyEndAllowThreads(__tstate
);
34926 if (PyErr_Occurred()) SWIG_fail
;
34928 resultobj
= SWIG_Py_Void();
34935 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34936 PyObject
*resultobj
= 0;
34937 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34938 wxWindow
*arg2
= (wxWindow
*) 0 ;
34939 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34944 PyObject
* obj0
= 0 ;
34945 PyObject
* obj1
= 0 ;
34946 char * kwnames
[] = {
34947 (char *) "self",(char *) "win", NULL
34950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34952 if (!SWIG_IsOK(res1
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34955 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34957 if (!SWIG_IsOK(res2
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34974 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34975 PyObject
*resultobj
= 0;
34976 wxRendererNative
*result
= 0 ;
34978 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34980 if (!wxPyCheckForApp()) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34984 result
= (wxRendererNative
*) &_result_ref
;
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34996 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34997 PyObject
*resultobj
= 0;
34998 wxRendererNative
*result
= 0 ;
35000 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35002 if (!wxPyCheckForApp()) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35005 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35006 result
= (wxRendererNative
*) &_result_ref
;
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35018 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35019 PyObject
*resultobj
= 0;
35020 wxRendererNative
*result
= 0 ;
35022 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35024 if (!wxPyCheckForApp()) SWIG_fail
;
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35028 result
= (wxRendererNative
*) &_result_ref
;
35030 wxPyEndAllowThreads(__tstate
);
35031 if (PyErr_Occurred()) SWIG_fail
;
35033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35040 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35041 PyObject
*resultobj
= 0;
35042 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35043 wxRendererNative
*result
= 0 ;
35046 PyObject
* obj0
= 0 ;
35047 char * kwnames
[] = {
35048 (char *) "renderer", NULL
35051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35056 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35058 if (!wxPyCheckForApp()) SWIG_fail
;
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35060 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35061 wxPyEndAllowThreads(__tstate
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35071 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35072 PyObject
*resultobj
= 0;
35073 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35074 SwigValueWrapper
<wxRendererVersion
> result
;
35077 PyObject
*swig_obj
[1] ;
35079 if (!args
) SWIG_fail
;
35080 swig_obj
[0] = args
;
35081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35082 if (!SWIG_IsOK(res1
)) {
35083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35085 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35088 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35089 wxPyEndAllowThreads(__tstate
);
35090 if (PyErr_Occurred()) SWIG_fail
;
35092 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35099 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35102 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35103 return SWIG_Py_Void();
35106 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35107 PyObject
*resultobj
= 0;
35108 wxPseudoDC
*result
= 0 ;
35110 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35113 result
= (wxPseudoDC
*)new wxPseudoDC();
35114 wxPyEndAllowThreads(__tstate
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35124 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35125 PyObject
*resultobj
= 0;
35126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35129 PyObject
*swig_obj
[1] ;
35131 if (!args
) SWIG_fail
;
35132 swig_obj
[0] = args
;
35133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35134 if (!SWIG_IsOK(res1
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35137 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35140 (arg1
)->BeginDrawing();
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35144 resultobj
= SWIG_Py_Void();
35151 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35152 PyObject
*resultobj
= 0;
35153 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35156 PyObject
*swig_obj
[1] ;
35158 if (!args
) SWIG_fail
;
35159 swig_obj
[0] = args
;
35160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35161 if (!SWIG_IsOK(res1
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35164 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 (arg1
)->EndDrawing();
35168 wxPyEndAllowThreads(__tstate
);
35169 if (PyErr_Occurred()) SWIG_fail
;
35171 resultobj
= SWIG_Py_Void();
35178 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35179 PyObject
*resultobj
= 0;
35180 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35183 PyObject
*swig_obj
[1] ;
35185 if (!args
) SWIG_fail
;
35186 swig_obj
[0] = args
;
35187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35196 wxPyEndAllowThreads(__tstate
);
35197 if (PyErr_Occurred()) SWIG_fail
;
35199 resultobj
= SWIG_Py_Void();
35206 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35207 PyObject
*resultobj
= 0;
35208 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35211 PyObject
*swig_obj
[1] ;
35213 if (!args
) SWIG_fail
;
35214 swig_obj
[0] = args
;
35215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35216 if (!SWIG_IsOK(res1
)) {
35217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35219 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35222 (arg1
)->RemoveAll();
35223 wxPyEndAllowThreads(__tstate
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35226 resultobj
= SWIG_Py_Void();
35233 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35234 PyObject
*resultobj
= 0;
35235 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35239 PyObject
*swig_obj
[1] ;
35241 if (!args
) SWIG_fail
;
35242 swig_obj
[0] = args
;
35243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35244 if (!SWIG_IsOK(res1
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= (int)(arg1
)->GetLen();
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= SWIG_From_int(static_cast< int >(result
));
35261 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
= 0;
35263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 char * kwnames
[] = {
35272 (char *) "self",(char *) "id", NULL
35275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35282 if (!SWIG_IsOK(ecode2
)) {
35283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35285 arg2
= static_cast< int >(val2
);
35287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35288 (arg1
)->SetId(arg2
);
35289 wxPyEndAllowThreads(__tstate
);
35290 if (PyErr_Occurred()) SWIG_fail
;
35292 resultobj
= SWIG_Py_Void();
35299 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35300 PyObject
*resultobj
= 0;
35301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 char * kwnames
[] = {
35310 (char *) "self",(char *) "id", NULL
35313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35315 if (!SWIG_IsOK(res1
)) {
35316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35318 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35320 if (!SWIG_IsOK(ecode2
)) {
35321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35323 arg2
= static_cast< int >(val2
);
35325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35326 (arg1
)->ClearId(arg2
);
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 resultobj
= SWIG_Py_Void();
35337 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
= 0;
35339 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35345 PyObject
* obj0
= 0 ;
35346 PyObject
* obj1
= 0 ;
35347 char * kwnames
[] = {
35348 (char *) "self",(char *) "id", NULL
35351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35353 if (!SWIG_IsOK(res1
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35358 if (!SWIG_IsOK(ecode2
)) {
35359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35361 arg2
= static_cast< int >(val2
);
35363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35364 (arg1
)->RemoveId(arg2
);
35365 wxPyEndAllowThreads(__tstate
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35368 resultobj
= SWIG_Py_Void();
35375 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35376 PyObject
*resultobj
= 0;
35377 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35389 PyObject
* obj0
= 0 ;
35390 PyObject
* obj1
= 0 ;
35391 PyObject
* obj2
= 0 ;
35392 PyObject
* obj3
= 0 ;
35393 char * kwnames
[] = {
35394 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35399 if (!SWIG_IsOK(res1
)) {
35400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35402 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35404 if (!SWIG_IsOK(ecode2
)) {
35405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35407 arg2
= static_cast< int >(val2
);
35408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35409 if (!SWIG_IsOK(ecode3
)) {
35410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35412 arg3
= static_cast< int >(val3
);
35413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35414 if (!SWIG_IsOK(ecode4
)) {
35415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35417 arg4
= static_cast< int >(val4
);
35419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35420 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35421 wxPyEndAllowThreads(__tstate
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35424 resultobj
= SWIG_Py_Void();
35431 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35432 PyObject
*resultobj
= 0;
35433 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35435 bool arg3
= (bool) true ;
35442 PyObject
* obj0
= 0 ;
35443 PyObject
* obj1
= 0 ;
35444 PyObject
* obj2
= 0 ;
35445 char * kwnames
[] = {
35446 (char *) "self",(char *) "id",(char *) "greyout", NULL
35449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35451 if (!SWIG_IsOK(res1
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35454 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35456 if (!SWIG_IsOK(ecode2
)) {
35457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35459 arg2
= static_cast< int >(val2
);
35461 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35462 if (!SWIG_IsOK(ecode3
)) {
35463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35465 arg3
= static_cast< bool >(val3
);
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35470 wxPyEndAllowThreads(__tstate
);
35471 if (PyErr_Occurred()) SWIG_fail
;
35473 resultobj
= SWIG_Py_Void();
35480 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35481 PyObject
*resultobj
= 0;
35482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35489 PyObject
* obj0
= 0 ;
35490 PyObject
* obj1
= 0 ;
35491 char * kwnames
[] = {
35492 (char *) "self",(char *) "id", NULL
35495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35497 if (!SWIG_IsOK(res1
)) {
35498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35500 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35502 if (!SWIG_IsOK(ecode2
)) {
35503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35505 arg2
= static_cast< int >(val2
);
35507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35508 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35509 wxPyEndAllowThreads(__tstate
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35521 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= 0;
35523 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35526 int arg4
= (int) 1 ;
35527 wxColor
const &arg5_defvalue
= *wxWHITE
;
35528 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35529 PyObject
*result
= 0 ;
35540 PyObject
* obj0
= 0 ;
35541 PyObject
* obj1
= 0 ;
35542 PyObject
* obj2
= 0 ;
35543 PyObject
* obj3
= 0 ;
35544 PyObject
* obj4
= 0 ;
35545 char * kwnames
[] = {
35546 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_FindObjects" "', 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_FindObjects" "', expected argument " "2"" of type '" "int""'");
35559 arg2
= static_cast< int >(val2
);
35560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35561 if (!SWIG_IsOK(ecode3
)) {
35562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35564 arg3
= static_cast< int >(val3
);
35566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35567 if (!SWIG_IsOK(ecode4
)) {
35568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35570 arg4
= static_cast< int >(val4
);
35573 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35574 if (!SWIG_IsOK(res5
)) {
35575 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35580 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35583 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35586 resultobj
= result
;
35593 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35594 PyObject
*resultobj
= 0;
35595 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35598 PyObject
*result
= 0 ;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 PyObject
* obj2
= 0 ;
35608 char * kwnames
[] = {
35609 (char *) "self",(char *) "x",(char *) "y", NULL
35612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35614 if (!SWIG_IsOK(res1
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35617 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35619 if (!SWIG_IsOK(ecode2
)) {
35620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35622 arg2
= static_cast< int >(val2
);
35623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35624 if (!SWIG_IsOK(ecode3
)) {
35625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35627 arg3
= static_cast< int >(val3
);
35629 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= result
;
35639 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
= 0;
35641 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35643 wxDC
*arg3
= (wxDC
*) 0 ;
35650 PyObject
* obj0
= 0 ;
35651 PyObject
* obj1
= 0 ;
35652 PyObject
* obj2
= 0 ;
35653 char * kwnames
[] = {
35654 (char *) "self",(char *) "id",(char *) "dc", NULL
35657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35659 if (!SWIG_IsOK(res1
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35662 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35664 if (!SWIG_IsOK(ecode2
)) {
35665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35667 arg2
= static_cast< int >(val2
);
35668 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35669 if (!SWIG_IsOK(res3
)) {
35670 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35672 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35675 (arg1
)->DrawIdToDC(arg2
,arg3
);
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35679 resultobj
= SWIG_Py_Void();
35686 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35687 PyObject
*resultobj
= 0;
35688 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 PyObject
* obj2
= 0 ;
35699 char * kwnames
[] = {
35700 (char *) "self",(char *) "id",(char *) "rect", NULL
35703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35705 if (!SWIG_IsOK(res1
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35708 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35710 if (!SWIG_IsOK(ecode2
)) {
35711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35713 arg2
= static_cast< int >(val2
);
35716 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35720 (arg1
)->SetIdBounds(arg2
,*arg3
);
35721 wxPyEndAllowThreads(__tstate
);
35722 if (PyErr_Occurred()) SWIG_fail
;
35724 resultobj
= SWIG_Py_Void();
35731 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35732 PyObject
*resultobj
= 0;
35733 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35740 PyObject
* obj0
= 0 ;
35741 PyObject
* obj1
= 0 ;
35742 char * kwnames
[] = {
35743 (char *) "self",(char *) "id", NULL
35746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35748 if (!SWIG_IsOK(res1
)) {
35749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35751 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35753 if (!SWIG_IsOK(ecode2
)) {
35754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35756 arg2
= static_cast< int >(val2
);
35758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35759 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35760 wxPyEndAllowThreads(__tstate
);
35761 if (PyErr_Occurred()) SWIG_fail
;
35763 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35770 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35771 PyObject
*resultobj
= 0;
35772 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35773 wxDC
*arg2
= (wxDC
*) 0 ;
35780 PyObject
* obj0
= 0 ;
35781 PyObject
* obj1
= 0 ;
35782 PyObject
* obj2
= 0 ;
35783 char * kwnames
[] = {
35784 (char *) "self",(char *) "dc",(char *) "rect", NULL
35787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35789 if (!SWIG_IsOK(res1
)) {
35790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35792 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35794 if (!SWIG_IsOK(res2
)) {
35795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35797 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35800 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= SWIG_Py_Void();
35815 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
= 0;
35817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35818 wxDC
*arg2
= (wxDC
*) 0 ;
35819 wxRegion
*arg3
= 0 ;
35826 PyObject
* obj0
= 0 ;
35827 PyObject
* obj1
= 0 ;
35828 PyObject
* obj2
= 0 ;
35829 char * kwnames
[] = {
35830 (char *) "self",(char *) "dc",(char *) "region", NULL
35833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35835 if (!SWIG_IsOK(res1
)) {
35836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35840 if (!SWIG_IsOK(res2
)) {
35841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35843 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35844 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35845 if (!SWIG_IsOK(res3
)) {
35846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35851 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35854 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35855 wxPyEndAllowThreads(__tstate
);
35856 if (PyErr_Occurred()) SWIG_fail
;
35858 resultobj
= SWIG_Py_Void();
35865 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35866 PyObject
*resultobj
= 0;
35867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35868 wxDC
*arg2
= (wxDC
*) 0 ;
35873 PyObject
* obj0
= 0 ;
35874 PyObject
* obj1
= 0 ;
35875 char * kwnames
[] = {
35876 (char *) "self",(char *) "dc", NULL
35879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35881 if (!SWIG_IsOK(res1
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35886 if (!SWIG_IsOK(res2
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35889 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 (arg1
)->DrawToDC(arg2
);
35893 wxPyEndAllowThreads(__tstate
);
35894 if (PyErr_Occurred()) SWIG_fail
;
35896 resultobj
= SWIG_Py_Void();
35903 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35904 PyObject
*resultobj
= 0;
35905 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35908 wxColour
*arg4
= 0 ;
35909 int arg5
= (int) wxFLOOD_SURFACE
;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 PyObject
* obj2
= 0 ;
35922 PyObject
* obj3
= 0 ;
35923 PyObject
* obj4
= 0 ;
35924 char * kwnames
[] = {
35925 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35930 if (!SWIG_IsOK(res1
)) {
35931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35935 if (!SWIG_IsOK(ecode2
)) {
35936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35938 arg2
= static_cast< int >(val2
);
35939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35940 if (!SWIG_IsOK(ecode3
)) {
35941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35943 arg3
= static_cast< int >(val3
);
35946 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35949 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35950 if (!SWIG_IsOK(ecode5
)) {
35951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35953 arg5
= static_cast< int >(val5
);
35956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35957 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 resultobj
= SWIG_Py_Void();
35968 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35969 PyObject
*resultobj
= 0;
35970 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35971 wxPoint
*arg2
= 0 ;
35972 wxColour
*arg3
= 0 ;
35973 int arg4
= (int) wxFLOOD_SURFACE
;
35980 PyObject
* obj0
= 0 ;
35981 PyObject
* obj1
= 0 ;
35982 PyObject
* obj2
= 0 ;
35983 PyObject
* obj3
= 0 ;
35984 char * kwnames
[] = {
35985 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35990 if (!SWIG_IsOK(res1
)) {
35991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35993 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36000 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36004 if (!SWIG_IsOK(ecode4
)) {
36005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36007 arg4
= static_cast< int >(val4
);
36010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36011 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36012 wxPyEndAllowThreads(__tstate
);
36013 if (PyErr_Occurred()) SWIG_fail
;
36015 resultobj
= SWIG_Py_Void();
36022 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36023 PyObject
*resultobj
= 0;
36024 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 PyObject
* obj2
= 0 ;
36042 PyObject
* obj3
= 0 ;
36043 PyObject
* obj4
= 0 ;
36044 char * kwnames
[] = {
36045 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36050 if (!SWIG_IsOK(res1
)) {
36051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36055 if (!SWIG_IsOK(ecode2
)) {
36056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36058 arg2
= static_cast< int >(val2
);
36059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36060 if (!SWIG_IsOK(ecode3
)) {
36061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36063 arg3
= static_cast< int >(val3
);
36064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36065 if (!SWIG_IsOK(ecode4
)) {
36066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36068 arg4
= static_cast< int >(val4
);
36069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36070 if (!SWIG_IsOK(ecode5
)) {
36071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36073 arg5
= static_cast< int >(val5
);
36075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36076 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 resultobj
= SWIG_Py_Void();
36087 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36088 PyObject
*resultobj
= 0;
36089 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36090 wxPoint
*arg2
= 0 ;
36091 wxPoint
*arg3
= 0 ;
36096 PyObject
* obj0
= 0 ;
36097 PyObject
* obj1
= 0 ;
36098 PyObject
* obj2
= 0 ;
36099 char * kwnames
[] = {
36100 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36105 if (!SWIG_IsOK(res1
)) {
36106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36108 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36111 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36115 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36120 wxPyEndAllowThreads(__tstate
);
36121 if (PyErr_Occurred()) SWIG_fail
;
36123 resultobj
= SWIG_Py_Void();
36130 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36131 PyObject
*resultobj
= 0;
36132 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36141 PyObject
* obj0
= 0 ;
36142 PyObject
* obj1
= 0 ;
36143 PyObject
* obj2
= 0 ;
36144 char * kwnames
[] = {
36145 (char *) "self",(char *) "x",(char *) "y", NULL
36148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36150 if (!SWIG_IsOK(res1
)) {
36151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36153 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36155 if (!SWIG_IsOK(ecode2
)) {
36156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36158 arg2
= static_cast< int >(val2
);
36159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36160 if (!SWIG_IsOK(ecode3
)) {
36161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36163 arg3
= static_cast< int >(val3
);
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36166 (arg1
)->CrossHair(arg2
,arg3
);
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 resultobj
= SWIG_Py_Void();
36177 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
= 0;
36179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36180 wxPoint
*arg2
= 0 ;
36184 PyObject
* obj0
= 0 ;
36185 PyObject
* obj1
= 0 ;
36186 char * kwnames
[] = {
36187 (char *) "self",(char *) "pt", NULL
36190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36192 if (!SWIG_IsOK(res1
)) {
36193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36202 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36206 resultobj
= SWIG_Py_Void();
36213 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36214 PyObject
*resultobj
= 0;
36215 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36236 PyObject
* obj0
= 0 ;
36237 PyObject
* obj1
= 0 ;
36238 PyObject
* obj2
= 0 ;
36239 PyObject
* obj3
= 0 ;
36240 PyObject
* obj4
= 0 ;
36241 PyObject
* obj5
= 0 ;
36242 PyObject
* obj6
= 0 ;
36243 char * kwnames
[] = {
36244 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36249 if (!SWIG_IsOK(res1
)) {
36250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36252 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36254 if (!SWIG_IsOK(ecode2
)) {
36255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36257 arg2
= static_cast< int >(val2
);
36258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36259 if (!SWIG_IsOK(ecode3
)) {
36260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36262 arg3
= static_cast< int >(val3
);
36263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36264 if (!SWIG_IsOK(ecode4
)) {
36265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36267 arg4
= static_cast< int >(val4
);
36268 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36269 if (!SWIG_IsOK(ecode5
)) {
36270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36272 arg5
= static_cast< int >(val5
);
36273 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36274 if (!SWIG_IsOK(ecode6
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36277 arg6
= static_cast< int >(val6
);
36278 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36279 if (!SWIG_IsOK(ecode7
)) {
36280 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36282 arg7
= static_cast< int >(val7
);
36284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36286 wxPyEndAllowThreads(__tstate
);
36287 if (PyErr_Occurred()) SWIG_fail
;
36289 resultobj
= SWIG_Py_Void();
36296 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36297 PyObject
*resultobj
= 0;
36298 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36299 wxPoint
*arg2
= 0 ;
36300 wxPoint
*arg3
= 0 ;
36301 wxPoint
*arg4
= 0 ;
36307 PyObject
* obj0
= 0 ;
36308 PyObject
* obj1
= 0 ;
36309 PyObject
* obj2
= 0 ;
36310 PyObject
* obj3
= 0 ;
36311 char * kwnames
[] = {
36312 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36317 if (!SWIG_IsOK(res1
)) {
36318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36327 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36335 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36336 wxPyEndAllowThreads(__tstate
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= SWIG_Py_Void();
36346 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
= 0;
36348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36363 PyObject
* obj0
= 0 ;
36364 PyObject
* obj1
= 0 ;
36365 PyObject
* obj2
= 0 ;
36366 PyObject
* obj3
= 0 ;
36367 PyObject
* obj4
= 0 ;
36368 char * kwnames
[] = {
36369 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36374 if (!SWIG_IsOK(res1
)) {
36375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36377 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36379 if (!SWIG_IsOK(ecode2
)) {
36380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36382 arg2
= static_cast< int >(val2
);
36383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36384 if (!SWIG_IsOK(ecode3
)) {
36385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36387 arg3
= static_cast< int >(val3
);
36388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36389 if (!SWIG_IsOK(ecode4
)) {
36390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36392 arg4
= static_cast< int >(val4
);
36393 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36394 if (!SWIG_IsOK(ecode5
)) {
36395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36397 arg5
= static_cast< int >(val5
);
36399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36400 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36401 wxPyEndAllowThreads(__tstate
);
36402 if (PyErr_Occurred()) SWIG_fail
;
36404 resultobj
= SWIG_Py_Void();
36411 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36412 PyObject
*resultobj
= 0;
36413 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36418 PyObject
* obj0
= 0 ;
36419 PyObject
* obj1
= 0 ;
36420 char * kwnames
[] = {
36421 (char *) "self",(char *) "rect", NULL
36424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36426 if (!SWIG_IsOK(res1
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36429 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36432 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36436 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36437 wxPyEndAllowThreads(__tstate
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36440 resultobj
= SWIG_Py_Void();
36447 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36448 PyObject
*resultobj
= 0;
36449 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36470 PyObject
* obj0
= 0 ;
36471 PyObject
* obj1
= 0 ;
36472 PyObject
* obj2
= 0 ;
36473 PyObject
* obj3
= 0 ;
36474 PyObject
* obj4
= 0 ;
36475 PyObject
* obj5
= 0 ;
36476 PyObject
* obj6
= 0 ;
36477 char * kwnames
[] = {
36478 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36483 if (!SWIG_IsOK(res1
)) {
36484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36488 if (!SWIG_IsOK(ecode2
)) {
36489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36491 arg2
= static_cast< int >(val2
);
36492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36493 if (!SWIG_IsOK(ecode3
)) {
36494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36496 arg3
= static_cast< int >(val3
);
36497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36498 if (!SWIG_IsOK(ecode4
)) {
36499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36501 arg4
= static_cast< int >(val4
);
36502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36503 if (!SWIG_IsOK(ecode5
)) {
36504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36506 arg5
= static_cast< int >(val5
);
36507 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36508 if (!SWIG_IsOK(ecode6
)) {
36509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36511 arg6
= static_cast< double >(val6
);
36512 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36513 if (!SWIG_IsOK(ecode7
)) {
36514 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36516 arg7
= static_cast< double >(val7
);
36518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36519 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36520 wxPyEndAllowThreads(__tstate
);
36521 if (PyErr_Occurred()) SWIG_fail
;
36523 resultobj
= SWIG_Py_Void();
36530 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36531 PyObject
*resultobj
= 0;
36532 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36533 wxPoint
*arg2
= 0 ;
36545 PyObject
* obj0
= 0 ;
36546 PyObject
* obj1
= 0 ;
36547 PyObject
* obj2
= 0 ;
36548 PyObject
* obj3
= 0 ;
36549 PyObject
* obj4
= 0 ;
36550 char * kwnames
[] = {
36551 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36556 if (!SWIG_IsOK(res1
)) {
36557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36559 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36566 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36568 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36569 if (!SWIG_IsOK(ecode4
)) {
36570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36572 arg4
= static_cast< double >(val4
);
36573 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36574 if (!SWIG_IsOK(ecode5
)) {
36575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36577 arg5
= static_cast< double >(val5
);
36579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36580 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36581 wxPyEndAllowThreads(__tstate
);
36582 if (PyErr_Occurred()) SWIG_fail
;
36584 resultobj
= SWIG_Py_Void();
36591 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36592 PyObject
*resultobj
= 0;
36593 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36602 PyObject
* obj0
= 0 ;
36603 PyObject
* obj1
= 0 ;
36604 PyObject
* obj2
= 0 ;
36605 char * kwnames
[] = {
36606 (char *) "self",(char *) "x",(char *) "y", NULL
36609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36611 if (!SWIG_IsOK(res1
)) {
36612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36614 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36616 if (!SWIG_IsOK(ecode2
)) {
36617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36619 arg2
= static_cast< int >(val2
);
36620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36621 if (!SWIG_IsOK(ecode3
)) {
36622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36624 arg3
= static_cast< int >(val3
);
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 (arg1
)->DrawPoint(arg2
,arg3
);
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36631 resultobj
= SWIG_Py_Void();
36638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36639 PyObject
*resultobj
= 0;
36640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36641 wxPoint
*arg2
= 0 ;
36645 PyObject
* obj0
= 0 ;
36646 PyObject
* obj1
= 0 ;
36647 char * kwnames
[] = {
36648 (char *) "self",(char *) "pt", NULL
36651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36653 if (!SWIG_IsOK(res1
)) {
36654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_Py_Void();
36674 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
= 0;
36676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36691 PyObject
* obj0
= 0 ;
36692 PyObject
* obj1
= 0 ;
36693 PyObject
* obj2
= 0 ;
36694 PyObject
* obj3
= 0 ;
36695 PyObject
* obj4
= 0 ;
36696 char * kwnames
[] = {
36697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36702 if (!SWIG_IsOK(res1
)) {
36703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36705 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36707 if (!SWIG_IsOK(ecode2
)) {
36708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36710 arg2
= static_cast< int >(val2
);
36711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36712 if (!SWIG_IsOK(ecode3
)) {
36713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36715 arg3
= static_cast< int >(val3
);
36716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36717 if (!SWIG_IsOK(ecode4
)) {
36718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36720 arg4
= static_cast< int >(val4
);
36721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36722 if (!SWIG_IsOK(ecode5
)) {
36723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36725 arg5
= static_cast< int >(val5
);
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 resultobj
= SWIG_Py_Void();
36739 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
= 0;
36741 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36746 PyObject
* obj0
= 0 ;
36747 PyObject
* obj1
= 0 ;
36748 char * kwnames
[] = {
36749 (char *) "self",(char *) "rect", NULL
36752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36754 if (!SWIG_IsOK(res1
)) {
36755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36757 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36760 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36764 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36765 wxPyEndAllowThreads(__tstate
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36768 resultobj
= SWIG_Py_Void();
36775 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36776 PyObject
*resultobj
= 0;
36777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36778 wxPoint
*arg2
= 0 ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 PyObject
* obj2
= 0 ;
36787 char * kwnames
[] = {
36788 (char *) "self",(char *) "pt",(char *) "sz", NULL
36791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36793 if (!SWIG_IsOK(res1
)) {
36794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36796 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36803 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 resultobj
= SWIG_Py_Void();
36818 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
= 0;
36820 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36838 PyObject
* obj0
= 0 ;
36839 PyObject
* obj1
= 0 ;
36840 PyObject
* obj2
= 0 ;
36841 PyObject
* obj3
= 0 ;
36842 PyObject
* obj4
= 0 ;
36843 PyObject
* obj5
= 0 ;
36844 char * kwnames
[] = {
36845 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36850 if (!SWIG_IsOK(res1
)) {
36851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36853 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36855 if (!SWIG_IsOK(ecode2
)) {
36856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36858 arg2
= static_cast< int >(val2
);
36859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36860 if (!SWIG_IsOK(ecode3
)) {
36861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36863 arg3
= static_cast< int >(val3
);
36864 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36865 if (!SWIG_IsOK(ecode4
)) {
36866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36868 arg4
= static_cast< int >(val4
);
36869 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36870 if (!SWIG_IsOK(ecode5
)) {
36871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36873 arg5
= static_cast< int >(val5
);
36874 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36875 if (!SWIG_IsOK(ecode6
)) {
36876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36878 arg6
= static_cast< double >(val6
);
36880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36881 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36882 wxPyEndAllowThreads(__tstate
);
36883 if (PyErr_Occurred()) SWIG_fail
;
36885 resultobj
= SWIG_Py_Void();
36892 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36893 PyObject
*resultobj
= 0;
36894 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36902 PyObject
* obj0
= 0 ;
36903 PyObject
* obj1
= 0 ;
36904 PyObject
* obj2
= 0 ;
36905 char * kwnames
[] = {
36906 (char *) "self",(char *) "r",(char *) "radius", NULL
36909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36911 if (!SWIG_IsOK(res1
)) {
36912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36917 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36919 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36920 if (!SWIG_IsOK(ecode3
)) {
36921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36923 arg3
= static_cast< double >(val3
);
36925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36926 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 resultobj
= SWIG_Py_Void();
36937 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
= 0;
36939 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36940 wxPoint
*arg2
= 0 ;
36949 PyObject
* obj0
= 0 ;
36950 PyObject
* obj1
= 0 ;
36951 PyObject
* obj2
= 0 ;
36952 PyObject
* obj3
= 0 ;
36953 char * kwnames
[] = {
36954 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36959 if (!SWIG_IsOK(res1
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36962 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36969 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36971 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36972 if (!SWIG_IsOK(ecode4
)) {
36973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36975 arg4
= static_cast< double >(val4
);
36977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36978 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36979 wxPyEndAllowThreads(__tstate
);
36980 if (PyErr_Occurred()) SWIG_fail
;
36982 resultobj
= SWIG_Py_Void();
36989 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36990 PyObject
*resultobj
= 0;
36991 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37003 PyObject
* obj0
= 0 ;
37004 PyObject
* obj1
= 0 ;
37005 PyObject
* obj2
= 0 ;
37006 PyObject
* obj3
= 0 ;
37007 char * kwnames
[] = {
37008 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37013 if (!SWIG_IsOK(res1
)) {
37014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37018 if (!SWIG_IsOK(ecode2
)) {
37019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37021 arg2
= static_cast< int >(val2
);
37022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37023 if (!SWIG_IsOK(ecode3
)) {
37024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37026 arg3
= static_cast< int >(val3
);
37027 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37028 if (!SWIG_IsOK(ecode4
)) {
37029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37031 arg4
= static_cast< int >(val4
);
37033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37034 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= SWIG_Py_Void();
37045 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
= 0;
37047 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37048 wxPoint
*arg2
= 0 ;
37055 PyObject
* obj0
= 0 ;
37056 PyObject
* obj1
= 0 ;
37057 PyObject
* obj2
= 0 ;
37058 char * kwnames
[] = {
37059 (char *) "self",(char *) "pt",(char *) "radius", NULL
37062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37064 if (!SWIG_IsOK(res1
)) {
37065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37067 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37073 if (!SWIG_IsOK(ecode3
)) {
37074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37076 arg3
= static_cast< int >(val3
);
37078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37079 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37080 wxPyEndAllowThreads(__tstate
);
37081 if (PyErr_Occurred()) SWIG_fail
;
37083 resultobj
= SWIG_Py_Void();
37090 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37091 PyObject
*resultobj
= 0;
37092 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37107 PyObject
* obj0
= 0 ;
37108 PyObject
* obj1
= 0 ;
37109 PyObject
* obj2
= 0 ;
37110 PyObject
* obj3
= 0 ;
37111 PyObject
* obj4
= 0 ;
37112 char * kwnames
[] = {
37113 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37118 if (!SWIG_IsOK(res1
)) {
37119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37121 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37123 if (!SWIG_IsOK(ecode2
)) {
37124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37126 arg2
= static_cast< int >(val2
);
37127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37128 if (!SWIG_IsOK(ecode3
)) {
37129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37131 arg3
= static_cast< int >(val3
);
37132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37133 if (!SWIG_IsOK(ecode4
)) {
37134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37136 arg4
= static_cast< int >(val4
);
37137 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37138 if (!SWIG_IsOK(ecode5
)) {
37139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37141 arg5
= static_cast< int >(val5
);
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37148 resultobj
= SWIG_Py_Void();
37155 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37156 PyObject
*resultobj
= 0;
37157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37162 PyObject
* obj0
= 0 ;
37163 PyObject
* obj1
= 0 ;
37164 char * kwnames
[] = {
37165 (char *) "self",(char *) "rect", NULL
37168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37170 if (!SWIG_IsOK(res1
)) {
37171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37173 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37176 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= SWIG_Py_Void();
37191 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
= 0;
37193 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37194 wxPoint
*arg2
= 0 ;
37200 PyObject
* obj0
= 0 ;
37201 PyObject
* obj1
= 0 ;
37202 PyObject
* obj2
= 0 ;
37203 char * kwnames
[] = {
37204 (char *) "self",(char *) "pt",(char *) "sz", NULL
37207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37209 if (!SWIG_IsOK(res1
)) {
37210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37219 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= SWIG_Py_Void();
37234 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37235 PyObject
*resultobj
= 0;
37236 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37248 PyObject
* obj0
= 0 ;
37249 PyObject
* obj1
= 0 ;
37250 PyObject
* obj2
= 0 ;
37251 PyObject
* obj3
= 0 ;
37252 char * kwnames
[] = {
37253 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37258 if (!SWIG_IsOK(res1
)) {
37259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37261 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37263 if (!SWIG_IsOK(res2
)) {
37264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37269 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37271 if (!SWIG_IsOK(ecode3
)) {
37272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37274 arg3
= static_cast< int >(val3
);
37275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37276 if (!SWIG_IsOK(ecode4
)) {
37277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37279 arg4
= static_cast< int >(val4
);
37281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37282 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37283 wxPyEndAllowThreads(__tstate
);
37284 if (PyErr_Occurred()) SWIG_fail
;
37286 resultobj
= SWIG_Py_Void();
37293 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37294 PyObject
*resultobj
= 0;
37295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37297 wxPoint
*arg3
= 0 ;
37303 PyObject
* obj0
= 0 ;
37304 PyObject
* obj1
= 0 ;
37305 PyObject
* obj2
= 0 ;
37306 char * kwnames
[] = {
37307 (char *) "self",(char *) "icon",(char *) "pt", NULL
37310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37312 if (!SWIG_IsOK(res1
)) {
37313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37315 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37317 if (!SWIG_IsOK(res2
)) {
37318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37323 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37326 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37330 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37331 wxPyEndAllowThreads(__tstate
);
37332 if (PyErr_Occurred()) SWIG_fail
;
37334 resultobj
= SWIG_Py_Void();
37341 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37342 PyObject
*resultobj
= 0;
37343 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37344 wxBitmap
*arg2
= 0 ;
37347 bool arg5
= (bool) false ;
37358 PyObject
* obj0
= 0 ;
37359 PyObject
* obj1
= 0 ;
37360 PyObject
* obj2
= 0 ;
37361 PyObject
* obj3
= 0 ;
37362 PyObject
* obj4
= 0 ;
37363 char * kwnames
[] = {
37364 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37369 if (!SWIG_IsOK(res1
)) {
37370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37372 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37374 if (!SWIG_IsOK(res2
)) {
37375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37380 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37382 if (!SWIG_IsOK(ecode3
)) {
37383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37385 arg3
= static_cast< int >(val3
);
37386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37387 if (!SWIG_IsOK(ecode4
)) {
37388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37390 arg4
= static_cast< int >(val4
);
37392 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37393 if (!SWIG_IsOK(ecode5
)) {
37394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37396 arg5
= static_cast< bool >(val5
);
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37401 wxPyEndAllowThreads(__tstate
);
37402 if (PyErr_Occurred()) SWIG_fail
;
37404 resultobj
= SWIG_Py_Void();
37411 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37412 PyObject
*resultobj
= 0;
37413 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37414 wxBitmap
*arg2
= 0 ;
37415 wxPoint
*arg3
= 0 ;
37416 bool arg4
= (bool) false ;
37424 PyObject
* obj0
= 0 ;
37425 PyObject
* obj1
= 0 ;
37426 PyObject
* obj2
= 0 ;
37427 PyObject
* obj3
= 0 ;
37428 char * kwnames
[] = {
37429 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37434 if (!SWIG_IsOK(res1
)) {
37435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37439 if (!SWIG_IsOK(res2
)) {
37440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37445 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37451 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37452 if (!SWIG_IsOK(ecode4
)) {
37453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37455 arg4
= static_cast< bool >(val4
);
37458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37459 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37460 wxPyEndAllowThreads(__tstate
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37463 resultobj
= SWIG_Py_Void();
37470 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37471 PyObject
*resultobj
= 0;
37472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37473 wxString
*arg2
= 0 ;
37478 bool temp2
= false ;
37483 PyObject
* obj0
= 0 ;
37484 PyObject
* obj1
= 0 ;
37485 PyObject
* obj2
= 0 ;
37486 PyObject
* obj3
= 0 ;
37487 char * kwnames
[] = {
37488 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37493 if (!SWIG_IsOK(res1
)) {
37494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37498 arg2
= wxString_in_helper(obj1
);
37499 if (arg2
== NULL
) SWIG_fail
;
37502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37503 if (!SWIG_IsOK(ecode3
)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37506 arg3
= static_cast< int >(val3
);
37507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37508 if (!SWIG_IsOK(ecode4
)) {
37509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37511 arg4
= static_cast< int >(val4
);
37513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37514 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37515 wxPyEndAllowThreads(__tstate
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37518 resultobj
= SWIG_Py_Void();
37533 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
= 0;
37535 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37536 wxString
*arg2
= 0 ;
37537 wxPoint
*arg3
= 0 ;
37540 bool temp2
= false ;
37542 PyObject
* obj0
= 0 ;
37543 PyObject
* obj1
= 0 ;
37544 PyObject
* obj2
= 0 ;
37545 char * kwnames
[] = {
37546 (char *) "self",(char *) "text",(char *) "pt", NULL
37549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37551 if (!SWIG_IsOK(res1
)) {
37552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37554 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37556 arg2
= wxString_in_helper(obj1
);
37557 if (arg2
== NULL
) SWIG_fail
;
37562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37566 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37567 wxPyEndAllowThreads(__tstate
);
37568 if (PyErr_Occurred()) SWIG_fail
;
37570 resultobj
= SWIG_Py_Void();
37585 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37586 PyObject
*resultobj
= 0;
37587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37588 wxString
*arg2
= 0 ;
37594 bool temp2
= false ;
37601 PyObject
* obj0
= 0 ;
37602 PyObject
* obj1
= 0 ;
37603 PyObject
* obj2
= 0 ;
37604 PyObject
* obj3
= 0 ;
37605 PyObject
* obj4
= 0 ;
37606 char * kwnames
[] = {
37607 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37612 if (!SWIG_IsOK(res1
)) {
37613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37615 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37617 arg2
= wxString_in_helper(obj1
);
37618 if (arg2
== NULL
) SWIG_fail
;
37621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37622 if (!SWIG_IsOK(ecode3
)) {
37623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37625 arg3
= static_cast< int >(val3
);
37626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37627 if (!SWIG_IsOK(ecode4
)) {
37628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37630 arg4
= static_cast< int >(val4
);
37631 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37632 if (!SWIG_IsOK(ecode5
)) {
37633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37635 arg5
= static_cast< double >(val5
);
37637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37638 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37639 wxPyEndAllowThreads(__tstate
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37642 resultobj
= SWIG_Py_Void();
37657 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
= 0;
37659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37660 wxString
*arg2
= 0 ;
37661 wxPoint
*arg3
= 0 ;
37665 bool temp2
= false ;
37669 PyObject
* obj0
= 0 ;
37670 PyObject
* obj1
= 0 ;
37671 PyObject
* obj2
= 0 ;
37672 PyObject
* obj3
= 0 ;
37673 char * kwnames
[] = {
37674 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37679 if (!SWIG_IsOK(res1
)) {
37680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37682 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37684 arg2
= wxString_in_helper(obj1
);
37685 if (arg2
== NULL
) SWIG_fail
;
37690 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37692 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37693 if (!SWIG_IsOK(ecode4
)) {
37694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37696 arg4
= static_cast< double >(val4
);
37698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37699 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 resultobj
= SWIG_Py_Void();
37718 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37719 PyObject
*resultobj
= 0;
37720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37722 wxPoint
*arg3
= (wxPoint
*) 0 ;
37723 int arg4
= (int) 0 ;
37724 int arg5
= (int) 0 ;
37731 PyObject
* obj0
= 0 ;
37732 PyObject
* obj1
= 0 ;
37733 PyObject
* obj2
= 0 ;
37734 PyObject
* obj3
= 0 ;
37735 char * kwnames
[] = {
37736 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37741 if (!SWIG_IsOK(res1
)) {
37742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37744 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37746 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37747 if (arg3
== NULL
) SWIG_fail
;
37750 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37751 if (!SWIG_IsOK(ecode4
)) {
37752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37754 arg4
= static_cast< int >(val4
);
37757 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37758 if (!SWIG_IsOK(ecode5
)) {
37759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37761 arg5
= static_cast< int >(val5
);
37764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37765 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37769 resultobj
= SWIG_Py_Void();
37771 if (arg3
) delete [] arg3
;
37776 if (arg3
) delete [] arg3
;
37782 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37783 PyObject
*resultobj
= 0;
37784 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37786 wxPoint
*arg3
= (wxPoint
*) 0 ;
37787 int arg4
= (int) 0 ;
37788 int arg5
= (int) 0 ;
37789 int arg6
= (int) wxODDEVEN_RULE
;
37798 PyObject
* obj0
= 0 ;
37799 PyObject
* obj1
= 0 ;
37800 PyObject
* obj2
= 0 ;
37801 PyObject
* obj3
= 0 ;
37802 PyObject
* obj4
= 0 ;
37803 char * kwnames
[] = {
37804 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37809 if (!SWIG_IsOK(res1
)) {
37810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37812 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37814 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37815 if (arg3
== NULL
) SWIG_fail
;
37818 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37819 if (!SWIG_IsOK(ecode4
)) {
37820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37822 arg4
= static_cast< int >(val4
);
37825 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37826 if (!SWIG_IsOK(ecode5
)) {
37827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37829 arg5
= static_cast< int >(val5
);
37832 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37833 if (!SWIG_IsOK(ecode6
)) {
37834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37836 arg6
= static_cast< int >(val6
);
37839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= SWIG_Py_Void();
37846 if (arg3
) delete [] arg3
;
37851 if (arg3
) delete [] arg3
;
37857 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37858 PyObject
*resultobj
= 0;
37859 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37860 wxString
*arg2
= 0 ;
37862 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37863 int arg5
= (int) -1 ;
37866 bool temp2
= false ;
37872 PyObject
* obj0
= 0 ;
37873 PyObject
* obj1
= 0 ;
37874 PyObject
* obj2
= 0 ;
37875 PyObject
* obj3
= 0 ;
37876 PyObject
* obj4
= 0 ;
37877 char * kwnames
[] = {
37878 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37883 if (!SWIG_IsOK(res1
)) {
37884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37886 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37888 arg2
= wxString_in_helper(obj1
);
37889 if (arg2
== NULL
) SWIG_fail
;
37894 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37897 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37898 if (!SWIG_IsOK(ecode4
)) {
37899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37901 arg4
= static_cast< int >(val4
);
37904 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37905 if (!SWIG_IsOK(ecode5
)) {
37906 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37908 arg5
= static_cast< int >(val5
);
37911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37912 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37916 resultobj
= SWIG_Py_Void();
37931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
= 0;
37933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37934 wxString
*arg2
= 0 ;
37935 wxBitmap
*arg3
= 0 ;
37937 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37938 int arg6
= (int) -1 ;
37941 bool temp2
= false ;
37949 PyObject
* obj0
= 0 ;
37950 PyObject
* obj1
= 0 ;
37951 PyObject
* obj2
= 0 ;
37952 PyObject
* obj3
= 0 ;
37953 PyObject
* obj4
= 0 ;
37954 PyObject
* obj5
= 0 ;
37955 char * kwnames
[] = {
37956 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37961 if (!SWIG_IsOK(res1
)) {
37962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37964 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37966 arg2
= wxString_in_helper(obj1
);
37967 if (arg2
== NULL
) SWIG_fail
;
37970 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37971 if (!SWIG_IsOK(res3
)) {
37972 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37977 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37980 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37984 if (!SWIG_IsOK(ecode5
)) {
37985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37987 arg5
= static_cast< int >(val5
);
37990 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37991 if (!SWIG_IsOK(ecode6
)) {
37992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37994 arg6
= static_cast< int >(val6
);
37997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37998 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37999 wxPyEndAllowThreads(__tstate
);
38000 if (PyErr_Occurred()) SWIG_fail
;
38002 resultobj
= SWIG_Py_Void();
38017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38018 PyObject
*resultobj
= 0;
38019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38021 wxPoint
*arg3
= (wxPoint
*) 0 ;
38024 PyObject
* obj0
= 0 ;
38025 PyObject
* obj1
= 0 ;
38026 char * kwnames
[] = {
38027 (char *) "self",(char *) "points", NULL
38030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38032 if (!SWIG_IsOK(res1
)) {
38033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38037 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38038 if (arg3
== NULL
) SWIG_fail
;
38041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38042 (arg1
)->DrawSpline(arg2
,arg3
);
38043 wxPyEndAllowThreads(__tstate
);
38044 if (PyErr_Occurred()) SWIG_fail
;
38046 resultobj
= SWIG_Py_Void();
38048 if (arg3
) delete [] arg3
;
38053 if (arg3
) delete [] arg3
;
38059 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38060 PyObject
*resultobj
= 0;
38061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38064 PyObject
*swig_obj
[1] ;
38066 if (!args
) SWIG_fail
;
38067 swig_obj
[0] = args
;
38068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38069 if (!SWIG_IsOK(res1
)) {
38070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38072 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38079 resultobj
= SWIG_Py_Void();
38086 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38087 PyObject
*resultobj
= 0;
38088 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38094 PyObject
* obj0
= 0 ;
38095 PyObject
* obj1
= 0 ;
38096 char * kwnames
[] = {
38097 (char *) "self",(char *) "font", NULL
38100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38102 if (!SWIG_IsOK(res1
)) {
38103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38107 if (!SWIG_IsOK(res2
)) {
38108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38113 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 (arg1
)->SetFont((wxFont
const &)*arg2
);
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38120 resultobj
= SWIG_Py_Void();
38127 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38128 PyObject
*resultobj
= 0;
38129 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38135 PyObject
* obj0
= 0 ;
38136 PyObject
* obj1
= 0 ;
38137 char * kwnames
[] = {
38138 (char *) "self",(char *) "pen", NULL
38141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38143 if (!SWIG_IsOK(res1
)) {
38144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38148 if (!SWIG_IsOK(res2
)) {
38149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38154 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38157 (arg1
)->SetPen((wxPen
const &)*arg2
);
38158 wxPyEndAllowThreads(__tstate
);
38159 if (PyErr_Occurred()) SWIG_fail
;
38161 resultobj
= SWIG_Py_Void();
38168 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38169 PyObject
*resultobj
= 0;
38170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38171 wxBrush
*arg2
= 0 ;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 char * kwnames
[] = {
38179 (char *) "self",(char *) "brush", NULL
38182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38184 if (!SWIG_IsOK(res1
)) {
38185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38189 if (!SWIG_IsOK(res2
)) {
38190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38195 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38199 wxPyEndAllowThreads(__tstate
);
38200 if (PyErr_Occurred()) SWIG_fail
;
38202 resultobj
= SWIG_Py_Void();
38209 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38210 PyObject
*resultobj
= 0;
38211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38212 wxBrush
*arg2
= 0 ;
38217 PyObject
* obj0
= 0 ;
38218 PyObject
* obj1
= 0 ;
38219 char * kwnames
[] = {
38220 (char *) "self",(char *) "brush", NULL
38223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38225 if (!SWIG_IsOK(res1
)) {
38226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38230 if (!SWIG_IsOK(res2
)) {
38231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38236 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38239 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38243 resultobj
= SWIG_Py_Void();
38250 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38251 PyObject
*resultobj
= 0;
38252 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38258 PyObject
* obj0
= 0 ;
38259 PyObject
* obj1
= 0 ;
38260 char * kwnames
[] = {
38261 (char *) "self",(char *) "mode", NULL
38264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38266 if (!SWIG_IsOK(res1
)) {
38267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38271 if (!SWIG_IsOK(ecode2
)) {
38272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38274 arg2
= static_cast< int >(val2
);
38276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38277 (arg1
)->SetBackgroundMode(arg2
);
38278 wxPyEndAllowThreads(__tstate
);
38279 if (PyErr_Occurred()) SWIG_fail
;
38281 resultobj
= SWIG_Py_Void();
38288 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38289 PyObject
*resultobj
= 0;
38290 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38291 wxPalette
*arg2
= 0 ;
38296 PyObject
* obj0
= 0 ;
38297 PyObject
* obj1
= 0 ;
38298 char * kwnames
[] = {
38299 (char *) "self",(char *) "palette", NULL
38302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38304 if (!SWIG_IsOK(res1
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38309 if (!SWIG_IsOK(res2
)) {
38310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38315 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38318 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38322 resultobj
= SWIG_Py_Void();
38329 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38330 PyObject
*resultobj
= 0;
38331 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38332 wxColour
*arg2
= 0 ;
38336 PyObject
* obj0
= 0 ;
38337 PyObject
* obj1
= 0 ;
38338 char * kwnames
[] = {
38339 (char *) "self",(char *) "colour", NULL
38342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38344 if (!SWIG_IsOK(res1
)) {
38345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38354 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38355 wxPyEndAllowThreads(__tstate
);
38356 if (PyErr_Occurred()) SWIG_fail
;
38358 resultobj
= SWIG_Py_Void();
38365 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38366 PyObject
*resultobj
= 0;
38367 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38368 wxColour
*arg2
= 0 ;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 char * kwnames
[] = {
38375 (char *) "self",(char *) "colour", NULL
38378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38380 if (!SWIG_IsOK(res1
)) {
38381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38390 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= SWIG_Py_Void();
38401 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38402 PyObject
*resultobj
= 0;
38403 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38409 PyObject
* obj0
= 0 ;
38410 PyObject
* obj1
= 0 ;
38411 char * kwnames
[] = {
38412 (char *) "self",(char *) "function", NULL
38415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38417 if (!SWIG_IsOK(res1
)) {
38418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38422 if (!SWIG_IsOK(ecode2
)) {
38423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38425 arg2
= static_cast< int >(val2
);
38427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38428 (arg1
)->SetLogicalFunction(arg2
);
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38432 resultobj
= SWIG_Py_Void();
38439 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38442 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38443 return SWIG_Py_Void();
38446 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38447 return SWIG_Python_InitShadowInstance(args
);
38450 static PyMethodDef SwigMethods
[] = {
38451 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38452 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38453 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38454 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38455 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38456 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38460 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38461 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38462 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38463 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38464 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38465 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38470 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38474 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38475 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38476 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38478 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38481 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38482 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38483 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38484 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38486 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38487 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38488 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38489 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38490 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38491 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38492 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38499 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38501 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38504 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38505 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38508 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38512 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38513 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38514 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38515 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38516 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38517 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38518 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38520 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38526 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38527 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38528 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38529 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38530 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38531 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38532 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38538 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38548 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38549 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38553 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38554 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38555 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38556 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38557 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38558 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38559 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38560 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38561 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38562 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38563 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38564 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38565 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38566 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38567 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38569 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38570 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38576 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38577 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38578 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38579 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38580 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38581 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38582 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38583 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38584 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38585 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38586 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38587 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38589 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38590 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38593 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38596 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38597 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38598 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38600 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38601 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38602 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38604 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38605 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38610 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38611 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38612 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38613 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38618 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38619 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38621 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38622 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38624 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38626 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38627 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38628 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38629 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38632 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38636 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38637 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38639 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38642 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38643 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38644 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38649 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38650 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38656 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38660 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38671 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38674 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38675 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38677 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38678 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38679 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38680 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38681 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38682 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38683 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38684 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38685 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38686 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38687 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38688 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38689 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38690 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38691 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38692 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38693 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38695 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38696 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38697 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38698 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38699 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38700 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38701 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38710 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38711 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38713 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38714 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38715 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38716 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38717 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38718 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38719 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38720 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38721 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38723 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38724 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38725 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38728 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38729 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38730 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38733 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38739 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38744 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38745 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38747 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38753 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38756 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38757 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38758 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38759 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38760 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38761 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38762 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38763 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38764 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38765 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38766 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38767 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38768 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38780 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38781 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38782 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38784 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38785 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38787 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38788 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38789 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38790 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38794 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38795 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38797 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38798 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38799 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38800 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38801 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38802 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38803 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38804 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38805 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38807 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38810 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38811 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38812 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38813 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38814 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38815 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38816 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38817 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38827 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38831 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38835 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38836 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38837 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38838 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38839 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38840 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38846 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38847 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38848 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38898 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38900 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38901 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38902 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38909 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38910 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38911 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38912 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38913 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38918 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38919 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38920 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38921 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38930 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38931 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38932 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38933 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38934 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38935 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38936 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38937 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38938 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38939 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38940 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38941 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38944 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38946 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38948 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38950 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38951 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38954 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38955 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38959 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38961 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38964 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38965 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38966 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38967 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38968 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38969 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38970 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38978 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38980 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38981 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38982 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38984 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38985 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38986 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38988 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38989 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38990 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38991 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38992 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38993 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38994 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38995 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38998 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38999 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39000 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39002 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39003 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39005 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39006 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39008 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39009 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39015 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39016 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39017 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39018 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39020 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39022 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39024 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39025 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39031 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39032 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39034 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39037 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39038 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39039 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39041 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39042 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39047 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39048 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39050 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39051 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39052 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39053 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39054 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39055 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39056 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39057 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39058 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39059 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39060 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39061 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39062 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39063 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39064 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39065 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39066 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39067 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39068 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39071 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39072 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39074 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39080 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39081 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39082 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39083 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39084 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39085 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39086 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39087 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39089 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39090 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39091 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39098 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39101 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39102 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39103 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39104 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39105 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39106 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39107 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39110 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39117 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39118 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39121 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39122 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39123 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39130 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39131 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39132 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39133 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39151 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39152 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39153 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39154 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39155 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39156 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39159 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39166 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39167 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39168 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39169 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39171 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39172 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39173 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39174 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39175 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39176 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39177 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39178 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39179 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39180 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39181 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39182 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39184 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39192 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39194 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39196 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39197 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39198 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39199 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39200 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39201 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39207 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39208 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39209 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39210 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39211 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39212 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39216 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39220 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39224 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39225 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39226 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39231 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39232 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39233 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39234 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39235 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39236 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39237 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39238 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39239 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39240 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39241 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39242 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39251 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39252 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39254 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39255 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39256 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39257 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39258 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39259 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39260 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39261 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39262 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39263 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39264 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39265 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39266 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39267 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39268 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39269 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39270 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39271 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39272 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39273 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39274 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39275 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39276 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39277 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39279 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39281 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39282 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39283 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39284 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39297 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39298 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39299 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39301 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39302 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39303 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39304 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39305 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39306 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39307 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39308 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39361 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39371 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39372 { NULL
, NULL
, 0, NULL
}
39376 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39378 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39379 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39381 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39382 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39384 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39385 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39387 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39388 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39390 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39391 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39393 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39394 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39396 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39397 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39399 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39400 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39402 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39403 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39405 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39406 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39408 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39409 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39411 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39412 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39414 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39415 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39417 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39418 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39420 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39421 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39423 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39424 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39426 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39427 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39429 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39430 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39432 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39433 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39435 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39436 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39438 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39439 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39441 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39442 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39444 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39445 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39447 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39448 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39450 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39451 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39453 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39454 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39456 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39457 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39459 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39460 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39462 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39463 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39465 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39466 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39468 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39469 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39471 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39472 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39474 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39475 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39477 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39478 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39480 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39481 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39483 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39484 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39486 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39487 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39489 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39490 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39492 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39493 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39495 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39496 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39498 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39499 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39501 static void *_p_wxPenTo_p_wxObject(void *x
) {
39502 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39504 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39505 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39507 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39508 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39510 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39511 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39513 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39516 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39517 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39519 static void *_p_wxIconTo_p_wxObject(void *x
) {
39520 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39522 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39523 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39525 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39526 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39528 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39529 return (void *)((wxObject
*) ((wxSizer
*) x
));
39531 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39532 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39534 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39537 static void *_p_wxEventTo_p_wxObject(void *x
) {
39538 return (void *)((wxObject
*) ((wxEvent
*) x
));
39540 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39541 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39543 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39544 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39546 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39547 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39549 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39550 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39552 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39555 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39556 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39558 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39559 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39561 static void *_p_wxDCTo_p_wxObject(void *x
) {
39562 return (void *)((wxObject
*) ((wxDC
*) x
));
39564 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39565 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39567 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39568 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39570 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39571 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39573 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39574 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39576 static void *_p_wxControlTo_p_wxObject(void *x
) {
39577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39579 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39580 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39582 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39583 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39585 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39586 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39588 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39589 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39591 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39592 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39594 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39595 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39597 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39598 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39600 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39601 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39603 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39604 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39606 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39607 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39609 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39610 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39612 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39613 return (void *)((wxObject
*) ((wxEffects
*) x
));
39615 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39616 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39618 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39621 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39622 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39624 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39625 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39627 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39628 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39630 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39631 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39633 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39636 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39637 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39639 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39642 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39643 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39645 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39646 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39648 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39649 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39651 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39652 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39654 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39655 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39657 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39658 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39660 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39663 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39666 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39669 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39672 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39675 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39676 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39678 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39679 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39681 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39682 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39684 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39687 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39690 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39691 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39693 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39696 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39699 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39702 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39703 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39705 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39706 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39708 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39709 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39711 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39712 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39714 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39715 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39717 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39718 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39720 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39721 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39723 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39724 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39726 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39727 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39729 static void *_p_wxImageTo_p_wxObject(void *x
) {
39730 return (void *)((wxObject
*) ((wxImage
*) x
));
39732 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39733 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39735 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39736 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39738 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39739 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39741 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39742 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39744 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39745 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39747 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39748 return (void *)((wxObject
*) ((wxImageList
*) x
));
39750 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39751 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39753 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39754 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39756 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39757 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39759 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39760 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39762 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39763 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39765 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39768 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39769 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39771 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39772 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39774 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39775 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39777 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39778 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39780 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39783 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39784 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39786 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39787 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39789 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39790 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39792 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39793 return (void *)((wxObject
*) ((wxMask
*) x
));
39795 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39796 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39798 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39801 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39802 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39804 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39805 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39807 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39808 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39810 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39811 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39813 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39814 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39816 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39819 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39820 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39822 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39823 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39825 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39826 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39828 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39831 static void *_p_wxFontTo_p_wxObject(void *x
) {
39832 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39834 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39835 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39837 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39838 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39840 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39843 static void *_p_wxColourTo_p_wxObject(void *x
) {
39844 return (void *)((wxObject
*) ((wxColour
*) x
));
39846 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39849 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39850 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39852 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39853 return (void *)((wxWindow
*) ((wxControl
*) x
));
39855 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39856 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39858 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39859 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39861 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39862 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39864 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39865 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39867 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39870 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};
39871 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39872 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39873 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39874 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39875 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39876 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39877 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39878 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39879 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39880 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39881 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39882 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39883 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39884 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39887 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39888 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39893 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39894 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39895 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39896 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39897 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39898 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39899 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39900 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39903 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39904 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39911 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39912 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39913 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39914 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39915 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39916 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39917 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39918 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39919 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39920 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39921 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39922 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39923 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39924 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39925 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39926 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39927 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39928 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39929 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39930 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39931 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39932 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39933 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39934 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39935 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39936 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39937 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39938 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39939 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39940 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39941 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39942 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39943 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39944 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39945 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39946 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39947 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39948 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39949 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39950 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39951 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39952 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39953 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39954 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39955 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39956 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39957 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39958 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39959 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39960 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39961 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39962 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39963 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39970 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39988 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39989 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39990 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39991 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39992 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39993 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39994 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39995 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39996 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39997 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39998 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39999 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40000 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40001 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40002 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40003 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40004 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40005 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40006 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40007 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40008 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40009 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40010 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40011 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40012 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40013 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40014 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40015 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40016 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40017 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40018 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40019 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40020 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40021 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40022 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40023 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40024 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40025 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40026 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40027 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40028 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40029 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40030 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40031 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40032 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40033 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40034 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40035 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40036 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40038 static swig_type_info
*swig_type_initial
[] = {
40042 &_swigt__p_form_ops_t
,
40044 &_swigt__p_unsigned_char
,
40045 &_swigt__p_unsigned_int
,
40046 &_swigt__p_unsigned_long
,
40048 &_swigt__p_wxANIHandler
,
40049 &_swigt__p_wxAcceleratorTable
,
40050 &_swigt__p_wxActivateEvent
,
40051 &_swigt__p_wxAlphaPixelData
,
40052 &_swigt__p_wxAlphaPixelData_Accessor
,
40053 &_swigt__p_wxAutoBufferedPaintDC
,
40054 &_swigt__p_wxBMPHandler
,
40055 &_swigt__p_wxBitmap
,
40056 &_swigt__p_wxBoxSizer
,
40057 &_swigt__p_wxBrush
,
40058 &_swigt__p_wxBrushList
,
40059 &_swigt__p_wxBufferedDC
,
40060 &_swigt__p_wxBufferedPaintDC
,
40061 &_swigt__p_wxCURHandler
,
40063 &_swigt__p_wxChildFocusEvent
,
40064 &_swigt__p_wxClientDC
,
40065 &_swigt__p_wxClipboardTextEvent
,
40066 &_swigt__p_wxCloseEvent
,
40067 &_swigt__p_wxColor
,
40068 &_swigt__p_wxColour
,
40069 &_swigt__p_wxColourDatabase
,
40070 &_swigt__p_wxCommandEvent
,
40071 &_swigt__p_wxContextMenuEvent
,
40072 &_swigt__p_wxControl
,
40073 &_swigt__p_wxControlWithItems
,
40074 &_swigt__p_wxCursor
,
40076 &_swigt__p_wxDCBrushChanger
,
40077 &_swigt__p_wxDCClipper
,
40078 &_swigt__p_wxDCOverlay
,
40079 &_swigt__p_wxDCPenChanger
,
40080 &_swigt__p_wxDCTextColourChanger
,
40082 &_swigt__p_wxDateEvent
,
40083 &_swigt__p_wxDisplayChangedEvent
,
40084 &_swigt__p_wxDropFilesEvent
,
40085 &_swigt__p_wxDuplexMode
,
40086 &_swigt__p_wxEffects
,
40087 &_swigt__p_wxEncodingConverter
,
40088 &_swigt__p_wxEraseEvent
,
40089 &_swigt__p_wxEvent
,
40090 &_swigt__p_wxEvtHandler
,
40091 &_swigt__p_wxFSFile
,
40092 &_swigt__p_wxFileSystem
,
40093 &_swigt__p_wxFlexGridSizer
,
40094 &_swigt__p_wxFocusEvent
,
40096 &_swigt__p_wxFontList
,
40097 &_swigt__p_wxFontMapper
,
40098 &_swigt__p_wxGBSizerItem
,
40100 &_swigt__p_wxGDIObjListBase
,
40101 &_swigt__p_wxGDIObject
,
40102 &_swigt__p_wxGIFHandler
,
40103 &_swigt__p_wxGraphicsBrush
,
40104 &_swigt__p_wxGraphicsContext
,
40105 &_swigt__p_wxGraphicsFont
,
40106 &_swigt__p_wxGraphicsMatrix
,
40107 &_swigt__p_wxGraphicsObject
,
40108 &_swigt__p_wxGraphicsPath
,
40109 &_swigt__p_wxGraphicsPen
,
40110 &_swigt__p_wxGraphicsRenderer
,
40111 &_swigt__p_wxGridBagSizer
,
40112 &_swigt__p_wxGridSizer
,
40113 &_swigt__p_wxHeaderButtonParams
,
40114 &_swigt__p_wxICOHandler
,
40116 &_swigt__p_wxIconBundle
,
40117 &_swigt__p_wxIconLocation
,
40118 &_swigt__p_wxIconizeEvent
,
40119 &_swigt__p_wxIdleEvent
,
40120 &_swigt__p_wxImage
,
40121 &_swigt__p_wxImageHandler
,
40122 &_swigt__p_wxImageList
,
40123 &_swigt__p_wxIndividualLayoutConstraint
,
40124 &_swigt__p_wxInitDialogEvent
,
40125 &_swigt__p_wxJPEGHandler
,
40126 &_swigt__p_wxKeyEvent
,
40127 &_swigt__p_wxLanguageInfo
,
40128 &_swigt__p_wxLayoutConstraints
,
40129 &_swigt__p_wxLocale
,
40131 &_swigt__p_wxMaximizeEvent
,
40132 &_swigt__p_wxMemoryDC
,
40134 &_swigt__p_wxMenuBar
,
40135 &_swigt__p_wxMenuEvent
,
40136 &_swigt__p_wxMenuItem
,
40137 &_swigt__p_wxMetaFile
,
40138 &_swigt__p_wxMetaFileDC
,
40139 &_swigt__p_wxMirrorDC
,
40140 &_swigt__p_wxMouseCaptureChangedEvent
,
40141 &_swigt__p_wxMouseCaptureLostEvent
,
40142 &_swigt__p_wxMouseEvent
,
40143 &_swigt__p_wxMoveEvent
,
40144 &_swigt__p_wxNativeEncodingInfo
,
40145 &_swigt__p_wxNativeFontInfo
,
40146 &_swigt__p_wxNativePixelData
,
40147 &_swigt__p_wxNativePixelData_Accessor
,
40148 &_swigt__p_wxNavigationKeyEvent
,
40149 &_swigt__p_wxNcPaintEvent
,
40150 &_swigt__p_wxNotifyEvent
,
40151 &_swigt__p_wxObject
,
40152 &_swigt__p_wxOverlay
,
40153 &_swigt__p_wxPCXHandler
,
40154 &_swigt__p_wxPNGHandler
,
40155 &_swigt__p_wxPNMHandler
,
40156 &_swigt__p_wxPaintDC
,
40157 &_swigt__p_wxPaintEvent
,
40158 &_swigt__p_wxPalette
,
40159 &_swigt__p_wxPaletteChangedEvent
,
40160 &_swigt__p_wxPaperSize
,
40162 &_swigt__p_wxPenList
,
40163 &_swigt__p_wxPixelDataBase
,
40164 &_swigt__p_wxPoint
,
40165 &_swigt__p_wxPoint2D
,
40166 &_swigt__p_wxPostScriptDC
,
40167 &_swigt__p_wxPrintData
,
40168 &_swigt__p_wxPrinterDC
,
40169 &_swigt__p_wxPseudoDC
,
40170 &_swigt__p_wxPyApp
,
40171 &_swigt__p_wxPyCommandEvent
,
40172 &_swigt__p_wxPyEvent
,
40173 &_swigt__p_wxPyFontEnumerator
,
40174 &_swigt__p_wxPyImageHandler
,
40175 &_swigt__p_wxPyLocale
,
40176 &_swigt__p_wxPySizer
,
40177 &_swigt__p_wxPyValidator
,
40178 &_swigt__p_wxQueryNewPaletteEvent
,
40180 &_swigt__p_wxRect2D
,
40181 &_swigt__p_wxRegion
,
40182 &_swigt__p_wxRegionIterator
,
40183 &_swigt__p_wxRendererNative
,
40184 &_swigt__p_wxRendererVersion
,
40185 &_swigt__p_wxScreenDC
,
40186 &_swigt__p_wxScrollEvent
,
40187 &_swigt__p_wxScrollWinEvent
,
40188 &_swigt__p_wxSetCursorEvent
,
40189 &_swigt__p_wxShowEvent
,
40191 &_swigt__p_wxSizeEvent
,
40192 &_swigt__p_wxSizer
,
40193 &_swigt__p_wxSizerItem
,
40194 &_swigt__p_wxSplitterRenderParams
,
40195 &_swigt__p_wxStaticBoxSizer
,
40196 &_swigt__p_wxStdDialogButtonSizer
,
40197 &_swigt__p_wxStockGDI
,
40198 &_swigt__p_wxString
,
40199 &_swigt__p_wxSysColourChangedEvent
,
40200 &_swigt__p_wxTGAHandler
,
40201 &_swigt__p_wxTIFFHandler
,
40202 &_swigt__p_wxUpdateUIEvent
,
40203 &_swigt__p_wxValidator
,
40204 &_swigt__p_wxWindow
,
40205 &_swigt__p_wxWindowCreateEvent
,
40206 &_swigt__p_wxWindowDC
,
40207 &_swigt__p_wxWindowDestroyEvent
,
40208 &_swigt__p_wxXPMHandler
,
40211 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40212 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40220 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40221 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40223 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40224 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40225 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40226 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}};
40227 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40228 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40229 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}};
40230 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40233 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40234 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}};
40235 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40239 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40240 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40245 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40248 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}};
40249 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}};
40250 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40254 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}};
40255 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40265 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}};
40266 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40267 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}};
40268 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40269 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40357 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40358 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40359 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}};
40360 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40361 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40362 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40363 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40364 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40365 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40366 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40367 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40368 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40369 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40370 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40371 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40372 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40373 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40374 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40375 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40376 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40377 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40378 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40379 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}};
40380 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40382 static swig_cast_info
*swig_cast_initial
[] = {
40386 _swigc__p_form_ops_t
,
40388 _swigc__p_unsigned_char
,
40389 _swigc__p_unsigned_int
,
40390 _swigc__p_unsigned_long
,
40392 _swigc__p_wxANIHandler
,
40393 _swigc__p_wxAcceleratorTable
,
40394 _swigc__p_wxActivateEvent
,
40395 _swigc__p_wxAlphaPixelData
,
40396 _swigc__p_wxAlphaPixelData_Accessor
,
40397 _swigc__p_wxAutoBufferedPaintDC
,
40398 _swigc__p_wxBMPHandler
,
40399 _swigc__p_wxBitmap
,
40400 _swigc__p_wxBoxSizer
,
40402 _swigc__p_wxBrushList
,
40403 _swigc__p_wxBufferedDC
,
40404 _swigc__p_wxBufferedPaintDC
,
40405 _swigc__p_wxCURHandler
,
40407 _swigc__p_wxChildFocusEvent
,
40408 _swigc__p_wxClientDC
,
40409 _swigc__p_wxClipboardTextEvent
,
40410 _swigc__p_wxCloseEvent
,
40412 _swigc__p_wxColour
,
40413 _swigc__p_wxColourDatabase
,
40414 _swigc__p_wxCommandEvent
,
40415 _swigc__p_wxContextMenuEvent
,
40416 _swigc__p_wxControl
,
40417 _swigc__p_wxControlWithItems
,
40418 _swigc__p_wxCursor
,
40420 _swigc__p_wxDCBrushChanger
,
40421 _swigc__p_wxDCClipper
,
40422 _swigc__p_wxDCOverlay
,
40423 _swigc__p_wxDCPenChanger
,
40424 _swigc__p_wxDCTextColourChanger
,
40426 _swigc__p_wxDateEvent
,
40427 _swigc__p_wxDisplayChangedEvent
,
40428 _swigc__p_wxDropFilesEvent
,
40429 _swigc__p_wxDuplexMode
,
40430 _swigc__p_wxEffects
,
40431 _swigc__p_wxEncodingConverter
,
40432 _swigc__p_wxEraseEvent
,
40434 _swigc__p_wxEvtHandler
,
40435 _swigc__p_wxFSFile
,
40436 _swigc__p_wxFileSystem
,
40437 _swigc__p_wxFlexGridSizer
,
40438 _swigc__p_wxFocusEvent
,
40440 _swigc__p_wxFontList
,
40441 _swigc__p_wxFontMapper
,
40442 _swigc__p_wxGBSizerItem
,
40444 _swigc__p_wxGDIObjListBase
,
40445 _swigc__p_wxGDIObject
,
40446 _swigc__p_wxGIFHandler
,
40447 _swigc__p_wxGraphicsBrush
,
40448 _swigc__p_wxGraphicsContext
,
40449 _swigc__p_wxGraphicsFont
,
40450 _swigc__p_wxGraphicsMatrix
,
40451 _swigc__p_wxGraphicsObject
,
40452 _swigc__p_wxGraphicsPath
,
40453 _swigc__p_wxGraphicsPen
,
40454 _swigc__p_wxGraphicsRenderer
,
40455 _swigc__p_wxGridBagSizer
,
40456 _swigc__p_wxGridSizer
,
40457 _swigc__p_wxHeaderButtonParams
,
40458 _swigc__p_wxICOHandler
,
40460 _swigc__p_wxIconBundle
,
40461 _swigc__p_wxIconLocation
,
40462 _swigc__p_wxIconizeEvent
,
40463 _swigc__p_wxIdleEvent
,
40465 _swigc__p_wxImageHandler
,
40466 _swigc__p_wxImageList
,
40467 _swigc__p_wxIndividualLayoutConstraint
,
40468 _swigc__p_wxInitDialogEvent
,
40469 _swigc__p_wxJPEGHandler
,
40470 _swigc__p_wxKeyEvent
,
40471 _swigc__p_wxLanguageInfo
,
40472 _swigc__p_wxLayoutConstraints
,
40473 _swigc__p_wxLocale
,
40475 _swigc__p_wxMaximizeEvent
,
40476 _swigc__p_wxMemoryDC
,
40478 _swigc__p_wxMenuBar
,
40479 _swigc__p_wxMenuEvent
,
40480 _swigc__p_wxMenuItem
,
40481 _swigc__p_wxMetaFile
,
40482 _swigc__p_wxMetaFileDC
,
40483 _swigc__p_wxMirrorDC
,
40484 _swigc__p_wxMouseCaptureChangedEvent
,
40485 _swigc__p_wxMouseCaptureLostEvent
,
40486 _swigc__p_wxMouseEvent
,
40487 _swigc__p_wxMoveEvent
,
40488 _swigc__p_wxNativeEncodingInfo
,
40489 _swigc__p_wxNativeFontInfo
,
40490 _swigc__p_wxNativePixelData
,
40491 _swigc__p_wxNativePixelData_Accessor
,
40492 _swigc__p_wxNavigationKeyEvent
,
40493 _swigc__p_wxNcPaintEvent
,
40494 _swigc__p_wxNotifyEvent
,
40495 _swigc__p_wxObject
,
40496 _swigc__p_wxOverlay
,
40497 _swigc__p_wxPCXHandler
,
40498 _swigc__p_wxPNGHandler
,
40499 _swigc__p_wxPNMHandler
,
40500 _swigc__p_wxPaintDC
,
40501 _swigc__p_wxPaintEvent
,
40502 _swigc__p_wxPalette
,
40503 _swigc__p_wxPaletteChangedEvent
,
40504 _swigc__p_wxPaperSize
,
40506 _swigc__p_wxPenList
,
40507 _swigc__p_wxPixelDataBase
,
40509 _swigc__p_wxPoint2D
,
40510 _swigc__p_wxPostScriptDC
,
40511 _swigc__p_wxPrintData
,
40512 _swigc__p_wxPrinterDC
,
40513 _swigc__p_wxPseudoDC
,
40515 _swigc__p_wxPyCommandEvent
,
40516 _swigc__p_wxPyEvent
,
40517 _swigc__p_wxPyFontEnumerator
,
40518 _swigc__p_wxPyImageHandler
,
40519 _swigc__p_wxPyLocale
,
40520 _swigc__p_wxPySizer
,
40521 _swigc__p_wxPyValidator
,
40522 _swigc__p_wxQueryNewPaletteEvent
,
40524 _swigc__p_wxRect2D
,
40525 _swigc__p_wxRegion
,
40526 _swigc__p_wxRegionIterator
,
40527 _swigc__p_wxRendererNative
,
40528 _swigc__p_wxRendererVersion
,
40529 _swigc__p_wxScreenDC
,
40530 _swigc__p_wxScrollEvent
,
40531 _swigc__p_wxScrollWinEvent
,
40532 _swigc__p_wxSetCursorEvent
,
40533 _swigc__p_wxShowEvent
,
40535 _swigc__p_wxSizeEvent
,
40537 _swigc__p_wxSizerItem
,
40538 _swigc__p_wxSplitterRenderParams
,
40539 _swigc__p_wxStaticBoxSizer
,
40540 _swigc__p_wxStdDialogButtonSizer
,
40541 _swigc__p_wxStockGDI
,
40542 _swigc__p_wxString
,
40543 _swigc__p_wxSysColourChangedEvent
,
40544 _swigc__p_wxTGAHandler
,
40545 _swigc__p_wxTIFFHandler
,
40546 _swigc__p_wxUpdateUIEvent
,
40547 _swigc__p_wxValidator
,
40548 _swigc__p_wxWindow
,
40549 _swigc__p_wxWindowCreateEvent
,
40550 _swigc__p_wxWindowDC
,
40551 _swigc__p_wxWindowDestroyEvent
,
40552 _swigc__p_wxXPMHandler
,
40556 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40558 static swig_const_info swig_const_table
[] = {
40559 {0, 0, 0, 0.0, 0, 0}};
40564 /* -----------------------------------------------------------------------------
40565 * Type initialization:
40566 * This problem is tough by the requirement that no dynamic
40567 * memory is used. Also, since swig_type_info structures store pointers to
40568 * swig_cast_info structures and swig_cast_info structures store pointers back
40569 * to swig_type_info structures, we need some lookup code at initialization.
40570 * The idea is that swig generates all the structures that are needed.
40571 * The runtime then collects these partially filled structures.
40572 * The SWIG_InitializeModule function takes these initial arrays out of
40573 * swig_module, and does all the lookup, filling in the swig_module.types
40574 * array with the correct data and linking the correct swig_cast_info
40575 * structures together.
40577 * The generated swig_type_info structures are assigned staticly to an initial
40578 * array. We just loop though that array, and handle each type individually.
40579 * First we lookup if this type has been already loaded, and if so, use the
40580 * loaded structure instead of the generated one. Then we have to fill in the
40581 * cast linked list. The cast data is initially stored in something like a
40582 * two-dimensional array. Each row corresponds to a type (there are the same
40583 * number of rows as there are in the swig_type_initial array). Each entry in
40584 * a column is one of the swig_cast_info structures for that type.
40585 * The cast_initial array is actually an array of arrays, because each row has
40586 * a variable number of columns. So to actually build the cast linked list,
40587 * we find the array of casts associated with the type, and loop through it
40588 * adding the casts to the list. The one last trick we need to do is making
40589 * sure the type pointer in the swig_cast_info struct is correct.
40591 * First off, we lookup the cast->type name to see if it is already loaded.
40592 * There are three cases to handle:
40593 * 1) If the cast->type has already been loaded AND the type we are adding
40594 * casting info to has not been loaded (it is in this module), THEN we
40595 * replace the cast->type pointer with the type pointer that has already
40597 * 2) If BOTH types (the one we are adding casting info to, and the
40598 * cast->type) are loaded, THEN the cast info has already been loaded by
40599 * the previous module so we just ignore it.
40600 * 3) Finally, if cast->type has not already been loaded, then we add that
40601 * swig_cast_info to the linked list (because the cast->type) pointer will
40603 * ----------------------------------------------------------------------------- */
40613 #define SWIGRUNTIME_DEBUG
40617 SWIG_InitializeModule(void *clientdata
) {
40619 swig_module_info
*module_head
;
40620 static int init_run
= 0;
40622 clientdata
= clientdata
;
40624 if (init_run
) return;
40627 /* Initialize the swig_module */
40628 swig_module
.type_initial
= swig_type_initial
;
40629 swig_module
.cast_initial
= swig_cast_initial
;
40631 /* Try and load any already created modules */
40632 module_head
= SWIG_GetModule(clientdata
);
40634 swig_module
.next
= module_head
->next
;
40635 module_head
->next
= &swig_module
;
40637 /* This is the first module loaded */
40638 swig_module
.next
= &swig_module
;
40639 SWIG_SetModule(clientdata
, &swig_module
);
40642 /* Now work on filling in swig_module.types */
40643 #ifdef SWIGRUNTIME_DEBUG
40644 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40646 for (i
= 0; i
< swig_module
.size
; ++i
) {
40647 swig_type_info
*type
= 0;
40648 swig_type_info
*ret
;
40649 swig_cast_info
*cast
;
40651 #ifdef SWIGRUNTIME_DEBUG
40652 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40655 /* if there is another module already loaded */
40656 if (swig_module
.next
!= &swig_module
) {
40657 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40660 /* Overwrite clientdata field */
40661 #ifdef SWIGRUNTIME_DEBUG
40662 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40664 if (swig_module
.type_initial
[i
]->clientdata
) {
40665 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40666 #ifdef SWIGRUNTIME_DEBUG
40667 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40671 type
= swig_module
.type_initial
[i
];
40674 /* Insert casting types */
40675 cast
= swig_module
.cast_initial
[i
];
40676 while (cast
->type
) {
40677 /* Don't need to add information already in the list */
40679 #ifdef SWIGRUNTIME_DEBUG
40680 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40682 if (swig_module
.next
!= &swig_module
) {
40683 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40684 #ifdef SWIGRUNTIME_DEBUG
40685 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40689 if (type
== swig_module
.type_initial
[i
]) {
40690 #ifdef SWIGRUNTIME_DEBUG
40691 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40696 /* Check for casting already in the list */
40697 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40698 #ifdef SWIGRUNTIME_DEBUG
40699 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40701 if (!ocast
) ret
= 0;
40706 #ifdef SWIGRUNTIME_DEBUG
40707 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40710 type
->cast
->prev
= cast
;
40711 cast
->next
= type
->cast
;
40717 /* Set entry in modules->types array equal to the type */
40718 swig_module
.types
[i
] = type
;
40720 swig_module
.types
[i
] = 0;
40722 #ifdef SWIGRUNTIME_DEBUG
40723 printf("**** SWIG_InitializeModule: Cast List ******\n");
40724 for (i
= 0; i
< swig_module
.size
; ++i
) {
40726 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40727 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40728 while (cast
->type
) {
40729 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40733 printf("---- Total casts: %d\n",j
);
40735 printf("**** SWIG_InitializeModule: Cast List ******\n");
40739 /* This function will propagate the clientdata field of type to
40740 * any new swig_type_info structures that have been added into the list
40741 * of equivalent types. It is like calling
40742 * SWIG_TypeClientData(type, clientdata) a second time.
40745 SWIG_PropagateClientData(void) {
40747 swig_cast_info
*equiv
;
40748 static int init_run
= 0;
40750 if (init_run
) return;
40753 for (i
= 0; i
< swig_module
.size
; i
++) {
40754 if (swig_module
.types
[i
]->clientdata
) {
40755 equiv
= swig_module
.types
[i
]->cast
;
40757 if (!equiv
->converter
) {
40758 if (equiv
->type
&& !equiv
->type
->clientdata
)
40759 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40761 equiv
= equiv
->next
;
40781 /* Python-specific SWIG API */
40782 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40783 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40784 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40786 /* -----------------------------------------------------------------------------
40787 * global variable support code.
40788 * ----------------------------------------------------------------------------- */
40790 typedef struct swig_globalvar
{
40791 char *name
; /* Name of global variable */
40792 PyObject
*(*get_attr
)(void); /* Return the current value */
40793 int (*set_attr
)(PyObject
*); /* Set the value */
40794 struct swig_globalvar
*next
;
40797 typedef struct swig_varlinkobject
{
40799 swig_globalvar
*vars
;
40800 } swig_varlinkobject
;
40802 SWIGINTERN PyObject
*
40803 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40804 return PyString_FromString("<Swig global variables>");
40807 SWIGINTERN PyObject
*
40808 swig_varlink_str(swig_varlinkobject
*v
) {
40809 PyObject
*str
= PyString_FromString("(");
40810 swig_globalvar
*var
;
40811 for (var
= v
->vars
; var
; var
=var
->next
) {
40812 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40813 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40815 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40820 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40821 PyObject
*str
= swig_varlink_str(v
);
40822 fprintf(fp
,"Swig global variables ");
40823 fprintf(fp
,"%s\n", PyString_AsString(str
));
40829 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40830 swig_globalvar
*var
= v
->vars
;
40832 swig_globalvar
*n
= var
->next
;
40839 SWIGINTERN PyObject
*
40840 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40841 PyObject
*res
= NULL
;
40842 swig_globalvar
*var
= v
->vars
;
40844 if (strcmp(var
->name
,n
) == 0) {
40845 res
= (*var
->get_attr
)();
40850 if (res
== NULL
&& !PyErr_Occurred()) {
40851 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40857 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40859 swig_globalvar
*var
= v
->vars
;
40861 if (strcmp(var
->name
,n
) == 0) {
40862 res
= (*var
->set_attr
)(p
);
40867 if (res
== 1 && !PyErr_Occurred()) {
40868 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40873 SWIGINTERN PyTypeObject
*
40874 swig_varlink_type(void) {
40875 static char varlink__doc__
[] = "Swig var link object";
40876 static PyTypeObject varlink_type
;
40877 static int type_init
= 0;
40879 const PyTypeObject tmp
40881 PyObject_HEAD_INIT(NULL
)
40882 0, /* Number of items in variable part (ob_size) */
40883 (char *)"swigvarlink", /* Type name (tp_name) */
40884 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40885 0, /* Itemsize (tp_itemsize) */
40886 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40887 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40888 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40889 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40890 0, /* tp_compare */
40891 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40892 0, /* tp_as_number */
40893 0, /* tp_as_sequence */
40894 0, /* tp_as_mapping */
40897 (reprfunc
)swig_varlink_str
, /* tp_str */
40898 0, /* tp_getattro */
40899 0, /* tp_setattro */
40900 0, /* tp_as_buffer */
40902 varlink__doc__
, /* tp_doc */
40903 0, /* tp_traverse */
40905 0, /* tp_richcompare */
40906 0, /* tp_weaklistoffset */
40907 #if PY_VERSION_HEX >= 0x02020000
40908 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40910 #if PY_VERSION_HEX >= 0x02030000
40913 #ifdef COUNT_ALLOCS
40914 0,0,0,0 /* tp_alloc -> tp_next */
40917 varlink_type
= tmp
;
40918 varlink_type
.ob_type
= &PyType_Type
;
40921 return &varlink_type
;
40924 /* Create a variable linking object for use later */
40925 SWIGINTERN PyObject
*
40926 SWIG_Python_newvarlink(void) {
40927 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40931 return ((PyObject
*) result
);
40935 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40936 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40937 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40939 size_t size
= strlen(name
)+1;
40940 gv
->name
= (char *)malloc(size
);
40942 strncpy(gv
->name
,name
,size
);
40943 gv
->get_attr
= get_attr
;
40944 gv
->set_attr
= set_attr
;
40945 gv
->next
= v
->vars
;
40951 SWIGINTERN PyObject
*
40953 static PyObject
*_SWIG_globals
= 0;
40954 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40955 return _SWIG_globals
;
40958 /* -----------------------------------------------------------------------------
40959 * constants/methods manipulation
40960 * ----------------------------------------------------------------------------- */
40962 /* Install Constants */
40964 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40967 for (i
= 0; constants
[i
].type
; ++i
) {
40968 switch(constants
[i
].type
) {
40969 case SWIG_PY_POINTER
:
40970 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40972 case SWIG_PY_BINARY
:
40973 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40980 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40986 /* -----------------------------------------------------------------------------*/
40987 /* Fix SwigMethods to carry the callback ptrs when needed */
40988 /* -----------------------------------------------------------------------------*/
40991 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40992 swig_const_info
*const_table
,
40993 swig_type_info
**types
,
40994 swig_type_info
**types_initial
) {
40996 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40997 const char *c
= methods
[i
].ml_doc
;
40998 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41000 swig_const_info
*ci
= 0;
41001 const char *name
= c
+ 10;
41002 for (j
= 0; const_table
[j
].type
; ++j
) {
41003 if (strncmp(const_table
[j
].name
, name
,
41004 strlen(const_table
[j
].name
)) == 0) {
41005 ci
= &(const_table
[j
]);
41010 size_t shift
= (ci
->ptype
) - types
;
41011 swig_type_info
*ty
= types_initial
[shift
];
41012 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41013 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41014 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41017 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41019 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41021 strncpy(buff
, "swig_ptr: ", 10);
41023 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41024 methods
[i
].ml_doc
= ndoc
;
41036 /* -----------------------------------------------------------------------------*
41037 * Partial Init method
41038 * -----------------------------------------------------------------------------*/
41043 SWIGEXPORT
void SWIG_init(void) {
41046 /* Fix SwigMethods to carry the callback ptrs when needed */
41047 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41049 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41050 d
= PyModule_GetDict(m
);
41052 SWIG_InitializeModule(0);
41053 SWIG_InstallConstants(d
,swig_const_table
);
41056 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41057 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41058 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41059 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41060 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41061 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41062 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41063 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41064 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41065 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41066 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41067 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41068 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41069 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41070 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41071 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41072 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41073 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41074 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41075 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41076 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41077 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41078 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41079 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41080 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41081 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41082 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41083 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41084 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41085 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41086 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41087 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41088 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41089 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41090 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41091 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41092 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41093 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41094 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41095 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41096 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41097 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41098 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41099 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41100 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41101 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41102 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41103 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41104 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41105 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41106 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41107 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41108 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41109 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41110 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41111 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41112 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41113 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41114 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41115 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41116 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41117 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41118 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41119 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41166 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41167 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41168 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41169 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41170 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41171 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41172 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41173 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41174 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41175 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41176 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41177 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41178 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41179 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41180 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41181 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41182 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41183 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41184 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41185 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41186 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41187 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41189 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41422 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41423 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41424 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41425 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41426 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41427 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41428 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41429 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41430 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41431 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41432 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41433 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41434 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41435 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41436 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41437 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41438 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41439 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41440 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41441 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41442 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41443 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41444 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41445 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41446 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41447 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41448 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41449 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41450 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41451 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41452 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41453 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41454 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41455 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41456 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41457 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41458 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41459 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41460 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41461 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41462 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41463 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41464 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41465 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41466 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41467 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41468 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41469 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41470 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41471 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41472 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41473 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41474 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41475 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41476 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41477 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41478 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41479 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41480 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41481 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41482 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41483 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41484 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41485 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41486 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41487 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41488 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41489 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41490 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41491 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41492 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41493 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41494 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41495 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41496 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41497 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41498 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41499 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41500 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41501 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41502 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41503 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41504 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41505 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41506 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41507 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41508 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41509 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41510 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41511 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41512 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41513 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41514 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41516 // Work around a chicken/egg problem in drawlist.cpp
41517 wxPyDrawList_SetAPIPtr();