1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3263 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3264 return self
->operator bool();
3267 #include <wx/fontutil.h>
3268 #include <wx/fontmap.h>
3269 #include <wx/fontenum.h>
3271 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3272 return self
->ToString();
3275 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3276 static wxNativeEncodingInfo info
;
3277 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 class wxMetaFile
: public wxObject
{
3610 wxMetaFile(const wxString
&)
3611 { wxPyRaiseNotImplemented(); }
3614 class wxMetaFileDC
: public wxClientDC
{
3616 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3617 { wxPyRaiseNotImplemented(); }
3622 class wxPrinterDC
: public wxClientDC
{
3624 wxPrinterDC(const wxPrintData
&)
3625 { wxPyRaiseNotImplemented(); }
3630 #include <wx/graphics.h>
3633 #if !wxUSE_GRAPHICS_CONTEXT
3634 // C++ stub classes for platforms or build configurations that don't have
3635 // wxGraphicsContext yet.
3637 class wxGraphicsRenderer
;
3638 class wxGraphicsMatrix
;
3641 class wxGraphicsObject
: public wxObject
3644 wxGraphicsObject() {}
3645 wxGraphicsObject( wxGraphicsRenderer
* ) {
3646 PyErr_SetString(PyExc_NotImplementedError
,
3647 "wx.GraphicsObject is not available on this platform.");
3649 wxGraphicsObject( const wxGraphicsObject
& ) {}
3650 virtual ~wxGraphicsObject() {}
3651 bool IsNull() const { return false; }
3652 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3657 class wxGraphicsPen
: public wxGraphicsObject
3661 virtual ~wxGraphicsPen() {}
3663 wxGraphicsPen wxNullGraphicsPen
;
3667 class wxGraphicsBrush
: public wxGraphicsObject
3670 wxGraphicsBrush() {}
3671 virtual ~wxGraphicsBrush() {}
3673 wxGraphicsBrush wxNullGraphicsBrush
;
3677 class wxGraphicsFont
: public wxGraphicsObject
3681 virtual ~wxGraphicsFont() {}
3683 wxGraphicsFont wxNullGraphicsFont
;
3687 class wxGraphicsPath
: public wxGraphicsObject
3690 wxGraphicsPath() { }
3691 wxGraphicsPath(wxGraphicsRenderer
* ) {
3692 PyErr_SetString(PyExc_NotImplementedError
,
3693 "wx.GraphicsPath is not available on this platform.");
3695 virtual ~wxGraphicsPath() {}
3697 void MoveToPoint( wxDouble
, wxDouble
) {}
3698 void MoveToPoint( const wxPoint2DDouble
& ) {}
3699 void AddLineToPoint( wxDouble
, wxDouble
) {}
3700 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3701 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3702 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3703 void AddPath( const wxGraphicsPath
& ) {}
3704 void CloseSubpath() {}
3705 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3706 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3707 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3708 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3710 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void * GetNativePath() const { return NULL
; }
3718 void UnGetNativePath(void *) const {}
3719 void Transform( const wxGraphicsMatrix
& ) {}
3720 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3721 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3723 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3724 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3726 wxGraphicsPath wxNullGraphicsPath
;
3729 class wxGraphicsMatrix
: public wxGraphicsObject
3732 wxGraphicsMatrix() { }
3733 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3734 PyErr_SetString(PyExc_NotImplementedError
,
3735 "wx.GraphicsMatrix is not available on this platform.");
3737 virtual ~wxGraphicsMatrix() {}
3738 virtual void Concat( const wxGraphicsMatrix
& ) {}
3739 virtual void Copy( const wxGraphicsMatrix
& ) {}
3740 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3741 wxDouble
, wxDouble
) {}
3742 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3743 wxDouble
*, wxDouble
*, wxDouble
*) {}
3744 virtual void Invert() {}
3745 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3746 virtual bool IsIdentity() const { return false; }
3747 virtual void Translate( wxDouble
, wxDouble
) {}
3748 virtual void Scale( wxDouble
, wxDouble
) {}
3749 virtual void Rotate( wxDouble
) {}
3750 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3751 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3752 virtual void * GetNativeMatrix() const { return NULL
; }
3754 wxGraphicsMatrix wxNullGraphicsMatrix
;
3757 class wxGraphicsContext
: public wxGraphicsObject
3761 wxGraphicsContext(wxGraphicsRenderer
* ) {
3762 PyErr_SetString(PyExc_NotImplementedError
,
3763 "wx.GraphicsContext is not available on this platform.");
3766 virtual ~wxGraphicsContext() {}
3768 static wxGraphicsContext
* Create() {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsContext is not available on this platform.");
3773 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3779 static wxGraphicsContext
* CreateFromNative( void * ) {
3780 PyErr_SetString(PyExc_NotImplementedError
,
3781 "wx.GraphicsContext is not available on this platform.");
3785 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3786 PyErr_SetString(PyExc_NotImplementedError
,
3787 "wx.GraphicsContext is not available on this platform.");
3791 static wxGraphicsContext
* Create( wxWindow
* ) {
3792 PyErr_SetString(PyExc_NotImplementedError
,
3793 "wx.GraphicsContext is not available on this platform.");
3797 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3799 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3801 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3803 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3804 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3806 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3807 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3808 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3810 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3812 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3813 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3815 virtual void PushState() {}
3816 virtual void PopState() {}
3817 virtual void Clip( const wxRegion
& ) {}
3818 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3819 virtual void ResetClip() {}
3820 virtual void * GetNativeContext() { return NULL
; }
3821 virtual int GetLogicalFunction() const { return 0; }
3822 virtual bool SetLogicalFunction(int ) {}
3823 virtual void Translate( wxDouble
, wxDouble
) {}
3824 virtual void Scale( wxDouble
, wxDouble
) {}
3825 virtual void Rotate( wxDouble
) {}
3826 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3827 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3828 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3830 virtual void SetPen( const wxGraphicsPen
& ) {}
3831 void SetPen( const wxPen
& ) {}
3833 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3834 void SetBrush( const wxBrush
& ) {}
3836 virtual void SetFont( const wxGraphicsFont
& ) {}
3837 void SetFont( const wxFont
&, const wxColour
& ) {}
3839 virtual void StrokePath( const wxGraphicsPath
& ) {}
3840 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3841 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3843 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3847 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3848 wxDouble
*, wxDouble
* ) const {}
3849 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3851 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3852 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3854 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3856 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3857 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3858 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual bool ShouldOffset() const { return false; }
3866 class wxGraphicsRenderer
: public wxObject
3869 wxGraphicsRenderer() {
3870 PyErr_SetString(PyExc_NotImplementedError
,
3871 "wx.GraphicsRenderer is not available on this platform.");
3874 virtual ~wxGraphicsRenderer() {}
3876 static wxGraphicsRenderer
* GetDefaultRenderer() {
3877 PyErr_SetString(PyExc_NotImplementedError
,
3878 "wx.GraphicsRenderer is not available on this platform.");
3882 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3888 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3890 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3891 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3893 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3894 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3895 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3896 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3897 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3898 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3904 class wxGCDC
: public wxWindowDC
3907 wxGCDC(const wxWindowDC
&) {
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 PyErr_SetString(PyExc_NotImplementedError
,
3910 "wxGCDC is not available on this platform.");
3911 wxPyEndBlockThreads(blocked
);
3914 wxGCDC(const wxWindow
*) {
3915 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3916 PyErr_SetString(PyExc_NotImplementedError
,
3917 "wxGCDC is not available on this platform.");
3918 wxPyEndBlockThreads(blocked
);
3922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3923 PyErr_SetString(PyExc_NotImplementedError
,
3924 "wxGCDC is not available on this platform.");
3925 wxPyEndBlockThreads(blocked
);
3928 virtual ~wxGCDC() {}
3930 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3931 void SetGraphicsContext( wxGraphicsContext
* ) {}
3936 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3937 if ( !backgroundBrush
.IsNull() )
3938 self
->DrawText(str
, x
, y
, backgroundBrush
);
3940 self
->DrawText(str
, x
, y
);
3942 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3943 if ( !backgroundBrush
.IsNull() )
3944 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3946 self
->DrawText(str
, x
, y
, angle
);
3948 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3949 wxDouble width
= 0.0,
3951 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3952 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3953 PyObject
* rv
= PyTuple_New(2);
3954 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3955 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3958 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3959 wxArrayDouble widths
;
3960 self
->GetPartialTextExtents(text
, widths
);
3963 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3964 size_t c1
, c2
, count
;
3965 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3966 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3968 if ( beginP
!= NULL
&& endP
!= NULL
)
3970 count
= wxMin(c1
, c2
);
3971 self
->StrokeLines(count
, beginP
, endP
);
3977 #include "wx/dcgraph.h"
3980 #include <wx/overlay.h>
3984 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3985 self
->AddColour(name
, wxColour(red
, green
, blue
));
3988 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3989 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3990 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3991 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3994 #include <wx/effects.h>
3997 #include "wx/renderer.h"
4000 SWIGINTERNINLINE PyObject
*
4001 SWIG_From_bool (bool value
)
4003 return PyBool_FromLong(value
? 1 : 0);
4007 #include "wx/wxPython/pseudodc.h"
4009 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4011 self
->GetIdBounds(id
, rect
);
4017 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4018 PyObject
*resultobj
= 0;
4019 wxGDIObject
*result
= 0 ;
4021 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4023 if (!wxPyCheckForApp()) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (wxGDIObject
*)new wxGDIObject();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4036 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4037 PyObject
*resultobj
= 0;
4038 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4041 PyObject
*swig_obj
[1] ;
4043 if (!args
) SWIG_fail
;
4045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4046 if (!SWIG_IsOK(res1
)) {
4047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4049 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= SWIG_Py_Void();
4064 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4065 PyObject
*resultobj
= 0;
4066 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4070 PyObject
*swig_obj
[1] ;
4072 if (!args
) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4078 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (bool)(arg1
)->IsNull();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4094 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4097 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4098 return SWIG_Py_Void();
4101 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4102 return SWIG_Python_InitShadowInstance(args
);
4105 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
= 0;
4107 byte arg1
= (byte
) 0 ;
4108 byte arg2
= (byte
) 0 ;
4109 byte arg3
= (byte
) 0 ;
4110 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4111 wxColour
*result
= 0 ;
4112 unsigned char val1
;
4114 unsigned char val2
;
4116 unsigned char val3
;
4118 unsigned char val4
;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4122 PyObject
* obj2
= 0 ;
4123 PyObject
* obj3
= 0 ;
4124 char * kwnames
[] = {
4125 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4130 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4131 if (!SWIG_IsOK(ecode1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4134 arg1
= static_cast< byte
>(val1
);
4137 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4138 if (!SWIG_IsOK(ecode2
)) {
4139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4141 arg2
= static_cast< byte
>(val2
);
4144 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4145 if (!SWIG_IsOK(ecode3
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4148 arg3
= static_cast< byte
>(val3
);
4151 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4152 if (!SWIG_IsOK(ecode4
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4155 arg4
= static_cast< byte
>(val4
);
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4170 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 wxString
*arg1
= 0 ;
4173 wxColour
*result
= 0 ;
4174 bool temp1
= false ;
4175 PyObject
* obj0
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "colorName", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4182 arg1
= wxString_in_helper(obj0
);
4183 if (arg1
== NULL
) SWIG_fail
;
4187 if (!wxPyCheckForApp()) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4208 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
= 0;
4210 unsigned long arg1
;
4211 wxColour
*result
= 0 ;
4212 unsigned long val1
;
4214 PyObject
* obj0
= 0 ;
4215 char * kwnames
[] = {
4216 (char *) "colRGB", NULL
4219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4220 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4221 if (!SWIG_IsOK(ecode1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4224 arg1
= static_cast< unsigned long >(val1
);
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (wxColour
*)new wxColour(arg1
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4238 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4239 PyObject
*resultobj
= 0;
4240 wxColour
*arg1
= (wxColour
*) 0 ;
4243 PyObject
*swig_obj
[1] ;
4245 if (!args
) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4251 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4267 PyObject
*resultobj
= 0;
4268 wxColour
*arg1
= (wxColour
*) 0 ;
4272 PyObject
*swig_obj
[1] ;
4274 if (!args
) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4280 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (byte
)(arg1
)->Red();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4294 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxColour
*arg1
= (wxColour
*) 0 ;
4300 PyObject
*swig_obj
[1] ;
4302 if (!args
) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4308 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (byte
)(arg1
)->Green();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4322 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4323 PyObject
*resultobj
= 0;
4324 wxColour
*arg1
= (wxColour
*) 0 ;
4328 PyObject
*swig_obj
[1] ;
4330 if (!args
) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4336 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (byte
)(arg1
)->Blue();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4350 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4351 PyObject
*resultobj
= 0;
4352 wxColour
*arg1
= (wxColour
*) 0 ;
4356 PyObject
*swig_obj
[1] ;
4358 if (!args
) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4364 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (byte
)(arg1
)->Alpha();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4378 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4384 PyObject
*swig_obj
[1] ;
4386 if (!args
) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4392 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)(arg1
)->IsOk();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxColour
*arg1
= (wxColour
*) 0 ;
4414 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4417 unsigned char val2
;
4419 unsigned char val3
;
4421 unsigned char val4
;
4423 unsigned char val5
;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4427 PyObject
* obj2
= 0 ;
4428 PyObject
* obj3
= 0 ;
4429 PyObject
* obj4
= 0 ;
4430 char * kwnames
[] = {
4431 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4436 if (!SWIG_IsOK(res1
)) {
4437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4439 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4440 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4441 if (!SWIG_IsOK(ecode2
)) {
4442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4444 arg2
= static_cast< byte
>(val2
);
4445 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4446 if (!SWIG_IsOK(ecode3
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4449 arg3
= static_cast< byte
>(val3
);
4450 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4451 if (!SWIG_IsOK(ecode4
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4454 arg4
= static_cast< byte
>(val4
);
4456 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4457 if (!SWIG_IsOK(ecode5
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4460 arg5
= static_cast< byte
>(val5
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_Py_Void();
4475 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
= 0;
4477 wxColour
*arg1
= (wxColour
*) 0 ;
4478 unsigned long arg2
;
4481 unsigned long val2
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "colRGB", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4494 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4495 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4496 if (!SWIG_IsOK(ecode2
)) {
4497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4499 arg2
= static_cast< unsigned long >(val2
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_Py_Void();
4513 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
= 0;
4515 wxColour
*arg1
= (wxColour
*) 0 ;
4516 wxString
*arg2
= 0 ;
4519 bool temp2
= false ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "self",(char *) "colourName", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4531 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4533 arg2
= wxString_in_helper(obj1
);
4534 if (arg2
== NULL
) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 (arg1
)->Set((wxString
const &)*arg2
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4558 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
= 0;
4560 wxColour
*arg1
= (wxColour
*) 0 ;
4561 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4569 char * kwnames
[] = {
4570 (char *) "self",(char *) "flags", NULL
4573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4578 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4581 if (!SWIG_IsOK(ecode2
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4584 arg2
= static_cast< long >(val2
);
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4605 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4606 PyObject
*resultobj
= 0;
4607 wxColour
*arg1
= (wxColour
*) 0 ;
4611 PyObject
*swig_obj
[1] ;
4613 if (!args
) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4619 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_From_long(static_cast< long >(result
));
4633 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
= 0;
4635 wxColour
*arg1
= (wxColour
*) 0 ;
4636 PyObject
*arg2
= (PyObject
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4642 char * kwnames
[] = {
4643 (char *) "self",(char *) "other", NULL
4646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4648 if (!SWIG_IsOK(res1
)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4651 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4654 result
= (bool)wxColour___eq__(arg1
,arg2
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxColour
*arg1
= (wxColour
*) 0 ;
4669 PyObject
*arg2
= (PyObject
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "other", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4684 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4687 result
= (bool)wxColour___ne__(arg1
,arg2
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4699 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
= 0;
4701 wxColour
*arg1
= (wxColour
*) 0 ;
4702 bool arg2
= (bool) false ;
4703 PyObject
*result
= 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 char * kwnames
[] = {
4711 (char *) "self",(char *) "includeAlpha", NULL
4714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4719 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4722 if (!SWIG_IsOK(ecode2
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4725 arg2
= static_cast< bool >(val2
);
4728 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4738 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4739 PyObject
*resultobj
= 0;
4740 wxColour
*arg1
= (wxColour
*) 0 ;
4741 unsigned long result
;
4744 PyObject
*swig_obj
[1] ;
4746 if (!args
) SWIG_fail
;
4748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4749 if (!SWIG_IsOK(res1
)) {
4750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4752 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4754 result
= (unsigned long)wxColour_GetRGB(arg1
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4764 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4767 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4768 return SWIG_Py_Void();
4771 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4772 return SWIG_Python_InitShadowInstance(args
);
4775 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
= 0;
4778 unsigned char *arg2
= (unsigned char *) 0 ;
4779 unsigned char *arg3
= (unsigned char *) 0 ;
4780 unsigned char *arg4
= (unsigned char *) 0 ;
4781 wxPalette
*result
= 0 ;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4792 PyObject
* obj2
= 0 ;
4793 PyObject
* obj3
= 0 ;
4794 char * kwnames
[] = {
4795 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4800 if (!SWIG_IsOK(ecode1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4803 arg1
= static_cast< int >(val1
);
4804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4805 if (!SWIG_IsOK(res2
)) {
4806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4808 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4809 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4810 if (!SWIG_IsOK(res3
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4813 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4814 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4815 if (!SWIG_IsOK(res4
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4818 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4833 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4834 PyObject
*resultobj
= 0;
4835 wxPalette
*arg1
= (wxPalette
*) 0 ;
4838 PyObject
*swig_obj
[1] ;
4840 if (!args
) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4846 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_Py_Void();
4861 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxPalette
*arg1
= (wxPalette
*) 0 ;
4870 unsigned char val2
;
4872 unsigned char val3
;
4874 unsigned char val4
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4879 PyObject
* obj3
= 0 ;
4880 char * kwnames
[] = {
4881 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4889 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4890 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4891 if (!SWIG_IsOK(ecode2
)) {
4892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4894 arg2
= static_cast< byte
>(val2
);
4895 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4896 if (!SWIG_IsOK(ecode3
)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4899 arg3
= static_cast< byte
>(val3
);
4900 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4901 if (!SWIG_IsOK(ecode4
)) {
4902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4904 arg4
= static_cast< byte
>(val4
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_From_int(static_cast< int >(result
));
4918 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= 0;
4920 wxPalette
*arg1
= (wxPalette
*) 0 ;
4922 byte
*arg3
= (byte
*) 0 ;
4923 byte
*arg4
= (byte
*) 0 ;
4924 byte
*arg5
= (byte
*) 0 ;
4931 int res3
= SWIG_TMPOBJ
;
4933 int res4
= SWIG_TMPOBJ
;
4935 int res5
= SWIG_TMPOBJ
;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 char * kwnames
[] = {
4939 (char *) "self",(char *) "pixel", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4950 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4952 if (!SWIG_IsOK(ecode2
)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4955 arg2
= static_cast< int >(val2
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4965 if (SWIG_IsTmpObj(res3
)) {
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4971 if (SWIG_IsTmpObj(res4
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4974 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4977 if (SWIG_IsTmpObj(res5
)) {
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4980 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4989 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPalette
*arg1
= (wxPalette
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5003 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_From_int(static_cast< int >(result
));
5017 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 wxPalette
*arg1
= (wxPalette
*) 0 ;
5023 PyObject
*swig_obj
[1] ;
5025 if (!args
) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5031 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (bool)(arg1
)->IsOk();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5047 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5051 return SWIG_Py_Void();
5054 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 return SWIG_Python_InitShadowInstance(args
);
5058 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
= 0;
5060 wxColour
*arg1
= 0 ;
5061 int arg2
= (int) 1 ;
5062 int arg3
= (int) wxSOLID
;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5071 PyObject
* obj2
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "colour",(char *) "width",(char *) "style", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5079 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5083 if (!SWIG_IsOK(ecode2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5086 arg2
= static_cast< int >(val2
);
5089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5090 if (!SWIG_IsOK(ecode3
)) {
5091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5093 arg3
= static_cast< int >(val3
);
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5109 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 PyObject
*resultobj
= 0;
5111 wxPen
*arg1
= (wxPen
*) 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5122 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_Py_Void();
5137 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5138 PyObject
*resultobj
= 0;
5139 wxPen
*arg1
= (wxPen
*) 0 ;
5143 PyObject
*swig_obj
[1] ;
5145 if (!args
) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5151 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (int)(arg1
)->GetCap();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_From_int(static_cast< int >(result
));
5165 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5166 PyObject
*resultobj
= 0;
5167 wxPen
*arg1
= (wxPen
*) 0 ;
5171 PyObject
*swig_obj
[1] ;
5173 if (!args
) SWIG_fail
;
5175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5176 if (!SWIG_IsOK(res1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5179 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (arg1
)->GetColour();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5193 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5194 PyObject
*resultobj
= 0;
5195 wxPen
*arg1
= (wxPen
*) 0 ;
5199 PyObject
*swig_obj
[1] ;
5201 if (!args
) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5207 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (int)(arg1
)->GetJoin();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_From_int(static_cast< int >(result
));
5221 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxPen
*arg1
= (wxPen
*) 0 ;
5227 PyObject
*swig_obj
[1] ;
5229 if (!args
) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5235 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)(arg1
)->GetStyle();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_int(static_cast< int >(result
));
5249 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxPen
*arg1
= (wxPen
*) 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5263 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (int)(arg1
)->GetWidth();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_From_int(static_cast< int >(result
));
5277 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 PyObject
*resultobj
= 0;
5279 wxPen
*arg1
= (wxPen
*) 0 ;
5283 PyObject
*swig_obj
[1] ;
5285 if (!args
) SWIG_fail
;
5287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5288 if (!SWIG_IsOK(res1
)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5291 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (bool)(arg1
)->IsOk();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
= 0;
5309 wxPen
*arg1
= (wxPen
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5317 char * kwnames
[] = {
5318 (char *) "self",(char *) "cap_style", NULL
5321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5323 if (!SWIG_IsOK(res1
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5326 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5328 if (!SWIG_IsOK(ecode2
)) {
5329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5331 arg2
= static_cast< int >(val2
);
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->SetCap(arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= SWIG_Py_Void();
5345 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
= 0;
5347 wxPen
*arg1
= (wxPen
*) 0 ;
5348 wxColour
*arg2
= 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 char * kwnames
[] = {
5355 (char *) "self",(char *) "colour", NULL
5358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5360 if (!SWIG_IsOK(res1
)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5363 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 (arg1
)->SetColour(*arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_Py_Void();
5381 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxPen
*arg1
= (wxPen
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "join_style", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5400 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5402 if (!SWIG_IsOK(ecode2
)) {
5403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5405 arg2
= static_cast< int >(val2
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 (arg1
)->SetJoin(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_Py_Void();
5419 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
= 0;
5421 wxPen
*arg1
= (wxPen
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5429 char * kwnames
[] = {
5430 (char *) "self",(char *) "style", NULL
5433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5435 if (!SWIG_IsOK(res1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5438 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5440 if (!SWIG_IsOK(ecode2
)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5443 arg2
= static_cast< int >(val2
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->SetStyle(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_Py_Void();
5457 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
= 0;
5459 wxPen
*arg1
= (wxPen
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 char * kwnames
[] = {
5468 (char *) "self",(char *) "width", NULL
5471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5478 if (!SWIG_IsOK(ecode2
)) {
5479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5481 arg2
= static_cast< int >(val2
);
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetWidth(arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_Py_Void();
5495 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
= 0;
5497 wxPen
*arg1
= (wxPen
*) 0 ;
5499 wxDash
*arg3
= (wxDash
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5504 char * kwnames
[] = {
5505 (char *) "self",(char *) "dashes", NULL
5508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5510 if (!SWIG_IsOK(res1
)) {
5511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5513 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5515 arg2
= PyList_Size(obj1
);
5516 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5517 if (arg3
== NULL
) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->SetDashes(arg2
,arg3
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_Py_Void();
5527 if (arg3
) delete [] arg3
;
5532 if (arg3
) delete [] arg3
;
5538 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5539 PyObject
*resultobj
= 0;
5540 wxPen
*arg1
= (wxPen
*) 0 ;
5541 PyObject
*result
= 0 ;
5544 PyObject
*swig_obj
[1] ;
5546 if (!args
) SWIG_fail
;
5548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5549 if (!SWIG_IsOK(res1
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5552 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5566 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 wxPen
*arg1
= (wxPen
*) 0 ;
5569 PyObject
*arg2
= (PyObject
*) 0 ;
5570 PyObject
*arg3
= (PyObject
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5575 PyObject
* obj2
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5585 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxPen__SetDashes(arg1
,arg2
,arg3
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_Py_Void();
5601 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5602 PyObject
*resultobj
= 0;
5603 wxPen
*arg1
= (wxPen
*) 0 ;
5607 PyObject
*swig_obj
[1] ;
5609 if (!args
) SWIG_fail
;
5611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5612 if (!SWIG_IsOK(res1
)) {
5613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5615 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_From_int(static_cast< int >(result
));
5629 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxPen
*arg1
= (wxPen
*) 0 ;
5632 wxPen
*arg2
= (wxPen
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 char * kwnames
[] = {
5641 (char *) "self",(char *) "other", NULL
5644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5646 if (!SWIG_IsOK(res1
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5649 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5651 if (!SWIG_IsOK(res2
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5654 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
= 0;
5672 wxPen
*arg1
= (wxPen
*) 0 ;
5673 wxPen
*arg2
= (wxPen
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "other", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5690 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5692 if (!SWIG_IsOK(res2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5695 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5714 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5715 return SWIG_Py_Void();
5718 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 return SWIG_Python_InitShadowInstance(args
);
5722 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
= 0;
5724 wxColour
*arg1
= 0 ;
5725 int arg2
= (int) wxSOLID
;
5726 wxBrush
*result
= 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "colour",(char *) "style", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5739 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5743 if (!SWIG_IsOK(ecode2
)) {
5744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5746 arg2
= static_cast< int >(val2
);
5749 if (!wxPyCheckForApp()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5762 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
= 0;
5764 wxBitmap
*arg1
= 0 ;
5765 wxBrush
*result
= 0 ;
5768 PyObject
* obj0
= 0 ;
5769 char * kwnames
[] = {
5770 (char *) "stippleBitmap", NULL
5773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5775 if (!SWIG_IsOK(res1
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5781 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5783 if (!wxPyCheckForApp()) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5796 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5797 PyObject
*resultobj
= 0;
5798 wxBrush
*arg1
= (wxBrush
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5809 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_Py_Void();
5824 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= 0;
5826 wxBrush
*arg1
= (wxBrush
*) 0 ;
5827 wxColour
*arg2
= 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "col", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5842 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 (arg1
)->SetColour((wxColour
const &)*arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_Py_Void();
5860 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxBrush
*arg1
= (wxBrush
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "self",(char *) "style", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5879 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5881 if (!SWIG_IsOK(ecode2
)) {
5882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5884 arg2
= static_cast< int >(val2
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 (arg1
)->SetStyle(arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5898 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
= 0;
5900 wxBrush
*arg1
= (wxBrush
*) 0 ;
5901 wxBitmap
*arg2
= 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5908 char * kwnames
[] = {
5909 (char *) "self",(char *) "stipple", NULL
5912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5914 if (!SWIG_IsOK(res1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5917 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5919 if (!SWIG_IsOK(res2
)) {
5920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5925 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_Py_Void();
5939 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 PyObject
*resultobj
= 0;
5941 wxBrush
*arg1
= (wxBrush
*) 0 ;
5945 PyObject
*swig_obj
[1] ;
5947 if (!args
) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5953 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= ((wxBrush
const *)arg1
)->GetColour();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5967 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5968 PyObject
*resultobj
= 0;
5969 wxBrush
*arg1
= (wxBrush
*) 0 ;
5973 PyObject
*swig_obj
[1] ;
5975 if (!args
) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5981 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_From_int(static_cast< int >(result
));
5995 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5996 PyObject
*resultobj
= 0;
5997 wxBrush
*arg1
= (wxBrush
*) 0 ;
5998 wxBitmap
*result
= 0 ;
6001 PyObject
*swig_obj
[1] ;
6003 if (!args
) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6009 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6023 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6024 PyObject
*resultobj
= 0;
6025 wxBrush
*arg1
= (wxBrush
*) 0 ;
6029 PyObject
*swig_obj
[1] ;
6031 if (!args
) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6037 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6053 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6054 PyObject
*resultobj
= 0;
6055 wxBrush
*arg1
= (wxBrush
*) 0 ;
6059 PyObject
*swig_obj
[1] ;
6061 if (!args
) SWIG_fail
;
6063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6064 if (!SWIG_IsOK(res1
)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6067 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)(arg1
)->IsOk();
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6086 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6087 return SWIG_Py_Void();
6090 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 return SWIG_Python_InitShadowInstance(args
);
6094 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= 0;
6096 wxString
*arg1
= 0 ;
6097 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6098 wxBitmap
*result
= 0 ;
6099 bool temp1
= false ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 char * kwnames
[] = {
6105 (char *) "name",(char *) "type", NULL
6108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6110 arg1
= wxString_in_helper(obj0
);
6111 if (arg1
== NULL
) SWIG_fail
;
6115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6116 if (!SWIG_IsOK(ecode2
)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6119 arg2
= static_cast< wxBitmapType
>(val2
);
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6143 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6148 PyObject
*swig_obj
[1] ;
6150 if (!args
) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6156 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_Py_Void();
6169 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6173 int arg3
= (int) -1 ;
6174 wxBitmap
*result
= 0 ;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6184 char * kwnames
[] = {
6185 (char *) "width",(char *) "height",(char *) "depth", NULL
6188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6190 if (!SWIG_IsOK(ecode1
)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6193 arg1
= static_cast< int >(val1
);
6194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6195 if (!SWIG_IsOK(ecode2
)) {
6196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6198 arg2
= static_cast< int >(val2
);
6200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6201 if (!SWIG_IsOK(ecode3
)) {
6202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6204 arg3
= static_cast< int >(val3
);
6207 if (!wxPyCheckForApp()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6220 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= 0;
6223 wxBitmap
*result
= 0 ;
6226 PyObject
* obj0
= 0 ;
6227 char * kwnames
[] = {
6228 (char *) "icon", NULL
6231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6232 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6233 if (!SWIG_IsOK(res1
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6239 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6254 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
= 0;
6257 int arg2
= (int) -1 ;
6258 wxBitmap
*result
= 0 ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6265 char * kwnames
[] = {
6266 (char *) "image",(char *) "depth", NULL
6269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6277 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6280 if (!SWIG_IsOK(ecode2
)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6283 arg2
= static_cast< int >(val2
);
6286 if (!wxPyCheckForApp()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6299 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= 0;
6301 PyObject
*arg1
= (PyObject
*) 0 ;
6302 wxBitmap
*result
= 0 ;
6303 PyObject
* obj0
= 0 ;
6304 char * kwnames
[] = {
6305 (char *) "listOfStrings", NULL
6308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6311 if (!wxPyCheckForApp()) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6324 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= 0;
6326 PyObject
*arg1
= (PyObject
*) 0 ;
6329 int arg4
= (int) 1 ;
6330 wxBitmap
*result
= 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6340 PyObject
* obj3
= 0 ;
6341 char * kwnames
[] = {
6342 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6348 if (!SWIG_IsOK(ecode2
)) {
6349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6351 arg2
= static_cast< int >(val2
);
6352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6353 if (!SWIG_IsOK(ecode3
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6356 arg3
= static_cast< int >(val3
);
6358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6359 if (!SWIG_IsOK(ecode4
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6362 arg4
= static_cast< int >(val4
);
6365 if (!wxPyCheckForApp()) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6378 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6379 PyObject
*resultobj
= 0;
6380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6384 PyObject
*swig_obj
[1] ;
6386 if (!args
) SWIG_fail
;
6388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6389 if (!SWIG_IsOK(res1
)) {
6390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6392 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6394 result
= (bool)(arg1
)->IsOk();
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6407 PyObject
*resultobj
= 0;
6408 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6412 PyObject
*swig_obj
[1] ;
6414 if (!args
) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6422 result
= (int)(arg1
)->GetWidth();
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_From_int(static_cast< int >(result
));
6432 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6433 PyObject
*resultobj
= 0;
6434 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6438 PyObject
*swig_obj
[1] ;
6440 if (!args
) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6448 result
= (int)(arg1
)->GetHeight();
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_From_int(static_cast< int >(result
));
6458 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6459 PyObject
*resultobj
= 0;
6460 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 PyObject
*swig_obj
[1] ;
6466 if (!args
) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6472 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6474 result
= (int)(arg1
)->GetDepth();
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_From_int(static_cast< int >(result
));
6484 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6498 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6500 result
= wxBitmap_GetSize(arg1
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6510 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6513 SwigValueWrapper
<wxImage
> result
;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6524 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6526 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6536 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6538 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6539 wxMask
*result
= 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6552 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6562 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6565 wxMask
*arg2
= (wxMask
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 char * kwnames
[] = {
6572 (char *) "self",(char *) "mask", NULL
6575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6577 if (!SWIG_IsOK(res1
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6580 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6581 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6582 if (!SWIG_IsOK(res2
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6586 (arg1
)->SetMask(arg2
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_Py_Void();
6596 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
= 0;
6598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6599 wxColour
*arg2
= 0 ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6605 char * kwnames
[] = {
6606 (char *) "self",(char *) "colour", NULL
6609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6614 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6620 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_Py_Void();
6630 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
= 0;
6632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6634 SwigValueWrapper
<wxBitmap
> result
;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 char * kwnames
[] = {
6641 (char *) "self",(char *) "rect", NULL
6644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6646 if (!SWIG_IsOK(res1
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6649 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6655 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6665 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
= 0;
6667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6668 wxString
*arg2
= 0 ;
6670 wxPalette
*arg4
= (wxPalette
*) NULL
;
6674 bool temp2
= false ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6682 PyObject
* obj3
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 arg2
= wxString_in_helper(obj1
);
6695 if (arg2
== NULL
) SWIG_fail
;
6698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6699 if (!SWIG_IsOK(ecode3
)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6702 arg3
= static_cast< wxBitmapType
>(val3
);
6704 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6705 if (!SWIG_IsOK(res4
)) {
6706 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6708 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6711 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6734 wxString
*arg2
= 0 ;
6739 bool temp2
= false ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6744 PyObject
* obj2
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "self",(char *) "name",(char *) "type", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6751 if (!SWIG_IsOK(res1
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6754 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6756 arg2
= wxString_in_helper(obj1
);
6757 if (arg2
== NULL
) SWIG_fail
;
6760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6761 if (!SWIG_IsOK(ecode3
)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6764 arg3
= static_cast< wxBitmapType
>(val3
);
6766 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6786 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6787 PyObject
*resultobj
= 0;
6788 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6789 wxPalette
*result
= 0 ;
6792 PyObject
*swig_obj
[1] ;
6794 if (!args
) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6802 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6812 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
= 0;
6814 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "icon", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6834 if (!SWIG_IsOK(res2
)) {
6835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6840 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6842 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6854 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "height", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6873 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6875 if (!SWIG_IsOK(ecode2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6878 arg2
= static_cast< int >(val2
);
6880 (arg1
)->SetHeight(arg2
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_Py_Void();
6890 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
= 0;
6892 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6900 char * kwnames
[] = {
6901 (char *) "self",(char *) "width", NULL
6904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6906 if (!SWIG_IsOK(res1
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6909 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6911 if (!SWIG_IsOK(ecode2
)) {
6912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6914 arg2
= static_cast< int >(val2
);
6916 (arg1
)->SetWidth(arg2
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_Py_Void();
6926 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
= 0;
6928 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "depth", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6945 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6947 if (!SWIG_IsOK(ecode2
)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6950 arg2
= static_cast< int >(val2
);
6952 (arg1
)->SetDepth(arg2
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6971 char * kwnames
[] = {
6972 (char *) "self",(char *) "size", NULL
6975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6977 if (!SWIG_IsOK(res1
)) {
6978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6980 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6986 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_Py_Void();
6996 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
= 0;
6998 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 char * kwnames
[] = {
7007 (char *) "self",(char *) "data", NULL
7010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7012 if (!SWIG_IsOK(res1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7017 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7021 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_Py_Void();
7031 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
= 0;
7033 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7041 char * kwnames
[] = {
7042 (char *) "self",(char *) "data", NULL
7045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7050 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7052 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7056 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_Py_Void();
7066 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= 0;
7068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7069 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "other", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7086 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7091 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7093 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7105 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7107 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7108 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7116 char * kwnames
[] = {
7117 (char *) "self",(char *) "other", NULL
7120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7127 if (!SWIG_IsOK(res2
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7130 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7132 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7147 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7148 return SWIG_Py_Void();
7151 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 return SWIG_Python_InitShadowInstance(args
);
7155 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
= 0;
7163 wxBitmap
*result
= 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7172 PyObject
* obj2
= 0 ;
7173 PyObject
* obj3
= 0 ;
7174 char * kwnames
[] = {
7175 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7180 if (!SWIG_IsOK(ecode1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7183 arg1
= static_cast< int >(val1
);
7184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7185 if (!SWIG_IsOK(ecode2
)) {
7186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7188 arg2
= static_cast< int >(val2
);
7190 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7194 if (obj3
!= Py_None
) {
7195 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7200 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7210 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= 0;
7216 wxBitmap
*result
= 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "width",(char *) "height",(char *) "data", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7231 if (!SWIG_IsOK(ecode1
)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7234 arg1
= static_cast< int >(val1
);
7235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7236 if (!SWIG_IsOK(ecode2
)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7239 arg2
= static_cast< int >(val2
);
7241 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7245 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= 0;
7261 wxBitmap
*result
= 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 PyObject
* obj2
= 0 ;
7270 char * kwnames
[] = {
7271 (char *) "width",(char *) "height",(char *) "data", NULL
7274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7276 if (!SWIG_IsOK(ecode1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7279 arg1
= static_cast< int >(val1
);
7280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7281 if (!SWIG_IsOK(ecode2
)) {
7282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7284 arg2
= static_cast< int >(val2
);
7286 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7290 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7300 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7301 PyObject
*resultobj
= 0;
7302 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7306 PyObject
*swig_obj
[1] ;
7308 if (!args
) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7314 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7316 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7326 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7332 PyObject
*swig_obj
[1] ;
7334 if (!args
) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7340 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7342 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_From_int(static_cast< int >(result
));
7352 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7353 PyObject
*resultobj
= 0;
7354 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7358 PyObject
*swig_obj
[1] ;
7360 if (!args
) SWIG_fail
;
7362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7363 if (!SWIG_IsOK(res1
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7366 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7368 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int(static_cast< int >(result
));
7378 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 PyObject
*resultobj
= 0;
7380 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7384 PyObject
*swig_obj
[1] ;
7386 if (!args
) SWIG_fail
;
7388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7389 if (!SWIG_IsOK(res1
)) {
7390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7392 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7394 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7404 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7405 PyObject
*resultobj
= 0;
7406 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7410 PyObject
*swig_obj
[1] ;
7412 if (!args
) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7418 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7420 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_From_int(static_cast< int >(result
));
7430 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7434 return SWIG_Py_Void();
7437 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7438 PyObject
*resultobj
= 0;
7439 wxBitmap
*arg1
= 0 ;
7440 wxNativePixelData
*result
= 0 ;
7444 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7446 if (!SWIG_IsOK(res1
)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7452 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7454 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7464 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7465 PyObject
*resultobj
= 0;
7466 wxBitmap
*arg1
= 0 ;
7468 wxNativePixelData
*result
= 0 ;
7473 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7475 if (!SWIG_IsOK(res1
)) {
7476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7484 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7487 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7497 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7498 PyObject
*resultobj
= 0;
7499 wxBitmap
*arg1
= 0 ;
7502 wxNativePixelData
*result
= 0 ;
7508 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7519 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7523 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7526 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7536 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7543 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7546 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7549 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7558 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7559 PyObject
*resultobj
= 0;
7560 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7563 PyObject
*swig_obj
[1] ;
7565 if (!args
) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7571 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_Py_Void();
7584 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7585 PyObject
*resultobj
= 0;
7586 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7587 wxNativePixelData_Accessor result
;
7590 PyObject
*swig_obj
[1] ;
7592 if (!args
) SWIG_fail
;
7594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7595 if (!SWIG_IsOK(res1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7598 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7600 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7610 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7611 PyObject
*resultobj
= 0;
7612 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7615 PyObject
*swig_obj
[1] ;
7617 if (!args
) SWIG_fail
;
7619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7620 if (!SWIG_IsOK(res1
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7623 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_Py_Void();
7635 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7636 PyObject
*resultobj
= 0;
7637 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7641 PyObject
*swig_obj
[1] ;
7643 if (!args
) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7649 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7651 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7663 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7666 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7667 return SWIG_Py_Void();
7670 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 return SWIG_Python_InitShadowInstance(args
);
7674 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7675 PyObject
*resultobj
= 0;
7676 wxNativePixelData
*arg1
= 0 ;
7677 wxNativePixelData_Accessor
*result
= 0 ;
7681 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7689 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7691 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7701 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7702 PyObject
*resultobj
= 0;
7703 wxBitmap
*arg1
= 0 ;
7704 wxNativePixelData
*arg2
= 0 ;
7705 wxNativePixelData_Accessor
*result
= 0 ;
7711 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7719 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7720 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7721 if (!SWIG_IsOK(res2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7727 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7729 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7739 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7740 PyObject
*resultobj
= 0;
7741 wxNativePixelData_Accessor
*result
= 0 ;
7743 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7745 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7755 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7759 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7762 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7765 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7768 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7772 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7777 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7782 PyObject
*swig_obj
[1] ;
7784 if (!args
) SWIG_fail
;
7786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7787 if (!SWIG_IsOK(res1
)) {
7788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7790 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_Py_Void();
7803 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7806 wxNativePixelData
*arg2
= 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "self",(char *) "data", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7822 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7824 if (!SWIG_IsOK(res2
)) {
7825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7830 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7832 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_Py_Void();
7842 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7843 PyObject
*resultobj
= 0;
7844 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7848 PyObject
*swig_obj
[1] ;
7850 if (!args
) SWIG_fail
;
7852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7853 if (!SWIG_IsOK(res1
)) {
7854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7856 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7858 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7870 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7872 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7875 PyObject
*swig_obj
[1] ;
7877 if (!args
) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7883 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7885 wxNativePixelData_Accessor_nextPixel(arg1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_Py_Void();
7895 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7898 wxNativePixelData
*arg2
= 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7911 PyObject
* obj2
= 0 ;
7912 PyObject
* obj3
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7922 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7924 if (!SWIG_IsOK(res2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7930 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7932 if (!SWIG_IsOK(ecode3
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7935 arg3
= static_cast< int >(val3
);
7936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7937 if (!SWIG_IsOK(ecode4
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7940 arg4
= static_cast< int >(val4
);
7942 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_Py_Void();
7952 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
= 0;
7954 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7955 wxNativePixelData
*arg2
= 0 ;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7965 PyObject
* obj2
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "self",(char *) "data",(char *) "x", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7975 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7977 if (!SWIG_IsOK(res2
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7983 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7985 if (!SWIG_IsOK(ecode3
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7988 arg3
= static_cast< int >(val3
);
7990 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_Py_Void();
8000 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= 0;
8002 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8003 wxNativePixelData
*arg2
= 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8013 PyObject
* obj2
= 0 ;
8014 char * kwnames
[] = {
8015 (char *) "self",(char *) "data",(char *) "y", NULL
8018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8020 if (!SWIG_IsOK(res1
)) {
8021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8023 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8025 if (!SWIG_IsOK(res2
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8031 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8033 if (!SWIG_IsOK(ecode3
)) {
8034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8036 arg3
= static_cast< int >(val3
);
8038 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_Py_Void();
8048 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8051 wxNativePixelData
*arg2
= 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8064 PyObject
* obj2
= 0 ;
8065 PyObject
* obj3
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8075 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8077 if (!SWIG_IsOK(res2
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8083 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8085 if (!SWIG_IsOK(ecode3
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8088 arg3
= static_cast< int >(val3
);
8089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8090 if (!SWIG_IsOK(ecode4
)) {
8091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8093 arg4
= static_cast< int >(val4
);
8095 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_Py_Void();
8105 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
= 0;
8107 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8113 unsigned char val2
;
8115 unsigned char val3
;
8117 unsigned char val4
;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 PyObject
* obj2
= 0 ;
8122 PyObject
* obj3
= 0 ;
8123 char * kwnames
[] = {
8124 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8132 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8133 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8134 if (!SWIG_IsOK(ecode2
)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8137 arg2
= static_cast< byte
>(val2
);
8138 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8139 if (!SWIG_IsOK(ecode3
)) {
8140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8142 arg3
= static_cast< byte
>(val3
);
8143 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8144 if (!SWIG_IsOK(ecode4
)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8147 arg4
= static_cast< byte
>(val4
);
8149 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_Py_Void();
8159 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8160 PyObject
*resultobj
= 0;
8161 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8162 PyObject
*result
= 0 ;
8165 PyObject
*swig_obj
[1] ;
8167 if (!args
) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8175 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8185 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8188 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8189 return SWIG_Py_Void();
8192 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 return SWIG_Python_InitShadowInstance(args
);
8196 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8197 PyObject
*resultobj
= 0;
8198 wxBitmap
*arg1
= 0 ;
8199 wxAlphaPixelData
*result
= 0 ;
8203 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8205 if (!SWIG_IsOK(res1
)) {
8206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8211 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8213 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8223 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8224 PyObject
*resultobj
= 0;
8225 wxBitmap
*arg1
= 0 ;
8227 wxAlphaPixelData
*result
= 0 ;
8232 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8240 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8243 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8246 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8256 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8257 PyObject
*resultobj
= 0;
8258 wxBitmap
*arg1
= 0 ;
8261 wxAlphaPixelData
*result
= 0 ;
8267 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8275 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8278 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8282 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8285 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8295 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8299 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8302 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8305 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8308 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8312 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8317 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8318 PyObject
*resultobj
= 0;
8319 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8322 PyObject
*swig_obj
[1] ;
8324 if (!args
) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8330 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_Py_Void();
8343 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 PyObject
*resultobj
= 0;
8345 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8346 wxAlphaPixelData_Accessor result
;
8349 PyObject
*swig_obj
[1] ;
8351 if (!args
) SWIG_fail
;
8353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8354 if (!SWIG_IsOK(res1
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8357 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8359 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8369 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8374 PyObject
*swig_obj
[1] ;
8376 if (!args
) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8382 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_Py_Void();
8394 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8395 PyObject
*resultobj
= 0;
8396 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8400 PyObject
*swig_obj
[1] ;
8402 if (!args
) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8408 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8410 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8422 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8425 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8426 return SWIG_Py_Void();
8429 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 return SWIG_Python_InitShadowInstance(args
);
8433 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8434 PyObject
*resultobj
= 0;
8435 wxAlphaPixelData
*arg1
= 0 ;
8436 wxAlphaPixelData_Accessor
*result
= 0 ;
8440 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8448 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8450 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8460 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8461 PyObject
*resultobj
= 0;
8462 wxBitmap
*arg1
= 0 ;
8463 wxAlphaPixelData
*arg2
= 0 ;
8464 wxAlphaPixelData_Accessor
*result
= 0 ;
8470 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8479 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8480 if (!SWIG_IsOK(res2
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8486 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8488 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8499 PyObject
*resultobj
= 0;
8500 wxAlphaPixelData_Accessor
*result
= 0 ;
8502 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8504 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8514 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8518 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8521 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8524 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8527 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8536 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8537 PyObject
*resultobj
= 0;
8538 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8541 PyObject
*swig_obj
[1] ;
8543 if (!args
) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8549 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_Py_Void();
8562 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= 0;
8564 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8565 wxAlphaPixelData
*arg2
= 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 char * kwnames
[] = {
8573 (char *) "self",(char *) "data", NULL
8576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8581 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8583 if (!SWIG_IsOK(res2
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8589 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8591 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_Py_Void();
8601 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8602 PyObject
*resultobj
= 0;
8603 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8607 PyObject
*swig_obj
[1] ;
8609 if (!args
) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8615 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8617 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8629 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8634 PyObject
*swig_obj
[1] ;
8636 if (!args
) SWIG_fail
;
8638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8639 if (!SWIG_IsOK(res1
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8642 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8644 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_Py_Void();
8654 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= 0;
8656 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8657 wxAlphaPixelData
*arg2
= 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8671 PyObject
* obj3
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8681 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8689 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8691 if (!SWIG_IsOK(ecode3
)) {
8692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8694 arg3
= static_cast< int >(val3
);
8695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8696 if (!SWIG_IsOK(ecode4
)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8699 arg4
= static_cast< int >(val4
);
8701 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_Py_Void();
8711 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
= 0;
8713 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8714 wxAlphaPixelData
*arg2
= 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 PyObject
* obj2
= 0 ;
8725 char * kwnames
[] = {
8726 (char *) "self",(char *) "data",(char *) "x", NULL
8729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8734 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8736 if (!SWIG_IsOK(res2
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8742 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8744 if (!SWIG_IsOK(ecode3
)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8747 arg3
= static_cast< int >(val3
);
8749 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_Py_Void();
8759 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8762 wxAlphaPixelData
*arg2
= 0 ;
8770 PyObject
* obj0
= 0 ;
8771 PyObject
* obj1
= 0 ;
8772 PyObject
* obj2
= 0 ;
8773 char * kwnames
[] = {
8774 (char *) "self",(char *) "data",(char *) "y", NULL
8777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8779 if (!SWIG_IsOK(res1
)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8782 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8784 if (!SWIG_IsOK(res2
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8790 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8792 if (!SWIG_IsOK(ecode3
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8795 arg3
= static_cast< int >(val3
);
8797 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_Py_Void();
8807 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8810 wxAlphaPixelData
*arg2
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8834 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8842 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8844 if (!SWIG_IsOK(ecode3
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8847 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8852 arg4
= static_cast< int >(val4
);
8854 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8873 unsigned char val2
;
8875 unsigned char val3
;
8877 unsigned char val4
;
8879 unsigned char val5
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8884 PyObject
* obj3
= 0 ;
8885 PyObject
* obj4
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8895 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8896 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8897 if (!SWIG_IsOK(ecode2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8900 arg2
= static_cast< byte
>(val2
);
8901 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8902 if (!SWIG_IsOK(ecode3
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8905 arg3
= static_cast< byte
>(val3
);
8906 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8907 if (!SWIG_IsOK(ecode4
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8910 arg4
= static_cast< byte
>(val4
);
8911 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8912 if (!SWIG_IsOK(ecode5
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8915 arg5
= static_cast< byte
>(val5
);
8917 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_Py_Void();
8927 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8928 PyObject
*resultobj
= 0;
8929 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8930 PyObject
*result
= 0 ;
8933 PyObject
*swig_obj
[1] ;
8935 if (!args
) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8941 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8943 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8953 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8956 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8957 return SWIG_Py_Void();
8960 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8961 return SWIG_Python_InitShadowInstance(args
);
8964 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8966 wxBitmap
*arg1
= 0 ;
8967 wxColour
const &arg2_defvalue
= wxNullColour
;
8968 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8969 wxMask
*result
= 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 char * kwnames
[] = {
8976 (char *) "bitmap",(char *) "colour", NULL
8979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8980 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8981 if (!SWIG_IsOK(res1
)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8995 if (!wxPyCheckForApp()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9008 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9009 PyObject
*resultobj
= 0;
9010 wxMask
*arg1
= (wxMask
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9021 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_Py_Void();
9034 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9037 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9038 return SWIG_Py_Void();
9041 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9042 return SWIG_Python_InitShadowInstance(args
);
9045 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
= 0;
9047 wxString
*arg1
= 0 ;
9049 int arg3
= (int) -1 ;
9050 int arg4
= (int) -1 ;
9051 wxIcon
*result
= 0 ;
9052 bool temp1
= false ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9069 arg1
= wxString_in_helper(obj0
);
9070 if (arg1
== NULL
) SWIG_fail
;
9073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9074 if (!SWIG_IsOK(ecode2
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9077 arg2
= static_cast< wxBitmapType
>(val2
);
9079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9080 if (!SWIG_IsOK(ecode3
)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9083 arg3
= static_cast< int >(val3
);
9086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9087 if (!SWIG_IsOK(ecode4
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9090 arg4
= static_cast< int >(val4
);
9093 if (!wxPyCheckForApp()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9114 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9115 PyObject
*resultobj
= 0;
9116 wxIcon
*arg1
= (wxIcon
*) 0 ;
9119 PyObject
*swig_obj
[1] ;
9121 if (!args
) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9127 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9142 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9143 PyObject
*resultobj
= 0;
9144 wxIcon
*result
= 0 ;
9146 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9148 if (!wxPyCheckForApp()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxIcon
*)new wxIcon();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9161 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxIconLocation
*arg1
= 0 ;
9164 wxIcon
*result
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "loc", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9180 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9182 if (!wxPyCheckForApp()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9195 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxBitmap
*arg1
= 0 ;
9198 wxIcon
*result
= 0 ;
9201 PyObject
* obj0
= 0 ;
9202 char * kwnames
[] = {
9203 (char *) "bmp", NULL
9206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9214 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9229 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= 0;
9231 PyObject
*arg1
= (PyObject
*) 0 ;
9232 wxIcon
*result
= 0 ;
9233 PyObject
* obj0
= 0 ;
9234 char * kwnames
[] = {
9235 (char *) "listOfStrings", NULL
9238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9241 if (!wxPyCheckForApp()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (wxIcon
*)new_wxIcon(arg1
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9254 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxIcon
*arg1
= (wxIcon
*) 0 ;
9257 wxString
*arg2
= 0 ;
9262 bool temp2
= false ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9267 PyObject
* obj2
= 0 ;
9268 char * kwnames
[] = {
9269 (char *) "self",(char *) "name",(char *) "type", NULL
9272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9274 if (!SWIG_IsOK(res1
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9277 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9279 arg2
= wxString_in_helper(obj1
);
9280 if (arg2
== NULL
) SWIG_fail
;
9283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9284 if (!SWIG_IsOK(ecode3
)) {
9285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9287 arg3
= static_cast< wxBitmapType
>(val3
);
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9311 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxIcon
*arg1
= (wxIcon
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9325 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)(arg1
)->IsOk();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9341 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 PyObject
*resultobj
= 0;
9343 wxIcon
*arg1
= (wxIcon
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9355 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)(arg1
)->GetWidth();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_From_int(static_cast< int >(result
));
9369 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxIcon
*arg1
= (wxIcon
*) 0 ;
9375 PyObject
*swig_obj
[1] ;
9377 if (!args
) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9383 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (int)(arg1
)->GetHeight();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_From_int(static_cast< int >(result
));
9397 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9398 PyObject
*resultobj
= 0;
9399 wxIcon
*arg1
= (wxIcon
*) 0 ;
9403 PyObject
*swig_obj
[1] ;
9405 if (!args
) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9411 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (int)(arg1
)->GetDepth();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_From_int(static_cast< int >(result
));
9425 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxIcon
*arg1
= (wxIcon
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "self",(char *) "w", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9444 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9446 if (!SWIG_IsOK(ecode2
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9449 arg2
= static_cast< int >(val2
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetWidth(arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_Py_Void();
9463 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
= 0;
9465 wxIcon
*arg1
= (wxIcon
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9473 char * kwnames
[] = {
9474 (char *) "self",(char *) "h", NULL
9477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9479 if (!SWIG_IsOK(res1
)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9482 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9484 if (!SWIG_IsOK(ecode2
)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9487 arg2
= static_cast< int >(val2
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 (arg1
)->SetHeight(arg2
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_Py_Void();
9501 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= 0;
9503 wxIcon
*arg1
= (wxIcon
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "d", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9520 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9522 if (!SWIG_IsOK(ecode2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9525 arg2
= static_cast< int >(val2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->SetDepth(arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_Py_Void();
9539 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
= 0;
9541 wxIcon
*arg1
= (wxIcon
*) 0 ;
9542 wxBitmap
*arg2
= 0 ;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 char * kwnames
[] = {
9550 (char *) "self",(char *) "bmp", NULL
9553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9555 if (!SWIG_IsOK(res1
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9558 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9560 if (!SWIG_IsOK(res2
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9566 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_Py_Void();
9580 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9583 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9584 return SWIG_Py_Void();
9587 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9588 return SWIG_Python_InitShadowInstance(args
);
9591 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9594 int arg2
= (int) 0 ;
9595 wxIconLocation
*result
= 0 ;
9596 bool temp1
= false ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9601 char * kwnames
[] = {
9602 (char *) "filename",(char *) "num", NULL
9605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9615 if (!SWIG_IsOK(ecode2
)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9618 arg2
= static_cast< int >(val2
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9641 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9642 PyObject
*resultobj
= 0;
9643 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9646 PyObject
*swig_obj
[1] ;
9648 if (!args
) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9654 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 PyObject
*resultobj
= 0;
9671 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9675 PyObject
*swig_obj
[1] ;
9677 if (!args
) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9683 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9699 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
= 0;
9701 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9702 wxString
*arg2
= 0 ;
9705 bool temp2
= false ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "filename", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9717 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9719 arg2
= wxString_in_helper(obj1
);
9720 if (arg2
== NULL
) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetFileName((wxString
const &)*arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9744 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9747 wxString
*result
= 0 ;
9750 PyObject
*swig_obj
[1] ;
9752 if (!args
) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9758 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9763 result
= (wxString
*) &_result_ref
;
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9772 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9781 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 char * kwnames
[] = {
9792 (char *) "self",(char *) "num", NULL
9795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9797 if (!SWIG_IsOK(res1
)) {
9798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9800 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9802 if (!SWIG_IsOK(ecode2
)) {
9803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9805 arg2
= static_cast< int >(val2
);
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 wxIconLocation_SetIndex(arg1
,arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_Py_Void();
9819 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9820 PyObject
*resultobj
= 0;
9821 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9825 PyObject
*swig_obj
[1] ;
9827 if (!args
) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9833 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)wxIconLocation_GetIndex(arg1
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_From_int(static_cast< int >(result
));
9847 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9850 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9851 return SWIG_Py_Void();
9854 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9855 return SWIG_Python_InitShadowInstance(args
);
9858 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9859 PyObject
*resultobj
= 0;
9860 wxIconBundle
*result
= 0 ;
9862 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (wxIconBundle
*)new wxIconBundle();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9876 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
= 0;
9878 wxString
*arg1
= 0 ;
9880 wxIconBundle
*result
= 0 ;
9881 bool temp1
= false ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "file",(char *) "type", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9892 arg1
= wxString_in_helper(obj0
);
9893 if (arg1
== NULL
) SWIG_fail
;
9896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9897 if (!SWIG_IsOK(ecode2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9900 arg2
= static_cast< long >(val2
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9922 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
= 0;
9925 wxIconBundle
*result
= 0 ;
9928 PyObject
* obj0
= 0 ;
9929 char * kwnames
[] = {
9930 (char *) "icon", NULL
9933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9934 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9935 if (!SWIG_IsOK(res1
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9941 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9955 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9956 PyObject
*resultobj
= 0;
9957 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9960 PyObject
*swig_obj
[1] ;
9962 if (!args
) SWIG_fail
;
9964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9965 if (!SWIG_IsOK(res1
)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9968 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9985 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "self",(char *) "icon", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10002 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10004 if (!SWIG_IsOK(res2
)) {
10005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10010 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_Py_Void();
10024 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
= 0;
10026 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10027 wxString
*arg2
= 0 ;
10031 bool temp2
= false ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 PyObject
* obj2
= 0 ;
10037 char * kwnames
[] = {
10038 (char *) "self",(char *) "file",(char *) "type", NULL
10041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10046 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10048 arg2
= wxString_in_helper(obj1
);
10049 if (arg2
== NULL
) SWIG_fail
;
10052 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10053 if (!SWIG_IsOK(ecode3
)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10056 arg3
= static_cast< long >(val3
);
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_Py_Void();
10078 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
= 0;
10080 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10082 wxIcon
*result
= 0 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 char * kwnames
[] = {
10089 (char *) "self",(char *) "size", NULL
10092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10094 if (!SWIG_IsOK(res1
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10097 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10100 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10106 result
= (wxIcon
*) &_result_ref
;
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10112 wxIcon
* resultptr
= new wxIcon(*result
);
10113 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10121 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10124 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10125 return SWIG_Py_Void();
10128 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10129 return SWIG_Python_InitShadowInstance(args
);
10132 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
= 0;
10134 wxString
*arg1
= 0 ;
10136 int arg3
= (int) 0 ;
10137 int arg4
= (int) 0 ;
10138 wxCursor
*result
= 0 ;
10139 bool temp1
= false ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 PyObject
* obj2
= 0 ;
10149 PyObject
* obj3
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10156 arg1
= wxString_in_helper(obj0
);
10157 if (arg1
== NULL
) SWIG_fail
;
10160 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10161 if (!SWIG_IsOK(ecode2
)) {
10162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10164 arg2
= static_cast< long >(val2
);
10166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10167 if (!SWIG_IsOK(ecode3
)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10170 arg3
= static_cast< int >(val3
);
10173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10174 if (!SWIG_IsOK(ecode4
)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10177 arg4
= static_cast< int >(val4
);
10180 if (!wxPyCheckForApp()) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10201 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10202 PyObject
*resultobj
= 0;
10203 wxCursor
*arg1
= (wxCursor
*) 0 ;
10206 PyObject
*swig_obj
[1] ;
10208 if (!args
) SWIG_fail
;
10209 swig_obj
[0] = args
;
10210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10214 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_Py_Void();
10229 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
= 0;
10232 wxCursor
*result
= 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char * kwnames
[] = {
10237 (char *) "id", NULL
10240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10241 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10242 if (!SWIG_IsOK(ecode1
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10245 arg1
= static_cast< int >(val1
);
10247 if (!wxPyCheckForApp()) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (wxCursor
*)new wxCursor(arg1
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10260 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
= 0;
10262 wxImage
*arg1
= 0 ;
10263 wxCursor
*result
= 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char * kwnames
[] = {
10268 (char *) "image", NULL
10271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10272 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10273 if (!SWIG_IsOK(res1
)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10279 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10281 if (!wxPyCheckForApp()) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10294 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10295 PyObject
*resultobj
= 0;
10296 wxCursor
*arg1
= (wxCursor
*) 0 ;
10300 PyObject
*swig_obj
[1] ;
10302 if (!args
) SWIG_fail
;
10303 swig_obj
[0] = args
;
10304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10308 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (bool)(arg1
)->IsOk();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10327 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10328 return SWIG_Py_Void();
10331 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 return SWIG_Python_InitShadowInstance(args
);
10335 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 int arg1
= (int) 0 ;
10338 int arg2
= (int) 0 ;
10339 int arg3
= (int) 0 ;
10340 int arg4
= (int) 0 ;
10341 wxRegion
*result
= 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 PyObject
* obj3
= 0 ;
10354 char * kwnames
[] = {
10355 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10361 if (!SWIG_IsOK(ecode1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10364 arg1
= static_cast< int >(val1
);
10367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10371 arg2
= static_cast< int >(val2
);
10374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10375 if (!SWIG_IsOK(ecode3
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10378 arg3
= static_cast< int >(val3
);
10381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10382 if (!SWIG_IsOK(ecode4
)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10385 arg4
= static_cast< int >(val4
);
10388 if (!wxPyCheckForApp()) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10401 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
= 0;
10403 wxBitmap
*arg1
= 0 ;
10404 wxRegion
*result
= 0 ;
10407 PyObject
* obj0
= 0 ;
10408 char * kwnames
[] = {
10409 (char *) "bmp", NULL
10412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10413 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10414 if (!SWIG_IsOK(res1
)) {
10415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10422 if (!wxPyCheckForApp()) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10435 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
= 0;
10437 wxBitmap
*arg1
= 0 ;
10438 wxColour
*arg2
= 0 ;
10439 int arg3
= (int) 0 ;
10440 wxRegion
*result
= 0 ;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 PyObject
* obj2
= 0 ;
10449 char * kwnames
[] = {
10450 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10454 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10461 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10468 if (!SWIG_IsOK(ecode3
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10471 arg3
= static_cast< int >(val3
);
10474 if (!wxPyCheckForApp()) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10487 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
= 0;
10490 wxPoint
*arg2
= (wxPoint
*) 0 ;
10491 int arg3
= (int) wxWINDING_RULE
;
10492 wxRegion
*result
= 0 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 char * kwnames
[] = {
10498 (char *) "points",(char *) "fillStyle", NULL
10501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10503 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10504 if (arg2
== NULL
) SWIG_fail
;
10507 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10508 if (!SWIG_IsOK(ecode3
)) {
10509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10511 arg3
= static_cast< int >(val3
);
10514 if (!wxPyCheckForApp()) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10522 if (arg2
) delete [] arg2
;
10527 if (arg2
) delete [] arg2
;
10533 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10534 PyObject
*resultobj
= 0;
10535 wxRegion
*arg1
= (wxRegion
*) 0 ;
10538 PyObject
*swig_obj
[1] ;
10540 if (!args
) SWIG_fail
;
10541 swig_obj
[0] = args
;
10542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10543 if (!SWIG_IsOK(res1
)) {
10544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10546 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_Py_Void();
10561 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10562 PyObject
*resultobj
= 0;
10563 wxRegion
*arg1
= (wxRegion
*) 0 ;
10566 PyObject
*swig_obj
[1] ;
10568 if (!args
) SWIG_fail
;
10569 swig_obj
[0] = args
;
10570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10571 if (!SWIG_IsOK(res1
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10574 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_Py_Void();
10588 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxRegion
*arg1
= (wxRegion
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 PyObject
* obj2
= 0 ;
10603 char * kwnames
[] = {
10604 (char *) "self",(char *) "x",(char *) "y", NULL
10607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10609 if (!SWIG_IsOK(res1
)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10612 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10614 if (!SWIG_IsOK(ecode2
)) {
10615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10617 arg2
= static_cast< int >(val2
);
10618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10619 if (!SWIG_IsOK(ecode3
)) {
10620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10622 arg3
= static_cast< int >(val3
);
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10638 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
= 0;
10640 wxRegion
*arg1
= (wxRegion
*) 0 ;
10643 wxRegionContain result
;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 PyObject
* obj2
= 0 ;
10653 char * kwnames
[] = {
10654 (char *) "self",(char *) "x",(char *) "y", NULL
10657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10662 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10664 if (!SWIG_IsOK(ecode2
)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10667 arg2
= static_cast< int >(val2
);
10668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10669 if (!SWIG_IsOK(ecode3
)) {
10670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10672 arg3
= static_cast< int >(val3
);
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_From_int(static_cast< int >(result
));
10686 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxRegion
*arg1
= (wxRegion
*) 0 ;
10689 wxPoint
*arg2
= 0 ;
10690 wxRegionContain result
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char * kwnames
[] = {
10697 (char *) "self",(char *) "pt", NULL
10700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10705 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_From_int(static_cast< int >(result
));
10723 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= 0;
10725 wxRegion
*arg1
= (wxRegion
*) 0 ;
10727 wxRegionContain result
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 char * kwnames
[] = {
10734 (char *) "self",(char *) "rect", NULL
10737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10739 if (!SWIG_IsOK(res1
)) {
10740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10742 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_From_int(static_cast< int >(result
));
10760 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= 0;
10762 wxRegion
*arg1
= (wxRegion
*) 0 ;
10767 wxRegionContain result
;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 PyObject
* obj3
= 0 ;
10782 PyObject
* obj4
= 0 ;
10783 char * kwnames
[] = {
10784 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10789 if (!SWIG_IsOK(res1
)) {
10790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10792 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10794 if (!SWIG_IsOK(ecode2
)) {
10795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10797 arg2
= static_cast< int >(val2
);
10798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10799 if (!SWIG_IsOK(ecode3
)) {
10800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10802 arg3
= static_cast< int >(val3
);
10803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10804 if (!SWIG_IsOK(ecode4
)) {
10805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10807 arg4
= static_cast< int >(val4
);
10808 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10809 if (!SWIG_IsOK(ecode5
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10812 arg5
= static_cast< int >(val5
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_From_int(static_cast< int >(result
));
10826 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10827 PyObject
*resultobj
= 0;
10828 wxRegion
*arg1
= (wxRegion
*) 0 ;
10832 PyObject
*swig_obj
[1] ;
10834 if (!args
) SWIG_fail
;
10835 swig_obj
[0] = args
;
10836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10837 if (!SWIG_IsOK(res1
)) {
10838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10840 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (arg1
)->GetBox();
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10854 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
= 0;
10856 wxRegion
*arg1
= (wxRegion
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 PyObject
* obj2
= 0 ;
10875 PyObject
* obj3
= 0 ;
10876 PyObject
* obj4
= 0 ;
10877 char * kwnames
[] = {
10878 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10883 if (!SWIG_IsOK(res1
)) {
10884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10886 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10888 if (!SWIG_IsOK(ecode2
)) {
10889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10891 arg2
= static_cast< int >(val2
);
10892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10893 if (!SWIG_IsOK(ecode3
)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10896 arg3
= static_cast< int >(val3
);
10897 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10898 if (!SWIG_IsOK(ecode4
)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10901 arg4
= static_cast< int >(val4
);
10902 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10903 if (!SWIG_IsOK(ecode5
)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10906 arg5
= static_cast< int >(val5
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10922 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
= 0;
10924 wxRegion
*arg1
= (wxRegion
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char * kwnames
[] = {
10933 (char *) "self",(char *) "rect", NULL
10936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10938 if (!SWIG_IsOK(res1
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10941 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10944 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10961 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
= 0;
10963 wxRegion
*arg1
= (wxRegion
*) 0 ;
10964 wxRegion
*arg2
= 0 ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 char * kwnames
[] = {
10973 (char *) "self",(char *) "region", NULL
10976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10981 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10983 if (!SWIG_IsOK(res2
)) {
10984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10989 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11005 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11006 PyObject
*resultobj
= 0;
11007 wxRegion
*arg1
= (wxRegion
*) 0 ;
11011 PyObject
*swig_obj
[1] ;
11013 if (!args
) SWIG_fail
;
11014 swig_obj
[0] = args
;
11015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11016 if (!SWIG_IsOK(res1
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11019 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)(arg1
)->IsEmpty();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
= 0;
11037 wxRegion
*arg1
= (wxRegion
*) 0 ;
11038 wxRegion
*arg2
= 0 ;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "self",(char *) "region", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11057 if (!SWIG_IsOK(res2
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11063 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11079 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
= 0;
11081 wxRegion
*arg1
= (wxRegion
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 PyObject
* obj2
= 0 ;
11100 PyObject
* obj3
= 0 ;
11101 PyObject
* obj4
= 0 ;
11102 char * kwnames
[] = {
11103 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11108 if (!SWIG_IsOK(res1
)) {
11109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11111 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11113 if (!SWIG_IsOK(ecode2
)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11116 arg2
= static_cast< int >(val2
);
11117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11118 if (!SWIG_IsOK(ecode3
)) {
11119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11121 arg3
= static_cast< int >(val3
);
11122 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11123 if (!SWIG_IsOK(ecode4
)) {
11124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11126 arg4
= static_cast< int >(val4
);
11127 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11128 if (!SWIG_IsOK(ecode5
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11131 arg5
= static_cast< int >(val5
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxRegion
*arg1
= (wxRegion
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "rect", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11166 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11169 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxRegion
*arg1
= (wxRegion
*) 0 ;
11189 wxRegion
*arg2
= 0 ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 char * kwnames
[] = {
11198 (char *) "self",(char *) "region", NULL
11201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11206 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11208 if (!SWIG_IsOK(res2
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11214 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11230 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
= 0;
11232 wxRegion
*arg1
= (wxRegion
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 PyObject
* obj2
= 0 ;
11251 PyObject
* obj3
= 0 ;
11252 PyObject
* obj4
= 0 ;
11253 char * kwnames
[] = {
11254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11259 if (!SWIG_IsOK(res1
)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11262 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11264 if (!SWIG_IsOK(ecode2
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11267 arg2
= static_cast< int >(val2
);
11268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11269 if (!SWIG_IsOK(ecode3
)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11272 arg3
= static_cast< int >(val3
);
11273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11274 if (!SWIG_IsOK(ecode4
)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11277 arg4
= static_cast< int >(val4
);
11278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11279 if (!SWIG_IsOK(ecode5
)) {
11280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11282 arg5
= static_cast< int >(val5
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11298 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
= 0;
11300 wxRegion
*arg1
= (wxRegion
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 char * kwnames
[] = {
11309 (char *) "self",(char *) "rect", NULL
11312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11317 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11320 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
= 0;
11339 wxRegion
*arg1
= (wxRegion
*) 0 ;
11340 wxRegion
*arg2
= 0 ;
11346 PyObject
* obj0
= 0 ;
11347 PyObject
* obj1
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "self",(char *) "region", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11357 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11359 if (!SWIG_IsOK(res2
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11365 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11381 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
= 0;
11383 wxRegion
*arg1
= (wxRegion
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 PyObject
* obj3
= 0 ;
11403 PyObject
* obj4
= 0 ;
11404 char * kwnames
[] = {
11405 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11413 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11415 if (!SWIG_IsOK(ecode2
)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11418 arg2
= static_cast< int >(val2
);
11419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11420 if (!SWIG_IsOK(ecode3
)) {
11421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11423 arg3
= static_cast< int >(val3
);
11424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11425 if (!SWIG_IsOK(ecode4
)) {
11426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11428 arg4
= static_cast< int >(val4
);
11429 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11430 if (!SWIG_IsOK(ecode5
)) {
11431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11433 arg5
= static_cast< int >(val5
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11449 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= 0;
11451 wxRegion
*arg1
= (wxRegion
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char * kwnames
[] = {
11460 (char *) "self",(char *) "rect", NULL
11463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11465 if (!SWIG_IsOK(res1
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11468 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11471 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
= 0;
11490 wxRegion
*arg1
= (wxRegion
*) 0 ;
11491 wxRegion
*arg2
= 0 ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char * kwnames
[] = {
11500 (char *) "self",(char *) "region", NULL
11503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11505 if (!SWIG_IsOK(res1
)) {
11506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11508 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11510 if (!SWIG_IsOK(res2
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11516 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11532 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11533 PyObject
*resultobj
= 0;
11534 wxRegion
*arg1
= (wxRegion
*) 0 ;
11535 SwigValueWrapper
<wxBitmap
> result
;
11538 PyObject
*swig_obj
[1] ;
11540 if (!args
) SWIG_fail
;
11541 swig_obj
[0] = args
;
11542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11543 if (!SWIG_IsOK(res1
)) {
11544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11546 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (arg1
)->ConvertToBitmap();
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11560 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxRegion
*arg1
= (wxRegion
*) 0 ;
11563 wxBitmap
*arg2
= 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "bmp", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11580 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11582 if (!SWIG_IsOK(res2
)) {
11583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11588 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11604 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
= 0;
11606 wxRegion
*arg1
= (wxRegion
*) 0 ;
11607 wxBitmap
*arg2
= 0 ;
11608 wxColour
*arg3
= 0 ;
11609 int arg4
= (int) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 PyObject
* obj2
= 0 ;
11621 PyObject
* obj3
= 0 ;
11622 char * kwnames
[] = {
11623 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11628 if (!SWIG_IsOK(res1
)) {
11629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11631 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11632 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11633 if (!SWIG_IsOK(res2
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11639 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11642 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11646 if (!SWIG_IsOK(ecode4
)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11649 arg4
= static_cast< int >(val4
);
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11666 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11669 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11670 return SWIG_Py_Void();
11673 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11674 return SWIG_Python_InitShadowInstance(args
);
11677 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
= 0;
11679 wxRegion
*arg1
= 0 ;
11680 wxRegionIterator
*result
= 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char * kwnames
[] = {
11685 (char *) "region", NULL
11688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11689 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11690 if (!SWIG_IsOK(res1
)) {
11691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11696 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11698 if (!wxPyCheckForApp()) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11711 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 PyObject
*resultobj
= 0;
11713 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11716 PyObject
*swig_obj
[1] ;
11718 if (!args
) SWIG_fail
;
11719 swig_obj
[0] = args
;
11720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11721 if (!SWIG_IsOK(res1
)) {
11722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11724 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_Py_Void();
11739 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11740 PyObject
*resultobj
= 0;
11741 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11745 PyObject
*swig_obj
[1] ;
11747 if (!args
) SWIG_fail
;
11748 swig_obj
[0] = args
;
11749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11750 if (!SWIG_IsOK(res1
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11753 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)(arg1
)->GetX();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_int(static_cast< int >(result
));
11767 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11768 PyObject
*resultobj
= 0;
11769 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11773 PyObject
*swig_obj
[1] ;
11775 if (!args
) SWIG_fail
;
11776 swig_obj
[0] = args
;
11777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11781 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)(arg1
)->GetY();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int(static_cast< int >(result
));
11795 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11801 PyObject
*swig_obj
[1] ;
11803 if (!args
) SWIG_fail
;
11804 swig_obj
[0] = args
;
11805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11809 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)(arg1
)->GetW();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 PyObject
*resultobj
= 0;
11825 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11829 PyObject
*swig_obj
[1] ;
11831 if (!args
) SWIG_fail
;
11832 swig_obj
[0] = args
;
11833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11837 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (int)(arg1
)->GetWidth();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_From_int(static_cast< int >(result
));
11851 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11852 PyObject
*resultobj
= 0;
11853 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11857 PyObject
*swig_obj
[1] ;
11859 if (!args
) SWIG_fail
;
11860 swig_obj
[0] = args
;
11861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11865 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (int)(arg1
)->GetH();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_From_int(static_cast< int >(result
));
11879 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 PyObject
*resultobj
= 0;
11881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11885 PyObject
*swig_obj
[1] ;
11887 if (!args
) SWIG_fail
;
11888 swig_obj
[0] = args
;
11889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11893 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (int)(arg1
)->GetHeight();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_From_int(static_cast< int >(result
));
11907 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11908 PyObject
*resultobj
= 0;
11909 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11913 PyObject
*swig_obj
[1] ;
11915 if (!args
) SWIG_fail
;
11916 swig_obj
[0] = args
;
11917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11918 if (!SWIG_IsOK(res1
)) {
11919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11921 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 result
= (arg1
)->GetRect();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11935 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11949 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (bool)(arg1
)->HaveRects();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11965 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11966 PyObject
*resultobj
= 0;
11967 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11970 PyObject
*swig_obj
[1] ;
11972 if (!args
) SWIG_fail
;
11973 swig_obj
[0] = args
;
11974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11978 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_Py_Void();
11992 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 PyObject
*resultobj
= 0;
11994 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11997 PyObject
*swig_obj
[1] ;
11999 if (!args
) SWIG_fail
;
12000 swig_obj
[0] = args
;
12001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12005 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 wxRegionIterator_Next(arg1
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_Py_Void();
12019 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12025 PyObject
*swig_obj
[1] ;
12027 if (!args
) SWIG_fail
;
12028 swig_obj
[0] = args
;
12029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12033 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12049 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12052 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12053 return SWIG_Py_Void();
12056 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 return SWIG_Python_InitShadowInstance(args
);
12060 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxNativeFontInfo
*result
= 0 ;
12064 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12078 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12079 PyObject
*resultobj
= 0;
12080 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12083 PyObject
*swig_obj
[1] ;
12085 if (!args
) SWIG_fail
;
12086 swig_obj
[0] = args
;
12087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12088 if (!SWIG_IsOK(res1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12091 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_Py_Void();
12106 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12119 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_Py_Void();
12133 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "font", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12152 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12154 if (!SWIG_IsOK(res2
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12160 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_Py_Void();
12174 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12188 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12203 PyObject
*resultobj
= 0;
12204 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12205 wxFontStyle result
;
12208 PyObject
*swig_obj
[1] ;
12210 if (!args
) SWIG_fail
;
12211 swig_obj
[0] = args
;
12212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12216 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_From_int(static_cast< int >(result
));
12230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12231 PyObject
*resultobj
= 0;
12232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12233 wxFontWeight result
;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12244 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_From_int(static_cast< int >(result
));
12258 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12259 PyObject
*resultobj
= 0;
12260 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12264 PyObject
*swig_obj
[1] ;
12266 if (!args
) SWIG_fail
;
12267 swig_obj
[0] = args
;
12268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12272 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12288 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12289 PyObject
*resultobj
= 0;
12290 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12294 PyObject
*swig_obj
[1] ;
12296 if (!args
) SWIG_fail
;
12297 swig_obj
[0] = args
;
12298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12299 if (!SWIG_IsOK(res1
)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12302 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12322 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12325 wxFontFamily result
;
12328 PyObject
*swig_obj
[1] ;
12330 if (!args
) SWIG_fail
;
12331 swig_obj
[0] = args
;
12332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12336 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int(static_cast< int >(result
));
12350 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12353 wxFontEncoding result
;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12364 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_From_int(static_cast< int >(result
));
12378 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
= 0;
12380 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 char * kwnames
[] = {
12389 (char *) "self",(char *) "pointsize", NULL
12392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12394 if (!SWIG_IsOK(res1
)) {
12395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12397 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12399 if (!SWIG_IsOK(ecode2
)) {
12400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12402 arg2
= static_cast< int >(val2
);
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->SetPointSize(arg2
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_Py_Void();
12416 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char * kwnames
[] = {
12427 (char *) "self",(char *) "style", NULL
12430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12432 if (!SWIG_IsOK(res1
)) {
12433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12435 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12437 if (!SWIG_IsOK(ecode2
)) {
12438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12440 arg2
= static_cast< wxFontStyle
>(val2
);
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->SetStyle(arg2
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_Py_Void();
12454 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= 0;
12456 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12457 wxFontWeight arg2
;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 char * kwnames
[] = {
12465 (char *) "self",(char *) "weight", NULL
12468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12473 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12475 if (!SWIG_IsOK(ecode2
)) {
12476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12478 arg2
= static_cast< wxFontWeight
>(val2
);
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->SetWeight(arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_Py_Void();
12492 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= 0;
12494 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char * kwnames
[] = {
12503 (char *) "self",(char *) "underlined", NULL
12506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12511 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12512 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12513 if (!SWIG_IsOK(ecode2
)) {
12514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12516 arg2
= static_cast< bool >(val2
);
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 (arg1
)->SetUnderlined(arg2
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_Py_Void();
12530 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= 0;
12532 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 char * kwnames
[] = {
12540 (char *) "self",(char *) "facename", NULL
12543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12548 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12550 wxString
* sptr
= wxString_in_helper(obj1
);
12551 if (sptr
== NULL
) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (bool)(arg1
)->SetFaceName(arg2
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12570 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= 0;
12572 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12573 wxFontFamily arg2
;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "self",(char *) "family", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12589 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12591 if (!SWIG_IsOK(ecode2
)) {
12592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12594 arg2
= static_cast< wxFontFamily
>(val2
);
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetFamily(arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
= 0;
12610 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12611 wxFontEncoding arg2
;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char * kwnames
[] = {
12619 (char *) "self",(char *) "encoding", NULL
12622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12627 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12629 if (!SWIG_IsOK(ecode2
)) {
12630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12632 arg2
= static_cast< wxFontEncoding
>(val2
);
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetEncoding(arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12649 wxString
*arg2
= 0 ;
12653 bool temp2
= false ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "self",(char *) "s", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12662 if (!SWIG_IsOK(res1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12665 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12667 arg2
= wxString_in_helper(obj1
);
12668 if (arg2
== NULL
) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12694 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12695 PyObject
*resultobj
= 0;
12696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12700 PyObject
*swig_obj
[1] ;
12702 if (!args
) SWIG_fail
;
12703 swig_obj
[0] = args
;
12704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12705 if (!SWIG_IsOK(res1
)) {
12706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12708 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12728 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12729 PyObject
*resultobj
= 0;
12730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12734 PyObject
*swig_obj
[1] ;
12736 if (!args
) SWIG_fail
;
12737 swig_obj
[0] = args
;
12738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12742 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= wxNativeFontInfo___str__(arg1
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12762 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
= 0;
12764 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12765 wxString
*arg2
= 0 ;
12769 bool temp2
= false ;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 char * kwnames
[] = {
12773 (char *) "self",(char *) "s", NULL
12776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12778 if (!SWIG_IsOK(res1
)) {
12779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12781 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12783 arg2
= wxString_in_helper(obj1
);
12784 if (arg2
== NULL
) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12810 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12811 PyObject
*resultobj
= 0;
12812 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12816 PyObject
*swig_obj
[1] ;
12818 if (!args
) SWIG_fail
;
12819 swig_obj
[0] = args
;
12820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12821 if (!SWIG_IsOK(res1
)) {
12822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12824 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12844 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12847 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12848 return SWIG_Py_Void();
12851 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 return SWIG_Python_InitShadowInstance(args
);
12855 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12856 PyObject
*resultobj
= 0;
12857 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12858 wxString
*arg2
= (wxString
*) 0 ;
12861 bool temp2
= false ;
12862 PyObject
*swig_obj
[2] ;
12864 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12866 if (!SWIG_IsOK(res1
)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12869 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12871 arg2
= wxString_in_helper(swig_obj
[1]);
12872 if (arg2
== NULL
) SWIG_fail
;
12875 if (arg1
) (arg1
)->facename
= *arg2
;
12877 resultobj
= SWIG_Py_Void();
12892 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 PyObject
*resultobj
= 0;
12894 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12895 wxString
*result
= 0 ;
12898 PyObject
*swig_obj
[1] ;
12900 if (!args
) SWIG_fail
;
12901 swig_obj
[0] = args
;
12902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12903 if (!SWIG_IsOK(res1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12906 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12907 result
= (wxString
*)& ((arg1
)->facename
);
12910 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12912 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12921 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12922 PyObject
*resultobj
= 0;
12923 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12924 wxFontEncoding arg2
;
12929 PyObject
*swig_obj
[2] ;
12931 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12936 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12941 arg2
= static_cast< wxFontEncoding
>(val2
);
12942 if (arg1
) (arg1
)->encoding
= arg2
;
12944 resultobj
= SWIG_Py_Void();
12951 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 PyObject
*resultobj
= 0;
12953 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12954 wxFontEncoding result
;
12957 PyObject
*swig_obj
[1] ;
12959 if (!args
) SWIG_fail
;
12960 swig_obj
[0] = args
;
12961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12962 if (!SWIG_IsOK(res1
)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12965 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12966 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12967 resultobj
= SWIG_From_int(static_cast< int >(result
));
12974 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxNativeEncodingInfo
*result
= 0 ;
12978 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12992 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12993 PyObject
*resultobj
= 0;
12994 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12997 PyObject
*swig_obj
[1] ;
12999 if (!args
) SWIG_fail
;
13000 swig_obj
[0] = args
;
13001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13005 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13023 wxString
*arg2
= 0 ;
13027 bool temp2
= false ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char * kwnames
[] = {
13031 (char *) "self",(char *) "s", NULL
13034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13039 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13041 arg2
= wxString_in_helper(obj1
);
13042 if (arg2
== NULL
) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13068 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13069 PyObject
*resultobj
= 0;
13070 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13074 PyObject
*swig_obj
[1] ;
13076 if (!args
) SWIG_fail
;
13077 swig_obj
[0] = args
;
13078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13079 if (!SWIG_IsOK(res1
)) {
13080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13082 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13102 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13106 return SWIG_Py_Void();
13109 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 return SWIG_Python_InitShadowInstance(args
);
13113 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxFontEncoding arg1
;
13116 wxNativeEncodingInfo
*result
= 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char * kwnames
[] = {
13121 (char *) "encoding", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13126 if (!SWIG_IsOK(ecode1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13129 arg1
= static_cast< wxFontEncoding
>(val1
);
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13143 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
= 0;
13145 wxNativeEncodingInfo
*arg1
= 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char * kwnames
[] = {
13151 (char *) "info", NULL
13154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13155 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13156 if (!SWIG_IsOK(res1
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13162 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13178 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13179 PyObject
*resultobj
= 0;
13180 wxFontMapper
*result
= 0 ;
13182 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (wxFontMapper
*)new wxFontMapper();
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13196 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13197 PyObject
*resultobj
= 0;
13198 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13201 PyObject
*swig_obj
[1] ;
13203 if (!args
) SWIG_fail
;
13204 swig_obj
[0] = args
;
13205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13209 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13224 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxFontMapper
*result
= 0 ;
13228 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxFontMapper
*)wxFontMapper::Get();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13242 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13245 wxFontMapper
*result
= 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char * kwnames
[] = {
13250 (char *) "mapper", NULL
13253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13255 if (!SWIG_IsOK(res1
)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13258 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13272 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
= 0;
13274 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13275 wxString
*arg2
= 0 ;
13276 bool arg3
= (bool) true ;
13277 wxFontEncoding result
;
13280 bool temp2
= false ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 PyObject
* obj2
= 0 ;
13286 char * kwnames
[] = {
13287 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13292 if (!SWIG_IsOK(res1
)) {
13293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13295 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13297 arg2
= wxString_in_helper(obj1
);
13298 if (arg2
== NULL
) SWIG_fail
;
13302 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13303 if (!SWIG_IsOK(ecode3
)) {
13304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13306 arg3
= static_cast< bool >(val3
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_From_int(static_cast< int >(result
));
13329 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13333 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13347 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
= 0;
13350 wxFontEncoding result
;
13353 PyObject
* obj0
= 0 ;
13354 char * kwnames
[] = {
13358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13359 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13360 if (!SWIG_IsOK(ecode1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13363 arg1
= static_cast< size_t >(val1
);
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_From_int(static_cast< int >(result
));
13377 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
= 0;
13379 wxFontEncoding arg1
;
13383 PyObject
* obj0
= 0 ;
13384 char * kwnames
[] = {
13385 (char *) "encoding", NULL
13388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13390 if (!SWIG_IsOK(ecode1
)) {
13391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13393 arg1
= static_cast< wxFontEncoding
>(val1
);
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= wxFontMapper::GetEncodingName(arg1
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13413 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
= 0;
13415 wxFontEncoding arg1
;
13419 PyObject
* obj0
= 0 ;
13420 char * kwnames
[] = {
13421 (char *) "encoding", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13426 if (!SWIG_IsOK(ecode1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13429 arg1
= static_cast< wxFontEncoding
>(val1
);
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= wxFontMapper::GetEncodingDescription(arg1
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13449 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
= 0;
13451 wxString
*arg1
= 0 ;
13452 wxFontEncoding result
;
13453 bool temp1
= false ;
13454 PyObject
* obj0
= 0 ;
13455 char * kwnames
[] = {
13456 (char *) "name", NULL
13459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13461 arg1
= wxString_in_helper(obj0
);
13462 if (arg1
== NULL
) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= SWIG_From_int(static_cast< int >(result
));
13486 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
= 0;
13488 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13489 wxString
*arg2
= 0 ;
13492 bool temp2
= false ;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char * kwnames
[] = {
13496 (char *) "self",(char *) "prefix", NULL
13499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13504 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13506 arg2
= wxString_in_helper(obj1
);
13507 if (arg2
== NULL
) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_Py_Void();
13531 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13532 PyObject
*resultobj
= 0;
13535 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= wxFontMapper::GetDefaultConfigPath();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13555 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
= 0;
13557 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13558 wxFontEncoding arg2
;
13559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13561 bool arg4
= (bool) true ;
13562 PyObject
*result
= 0 ;
13567 bool temp3
= false ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 PyObject
* obj2
= 0 ;
13573 PyObject
* obj3
= 0 ;
13574 char * kwnames
[] = {
13575 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13583 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13585 if (!SWIG_IsOK(ecode2
)) {
13586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13588 arg2
= static_cast< wxFontEncoding
>(val2
);
13591 arg3
= wxString_in_helper(obj2
);
13592 if (arg3
== NULL
) SWIG_fail
;
13597 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13598 if (!SWIG_IsOK(ecode4
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13601 arg4
= static_cast< bool >(val4
);
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
;
13624 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
= 0;
13626 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13627 wxFontEncoding arg2
;
13628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13635 bool temp3
= false ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 PyObject
* obj2
= 0 ;
13639 char * kwnames
[] = {
13640 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13648 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13650 if (!SWIG_IsOK(ecode2
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13653 arg2
= static_cast< wxFontEncoding
>(val2
);
13656 arg3
= wxString_in_helper(obj2
);
13657 if (arg3
== NULL
) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13684 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13687 wxWindow
*arg2
= (wxWindow
*) 0 ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 char * kwnames
[] = {
13695 (char *) "self",(char *) "parent", NULL
13698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13700 if (!SWIG_IsOK(res1
)) {
13701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13703 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13705 if (!SWIG_IsOK(res2
)) {
13706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 (arg1
)->SetDialogParent(arg2
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_Py_Void();
13722 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= 0;
13724 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13725 wxString
*arg2
= 0 ;
13728 bool temp2
= false ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "title", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13740 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13742 arg2
= wxString_in_helper(obj1
);
13743 if (arg2
== NULL
) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13767 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13770 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13771 return SWIG_Py_Void();
13774 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13775 return SWIG_Python_InitShadowInstance(args
);
13778 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13784 bool arg5
= (bool) false ;
13785 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13786 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13787 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13788 wxFont
*result
= 0 ;
13799 bool temp6
= false ;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 PyObject
* obj2
= 0 ;
13805 PyObject
* obj3
= 0 ;
13806 PyObject
* obj4
= 0 ;
13807 PyObject
* obj5
= 0 ;
13808 PyObject
* obj6
= 0 ;
13809 char * kwnames
[] = {
13810 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13814 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13815 if (!SWIG_IsOK(ecode1
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13818 arg1
= static_cast< int >(val1
);
13819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13820 if (!SWIG_IsOK(ecode2
)) {
13821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13823 arg2
= static_cast< int >(val2
);
13824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13825 if (!SWIG_IsOK(ecode3
)) {
13826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13828 arg3
= static_cast< int >(val3
);
13829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13830 if (!SWIG_IsOK(ecode4
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13833 arg4
= static_cast< int >(val4
);
13835 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13836 if (!SWIG_IsOK(ecode5
)) {
13837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13839 arg5
= static_cast< bool >(val5
);
13843 arg6
= wxString_in_helper(obj5
);
13844 if (arg6
== NULL
) SWIG_fail
;
13849 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13850 if (!SWIG_IsOK(ecode7
)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13853 arg7
= static_cast< wxFontEncoding
>(val7
);
13856 if (!wxPyCheckForApp()) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13877 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13878 PyObject
*resultobj
= 0;
13879 wxFont
*arg1
= (wxFont
*) 0 ;
13882 PyObject
*swig_obj
[1] ;
13884 if (!args
) SWIG_fail
;
13885 swig_obj
[0] = args
;
13886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13887 if (!SWIG_IsOK(res1
)) {
13888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13890 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_Py_Void();
13905 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
= 0;
13907 wxNativeFontInfo
*arg1
= 0 ;
13908 wxFont
*result
= 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char * kwnames
[] = {
13913 (char *) "info", NULL
13916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13917 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13918 if (!SWIG_IsOK(res1
)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13926 if (!wxPyCheckForApp()) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13939 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
= 0;
13941 wxString
*arg1
= 0 ;
13942 wxFont
*result
= 0 ;
13943 bool temp1
= false ;
13944 PyObject
* obj0
= 0 ;
13945 char * kwnames
[] = {
13946 (char *) "info", NULL
13949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13951 arg1
= wxString_in_helper(obj0
);
13952 if (arg1
== NULL
) SWIG_fail
;
13956 if (!wxPyCheckForApp()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13977 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
= 0;
13980 wxFontFamily arg2
;
13981 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13982 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13983 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13984 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13985 wxFont
*result
= 0 ;
13992 bool temp4
= false ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 PyObject
* obj2
= 0 ;
13998 PyObject
* obj3
= 0 ;
13999 PyObject
* obj4
= 0 ;
14000 char * kwnames
[] = {
14001 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14006 if (!SWIG_IsOK(ecode1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14009 arg1
= static_cast< int >(val1
);
14010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14011 if (!SWIG_IsOK(ecode2
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14014 arg2
= static_cast< wxFontFamily
>(val2
);
14016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14017 if (!SWIG_IsOK(ecode3
)) {
14018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14020 arg3
= static_cast< int >(val3
);
14024 arg4
= wxString_in_helper(obj3
);
14025 if (arg4
== NULL
) SWIG_fail
;
14030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14031 if (!SWIG_IsOK(ecode5
)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14034 arg5
= static_cast< wxFontEncoding
>(val5
);
14037 if (!wxPyCheckForApp()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14058 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
= 0;
14064 bool arg5
= (bool) false ;
14065 wxString
const &arg6_defvalue
= wxEmptyString
;
14066 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14067 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14068 wxFont
*result
= 0 ;
14078 bool temp6
= false ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 PyObject
* obj2
= 0 ;
14084 PyObject
* obj3
= 0 ;
14085 PyObject
* obj4
= 0 ;
14086 PyObject
* obj5
= 0 ;
14087 PyObject
* obj6
= 0 ;
14088 char * kwnames
[] = {
14089 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14095 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14098 if (!SWIG_IsOK(ecode2
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14101 arg2
= static_cast< int >(val2
);
14102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14103 if (!SWIG_IsOK(ecode3
)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14106 arg3
= static_cast< int >(val3
);
14107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14108 if (!SWIG_IsOK(ecode4
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14111 arg4
= static_cast< int >(val4
);
14113 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14114 if (!SWIG_IsOK(ecode5
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14117 arg5
= static_cast< bool >(val5
);
14121 arg6
= wxString_in_helper(obj5
);
14122 if (arg6
== NULL
) SWIG_fail
;
14127 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14128 if (!SWIG_IsOK(ecode7
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14131 arg7
= static_cast< wxFontEncoding
>(val7
);
14134 if (!wxPyCheckForApp()) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14155 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
= 0;
14158 wxFontFamily arg2
;
14159 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14160 wxString
const &arg4_defvalue
= wxEmptyString
;
14161 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14162 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14163 wxFont
*result
= 0 ;
14169 bool temp4
= false ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 PyObject
* obj2
= 0 ;
14175 PyObject
* obj3
= 0 ;
14176 PyObject
* obj4
= 0 ;
14177 char * kwnames
[] = {
14178 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14184 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14187 if (!SWIG_IsOK(ecode2
)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14190 arg2
= static_cast< wxFontFamily
>(val2
);
14192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14193 if (!SWIG_IsOK(ecode3
)) {
14194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14196 arg3
= static_cast< int >(val3
);
14200 arg4
= wxString_in_helper(obj3
);
14201 if (arg4
== NULL
) SWIG_fail
;
14206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14207 if (!SWIG_IsOK(ecode5
)) {
14208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14210 arg5
= static_cast< wxFontEncoding
>(val5
);
14213 if (!wxPyCheckForApp()) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14234 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14235 PyObject
*resultobj
= 0;
14236 wxFont
*arg1
= (wxFont
*) 0 ;
14240 PyObject
*swig_obj
[1] ;
14242 if (!args
) SWIG_fail
;
14243 swig_obj
[0] = args
;
14244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14245 if (!SWIG_IsOK(res1
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14248 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14264 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
= 0;
14266 wxFont
*arg1
= (wxFont
*) 0 ;
14267 wxFont
*arg2
= (wxFont
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char * kwnames
[] = {
14276 (char *) "self",(char *) "other", NULL
14279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14281 if (!SWIG_IsOK(res1
)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14284 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14286 if (!SWIG_IsOK(res2
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14289 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
= 0;
14307 wxFont
*arg1
= (wxFont
*) 0 ;
14308 wxFont
*arg2
= (wxFont
*) 0 ;
14314 PyObject
* obj0
= 0 ;
14315 PyObject
* obj1
= 0 ;
14316 char * kwnames
[] = {
14317 (char *) "self",(char *) "other", NULL
14320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14322 if (!SWIG_IsOK(res1
)) {
14323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14325 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14327 if (!SWIG_IsOK(res2
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14330 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14346 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxFont
*arg1
= (wxFont
*) 0 ;
14352 PyObject
*swig_obj
[1] ;
14354 if (!args
) SWIG_fail
;
14355 swig_obj
[0] = args
;
14356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14360 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_int(static_cast< int >(result
));
14374 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14375 PyObject
*resultobj
= 0;
14376 wxFont
*arg1
= (wxFont
*) 0 ;
14380 PyObject
*swig_obj
[1] ;
14382 if (!args
) SWIG_fail
;
14383 swig_obj
[0] = args
;
14384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14388 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14402 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14403 PyObject
*resultobj
= 0;
14404 wxFont
*arg1
= (wxFont
*) 0 ;
14408 PyObject
*swig_obj
[1] ;
14410 if (!args
) SWIG_fail
;
14411 swig_obj
[0] = args
;
14412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14416 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14433 PyObject
*resultobj
= 0;
14434 wxFont
*arg1
= (wxFont
*) 0 ;
14438 PyObject
*swig_obj
[1] ;
14440 if (!args
) SWIG_fail
;
14441 swig_obj
[0] = args
;
14442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14443 if (!SWIG_IsOK(res1
)) {
14444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_From_int(static_cast< int >(result
));
14460 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14461 PyObject
*resultobj
= 0;
14462 wxFont
*arg1
= (wxFont
*) 0 ;
14466 PyObject
*swig_obj
[1] ;
14468 if (!args
) SWIG_fail
;
14469 swig_obj
[0] = args
;
14470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14474 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_From_int(static_cast< int >(result
));
14488 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14489 PyObject
*resultobj
= 0;
14490 wxFont
*arg1
= (wxFont
*) 0 ;
14494 PyObject
*swig_obj
[1] ;
14496 if (!args
) SWIG_fail
;
14497 swig_obj
[0] = args
;
14498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14502 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_From_int(static_cast< int >(result
));
14516 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14517 PyObject
*resultobj
= 0;
14518 wxFont
*arg1
= (wxFont
*) 0 ;
14522 PyObject
*swig_obj
[1] ;
14524 if (!args
) SWIG_fail
;
14525 swig_obj
[0] = args
;
14526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14527 if (!SWIG_IsOK(res1
)) {
14528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14530 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14546 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14547 PyObject
*resultobj
= 0;
14548 wxFont
*arg1
= (wxFont
*) 0 ;
14552 PyObject
*swig_obj
[1] ;
14554 if (!args
) SWIG_fail
;
14555 swig_obj
[0] = args
;
14556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14557 if (!SWIG_IsOK(res1
)) {
14558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14560 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= ((wxFont
const *)arg1
)->GetFaceName();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14580 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14581 PyObject
*resultobj
= 0;
14582 wxFont
*arg1
= (wxFont
*) 0 ;
14583 wxFontEncoding result
;
14586 PyObject
*swig_obj
[1] ;
14588 if (!args
) SWIG_fail
;
14589 swig_obj
[0] = args
;
14590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14594 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_From_int(static_cast< int >(result
));
14608 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 PyObject
*resultobj
= 0;
14610 wxFont
*arg1
= (wxFont
*) 0 ;
14611 wxNativeFontInfo
*result
= 0 ;
14614 PyObject
*swig_obj
[1] ;
14616 if (!args
) SWIG_fail
;
14617 swig_obj
[0] = args
;
14618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14622 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14636 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14637 PyObject
*resultobj
= 0;
14638 wxFont
*arg1
= (wxFont
*) 0 ;
14642 PyObject
*swig_obj
[1] ;
14644 if (!args
) SWIG_fail
;
14645 swig_obj
[0] = args
;
14646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14647 if (!SWIG_IsOK(res1
)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14650 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14667 PyObject
*resultobj
= 0;
14668 wxFont
*arg1
= (wxFont
*) 0 ;
14672 PyObject
*swig_obj
[1] ;
14674 if (!args
) SWIG_fail
;
14675 swig_obj
[0] = args
;
14676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14677 if (!SWIG_IsOK(res1
)) {
14678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14680 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14700 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14701 PyObject
*resultobj
= 0;
14702 wxFont
*arg1
= (wxFont
*) 0 ;
14706 PyObject
*swig_obj
[1] ;
14708 if (!args
) SWIG_fail
;
14709 swig_obj
[0] = args
;
14710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14714 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14734 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
= 0;
14736 wxFont
*arg1
= (wxFont
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 char * kwnames
[] = {
14745 (char *) "self",(char *) "pointSize", NULL
14748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14750 if (!SWIG_IsOK(res1
)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14753 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14755 if (!SWIG_IsOK(ecode2
)) {
14756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14758 arg2
= static_cast< int >(val2
);
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 (arg1
)->SetPointSize(arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_Py_Void();
14772 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
= 0;
14774 wxFont
*arg1
= (wxFont
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char * kwnames
[] = {
14782 (char *) "self",(char *) "pixelSize", NULL
14785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14790 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14793 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_Py_Void();
14808 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
= 0;
14810 wxFont
*arg1
= (wxFont
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 char * kwnames
[] = {
14819 (char *) "self",(char *) "family", NULL
14822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14827 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14829 if (!SWIG_IsOK(ecode2
)) {
14830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14832 arg2
= static_cast< int >(val2
);
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->SetFamily(arg2
);
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= SWIG_Py_Void();
14846 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
= 0;
14848 wxFont
*arg1
= (wxFont
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 char * kwnames
[] = {
14857 (char *) "self",(char *) "style", NULL
14860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14862 if (!SWIG_IsOK(res1
)) {
14863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14865 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14867 if (!SWIG_IsOK(ecode2
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14870 arg2
= static_cast< int >(val2
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetStyle(arg2
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_Py_Void();
14884 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
= 0;
14886 wxFont
*arg1
= (wxFont
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 char * kwnames
[] = {
14895 (char *) "self",(char *) "weight", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14903 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14905 if (!SWIG_IsOK(ecode2
)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14908 arg2
= static_cast< int >(val2
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->SetWeight(arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_Py_Void();
14922 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxFont
*arg1
= (wxFont
*) 0 ;
14925 wxString
*arg2
= 0 ;
14929 bool temp2
= false ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "faceName", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14941 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14943 arg2
= wxString_in_helper(obj1
);
14944 if (arg2
== NULL
) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14970 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
= 0;
14972 wxFont
*arg1
= (wxFont
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 char * kwnames
[] = {
14981 (char *) "self",(char *) "underlined", NULL
14984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14986 if (!SWIG_IsOK(res1
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14989 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14990 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14991 if (!SWIG_IsOK(ecode2
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14994 arg2
= static_cast< bool >(val2
);
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 (arg1
)->SetUnderlined(arg2
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_Py_Void();
15008 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= 0;
15010 wxFont
*arg1
= (wxFont
*) 0 ;
15011 wxFontEncoding arg2
;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 char * kwnames
[] = {
15019 (char *) "self",(char *) "encoding", NULL
15022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15024 if (!SWIG_IsOK(res1
)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15027 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15029 if (!SWIG_IsOK(ecode2
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15032 arg2
= static_cast< wxFontEncoding
>(val2
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SetEncoding(arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= 0;
15048 wxFont
*arg1
= (wxFont
*) 0 ;
15049 wxNativeFontInfo
*arg2
= 0 ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 char * kwnames
[] = {
15057 (char *) "self",(char *) "info", NULL
15060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15065 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15067 if (!SWIG_IsOK(res2
)) {
15068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15073 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= SWIG_Py_Void();
15087 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
= 0;
15089 wxFont
*arg1
= (wxFont
*) 0 ;
15090 wxString
*arg2
= 0 ;
15094 bool temp2
= false ;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 char * kwnames
[] = {
15098 (char *) "self",(char *) "info", NULL
15101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15103 if (!SWIG_IsOK(res1
)) {
15104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15106 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15108 arg2
= wxString_in_helper(obj1
);
15109 if (arg2
== NULL
) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15135 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxFont
*arg1
= (wxFont
*) 0 ;
15138 wxString
*arg2
= 0 ;
15142 bool temp2
= false ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 char * kwnames
[] = {
15146 (char *) "self",(char *) "info", NULL
15149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15154 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15156 arg2
= wxString_in_helper(obj1
);
15157 if (arg2
== NULL
) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15183 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxFont
*arg1
= (wxFont
*) 0 ;
15189 PyObject
*swig_obj
[1] ;
15191 if (!args
) SWIG_fail
;
15192 swig_obj
[0] = args
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15197 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15217 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15218 PyObject
*resultobj
= 0;
15219 wxFont
*arg1
= (wxFont
*) 0 ;
15223 PyObject
*swig_obj
[1] ;
15225 if (!args
) SWIG_fail
;
15226 swig_obj
[0] = args
;
15227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15228 if (!SWIG_IsOK(res1
)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15231 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= ((wxFont
const *)arg1
)->GetStyleString();
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15251 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 wxFont
*arg1
= (wxFont
*) 0 ;
15257 PyObject
*swig_obj
[1] ;
15259 if (!args
) SWIG_fail
;
15260 swig_obj
[0] = args
;
15261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15265 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= ((wxFont
const *)arg1
)->GetWeightString();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15285 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
= 0;
15287 wxFont
*arg1
= (wxFont
*) 0 ;
15288 bool arg2
= (bool) true ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char * kwnames
[] = {
15296 (char *) "self",(char *) "no", NULL
15299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15301 if (!SWIG_IsOK(res1
)) {
15302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15304 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15306 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15307 if (!SWIG_IsOK(ecode2
)) {
15308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15310 arg2
= static_cast< bool >(val2
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetNoAntiAliasing(arg2
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 PyObject
*resultobj
= 0;
15327 wxFont
*arg1
= (wxFont
*) 0 ;
15331 PyObject
*swig_obj
[1] ;
15333 if (!args
) SWIG_fail
;
15334 swig_obj
[0] = args
;
15335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15339 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 PyObject
*resultobj
= 0;
15357 wxFontEncoding result
;
15359 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15361 if (!wxPyCheckForApp()) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_From_int(static_cast< int >(result
));
15374 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
= 0;
15376 wxFontEncoding arg1
;
15379 PyObject
* obj0
= 0 ;
15380 char * kwnames
[] = {
15381 (char *) "encoding", NULL
15384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15386 if (!SWIG_IsOK(ecode1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15389 arg1
= static_cast< wxFontEncoding
>(val1
);
15391 if (!wxPyCheckForApp()) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 wxFont::SetDefaultEncoding(arg1
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_Py_Void();
15404 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15408 return SWIG_Py_Void();
15411 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 return SWIG_Python_InitShadowInstance(args
);
15415 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15416 PyObject
*resultobj
= 0;
15417 wxPyFontEnumerator
*result
= 0 ;
15419 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15421 if (!wxPyCheckForApp()) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15434 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15435 PyObject
*resultobj
= 0;
15436 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15439 PyObject
*swig_obj
[1] ;
15441 if (!args
) SWIG_fail
;
15442 swig_obj
[0] = args
;
15443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15447 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_Py_Void();
15462 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= 0;
15464 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15465 PyObject
*arg2
= (PyObject
*) 0 ;
15466 PyObject
*arg3
= (PyObject
*) 0 ;
15467 int arg4
= (int) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 PyObject
* obj2
= 0 ;
15475 PyObject
* obj3
= 0 ;
15476 char * kwnames
[] = {
15477 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15482 if (!SWIG_IsOK(res1
)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15485 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15490 if (!SWIG_IsOK(ecode4
)) {
15491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15493 arg4
= static_cast< int >(val4
);
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_Py_Void();
15508 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
= 0;
15510 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15511 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15512 bool arg3
= (bool) false ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 PyObject
* obj2
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15529 if (!SWIG_IsOK(res1
)) {
15530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15532 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15535 if (!SWIG_IsOK(ecode2
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15538 arg2
= static_cast< wxFontEncoding
>(val2
);
15541 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15542 if (!SWIG_IsOK(ecode3
)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15545 arg3
= static_cast< bool >(val3
);
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
= 0;
15564 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15565 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15566 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15570 bool temp2
= false ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "facename", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15582 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15585 arg2
= wxString_in_helper(obj1
);
15586 if (arg2
== NULL
) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15613 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15614 PyObject
*resultobj
= 0;
15615 PyObject
*result
= 0 ;
15617 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= result
;
15631 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15632 PyObject
*resultobj
= 0;
15633 PyObject
*result
= 0 ;
15635 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
;
15649 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
= 0;
15651 wxString
*arg1
= 0 ;
15653 bool temp1
= false ;
15654 PyObject
* obj0
= 0 ;
15655 char * kwnames
[] = {
15656 (char *) "str", NULL
15659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15661 arg1
= wxString_in_helper(obj0
);
15662 if (arg1
== NULL
) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15688 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15692 return SWIG_Py_Void();
15695 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15696 return SWIG_Python_InitShadowInstance(args
);
15699 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15700 PyObject
*resultobj
= 0;
15701 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15707 PyObject
*swig_obj
[2] ;
15709 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15714 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15715 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15716 if (!SWIG_IsOK(ecode2
)) {
15717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15719 arg2
= static_cast< int >(val2
);
15720 if (arg1
) (arg1
)->Language
= arg2
;
15722 resultobj
= SWIG_Py_Void();
15729 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15730 PyObject
*resultobj
= 0;
15731 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15735 PyObject
*swig_obj
[1] ;
15737 if (!args
) SWIG_fail
;
15738 swig_obj
[0] = args
;
15739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15740 if (!SWIG_IsOK(res1
)) {
15741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15743 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15744 result
= (int) ((arg1
)->Language
);
15745 resultobj
= SWIG_From_int(static_cast< int >(result
));
15752 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15753 PyObject
*resultobj
= 0;
15754 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15755 wxString
*arg2
= (wxString
*) 0 ;
15758 bool temp2
= false ;
15759 PyObject
*swig_obj
[2] ;
15761 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15763 if (!SWIG_IsOK(res1
)) {
15764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15766 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15768 arg2
= wxString_in_helper(swig_obj
[1]);
15769 if (arg2
== NULL
) SWIG_fail
;
15772 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15774 resultobj
= SWIG_Py_Void();
15789 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15790 PyObject
*resultobj
= 0;
15791 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15792 wxString
*result
= 0 ;
15795 PyObject
*swig_obj
[1] ;
15797 if (!args
) SWIG_fail
;
15798 swig_obj
[0] = args
;
15799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15803 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15804 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15807 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15809 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15818 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15819 PyObject
*resultobj
= 0;
15820 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15821 wxString
*arg2
= (wxString
*) 0 ;
15824 bool temp2
= false ;
15825 PyObject
*swig_obj
[2] ;
15827 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15832 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15834 arg2
= wxString_in_helper(swig_obj
[1]);
15835 if (arg2
== NULL
) SWIG_fail
;
15838 if (arg1
) (arg1
)->Description
= *arg2
;
15840 resultobj
= SWIG_Py_Void();
15855 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15856 PyObject
*resultobj
= 0;
15857 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15858 wxString
*result
= 0 ;
15861 PyObject
*swig_obj
[1] ;
15863 if (!args
) SWIG_fail
;
15864 swig_obj
[0] = args
;
15865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15866 if (!SWIG_IsOK(res1
)) {
15867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15869 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15870 result
= (wxString
*)& ((arg1
)->Description
);
15873 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15875 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15884 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15887 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15888 return SWIG_Py_Void();
15891 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
= 0;
15893 int arg1
= (int) -1 ;
15894 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15895 wxLocale
*result
= 0 ;
15900 PyObject
* obj0
= 0 ;
15901 PyObject
* obj1
= 0 ;
15902 char * kwnames
[] = {
15903 (char *) "language",(char *) "flags", NULL
15906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15909 if (!SWIG_IsOK(ecode1
)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15912 arg1
= static_cast< int >(val1
);
15915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15916 if (!SWIG_IsOK(ecode2
)) {
15917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15919 arg2
= static_cast< int >(val2
);
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15934 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15935 PyObject
*resultobj
= 0;
15936 wxLocale
*arg1
= (wxLocale
*) 0 ;
15939 PyObject
*swig_obj
[1] ;
15941 if (!args
) SWIG_fail
;
15942 swig_obj
[0] = args
;
15943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15947 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_Py_Void();
15962 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
= 0;
15964 wxLocale
*arg1
= (wxLocale
*) 0 ;
15965 wxString
*arg2
= 0 ;
15966 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15967 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15968 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15969 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15970 bool arg5
= (bool) true ;
15971 bool arg6
= (bool) false ;
15975 bool temp2
= false ;
15976 bool temp3
= false ;
15977 bool temp4
= false ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 PyObject
* obj2
= 0 ;
15985 PyObject
* obj3
= 0 ;
15986 PyObject
* obj4
= 0 ;
15987 PyObject
* obj5
= 0 ;
15988 char * kwnames
[] = {
15989 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15994 if (!SWIG_IsOK(res1
)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15997 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15999 arg2
= wxString_in_helper(obj1
);
16000 if (arg2
== NULL
) SWIG_fail
;
16005 arg3
= wxString_in_helper(obj2
);
16006 if (arg3
== NULL
) SWIG_fail
;
16012 arg4
= wxString_in_helper(obj3
);
16013 if (arg4
== NULL
) SWIG_fail
;
16018 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16019 if (!SWIG_IsOK(ecode5
)) {
16020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16022 arg5
= static_cast< bool >(val5
);
16025 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16026 if (!SWIG_IsOK(ecode6
)) {
16027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16029 arg6
= static_cast< bool >(val6
);
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16070 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
= 0;
16072 wxLocale
*arg1
= (wxLocale
*) 0 ;
16073 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16074 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 PyObject
* obj2
= 0 ;
16085 char * kwnames
[] = {
16086 (char *) "self",(char *) "language",(char *) "flags", NULL
16089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16091 if (!SWIG_IsOK(res1
)) {
16092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16094 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16097 if (!SWIG_IsOK(ecode2
)) {
16098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16100 arg2
= static_cast< int >(val2
);
16103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16104 if (!SWIG_IsOK(ecode3
)) {
16105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16107 arg3
= static_cast< int >(val3
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16124 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 PyObject
*resultobj
= 0;
16128 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (int)wxLocale::GetSystemLanguage();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_From_int(static_cast< int >(result
));
16142 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 PyObject
*resultobj
= 0;
16144 wxFontEncoding result
;
16146 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_From_int(static_cast< int >(result
));
16160 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16161 PyObject
*resultobj
= 0;
16164 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= wxLocale::GetSystemEncodingName();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16184 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16185 PyObject
*resultobj
= 0;
16186 wxLocale
*arg1
= (wxLocale
*) 0 ;
16190 PyObject
*swig_obj
[1] ;
16192 if (!args
) SWIG_fail
;
16193 swig_obj
[0] = args
;
16194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16195 if (!SWIG_IsOK(res1
)) {
16196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16198 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16214 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxLocale
*arg1
= (wxLocale
*) 0 ;
16220 PyObject
*swig_obj
[1] ;
16222 if (!args
) SWIG_fail
;
16223 swig_obj
[0] = args
;
16224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16225 if (!SWIG_IsOK(res1
)) {
16226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16228 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= ((wxLocale
const *)arg1
)->GetLocale();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16248 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16249 PyObject
*resultobj
= 0;
16250 wxLocale
*arg1
= (wxLocale
*) 0 ;
16254 PyObject
*swig_obj
[1] ;
16256 if (!args
) SWIG_fail
;
16257 swig_obj
[0] = args
;
16258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16259 if (!SWIG_IsOK(res1
)) {
16260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16262 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_From_int(static_cast< int >(result
));
16276 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16277 PyObject
*resultobj
= 0;
16278 wxLocale
*arg1
= (wxLocale
*) 0 ;
16282 PyObject
*swig_obj
[1] ;
16284 if (!args
) SWIG_fail
;
16285 swig_obj
[0] = args
;
16286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16287 if (!SWIG_IsOK(res1
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16290 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= ((wxLocale
const *)arg1
)->GetSysName();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16310 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16311 PyObject
*resultobj
= 0;
16312 wxLocale
*arg1
= (wxLocale
*) 0 ;
16316 PyObject
*swig_obj
[1] ;
16318 if (!args
) SWIG_fail
;
16319 swig_obj
[0] = args
;
16320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16321 if (!SWIG_IsOK(res1
)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16324 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16344 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
= 0;
16346 wxString
*arg1
= 0 ;
16347 bool temp1
= false ;
16348 PyObject
* obj0
= 0 ;
16349 char * kwnames
[] = {
16350 (char *) "prefix", NULL
16353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16355 arg1
= wxString_in_helper(obj0
);
16356 if (arg1
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= SWIG_Py_Void();
16380 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
= 0;
16382 wxLocale
*arg1
= (wxLocale
*) 0 ;
16383 wxString
*arg2
= 0 ;
16387 bool temp2
= false ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char * kwnames
[] = {
16391 (char *) "self",(char *) "szDomain", NULL
16394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16396 if (!SWIG_IsOK(res1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16399 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16401 arg2
= wxString_in_helper(obj1
);
16402 if (arg2
== NULL
) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16428 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
= 0;
16434 PyObject
* obj0
= 0 ;
16435 char * kwnames
[] = {
16436 (char *) "lang", NULL
16439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16441 if (!SWIG_IsOK(ecode1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16444 arg1
= static_cast< int >(val1
);
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (bool)wxLocale::IsAvailable(arg1
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16460 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
= 0;
16462 wxLocale
*arg1
= (wxLocale
*) 0 ;
16463 wxString
*arg2
= 0 ;
16467 bool temp2
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 char * kwnames
[] = {
16471 (char *) "self",(char *) "szDomain", NULL
16474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16476 if (!SWIG_IsOK(res1
)) {
16477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16479 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16481 arg2
= wxString_in_helper(obj1
);
16482 if (arg2
== NULL
) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16508 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16511 wxLanguageInfo
*result
= 0 ;
16514 PyObject
* obj0
= 0 ;
16515 char * kwnames
[] = {
16516 (char *) "lang", NULL
16519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16521 if (!SWIG_IsOK(ecode1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16524 arg1
= static_cast< int >(val1
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16538 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16544 PyObject
* obj0
= 0 ;
16545 char * kwnames
[] = {
16546 (char *) "lang", NULL
16549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16550 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16551 if (!SWIG_IsOK(ecode1
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16554 arg1
= static_cast< int >(val1
);
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= wxLocale::GetLanguageName(arg1
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16574 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
= 0;
16576 wxString
*arg1
= 0 ;
16577 wxLanguageInfo
*result
= 0 ;
16578 bool temp1
= false ;
16579 PyObject
* obj0
= 0 ;
16580 char * kwnames
[] = {
16581 (char *) "locale", NULL
16584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16586 arg1
= wxString_in_helper(obj0
);
16587 if (arg1
== NULL
) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16611 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
= 0;
16613 wxLanguageInfo
*arg1
= 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char * kwnames
[] = {
16618 (char *) "info", NULL
16621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16629 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= SWIG_Py_Void();
16643 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
= 0;
16645 wxLocale
*arg1
= (wxLocale
*) 0 ;
16646 wxString
*arg2
= 0 ;
16647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16652 bool temp2
= false ;
16653 bool temp3
= false ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16663 if (!SWIG_IsOK(res1
)) {
16664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16666 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16668 arg2
= wxString_in_helper(obj1
);
16669 if (arg2
== NULL
) SWIG_fail
;
16674 arg3
= wxString_in_helper(obj2
);
16675 if (arg3
== NULL
) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16714 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16715 PyObject
*resultobj
= 0;
16716 wxLocale
*arg1
= (wxLocale
*) 0 ;
16717 wxString
*result
= 0 ;
16720 PyObject
*swig_obj
[1] ;
16722 if (!args
) SWIG_fail
;
16723 swig_obj
[0] = args
;
16724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16725 if (!SWIG_IsOK(res1
)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16728 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16733 result
= (wxString
*) &_result_ref
;
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16742 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16751 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16754 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16755 return SWIG_Py_Void();
16758 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16759 return SWIG_Python_InitShadowInstance(args
);
16762 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
= 0;
16764 int arg1
= (int) -1 ;
16765 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16766 wxPyLocale
*result
= 0 ;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char * kwnames
[] = {
16774 (char *) "language",(char *) "flags", NULL
16777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16780 if (!SWIG_IsOK(ecode1
)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16783 arg1
= static_cast< int >(val1
);
16786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16787 if (!SWIG_IsOK(ecode2
)) {
16788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16790 arg2
= static_cast< int >(val2
);
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16805 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16806 PyObject
*resultobj
= 0;
16807 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16810 PyObject
*swig_obj
[1] ;
16812 if (!args
) SWIG_fail
;
16813 swig_obj
[0] = args
;
16814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16818 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_Py_Void();
16833 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
= 0;
16835 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16836 PyObject
*arg2
= (PyObject
*) 0 ;
16837 PyObject
*arg3
= (PyObject
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 PyObject
* obj2
= 0 ;
16843 char * kwnames
[] = {
16844 (char *) "self",(char *) "self",(char *) "_class", NULL
16847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16849 if (!SWIG_IsOK(res1
)) {
16850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16852 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_Py_Void();
16868 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
= 0;
16870 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16871 wxChar
*arg2
= (wxChar
*) 0 ;
16872 wxChar
*arg3
= (wxChar
*) NULL
;
16873 wxChar
*result
= 0 ;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 PyObject
* obj2
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16892 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16894 if (!SWIG_IsOK(res2
)) {
16895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16897 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16899 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16900 if (!SWIG_IsOK(res3
)) {
16901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16903 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16918 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
= 0;
16920 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16921 wxChar
*arg2
= (wxChar
*) 0 ;
16922 wxChar
*arg3
= (wxChar
*) 0 ;
16924 wxChar
*arg5
= (wxChar
*) NULL
;
16925 wxChar
*result
= 0 ;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 PyObject
* obj2
= 0 ;
16939 PyObject
* obj3
= 0 ;
16940 PyObject
* obj4
= 0 ;
16941 char * kwnames
[] = {
16942 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16950 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16952 if (!SWIG_IsOK(res2
)) {
16953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16955 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16956 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16957 if (!SWIG_IsOK(res3
)) {
16958 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16960 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16961 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16962 if (!SWIG_IsOK(ecode4
)) {
16963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16965 arg4
= static_cast< size_t >(val4
);
16967 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16968 if (!SWIG_IsOK(res5
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16971 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16986 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16989 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16990 return SWIG_Py_Void();
16993 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16994 return SWIG_Python_InitShadowInstance(args
);
16997 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16998 PyObject
*resultobj
= 0;
16999 wxLocale
*result
= 0 ;
17001 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= (wxLocale
*)wxGetLocale();
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17015 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17016 PyObject
*resultobj
= 0;
17017 wxString
*arg1
= 0 ;
17019 bool temp1
= false ;
17021 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17023 arg1
= wxString_in_helper(swig_obj
[0]);
17024 if (arg1
== NULL
) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= wxGetTranslation((wxString
const &)*arg1
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17054 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17055 PyObject
*resultobj
= 0;
17056 wxString
*arg1
= 0 ;
17057 wxString
*arg2
= 0 ;
17059 bool temp1
= false ;
17060 bool temp2
= false ;
17062 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17064 arg1
= wxString_in_helper(swig_obj
[0]);
17065 if (arg1
== NULL
) SWIG_fail
;
17069 arg2
= wxString_in_helper(swig_obj
[1]);
17070 if (arg2
== NULL
) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17108 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17109 PyObject
*resultobj
= 0;
17110 wxString
*arg1
= 0 ;
17111 wxString
*arg2
= 0 ;
17114 bool temp1
= false ;
17115 bool temp2
= false ;
17119 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17121 arg1
= wxString_in_helper(swig_obj
[0]);
17122 if (arg1
== NULL
) SWIG_fail
;
17126 arg2
= wxString_in_helper(swig_obj
[1]);
17127 if (arg2
== NULL
) SWIG_fail
;
17130 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17131 if (!SWIG_IsOK(ecode3
)) {
17132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17134 arg3
= static_cast< size_t >(val3
);
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17170 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17171 PyObject
*resultobj
= 0;
17172 wxString
*arg1
= 0 ;
17173 wxString
*arg2
= 0 ;
17175 wxString
*arg4
= 0 ;
17177 bool temp1
= false ;
17178 bool temp2
= false ;
17181 bool temp4
= false ;
17183 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17185 arg1
= wxString_in_helper(swig_obj
[0]);
17186 if (arg1
== NULL
) SWIG_fail
;
17190 arg2
= wxString_in_helper(swig_obj
[1]);
17191 if (arg2
== NULL
) SWIG_fail
;
17194 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17195 if (!SWIG_IsOK(ecode3
)) {
17196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17198 arg3
= static_cast< size_t >(val3
);
17200 arg4
= wxString_in_helper(swig_obj
[3]);
17201 if (arg4
== NULL
) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17247 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17251 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17254 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17257 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17260 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17263 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17267 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17272 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17273 PyObject
*resultobj
= 0;
17274 wxEncodingConverter
*result
= 0 ;
17276 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17290 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17291 PyObject
*resultobj
= 0;
17292 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17295 PyObject
*swig_obj
[1] ;
17297 if (!args
) SWIG_fail
;
17298 swig_obj
[0] = args
;
17299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17300 if (!SWIG_IsOK(res1
)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17303 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_Py_Void();
17318 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
= 0;
17320 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17321 wxFontEncoding arg2
;
17322 wxFontEncoding arg3
;
17323 int arg4
= (int) wxCONVERT_STRICT
;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 PyObject
* obj2
= 0 ;
17336 PyObject
* obj3
= 0 ;
17337 char * kwnames
[] = {
17338 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17343 if (!SWIG_IsOK(res1
)) {
17344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17346 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17348 if (!SWIG_IsOK(ecode2
)) {
17349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17351 arg2
= static_cast< wxFontEncoding
>(val2
);
17352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17353 if (!SWIG_IsOK(ecode3
)) {
17354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17356 arg3
= static_cast< wxFontEncoding
>(val3
);
17358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17359 if (!SWIG_IsOK(ecode4
)) {
17360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17362 arg4
= static_cast< int >(val4
);
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17379 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
= 0;
17381 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17382 wxString
*arg2
= 0 ;
17386 bool temp2
= false ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 char * kwnames
[] = {
17390 (char *) "self",(char *) "input", NULL
17393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17395 if (!SWIG_IsOK(res1
)) {
17396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17398 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17400 arg2
= wxString_in_helper(obj1
);
17401 if (arg2
== NULL
) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17431 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
= 0;
17433 wxFontEncoding arg1
;
17434 int arg2
= (int) wxPLATFORM_CURRENT
;
17435 wxFontEncodingArray result
;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 char * kwnames
[] = {
17443 (char *) "enc",(char *) "platform", NULL
17446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17447 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17448 if (!SWIG_IsOK(ecode1
)) {
17449 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17451 arg1
= static_cast< wxFontEncoding
>(val1
);
17453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17454 if (!SWIG_IsOK(ecode2
)) {
17455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17457 arg2
= static_cast< int >(val2
);
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= PyList_New(0);
17467 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17468 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17469 PyList_Append(resultobj
, number
);
17479 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
= 0;
17481 wxFontEncoding arg1
;
17482 wxFontEncodingArray result
;
17485 PyObject
* obj0
= 0 ;
17486 char * kwnames
[] = {
17487 (char *) "enc", NULL
17490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17491 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17492 if (!SWIG_IsOK(ecode1
)) {
17493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17495 arg1
= static_cast< wxFontEncoding
>(val1
);
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= PyList_New(0);
17504 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17505 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17506 PyList_Append(resultobj
, number
);
17516 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
= 0;
17518 wxFontEncoding arg1
;
17519 wxFontEncoding arg2
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char * kwnames
[] = {
17528 (char *) "encIn",(char *) "encOut", NULL
17531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17532 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17533 if (!SWIG_IsOK(ecode1
)) {
17534 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17536 arg1
= static_cast< wxFontEncoding
>(val1
);
17537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17538 if (!SWIG_IsOK(ecode2
)) {
17539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17541 arg2
= static_cast< wxFontEncoding
>(val2
);
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17557 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17560 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17561 return SWIG_Py_Void();
17564 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17565 return SWIG_Python_InitShadowInstance(args
);
17568 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17569 PyObject
*resultobj
= 0;
17570 wxDC
*arg1
= (wxDC
*) 0 ;
17573 PyObject
*swig_obj
[1] ;
17575 if (!args
) SWIG_fail
;
17576 swig_obj
[0] = args
;
17577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17578 if (!SWIG_IsOK(res1
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_Py_Void();
17596 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
= 0;
17598 wxDC
*arg1
= (wxDC
*) 0 ;
17601 wxColour
*arg4
= 0 ;
17602 int arg5
= (int) wxFLOOD_SURFACE
;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 PyObject
* obj3
= 0 ;
17617 PyObject
* obj4
= 0 ;
17618 char * kwnames
[] = {
17619 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17624 if (!SWIG_IsOK(res1
)) {
17625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17629 if (!SWIG_IsOK(ecode2
)) {
17630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17632 arg2
= static_cast< int >(val2
);
17633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17634 if (!SWIG_IsOK(ecode3
)) {
17635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17637 arg3
= static_cast< int >(val3
);
17640 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17644 if (!SWIG_IsOK(ecode5
)) {
17645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17647 arg5
= static_cast< int >(val5
);
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17664 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
= 0;
17666 wxDC
*arg1
= (wxDC
*) 0 ;
17667 wxPoint
*arg2
= 0 ;
17668 wxColour
*arg3
= 0 ;
17669 int arg4
= (int) wxFLOOD_SURFACE
;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 PyObject
* obj2
= 0 ;
17680 PyObject
* obj3
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17697 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17700 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17701 if (!SWIG_IsOK(ecode4
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17704 arg4
= static_cast< int >(val4
);
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17721 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
= 0;
17723 wxDC
*arg1
= (wxDC
*) 0 ;
17725 wxColour
*arg3
= 0 ;
17726 wxColour
*arg4
= 0 ;
17727 wxPoint
*arg5
= 0 ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 PyObject
* obj3
= 0 ;
17738 PyObject
* obj4
= 0 ;
17739 char * kwnames
[] = {
17740 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17751 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17755 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17759 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17763 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_Py_Void();
17778 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
= 0;
17780 wxDC
*arg1
= (wxDC
*) 0 ;
17782 wxColour
*arg3
= 0 ;
17783 wxColour
*arg4
= 0 ;
17784 wxDirection arg5
= (wxDirection
) wxEAST
;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 PyObject
* obj2
= 0 ;
17795 PyObject
* obj3
= 0 ;
17796 PyObject
* obj4
= 0 ;
17797 char * kwnames
[] = {
17798 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17803 if (!SWIG_IsOK(res1
)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17809 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17813 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17817 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17820 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17821 if (!SWIG_IsOK(ecode5
)) {
17822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17824 arg5
= static_cast< wxDirection
>(val5
);
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_Py_Void();
17839 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
= 0;
17841 wxDC
*arg1
= (wxDC
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 PyObject
* obj2
= 0 ;
17854 char * kwnames
[] = {
17855 (char *) "self",(char *) "x",(char *) "y", NULL
17858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17860 if (!SWIG_IsOK(res1
)) {
17861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17865 if (!SWIG_IsOK(ecode2
)) {
17866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17868 arg2
= static_cast< int >(val2
);
17869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17870 if (!SWIG_IsOK(ecode3
)) {
17871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17873 arg3
= static_cast< int >(val3
);
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17887 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
= 0;
17889 wxDC
*arg1
= (wxDC
*) 0 ;
17890 wxPoint
*arg2
= 0 ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char * kwnames
[] = {
17898 (char *) "self",(char *) "pt", NULL
17901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17903 if (!SWIG_IsOK(res1
)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17924 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
= 0;
17926 wxDC
*arg1
= (wxDC
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 PyObject
* obj2
= 0 ;
17944 PyObject
* obj3
= 0 ;
17945 PyObject
* obj4
= 0 ;
17946 char * kwnames
[] = {
17947 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17952 if (!SWIG_IsOK(res1
)) {
17953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17957 if (!SWIG_IsOK(ecode2
)) {
17958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17960 arg2
= static_cast< int >(val2
);
17961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17962 if (!SWIG_IsOK(ecode3
)) {
17963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17965 arg3
= static_cast< int >(val3
);
17966 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17967 if (!SWIG_IsOK(ecode4
)) {
17968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17970 arg4
= static_cast< int >(val4
);
17971 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17972 if (!SWIG_IsOK(ecode5
)) {
17973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17975 arg5
= static_cast< int >(val5
);
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_Py_Void();
17989 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxDC
*arg1
= (wxDC
*) 0 ;
17992 wxPoint
*arg2
= 0 ;
17993 wxPoint
*arg3
= 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 char * kwnames
[] = {
18002 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_Py_Void();
18032 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
= 0;
18034 wxDC
*arg1
= (wxDC
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 PyObject
* obj2
= 0 ;
18046 char * kwnames
[] = {
18047 (char *) "self",(char *) "x",(char *) "y", NULL
18050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18052 if (!SWIG_IsOK(res1
)) {
18053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18057 if (!SWIG_IsOK(ecode2
)) {
18058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18060 arg2
= static_cast< int >(val2
);
18061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18062 if (!SWIG_IsOK(ecode3
)) {
18063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18065 arg3
= static_cast< int >(val3
);
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 (arg1
)->CrossHair(arg2
,arg3
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_Py_Void();
18079 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
= 0;
18081 wxDC
*arg1
= (wxDC
*) 0 ;
18082 wxPoint
*arg2
= 0 ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "self",(char *) "pt", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= SWIG_Py_Void();
18115 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
= 0;
18117 wxDC
*arg1
= (wxDC
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 PyObject
* obj1
= 0 ;
18140 PyObject
* obj2
= 0 ;
18141 PyObject
* obj3
= 0 ;
18142 PyObject
* obj4
= 0 ;
18143 PyObject
* obj5
= 0 ;
18144 PyObject
* obj6
= 0 ;
18145 char * kwnames
[] = {
18146 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18151 if (!SWIG_IsOK(res1
)) {
18152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18156 if (!SWIG_IsOK(ecode2
)) {
18157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18159 arg2
= static_cast< int >(val2
);
18160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18161 if (!SWIG_IsOK(ecode3
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18164 arg3
= static_cast< int >(val3
);
18165 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18166 if (!SWIG_IsOK(ecode4
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18169 arg4
= static_cast< int >(val4
);
18170 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18171 if (!SWIG_IsOK(ecode5
)) {
18172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18174 arg5
= static_cast< int >(val5
);
18175 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18176 if (!SWIG_IsOK(ecode6
)) {
18177 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18179 arg6
= static_cast< int >(val6
);
18180 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18181 if (!SWIG_IsOK(ecode7
)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18184 arg7
= static_cast< int >(val7
);
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_Py_Void();
18198 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
= 0;
18200 wxDC
*arg1
= (wxDC
*) 0 ;
18201 wxPoint
*arg2
= 0 ;
18202 wxPoint
*arg3
= 0 ;
18203 wxPoint
*arg4
= 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 PyObject
* obj2
= 0 ;
18212 PyObject
* obj3
= 0 ;
18213 char * kwnames
[] = {
18214 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18219 if (!SWIG_IsOK(res1
)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_Py_Void();
18248 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
= 0;
18250 wxDC
*arg1
= (wxDC
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 PyObject
* obj2
= 0 ;
18268 PyObject
* obj3
= 0 ;
18269 PyObject
* obj4
= 0 ;
18270 char * kwnames
[] = {
18271 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18276 if (!SWIG_IsOK(res1
)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18281 if (!SWIG_IsOK(ecode2
)) {
18282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18284 arg2
= static_cast< int >(val2
);
18285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18286 if (!SWIG_IsOK(ecode3
)) {
18287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18289 arg3
= static_cast< int >(val3
);
18290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18291 if (!SWIG_IsOK(ecode4
)) {
18292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18294 arg4
= static_cast< int >(val4
);
18295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18296 if (!SWIG_IsOK(ecode5
)) {
18297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18299 arg5
= static_cast< int >(val5
);
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_Py_Void();
18313 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
= 0;
18315 wxDC
*arg1
= (wxDC
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 char * kwnames
[] = {
18323 (char *) "self",(char *) "rect", NULL
18326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18328 if (!SWIG_IsOK(res1
)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18334 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_Py_Void();
18349 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
= 0;
18351 wxDC
*arg1
= (wxDC
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 PyObject
* obj2
= 0 ;
18375 PyObject
* obj3
= 0 ;
18376 PyObject
* obj4
= 0 ;
18377 PyObject
* obj5
= 0 ;
18378 PyObject
* obj6
= 0 ;
18379 char * kwnames
[] = {
18380 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18385 if (!SWIG_IsOK(res1
)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18390 if (!SWIG_IsOK(ecode2
)) {
18391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18393 arg2
= static_cast< int >(val2
);
18394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18395 if (!SWIG_IsOK(ecode3
)) {
18396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18398 arg3
= static_cast< int >(val3
);
18399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18400 if (!SWIG_IsOK(ecode4
)) {
18401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18403 arg4
= static_cast< int >(val4
);
18404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18405 if (!SWIG_IsOK(ecode5
)) {
18406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18408 arg5
= static_cast< int >(val5
);
18409 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18410 if (!SWIG_IsOK(ecode6
)) {
18411 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18413 arg6
= static_cast< double >(val6
);
18414 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18415 if (!SWIG_IsOK(ecode7
)) {
18416 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18418 arg7
= static_cast< double >(val7
);
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_Py_Void();
18432 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
= 0;
18434 wxDC
*arg1
= (wxDC
*) 0 ;
18435 wxPoint
*arg2
= 0 ;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 PyObject
* obj2
= 0 ;
18450 PyObject
* obj3
= 0 ;
18451 PyObject
* obj4
= 0 ;
18452 char * kwnames
[] = {
18453 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18458 if (!SWIG_IsOK(res1
)) {
18459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18468 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18470 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18471 if (!SWIG_IsOK(ecode4
)) {
18472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18474 arg4
= static_cast< double >(val4
);
18475 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18476 if (!SWIG_IsOK(ecode5
)) {
18477 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18479 arg5
= static_cast< double >(val5
);
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_Py_Void();
18493 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxDC
*arg1
= (wxDC
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 PyObject
* obj2
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "x",(char *) "y", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18518 if (!SWIG_IsOK(ecode2
)) {
18519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18521 arg2
= static_cast< int >(val2
);
18522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18523 if (!SWIG_IsOK(ecode3
)) {
18524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18526 arg3
= static_cast< int >(val3
);
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 (arg1
)->DrawPoint(arg2
,arg3
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_Py_Void();
18540 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= 0;
18542 wxDC
*arg1
= (wxDC
*) 0 ;
18543 wxPoint
*arg2
= 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char * kwnames
[] = {
18550 (char *) "self",(char *) "pt", NULL
18553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18555 if (!SWIG_IsOK(res1
)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= SWIG_Py_Void();
18576 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
= 0;
18578 wxDC
*arg1
= (wxDC
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 PyObject
* obj1
= 0 ;
18595 PyObject
* obj2
= 0 ;
18596 PyObject
* obj3
= 0 ;
18597 PyObject
* obj4
= 0 ;
18598 char * kwnames
[] = {
18599 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18604 if (!SWIG_IsOK(res1
)) {
18605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18609 if (!SWIG_IsOK(ecode2
)) {
18610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18612 arg2
= static_cast< int >(val2
);
18613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18614 if (!SWIG_IsOK(ecode3
)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18617 arg3
= static_cast< int >(val3
);
18618 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18619 if (!SWIG_IsOK(ecode4
)) {
18620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18622 arg4
= static_cast< int >(val4
);
18623 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18624 if (!SWIG_IsOK(ecode5
)) {
18625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18627 arg5
= static_cast< int >(val5
);
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_Py_Void();
18641 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
= 0;
18643 wxDC
*arg1
= (wxDC
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 char * kwnames
[] = {
18651 (char *) "self",(char *) "rect", NULL
18654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18662 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_Py_Void();
18677 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxDC
*arg1
= (wxDC
*) 0 ;
18680 wxPoint
*arg2
= 0 ;
18686 PyObject
* obj0
= 0 ;
18687 PyObject
* obj1
= 0 ;
18688 PyObject
* obj2
= 0 ;
18689 char * kwnames
[] = {
18690 (char *) "self",(char *) "pt",(char *) "sz", NULL
18693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18695 if (!SWIG_IsOK(res1
)) {
18696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18705 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_Py_Void();
18720 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
= 0;
18722 wxDC
*arg1
= (wxDC
*) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 PyObject
* obj2
= 0 ;
18743 PyObject
* obj3
= 0 ;
18744 PyObject
* obj4
= 0 ;
18745 PyObject
* obj5
= 0 ;
18746 char * kwnames
[] = {
18747 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18757 if (!SWIG_IsOK(ecode2
)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18760 arg2
= static_cast< int >(val2
);
18761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18762 if (!SWIG_IsOK(ecode3
)) {
18763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18765 arg3
= static_cast< int >(val3
);
18766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18767 if (!SWIG_IsOK(ecode4
)) {
18768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18770 arg4
= static_cast< int >(val4
);
18771 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18772 if (!SWIG_IsOK(ecode5
)) {
18773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18775 arg5
= static_cast< int >(val5
);
18776 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18777 if (!SWIG_IsOK(ecode6
)) {
18778 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18780 arg6
= static_cast< double >(val6
);
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 resultobj
= SWIG_Py_Void();
18794 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
= 0;
18796 wxDC
*arg1
= (wxDC
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 PyObject
* obj2
= 0 ;
18807 char * kwnames
[] = {
18808 (char *) "self",(char *) "r",(char *) "radius", NULL
18811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18813 if (!SWIG_IsOK(res1
)) {
18814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18819 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18821 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18822 if (!SWIG_IsOK(ecode3
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18825 arg3
= static_cast< double >(val3
);
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_Py_Void();
18839 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
= 0;
18841 wxDC
*arg1
= (wxDC
*) 0 ;
18842 wxPoint
*arg2
= 0 ;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 PyObject
* obj2
= 0 ;
18854 PyObject
* obj3
= 0 ;
18855 char * kwnames
[] = {
18856 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18861 if (!SWIG_IsOK(res1
)) {
18862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18871 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18873 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18874 if (!SWIG_IsOK(ecode4
)) {
18875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18877 arg4
= static_cast< double >(val4
);
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_Py_Void();
18891 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
= 0;
18893 wxDC
*arg1
= (wxDC
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 PyObject
* obj2
= 0 ;
18908 PyObject
* obj3
= 0 ;
18909 char * kwnames
[] = {
18910 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18915 if (!SWIG_IsOK(res1
)) {
18916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18920 if (!SWIG_IsOK(ecode2
)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18923 arg2
= static_cast< int >(val2
);
18924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18925 if (!SWIG_IsOK(ecode3
)) {
18926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18928 arg3
= static_cast< int >(val3
);
18929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18930 if (!SWIG_IsOK(ecode4
)) {
18931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18933 arg4
= static_cast< int >(val4
);
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 resultobj
= SWIG_Py_Void();
18947 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
= 0;
18949 wxDC
*arg1
= (wxDC
*) 0 ;
18950 wxPoint
*arg2
= 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 PyObject
* obj2
= 0 ;
18960 char * kwnames
[] = {
18961 (char *) "self",(char *) "pt",(char *) "radius", NULL
18964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18966 if (!SWIG_IsOK(res1
)) {
18967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18975 if (!SWIG_IsOK(ecode3
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18978 arg3
= static_cast< int >(val3
);
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_Py_Void();
18992 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
= 0;
18994 wxDC
*arg1
= (wxDC
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 PyObject
* obj2
= 0 ;
19012 PyObject
* obj3
= 0 ;
19013 PyObject
* obj4
= 0 ;
19014 char * kwnames
[] = {
19015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19020 if (!SWIG_IsOK(res1
)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19025 if (!SWIG_IsOK(ecode2
)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19028 arg2
= static_cast< int >(val2
);
19029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19030 if (!SWIG_IsOK(ecode3
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19033 arg3
= static_cast< int >(val3
);
19034 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19035 if (!SWIG_IsOK(ecode4
)) {
19036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19038 arg4
= static_cast< int >(val4
);
19039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19040 if (!SWIG_IsOK(ecode5
)) {
19041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19043 arg5
= static_cast< int >(val5
);
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_Py_Void();
19057 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
= 0;
19059 wxDC
*arg1
= (wxDC
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 char * kwnames
[] = {
19067 (char *) "self",(char *) "rect", NULL
19070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19072 if (!SWIG_IsOK(res1
)) {
19073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19078 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_Py_Void();
19093 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
= 0;
19095 wxDC
*arg1
= (wxDC
*) 0 ;
19096 wxPoint
*arg2
= 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 PyObject
* obj2
= 0 ;
19105 char * kwnames
[] = {
19106 (char *) "self",(char *) "pt",(char *) "sz", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19121 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_Py_Void();
19136 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxDC
*arg1
= (wxDC
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj1
= 0 ;
19152 PyObject
* obj2
= 0 ;
19153 PyObject
* obj3
= 0 ;
19154 char * kwnames
[] = {
19155 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19160 if (!SWIG_IsOK(res1
)) {
19161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19165 if (!SWIG_IsOK(res2
)) {
19166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19171 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19173 if (!SWIG_IsOK(ecode3
)) {
19174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19176 arg3
= static_cast< int >(val3
);
19177 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19178 if (!SWIG_IsOK(ecode4
)) {
19179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19181 arg4
= static_cast< int >(val4
);
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= SWIG_Py_Void();
19195 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
= 0;
19197 wxDC
*arg1
= (wxDC
*) 0 ;
19199 wxPoint
*arg3
= 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 PyObject
* obj2
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "self",(char *) "icon",(char *) "pt", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19219 if (!SWIG_IsOK(res2
)) {
19220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19225 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= SWIG_Py_Void();
19243 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
= 0;
19245 wxDC
*arg1
= (wxDC
*) 0 ;
19246 wxBitmap
*arg2
= 0 ;
19249 bool arg5
= (bool) false ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 PyObject
* obj2
= 0 ;
19263 PyObject
* obj3
= 0 ;
19264 PyObject
* obj4
= 0 ;
19265 char * kwnames
[] = {
19266 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19276 if (!SWIG_IsOK(res2
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19282 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19284 if (!SWIG_IsOK(ecode3
)) {
19285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19287 arg3
= static_cast< int >(val3
);
19288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19289 if (!SWIG_IsOK(ecode4
)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19292 arg4
= static_cast< int >(val4
);
19294 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19295 if (!SWIG_IsOK(ecode5
)) {
19296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19298 arg5
= static_cast< bool >(val5
);
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_Py_Void();
19313 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
= 0;
19315 wxDC
*arg1
= (wxDC
*) 0 ;
19316 wxBitmap
*arg2
= 0 ;
19317 wxPoint
*arg3
= 0 ;
19318 bool arg4
= (bool) false ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 PyObject
* obj2
= 0 ;
19329 PyObject
* obj3
= 0 ;
19330 char * kwnames
[] = {
19331 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19336 if (!SWIG_IsOK(res1
)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19341 if (!SWIG_IsOK(res2
)) {
19342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19347 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19353 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19354 if (!SWIG_IsOK(ecode4
)) {
19355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19357 arg4
= static_cast< bool >(val4
);
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_Py_Void();
19372 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= 0;
19374 wxDC
*arg1
= (wxDC
*) 0 ;
19375 wxString
*arg2
= 0 ;
19380 bool temp2
= false ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 PyObject
* obj2
= 0 ;
19388 PyObject
* obj3
= 0 ;
19389 char * kwnames
[] = {
19390 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19395 if (!SWIG_IsOK(res1
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19400 arg2
= wxString_in_helper(obj1
);
19401 if (arg2
== NULL
) SWIG_fail
;
19404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19405 if (!SWIG_IsOK(ecode3
)) {
19406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19408 arg3
= static_cast< int >(val3
);
19409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19410 if (!SWIG_IsOK(ecode4
)) {
19411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19413 arg4
= static_cast< int >(val4
);
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= SWIG_Py_Void();
19435 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
= 0;
19437 wxDC
*arg1
= (wxDC
*) 0 ;
19438 wxString
*arg2
= 0 ;
19439 wxPoint
*arg3
= 0 ;
19442 bool temp2
= false ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 PyObject
* obj2
= 0 ;
19447 char * kwnames
[] = {
19448 (char *) "self",(char *) "text",(char *) "pt", NULL
19451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19453 if (!SWIG_IsOK(res1
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19458 arg2
= wxString_in_helper(obj1
);
19459 if (arg2
== NULL
) SWIG_fail
;
19464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_Py_Void();
19487 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
= 0;
19489 wxDC
*arg1
= (wxDC
*) 0 ;
19490 wxString
*arg2
= 0 ;
19496 bool temp2
= false ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 PyObject
* obj2
= 0 ;
19506 PyObject
* obj3
= 0 ;
19507 PyObject
* obj4
= 0 ;
19508 char * kwnames
[] = {
19509 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19514 if (!SWIG_IsOK(res1
)) {
19515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19519 arg2
= wxString_in_helper(obj1
);
19520 if (arg2
== NULL
) SWIG_fail
;
19523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19524 if (!SWIG_IsOK(ecode3
)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19527 arg3
= static_cast< int >(val3
);
19528 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19529 if (!SWIG_IsOK(ecode4
)) {
19530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19532 arg4
= static_cast< int >(val4
);
19533 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19534 if (!SWIG_IsOK(ecode5
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19537 arg5
= static_cast< double >(val5
);
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_Py_Void();
19559 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
= 0;
19561 wxDC
*arg1
= (wxDC
*) 0 ;
19562 wxString
*arg2
= 0 ;
19563 wxPoint
*arg3
= 0 ;
19567 bool temp2
= false ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 PyObject
* obj2
= 0 ;
19574 PyObject
* obj3
= 0 ;
19575 char * kwnames
[] = {
19576 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19581 if (!SWIG_IsOK(res1
)) {
19582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19586 arg2
= wxString_in_helper(obj1
);
19587 if (arg2
== NULL
) SWIG_fail
;
19592 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19594 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19595 if (!SWIG_IsOK(ecode4
)) {
19596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19598 arg4
= static_cast< double >(val4
);
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_Py_Void();
19620 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
= 0;
19622 wxDC
*arg1
= (wxDC
*) 0 ;
19627 wxDC
*arg6
= (wxDC
*) 0 ;
19630 int arg9
= (int) wxCOPY
;
19631 bool arg10
= (bool) false ;
19632 int arg11
= (int) -1 ;
19633 int arg12
= (int) -1 ;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 PyObject
* obj2
= 0 ;
19662 PyObject
* obj3
= 0 ;
19663 PyObject
* obj4
= 0 ;
19664 PyObject
* obj5
= 0 ;
19665 PyObject
* obj6
= 0 ;
19666 PyObject
* obj7
= 0 ;
19667 PyObject
* obj8
= 0 ;
19668 PyObject
* obj9
= 0 ;
19669 PyObject
* obj10
= 0 ;
19670 PyObject
* obj11
= 0 ;
19671 char * kwnames
[] = {
19672 (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
19675 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
;
19676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19677 if (!SWIG_IsOK(res1
)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19682 if (!SWIG_IsOK(ecode2
)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19685 arg2
= static_cast< int >(val2
);
19686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19687 if (!SWIG_IsOK(ecode3
)) {
19688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19690 arg3
= static_cast< int >(val3
);
19691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19692 if (!SWIG_IsOK(ecode4
)) {
19693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19695 arg4
= static_cast< int >(val4
);
19696 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19697 if (!SWIG_IsOK(ecode5
)) {
19698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19700 arg5
= static_cast< int >(val5
);
19701 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19702 if (!SWIG_IsOK(res6
)) {
19703 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19705 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19706 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19707 if (!SWIG_IsOK(ecode7
)) {
19708 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19710 arg7
= static_cast< int >(val7
);
19711 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19712 if (!SWIG_IsOK(ecode8
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19715 arg8
= static_cast< int >(val8
);
19717 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19718 if (!SWIG_IsOK(ecode9
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19721 arg9
= static_cast< int >(val9
);
19724 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19725 if (!SWIG_IsOK(ecode10
)) {
19726 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19728 arg10
= static_cast< bool >(val10
);
19731 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19732 if (!SWIG_IsOK(ecode11
)) {
19733 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19735 arg11
= static_cast< int >(val11
);
19738 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19739 if (!SWIG_IsOK(ecode12
)) {
19740 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19742 arg12
= static_cast< int >(val12
);
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19759 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
= 0;
19761 wxDC
*arg1
= (wxDC
*) 0 ;
19762 wxPoint
*arg2
= 0 ;
19764 wxDC
*arg4
= (wxDC
*) 0 ;
19765 wxPoint
*arg5
= 0 ;
19766 int arg6
= (int) wxCOPY
;
19767 bool arg7
= (bool) false ;
19768 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19769 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 PyObject
* obj2
= 0 ;
19786 PyObject
* obj3
= 0 ;
19787 PyObject
* obj4
= 0 ;
19788 PyObject
* obj5
= 0 ;
19789 PyObject
* obj6
= 0 ;
19790 PyObject
* obj7
= 0 ;
19791 char * kwnames
[] = {
19792 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19797 if (!SWIG_IsOK(res1
)) {
19798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19807 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19809 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19810 if (!SWIG_IsOK(res4
)) {
19811 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19813 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19816 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19819 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19820 if (!SWIG_IsOK(ecode6
)) {
19821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19823 arg6
= static_cast< int >(val6
);
19826 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19827 if (!SWIG_IsOK(ecode7
)) {
19828 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19830 arg7
= static_cast< bool >(val7
);
19835 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19853 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
= 0;
19855 wxDC
*arg1
= (wxDC
*) 0 ;
19856 wxRect
*arg2
= (wxRect
*) NULL
;
19857 SwigValueWrapper
<wxBitmap
> result
;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19864 char * kwnames
[] = {
19865 (char *) "self",(char *) "subrect", NULL
19868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19870 if (!SWIG_IsOK(res1
)) {
19871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19876 if (!SWIG_IsOK(res2
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19879 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19894 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
= 0;
19896 wxDC
*arg1
= (wxDC
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 PyObject
* obj2
= 0 ;
19914 PyObject
* obj3
= 0 ;
19915 PyObject
* obj4
= 0 ;
19916 char * kwnames
[] = {
19917 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19922 if (!SWIG_IsOK(res1
)) {
19923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19927 if (!SWIG_IsOK(ecode2
)) {
19928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19930 arg2
= static_cast< int >(val2
);
19931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19932 if (!SWIG_IsOK(ecode3
)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19935 arg3
= static_cast< int >(val3
);
19936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19937 if (!SWIG_IsOK(ecode4
)) {
19938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19940 arg4
= static_cast< int >(val4
);
19941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19942 if (!SWIG_IsOK(ecode5
)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19945 arg5
= static_cast< int >(val5
);
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_Py_Void();
19959 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
= 0;
19961 wxDC
*arg1
= (wxDC
*) 0 ;
19962 wxPoint
*arg2
= 0 ;
19968 PyObject
* obj0
= 0 ;
19969 PyObject
* obj1
= 0 ;
19970 PyObject
* obj2
= 0 ;
19971 char * kwnames
[] = {
19972 (char *) "self",(char *) "pt",(char *) "sz", NULL
19975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19977 if (!SWIG_IsOK(res1
)) {
19978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19987 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= SWIG_Py_Void();
20002 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
= 0;
20004 wxDC
*arg1
= (wxDC
*) 0 ;
20005 wxRegion
*arg2
= 0 ;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20012 char * kwnames
[] = {
20013 (char *) "self",(char *) "region", NULL
20016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20018 if (!SWIG_IsOK(res1
)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20023 if (!SWIG_IsOK(res2
)) {
20024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20029 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_Py_Void();
20043 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
= 0;
20045 wxDC
*arg1
= (wxDC
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 char * kwnames
[] = {
20053 (char *) "self",(char *) "rect", NULL
20056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20058 if (!SWIG_IsOK(res1
)) {
20059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_Py_Void();
20079 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
= 0;
20081 wxDC
*arg1
= (wxDC
*) 0 ;
20083 wxPoint
*arg3
= (wxPoint
*) 0 ;
20084 int arg4
= (int) 0 ;
20085 int arg5
= (int) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 PyObject
* obj1
= 0 ;
20094 PyObject
* obj2
= 0 ;
20095 PyObject
* obj3
= 0 ;
20096 char * kwnames
[] = {
20097 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20102 if (!SWIG_IsOK(res1
)) {
20103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20107 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20108 if (arg3
== NULL
) SWIG_fail
;
20111 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20112 if (!SWIG_IsOK(ecode4
)) {
20113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20115 arg4
= static_cast< int >(val4
);
20118 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20119 if (!SWIG_IsOK(ecode5
)) {
20120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20122 arg5
= static_cast< int >(val5
);
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_Py_Void();
20132 if (arg3
) delete [] arg3
;
20137 if (arg3
) delete [] arg3
;
20143 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
= 0;
20145 wxDC
*arg1
= (wxDC
*) 0 ;
20147 wxPoint
*arg3
= (wxPoint
*) 0 ;
20148 int arg4
= (int) 0 ;
20149 int arg5
= (int) 0 ;
20150 int arg6
= (int) wxODDEVEN_RULE
;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 PyObject
* obj2
= 0 ;
20162 PyObject
* obj3
= 0 ;
20163 PyObject
* obj4
= 0 ;
20164 char * kwnames
[] = {
20165 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20170 if (!SWIG_IsOK(res1
)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20175 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20176 if (arg3
== NULL
) SWIG_fail
;
20179 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20180 if (!SWIG_IsOK(ecode4
)) {
20181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20183 arg4
= static_cast< int >(val4
);
20186 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20187 if (!SWIG_IsOK(ecode5
)) {
20188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20190 arg5
= static_cast< int >(val5
);
20193 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20194 if (!SWIG_IsOK(ecode6
)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20197 arg6
= static_cast< int >(val6
);
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_Py_Void();
20207 if (arg3
) delete [] arg3
;
20212 if (arg3
) delete [] arg3
;
20218 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxDC
*arg1
= (wxDC
*) 0 ;
20221 wxString
*arg2
= 0 ;
20223 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20224 int arg5
= (int) -1 ;
20227 bool temp2
= false ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 PyObject
* obj2
= 0 ;
20236 PyObject
* obj3
= 0 ;
20237 PyObject
* obj4
= 0 ;
20238 char * kwnames
[] = {
20239 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20244 if (!SWIG_IsOK(res1
)) {
20245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20249 arg2
= wxString_in_helper(obj1
);
20250 if (arg2
== NULL
) SWIG_fail
;
20255 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20259 if (!SWIG_IsOK(ecode4
)) {
20260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20262 arg4
= static_cast< int >(val4
);
20265 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20266 if (!SWIG_IsOK(ecode5
)) {
20267 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20269 arg5
= static_cast< int >(val5
);
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_Py_Void();
20292 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
= 0;
20294 wxDC
*arg1
= (wxDC
*) 0 ;
20295 wxString
*arg2
= 0 ;
20296 wxBitmap
*arg3
= 0 ;
20298 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20299 int arg6
= (int) -1 ;
20303 bool temp2
= false ;
20311 PyObject
* obj0
= 0 ;
20312 PyObject
* obj1
= 0 ;
20313 PyObject
* obj2
= 0 ;
20314 PyObject
* obj3
= 0 ;
20315 PyObject
* obj4
= 0 ;
20316 PyObject
* obj5
= 0 ;
20317 char * kwnames
[] = {
20318 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20328 arg2
= wxString_in_helper(obj1
);
20329 if (arg2
== NULL
) SWIG_fail
;
20332 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20333 if (!SWIG_IsOK(res3
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20339 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20342 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20345 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20346 if (!SWIG_IsOK(ecode5
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20349 arg5
= static_cast< int >(val5
);
20352 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20353 if (!SWIG_IsOK(ecode6
)) {
20354 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20356 arg6
= static_cast< int >(val6
);
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20379 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
= 0;
20381 wxDC
*arg1
= (wxDC
*) 0 ;
20383 wxPoint
*arg3
= (wxPoint
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char * kwnames
[] = {
20389 (char *) "self",(char *) "points", NULL
20392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20394 if (!SWIG_IsOK(res1
)) {
20395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20399 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20400 if (arg3
== NULL
) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 (arg1
)->DrawSpline(arg2
,arg3
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= SWIG_Py_Void();
20410 if (arg3
) delete [] arg3
;
20415 if (arg3
) delete [] arg3
;
20421 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20422 PyObject
*resultobj
= 0;
20423 wxDC
*arg1
= (wxDC
*) 0 ;
20426 PyObject
*swig_obj
[1] ;
20428 if (!args
) SWIG_fail
;
20429 swig_obj
[0] = args
;
20430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20431 if (!SWIG_IsOK(res1
)) {
20432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_Py_Void();
20448 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
= 0;
20450 wxDC
*arg1
= (wxDC
*) 0 ;
20451 wxString
*arg2
= 0 ;
20455 bool temp2
= false ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 char * kwnames
[] = {
20459 (char *) "self",(char *) "message", NULL
20462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20464 if (!SWIG_IsOK(res1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20469 arg2
= wxString_in_helper(obj1
);
20470 if (arg2
== NULL
) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20496 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20497 PyObject
*resultobj
= 0;
20498 wxDC
*arg1
= (wxDC
*) 0 ;
20501 PyObject
*swig_obj
[1] ;
20503 if (!args
) SWIG_fail
;
20504 swig_obj
[0] = args
;
20505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20506 if (!SWIG_IsOK(res1
)) {
20507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= SWIG_Py_Void();
20523 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20524 PyObject
*resultobj
= 0;
20525 wxDC
*arg1
= (wxDC
*) 0 ;
20528 PyObject
*swig_obj
[1] ;
20530 if (!args
) SWIG_fail
;
20531 swig_obj
[0] = args
;
20532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20533 if (!SWIG_IsOK(res1
)) {
20534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->StartPage();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_Py_Void();
20550 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20551 PyObject
*resultobj
= 0;
20552 wxDC
*arg1
= (wxDC
*) 0 ;
20555 PyObject
*swig_obj
[1] ;
20557 if (!args
) SWIG_fail
;
20558 swig_obj
[0] = args
;
20559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20560 if (!SWIG_IsOK(res1
)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_Py_Void();
20577 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
= 0;
20579 wxDC
*arg1
= (wxDC
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 char * kwnames
[] = {
20588 (char *) "self",(char *) "font", NULL
20591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20593 if (!SWIG_IsOK(res1
)) {
20594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20598 if (!SWIG_IsOK(res2
)) {
20599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20604 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->SetFont((wxFont
const &)*arg2
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_Py_Void();
20618 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
= 0;
20620 wxDC
*arg1
= (wxDC
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char * kwnames
[] = {
20629 (char *) "self",(char *) "pen", NULL
20632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20634 if (!SWIG_IsOK(res1
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20639 if (!SWIG_IsOK(res2
)) {
20640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20645 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 (arg1
)->SetPen((wxPen
const &)*arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_Py_Void();
20659 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
= 0;
20661 wxDC
*arg1
= (wxDC
*) 0 ;
20662 wxBrush
*arg2
= 0 ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char * kwnames
[] = {
20670 (char *) "self",(char *) "brush", NULL
20673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20680 if (!SWIG_IsOK(res2
)) {
20681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20686 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_Py_Void();
20700 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
= 0;
20702 wxDC
*arg1
= (wxDC
*) 0 ;
20703 wxBrush
*arg2
= 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 char * kwnames
[] = {
20711 (char *) "self",(char *) "brush", NULL
20714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20721 if (!SWIG_IsOK(res2
)) {
20722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20727 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_Py_Void();
20741 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
= 0;
20743 wxDC
*arg1
= (wxDC
*) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 char * kwnames
[] = {
20752 (char *) "self",(char *) "mode", NULL
20755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20757 if (!SWIG_IsOK(res1
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20762 if (!SWIG_IsOK(ecode2
)) {
20763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20765 arg2
= static_cast< int >(val2
);
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 (arg1
)->SetBackgroundMode(arg2
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_Py_Void();
20779 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
= 0;
20781 wxDC
*arg1
= (wxDC
*) 0 ;
20782 wxPalette
*arg2
= 0 ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char * kwnames
[] = {
20790 (char *) "self",(char *) "palette", NULL
20793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20795 if (!SWIG_IsOK(res1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20800 if (!SWIG_IsOK(res2
)) {
20801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20806 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_Py_Void();
20820 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20821 PyObject
*resultobj
= 0;
20822 wxDC
*arg1
= (wxDC
*) 0 ;
20825 PyObject
*swig_obj
[1] ;
20827 if (!args
) SWIG_fail
;
20828 swig_obj
[0] = args
;
20829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 (arg1
)->DestroyClippingRegion();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_Py_Void();
20847 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20848 PyObject
*resultobj
= 0;
20849 wxDC
*arg1
= (wxDC
*) 0 ;
20850 int *arg2
= (int *) 0 ;
20851 int *arg3
= (int *) 0 ;
20852 int *arg4
= (int *) 0 ;
20853 int *arg5
= (int *) 0 ;
20857 int res2
= SWIG_TMPOBJ
;
20859 int res3
= SWIG_TMPOBJ
;
20861 int res4
= SWIG_TMPOBJ
;
20863 int res5
= SWIG_TMPOBJ
;
20864 PyObject
*swig_obj
[1] ;
20870 if (!args
) SWIG_fail
;
20871 swig_obj
[0] = args
;
20872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20873 if (!SWIG_IsOK(res1
)) {
20874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_Py_Void();
20884 if (SWIG_IsTmpObj(res2
)) {
20885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20887 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20890 if (SWIG_IsTmpObj(res3
)) {
20891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20893 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20896 if (SWIG_IsTmpObj(res4
)) {
20897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20899 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20902 if (SWIG_IsTmpObj(res5
)) {
20903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20905 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20914 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20915 PyObject
*resultobj
= 0;
20916 wxDC
*arg1
= (wxDC
*) 0 ;
20920 PyObject
*swig_obj
[1] ;
20922 if (!args
) SWIG_fail
;
20923 swig_obj
[0] = args
;
20924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20925 if (!SWIG_IsOK(res1
)) {
20926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= wxDC_GetClippingRect(arg1
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20942 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 PyObject
*resultobj
= 0;
20944 wxDC
*arg1
= (wxDC
*) 0 ;
20948 PyObject
*swig_obj
[1] ;
20950 if (!args
) SWIG_fail
;
20951 swig_obj
[0] = args
;
20952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_From_int(static_cast< int >(result
));
20970 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 PyObject
*resultobj
= 0;
20972 wxDC
*arg1
= (wxDC
*) 0 ;
20976 PyObject
*swig_obj
[1] ;
20978 if (!args
) SWIG_fail
;
20979 swig_obj
[0] = args
;
20980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_From_int(static_cast< int >(result
));
20998 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
= 0;
21000 wxDC
*arg1
= (wxDC
*) 0 ;
21001 wxString
*arg2
= 0 ;
21002 int *arg3
= (int *) 0 ;
21003 int *arg4
= (int *) 0 ;
21006 bool temp2
= false ;
21008 int res3
= SWIG_TMPOBJ
;
21010 int res4
= SWIG_TMPOBJ
;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 char * kwnames
[] = {
21014 (char *) "self",(char *) "string", NULL
21019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21021 if (!SWIG_IsOK(res1
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21026 arg2
= wxString_in_helper(obj1
);
21027 if (arg2
== NULL
) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_Py_Void();
21037 if (SWIG_IsTmpObj(res3
)) {
21038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21040 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21043 if (SWIG_IsTmpObj(res4
)) {
21044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21046 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21063 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
= 0;
21065 wxDC
*arg1
= (wxDC
*) 0 ;
21066 wxString
*arg2
= 0 ;
21067 int *arg3
= (int *) 0 ;
21068 int *arg4
= (int *) 0 ;
21069 int *arg5
= (int *) 0 ;
21070 int *arg6
= (int *) 0 ;
21071 wxFont
*arg7
= (wxFont
*) NULL
;
21074 bool temp2
= false ;
21076 int res3
= SWIG_TMPOBJ
;
21078 int res4
= SWIG_TMPOBJ
;
21080 int res5
= SWIG_TMPOBJ
;
21082 int res6
= SWIG_TMPOBJ
;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 PyObject
* obj2
= 0 ;
21088 char * kwnames
[] = {
21089 (char *) "self",(char *) "string",(char *) "font", NULL
21096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21103 arg2
= wxString_in_helper(obj1
);
21104 if (arg2
== NULL
) SWIG_fail
;
21108 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21109 if (!SWIG_IsOK(res7
)) {
21110 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21112 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_Py_Void();
21121 if (SWIG_IsTmpObj(res3
)) {
21122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21124 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21127 if (SWIG_IsTmpObj(res4
)) {
21128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21130 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21133 if (SWIG_IsTmpObj(res5
)) {
21134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21136 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21139 if (SWIG_IsTmpObj(res6
)) {
21140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21142 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21159 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
= 0;
21161 wxDC
*arg1
= (wxDC
*) 0 ;
21162 wxString
*arg2
= 0 ;
21163 int *arg3
= (int *) 0 ;
21164 int *arg4
= (int *) 0 ;
21165 int *arg5
= (int *) 0 ;
21166 wxFont
*arg6
= (wxFont
*) NULL
;
21169 bool temp2
= false ;
21171 int res3
= SWIG_TMPOBJ
;
21173 int res4
= SWIG_TMPOBJ
;
21175 int res5
= SWIG_TMPOBJ
;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 PyObject
* obj2
= 0 ;
21181 char * kwnames
[] = {
21182 (char *) "self",(char *) "text",(char *) "font", NULL
21188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21190 if (!SWIG_IsOK(res1
)) {
21191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21195 arg2
= wxString_in_helper(obj1
);
21196 if (arg2
== NULL
) SWIG_fail
;
21200 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21201 if (!SWIG_IsOK(res6
)) {
21202 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21204 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_Py_Void();
21213 if (SWIG_IsTmpObj(res3
)) {
21214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21216 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21219 if (SWIG_IsTmpObj(res4
)) {
21220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21222 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21225 if (SWIG_IsTmpObj(res5
)) {
21226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21228 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21245 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
= 0;
21247 wxDC
*arg1
= (wxDC
*) 0 ;
21248 wxString
*arg2
= 0 ;
21252 bool temp2
= false ;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 char * kwnames
[] = {
21256 (char *) "self",(char *) "text", NULL
21259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21261 if (!SWIG_IsOK(res1
)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21266 arg2
= wxString_in_helper(obj1
);
21267 if (arg2
== NULL
) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= wxArrayInt2PyList_helper(result
);
21293 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxDC
*arg1
= (wxDC
*) 0 ;
21299 PyObject
*swig_obj
[1] ;
21301 if (!args
) SWIG_fail
;
21302 swig_obj
[0] = args
;
21303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21304 if (!SWIG_IsOK(res1
)) {
21305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (arg1
)->GetSize();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21321 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21322 PyObject
*resultobj
= 0;
21323 wxDC
*arg1
= (wxDC
*) 0 ;
21324 int *arg2
= (int *) 0 ;
21325 int *arg3
= (int *) 0 ;
21329 int res2
= SWIG_TMPOBJ
;
21331 int res3
= SWIG_TMPOBJ
;
21332 PyObject
*swig_obj
[1] ;
21336 if (!args
) SWIG_fail
;
21337 swig_obj
[0] = args
;
21338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21339 if (!SWIG_IsOK(res1
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 (arg1
)->GetSize(arg2
,arg3
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_Py_Void();
21350 if (SWIG_IsTmpObj(res2
)) {
21351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21353 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21356 if (SWIG_IsTmpObj(res3
)) {
21357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21359 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21368 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21369 PyObject
*resultobj
= 0;
21370 wxDC
*arg1
= (wxDC
*) 0 ;
21374 PyObject
*swig_obj
[1] ;
21376 if (!args
) SWIG_fail
;
21377 swig_obj
[0] = args
;
21378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21379 if (!SWIG_IsOK(res1
)) {
21380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21396 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21397 PyObject
*resultobj
= 0;
21398 wxDC
*arg1
= (wxDC
*) 0 ;
21399 int *arg2
= (int *) 0 ;
21400 int *arg3
= (int *) 0 ;
21404 int res2
= SWIG_TMPOBJ
;
21406 int res3
= SWIG_TMPOBJ
;
21407 PyObject
*swig_obj
[1] ;
21411 if (!args
) SWIG_fail
;
21412 swig_obj
[0] = args
;
21413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_Py_Void();
21425 if (SWIG_IsTmpObj(res2
)) {
21426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21428 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21431 if (SWIG_IsTmpObj(res3
)) {
21432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21434 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21443 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
= 0;
21445 wxDC
*arg1
= (wxDC
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char * kwnames
[] = {
21455 (char *) "self",(char *) "x", NULL
21458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21460 if (!SWIG_IsOK(res1
)) {
21461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21465 if (!SWIG_IsOK(ecode2
)) {
21466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21468 arg2
= static_cast< int >(val2
);
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_From_int(static_cast< int >(result
));
21482 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
= 0;
21484 wxDC
*arg1
= (wxDC
*) 0 ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 char * kwnames
[] = {
21494 (char *) "self",(char *) "y", NULL
21497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21499 if (!SWIG_IsOK(res1
)) {
21500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21504 if (!SWIG_IsOK(ecode2
)) {
21505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21507 arg2
= static_cast< int >(val2
);
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= SWIG_From_int(static_cast< int >(result
));
21521 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
= 0;
21523 wxDC
*arg1
= (wxDC
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 char * kwnames
[] = {
21533 (char *) "self",(char *) "x", NULL
21536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21538 if (!SWIG_IsOK(res1
)) {
21539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21543 if (!SWIG_IsOK(ecode2
)) {
21544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21546 arg2
= static_cast< int >(val2
);
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_From_int(static_cast< int >(result
));
21560 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
= 0;
21562 wxDC
*arg1
= (wxDC
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 char * kwnames
[] = {
21572 (char *) "self",(char *) "y", NULL
21575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21577 if (!SWIG_IsOK(res1
)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21582 if (!SWIG_IsOK(ecode2
)) {
21583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21585 arg2
= static_cast< int >(val2
);
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= SWIG_From_int(static_cast< int >(result
));
21599 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
= 0;
21601 wxDC
*arg1
= (wxDC
*) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 char * kwnames
[] = {
21611 (char *) "self",(char *) "x", NULL
21614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21616 if (!SWIG_IsOK(res1
)) {
21617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21621 if (!SWIG_IsOK(ecode2
)) {
21622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21624 arg2
= static_cast< int >(val2
);
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= SWIG_From_int(static_cast< int >(result
));
21638 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
= 0;
21640 wxDC
*arg1
= (wxDC
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char * kwnames
[] = {
21650 (char *) "self",(char *) "y", NULL
21653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21660 if (!SWIG_IsOK(ecode2
)) {
21661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21663 arg2
= static_cast< int >(val2
);
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_From_int(static_cast< int >(result
));
21677 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= 0;
21679 wxDC
*arg1
= (wxDC
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 char * kwnames
[] = {
21689 (char *) "self",(char *) "x", NULL
21692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21694 if (!SWIG_IsOK(res1
)) {
21695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21699 if (!SWIG_IsOK(ecode2
)) {
21700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21702 arg2
= static_cast< int >(val2
);
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_From_int(static_cast< int >(result
));
21716 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
= 0;
21718 wxDC
*arg1
= (wxDC
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 char * kwnames
[] = {
21728 (char *) "self",(char *) "y", NULL
21731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21733 if (!SWIG_IsOK(res1
)) {
21734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21738 if (!SWIG_IsOK(ecode2
)) {
21739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21741 arg2
= static_cast< int >(val2
);
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_From_int(static_cast< int >(result
));
21755 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21756 PyObject
*resultobj
= 0;
21757 wxDC
*arg1
= (wxDC
*) 0 ;
21761 PyObject
*swig_obj
[1] ;
21763 if (!args
) SWIG_fail
;
21764 swig_obj
[0] = args
;
21765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21766 if (!SWIG_IsOK(res1
)) {
21767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21785 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21786 PyObject
*resultobj
= 0;
21787 wxDC
*arg1
= (wxDC
*) 0 ;
21791 PyObject
*swig_obj
[1] ;
21793 if (!args
) SWIG_fail
;
21794 swig_obj
[0] = args
;
21795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21796 if (!SWIG_IsOK(res1
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21815 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21816 PyObject
*resultobj
= 0;
21817 wxDC
*arg1
= (wxDC
*) 0 ;
21821 PyObject
*swig_obj
[1] ;
21823 if (!args
) SWIG_fail
;
21824 swig_obj
[0] = args
;
21825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21826 if (!SWIG_IsOK(res1
)) {
21827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_From_int(static_cast< int >(result
));
21843 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21844 PyObject
*resultobj
= 0;
21845 wxDC
*arg1
= (wxDC
*) 0 ;
21849 PyObject
*swig_obj
[1] ;
21851 if (!args
) SWIG_fail
;
21852 swig_obj
[0] = args
;
21853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21854 if (!SWIG_IsOK(res1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= ((wxDC
const *)arg1
)->GetPPI();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21871 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21872 PyObject
*resultobj
= 0;
21873 wxDC
*arg1
= (wxDC
*) 0 ;
21877 PyObject
*swig_obj
[1] ;
21879 if (!args
) SWIG_fail
;
21880 swig_obj
[0] = args
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21901 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21902 PyObject
*resultobj
= 0;
21903 wxDC
*arg1
= (wxDC
*) 0 ;
21907 PyObject
*swig_obj
[1] ;
21909 if (!args
) SWIG_fail
;
21910 swig_obj
[0] = args
;
21911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21912 if (!SWIG_IsOK(res1
)) {
21913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_From_int(static_cast< int >(result
));
21929 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21930 PyObject
*resultobj
= 0;
21931 wxDC
*arg1
= (wxDC
*) 0 ;
21932 wxBrush
*result
= 0 ;
21935 PyObject
*swig_obj
[1] ;
21937 if (!args
) SWIG_fail
;
21938 swig_obj
[0] = args
;
21939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21940 if (!SWIG_IsOK(res1
)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21948 result
= (wxBrush
*) &_result_ref
;
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 wxBrush
* resultptr
= new wxBrush(*result
);
21955 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21963 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21964 PyObject
*resultobj
= 0;
21965 wxDC
*arg1
= (wxDC
*) 0 ;
21966 wxBrush
*result
= 0 ;
21969 PyObject
*swig_obj
[1] ;
21971 if (!args
) SWIG_fail
;
21972 swig_obj
[0] = args
;
21973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21974 if (!SWIG_IsOK(res1
)) {
21975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21982 result
= (wxBrush
*) &_result_ref
;
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 wxBrush
* resultptr
= new wxBrush(*result
);
21989 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21997 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21998 PyObject
*resultobj
= 0;
21999 wxDC
*arg1
= (wxDC
*) 0 ;
22000 wxFont
*result
= 0 ;
22003 PyObject
*swig_obj
[1] ;
22005 if (!args
) SWIG_fail
;
22006 swig_obj
[0] = args
;
22007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22008 if (!SWIG_IsOK(res1
)) {
22009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22016 result
= (wxFont
*) &_result_ref
;
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22022 wxFont
* resultptr
= new wxFont(*result
);
22023 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22031 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxDC
*arg1
= (wxDC
*) 0 ;
22034 wxPen
*result
= 0 ;
22037 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22050 result
= (wxPen
*) &_result_ref
;
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22056 wxPen
* resultptr
= new wxPen(*result
);
22057 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22065 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22066 PyObject
*resultobj
= 0;
22067 wxDC
*arg1
= (wxDC
*) 0 ;
22068 wxColour
*result
= 0 ;
22071 PyObject
*swig_obj
[1] ;
22073 if (!args
) SWIG_fail
;
22074 swig_obj
[0] = args
;
22075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22084 result
= (wxColour
*) &_result_ref
;
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22096 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22097 PyObject
*resultobj
= 0;
22098 wxDC
*arg1
= (wxDC
*) 0 ;
22099 wxColour
*result
= 0 ;
22102 PyObject
*swig_obj
[1] ;
22104 if (!args
) SWIG_fail
;
22105 swig_obj
[0] = args
;
22106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22107 if (!SWIG_IsOK(res1
)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22115 result
= (wxColour
*) &_result_ref
;
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22127 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
= 0;
22129 wxDC
*arg1
= (wxDC
*) 0 ;
22130 wxColour
*arg2
= 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 char * kwnames
[] = {
22137 (char *) "self",(char *) "colour", NULL
22140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22142 if (!SWIG_IsOK(res1
)) {
22143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= SWIG_Py_Void();
22163 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
= 0;
22165 wxDC
*arg1
= (wxDC
*) 0 ;
22166 wxColour
*arg2
= 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char * kwnames
[] = {
22173 (char *) "self",(char *) "colour", NULL
22176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22178 if (!SWIG_IsOK(res1
)) {
22179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22181 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_Py_Void();
22199 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22200 PyObject
*resultobj
= 0;
22201 wxDC
*arg1
= (wxDC
*) 0 ;
22205 PyObject
*swig_obj
[1] ;
22207 if (!args
) SWIG_fail
;
22208 swig_obj
[0] = args
;
22209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_From_int(static_cast< int >(result
));
22227 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
= 0;
22229 wxDC
*arg1
= (wxDC
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 char * kwnames
[] = {
22238 (char *) "self",(char *) "mode", NULL
22241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22243 if (!SWIG_IsOK(res1
)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22248 if (!SWIG_IsOK(ecode2
)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22251 arg2
= static_cast< int >(val2
);
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 (arg1
)->SetMapMode(arg2
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_Py_Void();
22265 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22266 PyObject
*resultobj
= 0;
22267 wxDC
*arg1
= (wxDC
*) 0 ;
22268 double *arg2
= (double *) 0 ;
22269 double *arg3
= (double *) 0 ;
22273 int res2
= SWIG_TMPOBJ
;
22275 int res3
= SWIG_TMPOBJ
;
22276 PyObject
*swig_obj
[1] ;
22280 if (!args
) SWIG_fail
;
22281 swig_obj
[0] = args
;
22282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_Py_Void();
22294 if (SWIG_IsTmpObj(res2
)) {
22295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22297 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22300 if (SWIG_IsTmpObj(res3
)) {
22301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22312 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
= 0;
22314 wxDC
*arg1
= (wxDC
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 PyObject
* obj2
= 0 ;
22326 char * kwnames
[] = {
22327 (char *) "self",(char *) "x",(char *) "y", NULL
22330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22332 if (!SWIG_IsOK(res1
)) {
22333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22336 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22337 if (!SWIG_IsOK(ecode2
)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22340 arg2
= static_cast< double >(val2
);
22341 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22342 if (!SWIG_IsOK(ecode3
)) {
22343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22345 arg3
= static_cast< double >(val3
);
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 (arg1
)->SetUserScale(arg2
,arg3
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= SWIG_Py_Void();
22359 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22360 PyObject
*resultobj
= 0;
22361 wxDC
*arg1
= (wxDC
*) 0 ;
22362 double *arg2
= (double *) 0 ;
22363 double *arg3
= (double *) 0 ;
22367 int res2
= SWIG_TMPOBJ
;
22369 int res3
= SWIG_TMPOBJ
;
22370 PyObject
*swig_obj
[1] ;
22374 if (!args
) SWIG_fail
;
22375 swig_obj
[0] = args
;
22376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22377 if (!SWIG_IsOK(res1
)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 (arg1
)->GetLogicalScale(arg2
,arg3
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_Py_Void();
22388 if (SWIG_IsTmpObj(res2
)) {
22389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22391 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22394 if (SWIG_IsTmpObj(res3
)) {
22395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22397 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22406 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
= 0;
22408 wxDC
*arg1
= (wxDC
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 char * kwnames
[] = {
22421 (char *) "self",(char *) "x",(char *) "y", NULL
22424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22430 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22431 if (!SWIG_IsOK(ecode2
)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22434 arg2
= static_cast< double >(val2
);
22435 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22436 if (!SWIG_IsOK(ecode3
)) {
22437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22439 arg3
= static_cast< double >(val3
);
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 (arg1
)->SetLogicalScale(arg2
,arg3
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= SWIG_Py_Void();
22453 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 PyObject
*resultobj
= 0;
22455 wxDC
*arg1
= (wxDC
*) 0 ;
22459 PyObject
*swig_obj
[1] ;
22461 if (!args
) SWIG_fail
;
22462 swig_obj
[0] = args
;
22463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22464 if (!SWIG_IsOK(res1
)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22481 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 PyObject
*resultobj
= 0;
22483 wxDC
*arg1
= (wxDC
*) 0 ;
22484 int *arg2
= (int *) 0 ;
22485 int *arg3
= (int *) 0 ;
22489 int res2
= SWIG_TMPOBJ
;
22491 int res3
= SWIG_TMPOBJ
;
22492 PyObject
*swig_obj
[1] ;
22496 if (!args
) SWIG_fail
;
22497 swig_obj
[0] = args
;
22498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_Py_Void();
22510 if (SWIG_IsTmpObj(res2
)) {
22511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22513 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22516 if (SWIG_IsTmpObj(res3
)) {
22517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22519 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22528 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
= 0;
22530 wxDC
*arg1
= (wxDC
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 PyObject
* obj2
= 0 ;
22542 char * kwnames
[] = {
22543 (char *) "self",(char *) "x",(char *) "y", NULL
22546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22548 if (!SWIG_IsOK(res1
)) {
22549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22553 if (!SWIG_IsOK(ecode2
)) {
22554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22556 arg2
= static_cast< int >(val2
);
22557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22558 if (!SWIG_IsOK(ecode3
)) {
22559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22561 arg3
= static_cast< int >(val3
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_Py_Void();
22575 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
= 0;
22577 wxDC
*arg1
= (wxDC
*) 0 ;
22578 wxPoint
*arg2
= 0 ;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char * kwnames
[] = {
22585 (char *) "self",(char *) "point", NULL
22588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22590 if (!SWIG_IsOK(res1
)) {
22591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_Py_Void();
22611 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22612 PyObject
*resultobj
= 0;
22613 wxDC
*arg1
= (wxDC
*) 0 ;
22617 PyObject
*swig_obj
[1] ;
22619 if (!args
) SWIG_fail
;
22620 swig_obj
[0] = args
;
22621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22639 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22640 PyObject
*resultobj
= 0;
22641 wxDC
*arg1
= (wxDC
*) 0 ;
22642 int *arg2
= (int *) 0 ;
22643 int *arg3
= (int *) 0 ;
22647 int res2
= SWIG_TMPOBJ
;
22649 int res3
= SWIG_TMPOBJ
;
22650 PyObject
*swig_obj
[1] ;
22654 if (!args
) SWIG_fail
;
22655 swig_obj
[0] = args
;
22656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22657 if (!SWIG_IsOK(res1
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_Py_Void();
22668 if (SWIG_IsTmpObj(res2
)) {
22669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22671 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22674 if (SWIG_IsTmpObj(res3
)) {
22675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22677 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22686 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
= 0;
22688 wxDC
*arg1
= (wxDC
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 PyObject
* obj2
= 0 ;
22700 char * kwnames
[] = {
22701 (char *) "self",(char *) "x",(char *) "y", NULL
22704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22706 if (!SWIG_IsOK(res1
)) {
22707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22711 if (!SWIG_IsOK(ecode2
)) {
22712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22714 arg2
= static_cast< int >(val2
);
22715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22716 if (!SWIG_IsOK(ecode3
)) {
22717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22719 arg3
= static_cast< int >(val3
);
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= SWIG_Py_Void();
22733 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
= 0;
22735 wxDC
*arg1
= (wxDC
*) 0 ;
22736 wxPoint
*arg2
= 0 ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 char * kwnames
[] = {
22743 (char *) "self",(char *) "point", NULL
22746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22748 if (!SWIG_IsOK(res1
)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= SWIG_Py_Void();
22769 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
= 0;
22771 wxDC
*arg1
= (wxDC
*) 0 ;
22780 PyObject
* obj0
= 0 ;
22781 PyObject
* obj1
= 0 ;
22782 PyObject
* obj2
= 0 ;
22783 char * kwnames
[] = {
22784 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22789 if (!SWIG_IsOK(res1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22793 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22794 if (!SWIG_IsOK(ecode2
)) {
22795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22797 arg2
= static_cast< bool >(val2
);
22798 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22799 if (!SWIG_IsOK(ecode3
)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22802 arg3
= static_cast< bool >(val3
);
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= SWIG_Py_Void();
22816 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 PyObject
*resultobj
= 0;
22818 wxDC
*arg1
= (wxDC
*) 0 ;
22822 PyObject
*swig_obj
[1] ;
22824 if (!args
) SWIG_fail
;
22825 swig_obj
[0] = args
;
22826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22827 if (!SWIG_IsOK(res1
)) {
22828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_From_int(static_cast< int >(result
));
22844 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxDC
*arg1
= (wxDC
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 char * kwnames
[] = {
22855 (char *) "self",(char *) "function", NULL
22858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22860 if (!SWIG_IsOK(res1
)) {
22861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22865 if (!SWIG_IsOK(ecode2
)) {
22866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22868 arg2
= static_cast< int >(val2
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->SetLogicalFunction(arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_Py_Void();
22882 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22883 PyObject
*resultobj
= 0;
22884 wxDC
*arg1
= (wxDC
*) 0 ;
22887 PyObject
*swig_obj
[1] ;
22889 if (!args
) SWIG_fail
;
22890 swig_obj
[0] = args
;
22891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22892 if (!SWIG_IsOK(res1
)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 (arg1
)->ComputeScaleAndOrigin();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_Py_Void();
22909 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
= 0;
22911 wxDC
*arg1
= (wxDC
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 PyObject
* obj2
= 0 ;
22923 char * kwnames
[] = {
22924 (char *) "self",(char *) "x",(char *) "y", NULL
22927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22929 if (!SWIG_IsOK(res1
)) {
22930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22934 if (!SWIG_IsOK(ecode2
)) {
22935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22937 arg2
= static_cast< int >(val2
);
22938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22939 if (!SWIG_IsOK(ecode3
)) {
22940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22942 arg3
= static_cast< int >(val3
);
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= SWIG_Py_Void();
22956 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22957 PyObject
*resultobj
= 0;
22958 wxDC
*arg1
= (wxDC
*) 0 ;
22959 wxPoint
*arg2
= 0 ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char * kwnames
[] = {
22966 (char *) "self",(char *) "point", NULL
22969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_Py_Void();
22992 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22993 PyObject
*resultobj
= 0;
22994 wxDC
*arg1
= (wxDC
*) 0 ;
22997 PyObject
*swig_obj
[1] ;
22999 if (!args
) SWIG_fail
;
23000 swig_obj
[0] = args
;
23001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23002 if (!SWIG_IsOK(res1
)) {
23003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 (arg1
)->ResetBoundingBox();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_Py_Void();
23019 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23020 PyObject
*resultobj
= 0;
23021 wxDC
*arg1
= (wxDC
*) 0 ;
23025 PyObject
*swig_obj
[1] ;
23027 if (!args
) SWIG_fail
;
23028 swig_obj
[0] = args
;
23029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23030 if (!SWIG_IsOK(res1
)) {
23031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= (int)((wxDC
const *)arg1
)->MinX();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_From_int(static_cast< int >(result
));
23047 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23048 PyObject
*resultobj
= 0;
23049 wxDC
*arg1
= (wxDC
*) 0 ;
23053 PyObject
*swig_obj
[1] ;
23055 if (!args
) SWIG_fail
;
23056 swig_obj
[0] = args
;
23057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23058 if (!SWIG_IsOK(res1
)) {
23059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= (int)((wxDC
const *)arg1
)->MaxX();
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_From_int(static_cast< int >(result
));
23075 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23076 PyObject
*resultobj
= 0;
23077 wxDC
*arg1
= (wxDC
*) 0 ;
23081 PyObject
*swig_obj
[1] ;
23083 if (!args
) SWIG_fail
;
23084 swig_obj
[0] = args
;
23085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23086 if (!SWIG_IsOK(res1
)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (int)((wxDC
const *)arg1
)->MinY();
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_From_int(static_cast< int >(result
));
23103 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23104 PyObject
*resultobj
= 0;
23105 wxDC
*arg1
= (wxDC
*) 0 ;
23109 PyObject
*swig_obj
[1] ;
23111 if (!args
) SWIG_fail
;
23112 swig_obj
[0] = args
;
23113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (int)((wxDC
const *)arg1
)->MaxY();
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= SWIG_From_int(static_cast< int >(result
));
23131 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23132 PyObject
*resultobj
= 0;
23133 wxDC
*arg1
= (wxDC
*) 0 ;
23134 int *arg2
= (int *) 0 ;
23135 int *arg3
= (int *) 0 ;
23136 int *arg4
= (int *) 0 ;
23137 int *arg5
= (int *) 0 ;
23141 int res2
= SWIG_TMPOBJ
;
23143 int res3
= SWIG_TMPOBJ
;
23145 int res4
= SWIG_TMPOBJ
;
23147 int res5
= SWIG_TMPOBJ
;
23148 PyObject
*swig_obj
[1] ;
23154 if (!args
) SWIG_fail
;
23155 swig_obj
[0] = args
;
23156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23157 if (!SWIG_IsOK(res1
)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_Py_Void();
23168 if (SWIG_IsTmpObj(res2
)) {
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23171 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23174 if (SWIG_IsTmpObj(res3
)) {
23175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23177 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23180 if (SWIG_IsTmpObj(res4
)) {
23181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23183 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23186 if (SWIG_IsTmpObj(res5
)) {
23187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23189 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23198 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23199 PyObject
*resultobj
= 0;
23200 wxDC
*arg1
= (wxDC
*) 0 ;
23201 wxLayoutDirection result
;
23204 PyObject
*swig_obj
[1] ;
23206 if (!args
) SWIG_fail
;
23207 swig_obj
[0] = args
;
23208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23209 if (!SWIG_IsOK(res1
)) {
23210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_From_int(static_cast< int >(result
));
23226 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
= 0;
23228 wxDC
*arg1
= (wxDC
*) 0 ;
23229 wxLayoutDirection arg2
;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char * kwnames
[] = {
23237 (char *) "self",(char *) "dir", NULL
23240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23242 if (!SWIG_IsOK(res1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23247 if (!SWIG_IsOK(ecode2
)) {
23248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23250 arg2
= static_cast< wxLayoutDirection
>(val2
);
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 (arg1
)->SetLayoutDirection(arg2
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_Py_Void();
23264 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
= 0;
23266 wxDC
*arg1
= (wxDC
*) 0 ;
23267 PyObject
*arg2
= (PyObject
*) 0 ;
23268 PyObject
*arg3
= (PyObject
*) 0 ;
23269 PyObject
*arg4
= (PyObject
*) 0 ;
23270 PyObject
*result
= 0 ;
23273 PyObject
* obj0
= 0 ;
23274 PyObject
* obj1
= 0 ;
23275 PyObject
* obj2
= 0 ;
23276 PyObject
* obj3
= 0 ;
23277 char * kwnames
[] = {
23278 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23283 if (!SWIG_IsOK(res1
)) {
23284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= result
;
23303 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
= 0;
23305 wxDC
*arg1
= (wxDC
*) 0 ;
23306 PyObject
*arg2
= (PyObject
*) 0 ;
23307 PyObject
*arg3
= (PyObject
*) 0 ;
23308 PyObject
*arg4
= (PyObject
*) 0 ;
23309 PyObject
*result
= 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 PyObject
* obj2
= 0 ;
23315 PyObject
* obj3
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= result
;
23342 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
= 0;
23344 wxDC
*arg1
= (wxDC
*) 0 ;
23345 PyObject
*arg2
= (PyObject
*) 0 ;
23346 PyObject
*arg3
= (PyObject
*) 0 ;
23347 PyObject
*arg4
= (PyObject
*) 0 ;
23348 PyObject
*result
= 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 PyObject
* obj2
= 0 ;
23354 PyObject
* obj3
= 0 ;
23355 char * kwnames
[] = {
23356 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23361 if (!SWIG_IsOK(res1
)) {
23362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= result
;
23381 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
= 0;
23383 wxDC
*arg1
= (wxDC
*) 0 ;
23384 PyObject
*arg2
= (PyObject
*) 0 ;
23385 PyObject
*arg3
= (PyObject
*) 0 ;
23386 PyObject
*arg4
= (PyObject
*) 0 ;
23387 PyObject
*result
= 0 ;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 PyObject
* obj2
= 0 ;
23393 PyObject
* obj3
= 0 ;
23394 char * kwnames
[] = {
23395 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= result
;
23420 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
= 0;
23422 wxDC
*arg1
= (wxDC
*) 0 ;
23423 PyObject
*arg2
= (PyObject
*) 0 ;
23424 PyObject
*arg3
= (PyObject
*) 0 ;
23425 PyObject
*arg4
= (PyObject
*) 0 ;
23426 PyObject
*result
= 0 ;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 PyObject
* obj2
= 0 ;
23432 PyObject
* obj3
= 0 ;
23433 char * kwnames
[] = {
23434 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23439 if (!SWIG_IsOK(res1
)) {
23440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= result
;
23459 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
= 0;
23461 wxDC
*arg1
= (wxDC
*) 0 ;
23462 PyObject
*arg2
= (PyObject
*) 0 ;
23463 PyObject
*arg3
= (PyObject
*) 0 ;
23464 PyObject
*arg4
= (PyObject
*) 0 ;
23465 PyObject
*arg5
= (PyObject
*) 0 ;
23466 PyObject
*result
= 0 ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 PyObject
* obj2
= 0 ;
23472 PyObject
* obj3
= 0 ;
23473 PyObject
* obj4
= 0 ;
23474 char * kwnames
[] = {
23475 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
;
23501 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23504 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23505 return SWIG_Py_Void();
23508 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
= 0;
23511 wxColour
*arg2
= 0 ;
23512 wxDCTextColourChanger
*result
= 0 ;
23516 PyObject
* obj0
= 0 ;
23517 PyObject
* obj1
= 0 ;
23518 char * kwnames
[] = {
23519 (char *) "dc",(char *) "col", NULL
23522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23523 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23524 if (!SWIG_IsOK(res1
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23530 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23548 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23549 PyObject
*resultobj
= 0;
23550 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23553 PyObject
*swig_obj
[1] ;
23555 if (!args
) SWIG_fail
;
23556 swig_obj
[0] = args
;
23557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23561 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= SWIG_Py_Void();
23576 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23579 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23580 return SWIG_Py_Void();
23583 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23584 return SWIG_Python_InitShadowInstance(args
);
23587 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
= 0;
23591 wxDCPenChanger
*result
= 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char * kwnames
[] = {
23599 (char *) "dc",(char *) "pen", NULL
23602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23603 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23604 if (!SWIG_IsOK(res1
)) {
23605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23612 if (!SWIG_IsOK(res2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23618 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23632 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23633 PyObject
*resultobj
= 0;
23634 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23637 PyObject
*swig_obj
[1] ;
23639 if (!args
) SWIG_fail
;
23640 swig_obj
[0] = args
;
23641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23642 if (!SWIG_IsOK(res1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23645 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_Py_Void();
23660 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23663 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23664 return SWIG_Py_Void();
23667 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23668 return SWIG_Python_InitShadowInstance(args
);
23671 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
= 0;
23674 wxBrush
*arg2
= 0 ;
23675 wxDCBrushChanger
*result
= 0 ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 char * kwnames
[] = {
23683 (char *) "dc",(char *) "brush", NULL
23686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23687 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23696 if (!SWIG_IsOK(res2
)) {
23697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23702 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23716 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23717 PyObject
*resultobj
= 0;
23718 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23721 PyObject
*swig_obj
[1] ;
23723 if (!args
) SWIG_fail
;
23724 swig_obj
[0] = args
;
23725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23726 if (!SWIG_IsOK(res1
)) {
23727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23729 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= SWIG_Py_Void();
23744 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23747 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23748 return SWIG_Py_Void();
23751 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23752 return SWIG_Python_InitShadowInstance(args
);
23755 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23756 PyObject
*resultobj
= 0;
23758 wxRegion
*arg2
= 0 ;
23759 wxDCClipper
*result
= 0 ;
23765 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23774 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23775 if (!SWIG_IsOK(res2
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23781 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23795 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23796 PyObject
*resultobj
= 0;
23799 wxDCClipper
*result
= 0 ;
23804 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23815 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23830 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23831 PyObject
*resultobj
= 0;
23837 wxDCClipper
*result
= 0 ;
23849 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23851 if (!SWIG_IsOK(res1
)) {
23852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23858 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23859 if (!SWIG_IsOK(ecode2
)) {
23860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23862 arg2
= static_cast< int >(val2
);
23863 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23864 if (!SWIG_IsOK(ecode3
)) {
23865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23867 arg3
= static_cast< int >(val3
);
23868 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23869 if (!SWIG_IsOK(ecode4
)) {
23870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23872 arg4
= static_cast< int >(val4
);
23873 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23874 if (!SWIG_IsOK(ecode5
)) {
23875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23877 arg5
= static_cast< int >(val5
);
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23891 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23895 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23900 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23901 _v
= SWIG_CheckState(res
);
23903 if (!_v
) goto check_1
;
23904 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23909 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23912 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23916 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23921 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23922 PyObject
*resultobj
= 0;
23923 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23926 PyObject
*swig_obj
[1] ;
23928 if (!args
) SWIG_fail
;
23929 swig_obj
[0] = args
;
23930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23931 if (!SWIG_IsOK(res1
)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23934 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_Py_Void();
23949 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23952 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23953 return SWIG_Py_Void();
23956 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23957 return SWIG_Python_InitShadowInstance(args
);
23960 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23961 PyObject
*resultobj
= 0;
23962 wxScreenDC
*result
= 0 ;
23964 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23966 if (!wxPyCheckForApp()) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (wxScreenDC
*)new wxScreenDC();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23979 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
= 0;
23981 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23982 wxWindow
*arg2
= (wxWindow
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 char * kwnames
[] = {
23991 (char *) "self",(char *) "window", NULL
23994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23996 if (!SWIG_IsOK(res1
)) {
23997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23999 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24001 if (!SWIG_IsOK(res2
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24020 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
= 0;
24022 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24023 wxRect
*arg2
= (wxRect
*) NULL
;
24029 PyObject
* obj0
= 0 ;
24030 PyObject
* obj1
= 0 ;
24031 char * kwnames
[] = {
24032 (char *) "self",(char *) "rect", NULL
24035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24037 if (!SWIG_IsOK(res1
)) {
24038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24040 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24042 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24043 if (!SWIG_IsOK(res2
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24046 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24063 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24064 PyObject
*resultobj
= 0;
24065 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24069 PyObject
*swig_obj
[1] ;
24071 if (!args
) SWIG_fail
;
24072 swig_obj
[0] = args
;
24073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24077 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (bool)(arg1
)->EndDrawingOnTop();
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24093 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24096 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24097 return SWIG_Py_Void();
24100 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24101 return SWIG_Python_InitShadowInstance(args
);
24104 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= 0;
24106 wxWindow
*arg1
= (wxWindow
*) 0 ;
24107 wxWindowDC
*result
= 0 ;
24110 PyObject
* obj0
= 0 ;
24111 char * kwnames
[] = {
24112 (char *) "win", NULL
24115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24120 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24122 if (!wxPyCheckForApp()) SWIG_fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24135 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24138 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24139 return SWIG_Py_Void();
24142 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24143 return SWIG_Python_InitShadowInstance(args
);
24146 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
= 0;
24148 wxWindow
*arg1
= (wxWindow
*) 0 ;
24149 wxClientDC
*result
= 0 ;
24152 PyObject
* obj0
= 0 ;
24153 char * kwnames
[] = {
24154 (char *) "win", NULL
24157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24164 if (!wxPyCheckForApp()) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (wxClientDC
*)new wxClientDC(arg1
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24177 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24180 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24181 return SWIG_Py_Void();
24184 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24185 return SWIG_Python_InitShadowInstance(args
);
24188 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxWindow
*arg1
= (wxWindow
*) 0 ;
24191 wxPaintDC
*result
= 0 ;
24194 PyObject
* obj0
= 0 ;
24195 char * kwnames
[] = {
24196 (char *) "win", NULL
24199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24201 if (!SWIG_IsOK(res1
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24206 if (!wxPyCheckForApp()) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24219 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24223 return SWIG_Py_Void();
24226 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24227 return SWIG_Python_InitShadowInstance(args
);
24230 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
= 0;
24232 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24233 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24234 wxMemoryDC
*result
= 0 ;
24237 PyObject
* obj0
= 0 ;
24238 char * kwnames
[] = {
24239 (char *) "bitmap", NULL
24242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24244 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24251 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24254 if (!wxPyCheckForApp()) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24267 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
= 0;
24269 wxDC
*arg1
= (wxDC
*) 0 ;
24270 wxMemoryDC
*result
= 0 ;
24273 PyObject
* obj0
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "oldDC", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24285 if (!wxPyCheckForApp()) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24298 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
= 0;
24300 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24301 wxBitmap
*arg2
= 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 char * kwnames
[] = {
24309 (char *) "self",(char *) "bitmap", NULL
24312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24314 if (!SWIG_IsOK(res1
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24317 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24319 if (!SWIG_IsOK(res2
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24325 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->SelectObject(*arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= SWIG_Py_Void();
24339 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
= 0;
24341 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24342 wxBitmap
*arg2
= 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char * kwnames
[] = {
24350 (char *) "self",(char *) "bmp", NULL
24353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24355 if (!SWIG_IsOK(res1
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24358 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24360 if (!SWIG_IsOK(res2
)) {
24361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24366 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_Py_Void();
24380 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24383 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24384 return SWIG_Py_Void();
24387 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24388 return SWIG_Python_InitShadowInstance(args
);
24391 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24392 PyObject
*resultobj
= 0;
24393 wxDC
*arg1
= (wxDC
*) 0 ;
24394 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24395 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24396 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24397 wxBufferedDC
*result
= 0 ;
24405 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24407 if (!SWIG_IsOK(res1
)) {
24408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24412 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24413 if (!SWIG_IsOK(res2
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24419 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24422 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24423 if (!SWIG_IsOK(ecode3
)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24426 arg3
= static_cast< int >(val3
);
24429 if (!wxPyCheckForApp()) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24442 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24443 PyObject
*resultobj
= 0;
24444 wxDC
*arg1
= (wxDC
*) 0 ;
24446 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24447 wxBufferedDC
*result
= 0 ;
24454 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24456 if (!SWIG_IsOK(res1
)) {
24457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24462 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24465 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24466 if (!SWIG_IsOK(ecode3
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24469 arg3
= static_cast< int >(val3
);
24472 if (!wxPyCheckForApp()) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24485 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24489 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24491 if ((argc
>= 1) && (argc
<= 3)) {
24496 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24497 _v
= SWIG_CheckState(res
);
24499 if (!_v
) goto check_1
;
24501 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24505 if ((argc
>= 2) && (argc
<= 3)) {
24506 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24510 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24515 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24516 PyObject
*resultobj
= 0;
24517 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24520 PyObject
*swig_obj
[1] ;
24522 if (!args
) SWIG_fail
;
24523 swig_obj
[0] = args
;
24524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24528 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_Py_Void();
24543 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24544 PyObject
*resultobj
= 0;
24545 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24548 PyObject
*swig_obj
[1] ;
24550 if (!args
) SWIG_fail
;
24551 swig_obj
[0] = args
;
24552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24553 if (!SWIG_IsOK(res1
)) {
24554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24556 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_Py_Void();
24570 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= 0;
24572 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char * kwnames
[] = {
24581 (char *) "self",(char *) "style", NULL
24584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24589 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24591 if (!SWIG_IsOK(ecode2
)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24594 arg2
= static_cast< int >(val2
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetStyle(arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_Py_Void();
24608 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24609 PyObject
*resultobj
= 0;
24610 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24614 PyObject
*swig_obj
[1] ;
24616 if (!args
) SWIG_fail
;
24617 swig_obj
[0] = args
;
24618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24619 if (!SWIG_IsOK(res1
)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24622 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= SWIG_From_int(static_cast< int >(result
));
24636 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24639 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24640 return SWIG_Py_Void();
24643 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24644 return SWIG_Python_InitShadowInstance(args
);
24647 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
= 0;
24649 wxWindow
*arg1
= (wxWindow
*) 0 ;
24650 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24651 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24652 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24653 wxBufferedPaintDC
*result
= 0 ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 PyObject
* obj2
= 0 ;
24663 char * kwnames
[] = {
24664 (char *) "window",(char *) "buffer",(char *) "style", NULL
24667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24675 if (!SWIG_IsOK(res2
)) {
24676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24681 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24685 if (!SWIG_IsOK(ecode3
)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24688 arg3
= static_cast< int >(val3
);
24691 if (!wxPyCheckForApp()) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24704 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24707 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24708 return SWIG_Py_Void();
24711 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 return SWIG_Python_InitShadowInstance(args
);
24715 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
= 0;
24717 wxWindow
*arg1
= (wxWindow
*) 0 ;
24718 wxAutoBufferedPaintDC
*result
= 0 ;
24721 PyObject
* obj0
= 0 ;
24722 char * kwnames
[] = {
24723 (char *) "win", NULL
24726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24728 if (!SWIG_IsOK(res1
)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24731 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24745 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24748 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24749 return SWIG_Py_Void();
24752 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24753 return SWIG_Python_InitShadowInstance(args
);
24756 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= 0;
24758 wxWindow
*arg1
= (wxWindow
*) 0 ;
24762 PyObject
* obj0
= 0 ;
24763 char * kwnames
[] = {
24764 (char *) "window", NULL
24767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24788 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
= 0;
24792 wxMirrorDC
*result
= 0 ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 char * kwnames
[] = {
24800 (char *) "dc",(char *) "mirror", NULL
24803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24804 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24805 if (!SWIG_IsOK(res1
)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24812 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24813 if (!SWIG_IsOK(ecode2
)) {
24814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24816 arg2
= static_cast< bool >(val2
);
24818 if (!wxPyCheckForApp()) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24831 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24834 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24835 return SWIG_Py_Void();
24838 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24839 return SWIG_Python_InitShadowInstance(args
);
24842 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
= 0;
24844 wxPrintData
*arg1
= 0 ;
24845 wxPostScriptDC
*result
= 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char * kwnames
[] = {
24850 (char *) "printData", NULL
24853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24854 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24861 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24863 if (!wxPyCheckForApp()) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24876 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24877 PyObject
*resultobj
= 0;
24878 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24879 wxPrintData
*result
= 0 ;
24882 PyObject
*swig_obj
[1] ;
24884 if (!args
) SWIG_fail
;
24885 swig_obj
[0] = args
;
24886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24890 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24895 result
= (wxPrintData
*) &_result_ref
;
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24907 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
= 0;
24909 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24910 wxPrintData
*arg2
= 0 ;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 char * kwnames
[] = {
24918 (char *) "self",(char *) "data", NULL
24921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24923 if (!SWIG_IsOK(res1
)) {
24924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24926 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24928 if (!SWIG_IsOK(res2
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24934 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= SWIG_Py_Void();
24948 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
= 0;
24953 PyObject
* obj0
= 0 ;
24954 char * kwnames
[] = {
24955 (char *) "ppi", NULL
24958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24959 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24960 if (!SWIG_IsOK(ecode1
)) {
24961 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24963 arg1
= static_cast< int >(val1
);
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 wxPostScriptDC::SetResolution(arg1
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_Py_Void();
24977 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24978 PyObject
*resultobj
= 0;
24981 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (int)wxPostScriptDC::GetResolution();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_From_int(static_cast< int >(result
));
24995 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24998 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24999 return SWIG_Py_Void();
25002 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25003 return SWIG_Python_InitShadowInstance(args
);
25006 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
= 0;
25008 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25009 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25010 wxMetaFile
*result
= 0 ;
25011 bool temp1
= false ;
25012 PyObject
* obj0
= 0 ;
25013 char * kwnames
[] = {
25014 (char *) "filename", NULL
25017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25020 arg1
= wxString_in_helper(obj0
);
25021 if (arg1
== NULL
) SWIG_fail
;
25026 if (!wxPyCheckForApp()) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25047 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25050 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25051 return SWIG_Py_Void();
25054 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25055 return SWIG_Python_InitShadowInstance(args
);
25058 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
= 0;
25060 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25061 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25062 int arg2
= (int) 0 ;
25063 int arg3
= (int) 0 ;
25064 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25065 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25066 wxMetaFileDC
*result
= 0 ;
25067 bool temp1
= false ;
25072 bool temp4
= false ;
25073 PyObject
* obj0
= 0 ;
25074 PyObject
* obj1
= 0 ;
25075 PyObject
* obj2
= 0 ;
25076 PyObject
* obj3
= 0 ;
25077 char * kwnames
[] = {
25078 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25084 arg1
= wxString_in_helper(obj0
);
25085 if (arg1
== NULL
) SWIG_fail
;
25090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25091 if (!SWIG_IsOK(ecode2
)) {
25092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25094 arg2
= static_cast< int >(val2
);
25097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25098 if (!SWIG_IsOK(ecode3
)) {
25099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25101 arg3
= static_cast< int >(val3
);
25105 arg4
= wxString_in_helper(obj3
);
25106 if (arg4
== NULL
) SWIG_fail
;
25111 if (!wxPyCheckForApp()) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25140 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25143 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25144 return SWIG_Py_Void();
25147 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25148 return SWIG_Python_InitShadowInstance(args
);
25151 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
= 0;
25153 wxPrintData
*arg1
= 0 ;
25154 wxPrinterDC
*result
= 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char * kwnames
[] = {
25159 (char *) "printData", NULL
25162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25163 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25170 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25172 if (!wxPyCheckForApp()) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25185 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25188 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25189 return SWIG_Py_Void();
25192 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 return SWIG_Python_InitShadowInstance(args
);
25196 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
= 0;
25198 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25199 wxGraphicsObject
*result
= 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char * kwnames
[] = {
25204 (char *) "renderer", NULL
25207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25213 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25216 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25226 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25227 PyObject
*resultobj
= 0;
25228 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25231 PyObject
*swig_obj
[1] ;
25233 if (!args
) SWIG_fail
;
25234 swig_obj
[0] = args
;
25235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25239 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= SWIG_Py_Void();
25252 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25253 PyObject
*resultobj
= 0;
25254 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25258 PyObject
*swig_obj
[1] ;
25260 if (!args
) SWIG_fail
;
25261 swig_obj
[0] = args
;
25262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25263 if (!SWIG_IsOK(res1
)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25266 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25268 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25269 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25280 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25281 PyObject
*resultobj
= 0;
25282 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25283 wxGraphicsRenderer
*result
= 0 ;
25286 PyObject
*swig_obj
[1] ;
25288 if (!args
) SWIG_fail
;
25289 swig_obj
[0] = args
;
25290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25291 if (!SWIG_IsOK(res1
)) {
25292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25294 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25296 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25306 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25309 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25310 return SWIG_Py_Void();
25313 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25314 return SWIG_Python_InitShadowInstance(args
);
25317 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25318 PyObject
*resultobj
= 0;
25319 wxGraphicsPen
*result
= 0 ;
25321 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25323 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25333 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25334 PyObject
*resultobj
= 0;
25335 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25338 PyObject
*swig_obj
[1] ;
25340 if (!args
) SWIG_fail
;
25341 swig_obj
[0] = args
;
25342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25343 if (!SWIG_IsOK(res1
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25346 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_Py_Void();
25359 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25362 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25363 return SWIG_Py_Void();
25366 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25367 return SWIG_Python_InitShadowInstance(args
);
25370 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25371 PyObject
*resultobj
= 0;
25372 wxGraphicsBrush
*result
= 0 ;
25374 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25376 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25386 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25387 PyObject
*resultobj
= 0;
25388 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25391 PyObject
*swig_obj
[1] ;
25393 if (!args
) SWIG_fail
;
25394 swig_obj
[0] = args
;
25395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25396 if (!SWIG_IsOK(res1
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25399 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_Py_Void();
25412 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25415 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25416 return SWIG_Py_Void();
25419 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25420 return SWIG_Python_InitShadowInstance(args
);
25423 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25424 PyObject
*resultobj
= 0;
25425 wxGraphicsFont
*result
= 0 ;
25427 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25429 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25439 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 PyObject
*resultobj
= 0;
25441 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25444 PyObject
*swig_obj
[1] ;
25446 if (!args
) SWIG_fail
;
25447 swig_obj
[0] = args
;
25448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25452 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= SWIG_Py_Void();
25465 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25468 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25469 return SWIG_Py_Void();
25472 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25473 return SWIG_Python_InitShadowInstance(args
);
25476 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25477 PyObject
*resultobj
= 0;
25478 wxGraphicsMatrix
*result
= 0 ;
25480 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25482 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25492 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25493 PyObject
*resultobj
= 0;
25494 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25497 PyObject
*swig_obj
[1] ;
25499 if (!args
) SWIG_fail
;
25500 swig_obj
[0] = args
;
25501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25502 if (!SWIG_IsOK(res1
)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25505 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_Py_Void();
25518 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
= 0;
25520 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25521 wxGraphicsMatrix
*arg2
= 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char * kwnames
[] = {
25529 (char *) "self",(char *) "t", NULL
25532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25537 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25539 if (!SWIG_IsOK(res2
)) {
25540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25545 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25547 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= SWIG_Py_Void();
25557 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
= 0;
25559 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25560 wxDouble arg2
= (wxDouble
) 1.0 ;
25561 wxDouble arg3
= (wxDouble
) 0.0 ;
25562 wxDouble arg4
= (wxDouble
) 0.0 ;
25563 wxDouble arg5
= (wxDouble
) 1.0 ;
25564 wxDouble arg6
= (wxDouble
) 0.0 ;
25565 wxDouble arg7
= (wxDouble
) 0.0 ;
25580 PyObject
* obj0
= 0 ;
25581 PyObject
* obj1
= 0 ;
25582 PyObject
* obj2
= 0 ;
25583 PyObject
* obj3
= 0 ;
25584 PyObject
* obj4
= 0 ;
25585 PyObject
* obj5
= 0 ;
25586 PyObject
* obj6
= 0 ;
25587 char * kwnames
[] = {
25588 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25593 if (!SWIG_IsOK(res1
)) {
25594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25596 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25598 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25599 if (!SWIG_IsOK(ecode2
)) {
25600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25602 arg2
= static_cast< wxDouble
>(val2
);
25605 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25606 if (!SWIG_IsOK(ecode3
)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25609 arg3
= static_cast< wxDouble
>(val3
);
25612 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25613 if (!SWIG_IsOK(ecode4
)) {
25614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25616 arg4
= static_cast< wxDouble
>(val4
);
25619 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25620 if (!SWIG_IsOK(ecode5
)) {
25621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25623 arg5
= static_cast< wxDouble
>(val5
);
25626 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25627 if (!SWIG_IsOK(ecode6
)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25630 arg6
= static_cast< wxDouble
>(val6
);
25633 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25634 if (!SWIG_IsOK(ecode7
)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25637 arg7
= static_cast< wxDouble
>(val7
);
25640 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= SWIG_Py_Void();
25650 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 PyObject
*resultobj
= 0;
25652 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25653 wxDouble
*arg2
= (wxDouble
*) 0 ;
25654 wxDouble
*arg3
= (wxDouble
*) 0 ;
25655 wxDouble
*arg4
= (wxDouble
*) 0 ;
25656 wxDouble
*arg5
= (wxDouble
*) 0 ;
25657 wxDouble
*arg6
= (wxDouble
*) 0 ;
25658 wxDouble
*arg7
= (wxDouble
*) 0 ;
25662 int res2
= SWIG_TMPOBJ
;
25664 int res3
= SWIG_TMPOBJ
;
25666 int res4
= SWIG_TMPOBJ
;
25668 int res5
= SWIG_TMPOBJ
;
25670 int res6
= SWIG_TMPOBJ
;
25672 int res7
= SWIG_TMPOBJ
;
25673 PyObject
*swig_obj
[1] ;
25681 if (!args
) SWIG_fail
;
25682 swig_obj
[0] = args
;
25683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25687 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25689 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 resultobj
= SWIG_Py_Void();
25693 if (SWIG_IsTmpObj(res2
)) {
25694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25696 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25699 if (SWIG_IsTmpObj(res3
)) {
25700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25702 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25705 if (SWIG_IsTmpObj(res4
)) {
25706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25708 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25711 if (SWIG_IsTmpObj(res5
)) {
25712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25714 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25717 if (SWIG_IsTmpObj(res6
)) {
25718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25720 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25723 if (SWIG_IsTmpObj(res7
)) {
25724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25726 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25735 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25736 PyObject
*resultobj
= 0;
25737 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25740 PyObject
*swig_obj
[1] ;
25742 if (!args
) SWIG_fail
;
25743 swig_obj
[0] = args
;
25744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25748 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_Py_Void();
25760 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25761 PyObject
*resultobj
= 0;
25762 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25763 wxGraphicsMatrix
*arg2
= 0 ;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 char * kwnames
[] = {
25772 (char *) "self",(char *) "t", NULL
25775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25777 if (!SWIG_IsOK(res1
)) {
25778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25780 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25782 if (!SWIG_IsOK(res2
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25788 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25790 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25802 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25803 PyObject
*resultobj
= 0;
25804 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25808 PyObject
*swig_obj
[1] ;
25810 if (!args
) SWIG_fail
;
25811 swig_obj
[0] = args
;
25812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25813 if (!SWIG_IsOK(res1
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25816 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25818 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25830 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
= 0;
25832 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 PyObject
* obj2
= 0 ;
25844 char * kwnames
[] = {
25845 (char *) "self",(char *) "dx",(char *) "dy", NULL
25848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25850 if (!SWIG_IsOK(res1
)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25853 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25854 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25855 if (!SWIG_IsOK(ecode2
)) {
25856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25858 arg2
= static_cast< wxDouble
>(val2
);
25859 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25860 if (!SWIG_IsOK(ecode3
)) {
25861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25863 arg3
= static_cast< wxDouble
>(val3
);
25865 (arg1
)->Translate(arg2
,arg3
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_Py_Void();
25875 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
= 0;
25877 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 PyObject
* obj2
= 0 ;
25889 char * kwnames
[] = {
25890 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25898 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25899 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25900 if (!SWIG_IsOK(ecode2
)) {
25901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25903 arg2
= static_cast< wxDouble
>(val2
);
25904 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25905 if (!SWIG_IsOK(ecode3
)) {
25906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25908 arg3
= static_cast< wxDouble
>(val3
);
25910 (arg1
)->Scale(arg2
,arg3
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_Py_Void();
25920 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
= 0;
25922 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char * kwnames
[] = {
25931 (char *) "self",(char *) "angle", NULL
25934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25936 if (!SWIG_IsOK(res1
)) {
25937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25939 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25940 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25941 if (!SWIG_IsOK(ecode2
)) {
25942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25944 arg2
= static_cast< wxDouble
>(val2
);
25946 (arg1
)->Rotate(arg2
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= SWIG_Py_Void();
25956 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
= 0;
25958 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25959 wxDouble
*arg2
= (wxDouble
*) 0 ;
25960 wxDouble
*arg3
= (wxDouble
*) 0 ;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 PyObject
* obj2
= 0 ;
25970 char * kwnames
[] = {
25971 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25979 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25980 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25982 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25983 if (!SWIG_IsOK(ecode
)) {
25984 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25986 temp2
= static_cast< wxDouble
>(val
);
25988 res2
= SWIG_AddTmpMask(ecode
);
25990 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25992 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25993 if (!SWIG_IsOK(ecode
)) {
25994 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25996 temp3
= static_cast< wxDouble
>(val
);
25998 res3
= SWIG_AddTmpMask(ecode
);
26001 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_Py_Void();
26005 if (SWIG_IsTmpObj(res2
)) {
26006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26008 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26011 if (SWIG_IsTmpObj(res3
)) {
26012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26014 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26023 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
= 0;
26025 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26026 wxDouble
*arg2
= (wxDouble
*) 0 ;
26027 wxDouble
*arg3
= (wxDouble
*) 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 PyObject
* obj2
= 0 ;
26037 char * kwnames
[] = {
26038 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26043 if (!SWIG_IsOK(res1
)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26046 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26047 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26049 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26050 if (!SWIG_IsOK(ecode
)) {
26051 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26053 temp2
= static_cast< wxDouble
>(val
);
26055 res2
= SWIG_AddTmpMask(ecode
);
26057 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26059 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26060 if (!SWIG_IsOK(ecode
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26063 temp3
= static_cast< wxDouble
>(val
);
26065 res3
= SWIG_AddTmpMask(ecode
);
26068 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= SWIG_Py_Void();
26072 if (SWIG_IsTmpObj(res2
)) {
26073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26075 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26078 if (SWIG_IsTmpObj(res3
)) {
26079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26081 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26090 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26091 PyObject
*resultobj
= 0;
26092 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26096 PyObject
*swig_obj
[1] ;
26098 if (!args
) SWIG_fail
;
26099 swig_obj
[0] = args
;
26100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26104 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26106 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26116 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26119 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26120 return SWIG_Py_Void();
26123 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26124 return SWIG_Python_InitShadowInstance(args
);
26127 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26128 PyObject
*resultobj
= 0;
26129 wxGraphicsPath
*result
= 0 ;
26131 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26133 if (!wxPyCheckForApp()) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26146 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26147 PyObject
*resultobj
= 0;
26148 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26151 PyObject
*swig_obj
[1] ;
26153 if (!args
) SWIG_fail
;
26154 swig_obj
[0] = args
;
26155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26156 if (!SWIG_IsOK(res1
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26159 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26173 PyObject
*resultobj
= 0;
26174 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26184 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26186 if (!SWIG_IsOK(res1
)) {
26187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26189 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26190 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26191 if (!SWIG_IsOK(ecode2
)) {
26192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26194 arg2
= static_cast< wxDouble
>(val2
);
26195 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26196 if (!SWIG_IsOK(ecode3
)) {
26197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26199 arg3
= static_cast< wxDouble
>(val3
);
26201 (arg1
)->MoveToPoint(arg2
,arg3
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 resultobj
= SWIG_Py_Void();
26211 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26212 PyObject
*resultobj
= 0;
26213 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26214 wxPoint2D
*arg2
= 0 ;
26219 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26224 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26227 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26230 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= SWIG_Py_Void();
26240 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26244 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26247 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26250 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26254 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26259 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26260 PyObject
*resultobj
= 0;
26261 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26271 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26276 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26277 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26278 if (!SWIG_IsOK(ecode2
)) {
26279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26281 arg2
= static_cast< wxDouble
>(val2
);
26282 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26283 if (!SWIG_IsOK(ecode3
)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26286 arg3
= static_cast< wxDouble
>(val3
);
26288 (arg1
)->AddLineToPoint(arg2
,arg3
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26299 PyObject
*resultobj
= 0;
26300 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26301 wxPoint2D
*arg2
= 0 ;
26306 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26311 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26314 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26317 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= SWIG_Py_Void();
26327 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26331 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26334 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26337 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26341 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26346 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26347 PyObject
*resultobj
= 0;
26348 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26370 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26372 if (!SWIG_IsOK(res1
)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26375 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26376 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26377 if (!SWIG_IsOK(ecode2
)) {
26378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26380 arg2
= static_cast< wxDouble
>(val2
);
26381 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26382 if (!SWIG_IsOK(ecode3
)) {
26383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26385 arg3
= static_cast< wxDouble
>(val3
);
26386 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26387 if (!SWIG_IsOK(ecode4
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26390 arg4
= static_cast< wxDouble
>(val4
);
26391 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26392 if (!SWIG_IsOK(ecode5
)) {
26393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26395 arg5
= static_cast< wxDouble
>(val5
);
26396 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26397 if (!SWIG_IsOK(ecode6
)) {
26398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26400 arg6
= static_cast< wxDouble
>(val6
);
26401 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26402 if (!SWIG_IsOK(ecode7
)) {
26403 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26405 arg7
= static_cast< wxDouble
>(val7
);
26407 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26418 PyObject
*resultobj
= 0;
26419 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26420 wxPoint2D
*arg2
= 0 ;
26421 wxPoint2D
*arg3
= 0 ;
26422 wxPoint2D
*arg4
= 0 ;
26429 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26434 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26437 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26441 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26445 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26448 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26451 resultobj
= SWIG_Py_Void();
26458 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26462 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26465 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26468 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26472 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26477 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
= 0;
26479 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26480 wxGraphicsPath
*arg2
= 0 ;
26485 PyObject
* obj0
= 0 ;
26486 PyObject
* obj1
= 0 ;
26487 char * kwnames
[] = {
26488 (char *) "self",(char *) "path", NULL
26491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26493 if (!SWIG_IsOK(res1
)) {
26494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26496 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26498 if (!SWIG_IsOK(res2
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26504 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26506 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= SWIG_Py_Void();
26516 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26517 PyObject
*resultobj
= 0;
26518 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26521 PyObject
*swig_obj
[1] ;
26523 if (!args
) SWIG_fail
;
26524 swig_obj
[0] = args
;
26525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26529 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26531 (arg1
)->CloseSubpath();
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_Py_Void();
26541 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 PyObject
*resultobj
= 0;
26543 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26547 PyObject
*swig_obj
[1] ;
26549 if (!args
) SWIG_fail
;
26550 swig_obj
[0] = args
;
26551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26555 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26557 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26567 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26568 PyObject
*resultobj
= 0;
26569 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26591 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26593 if (!SWIG_IsOK(res1
)) {
26594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26596 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26597 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26598 if (!SWIG_IsOK(ecode2
)) {
26599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26601 arg2
= static_cast< wxDouble
>(val2
);
26602 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26603 if (!SWIG_IsOK(ecode3
)) {
26604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26606 arg3
= static_cast< wxDouble
>(val3
);
26607 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26608 if (!SWIG_IsOK(ecode4
)) {
26609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26611 arg4
= static_cast< wxDouble
>(val4
);
26612 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26613 if (!SWIG_IsOK(ecode5
)) {
26614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26616 arg5
= static_cast< wxDouble
>(val5
);
26617 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26618 if (!SWIG_IsOK(ecode6
)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26621 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
);
26628 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_Py_Void();
26638 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26639 PyObject
*resultobj
= 0;
26640 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26641 wxPoint2D
*arg2
= 0 ;
26658 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26663 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26666 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26668 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26669 if (!SWIG_IsOK(ecode3
)) {
26670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26672 arg3
= static_cast< wxDouble
>(val3
);
26673 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26674 if (!SWIG_IsOK(ecode4
)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26677 arg4
= static_cast< wxDouble
>(val4
);
26678 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26679 if (!SWIG_IsOK(ecode5
)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26682 arg5
= static_cast< wxDouble
>(val5
);
26683 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26684 if (!SWIG_IsOK(ecode6
)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26687 arg6
= static_cast< bool >(val6
);
26689 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_Py_Void();
26699 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26703 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26706 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26709 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26713 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26718 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26719 PyObject
*resultobj
= 0;
26720 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 PyObject
* obj2
= 0 ;
26738 PyObject
* obj3
= 0 ;
26739 PyObject
* obj4
= 0 ;
26740 char * kwnames
[] = {
26741 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26749 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26750 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26751 if (!SWIG_IsOK(ecode2
)) {
26752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26754 arg2
= static_cast< wxDouble
>(val2
);
26755 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26756 if (!SWIG_IsOK(ecode3
)) {
26757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26759 arg3
= static_cast< wxDouble
>(val3
);
26760 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26761 if (!SWIG_IsOK(ecode4
)) {
26762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26764 arg4
= static_cast< wxDouble
>(val4
);
26765 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26766 if (!SWIG_IsOK(ecode5
)) {
26767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26769 arg5
= static_cast< wxDouble
>(val5
);
26771 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= SWIG_Py_Void();
26781 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
= 0;
26783 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 PyObject
* obj2
= 0 ;
26801 PyObject
* obj3
= 0 ;
26802 PyObject
* obj4
= 0 ;
26803 char * kwnames
[] = {
26804 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26809 if (!SWIG_IsOK(res1
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26812 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26813 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26814 if (!SWIG_IsOK(ecode2
)) {
26815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26817 arg2
= static_cast< wxDouble
>(val2
);
26818 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26819 if (!SWIG_IsOK(ecode3
)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26822 arg3
= static_cast< wxDouble
>(val3
);
26823 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26824 if (!SWIG_IsOK(ecode4
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26827 arg4
= static_cast< wxDouble
>(val4
);
26828 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26829 if (!SWIG_IsOK(ecode5
)) {
26830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26832 arg5
= static_cast< wxDouble
>(val5
);
26834 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_Py_Void();
26844 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= 0;
26846 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 PyObject
* obj1
= 0 ;
26860 PyObject
* obj2
= 0 ;
26861 PyObject
* obj3
= 0 ;
26862 char * kwnames
[] = {
26863 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26871 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26872 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26873 if (!SWIG_IsOK(ecode2
)) {
26874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26876 arg2
= static_cast< wxDouble
>(val2
);
26877 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26878 if (!SWIG_IsOK(ecode3
)) {
26879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26881 arg3
= static_cast< wxDouble
>(val3
);
26882 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26883 if (!SWIG_IsOK(ecode4
)) {
26884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26886 arg4
= static_cast< wxDouble
>(val4
);
26888 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_Py_Void();
26898 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
= 0;
26900 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 PyObject
* obj2
= 0 ;
26921 PyObject
* obj3
= 0 ;
26922 PyObject
* obj4
= 0 ;
26923 PyObject
* obj5
= 0 ;
26924 char * kwnames
[] = {
26925 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26930 if (!SWIG_IsOK(res1
)) {
26931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26933 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26934 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26935 if (!SWIG_IsOK(ecode2
)) {
26936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26938 arg2
= static_cast< wxDouble
>(val2
);
26939 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26940 if (!SWIG_IsOK(ecode3
)) {
26941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26943 arg3
= static_cast< wxDouble
>(val3
);
26944 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26945 if (!SWIG_IsOK(ecode4
)) {
26946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26948 arg4
= static_cast< wxDouble
>(val4
);
26949 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26950 if (!SWIG_IsOK(ecode5
)) {
26951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26953 arg5
= static_cast< wxDouble
>(val5
);
26954 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26955 if (!SWIG_IsOK(ecode6
)) {
26956 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26958 arg6
= static_cast< wxDouble
>(val6
);
26960 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_Py_Void();
26970 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
= 0;
26972 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 PyObject
* obj2
= 0 ;
26990 PyObject
* obj3
= 0 ;
26991 PyObject
* obj4
= 0 ;
26992 char * kwnames
[] = {
26993 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26998 if (!SWIG_IsOK(res1
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27001 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27002 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27003 if (!SWIG_IsOK(ecode2
)) {
27004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27006 arg2
= static_cast< wxDouble
>(val2
);
27007 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27008 if (!SWIG_IsOK(ecode3
)) {
27009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27011 arg3
= static_cast< wxDouble
>(val3
);
27012 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27013 if (!SWIG_IsOK(ecode4
)) {
27014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27016 arg4
= static_cast< wxDouble
>(val4
);
27017 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27018 if (!SWIG_IsOK(ecode5
)) {
27019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27021 arg5
= static_cast< wxDouble
>(val5
);
27023 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 resultobj
= SWIG_Py_Void();
27033 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
= 0;
27035 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 PyObject
* obj2
= 0 ;
27056 PyObject
* obj3
= 0 ;
27057 PyObject
* obj4
= 0 ;
27058 PyObject
* obj5
= 0 ;
27059 char * kwnames
[] = {
27060 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27068 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27069 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27070 if (!SWIG_IsOK(ecode2
)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27073 arg2
= static_cast< wxDouble
>(val2
);
27074 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27075 if (!SWIG_IsOK(ecode3
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27078 arg3
= static_cast< wxDouble
>(val3
);
27079 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27080 if (!SWIG_IsOK(ecode4
)) {
27081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27083 arg4
= static_cast< wxDouble
>(val4
);
27084 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27085 if (!SWIG_IsOK(ecode5
)) {
27086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27088 arg5
= static_cast< wxDouble
>(val5
);
27089 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27090 if (!SWIG_IsOK(ecode6
)) {
27091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27093 arg6
= static_cast< wxDouble
>(val6
);
27095 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= SWIG_Py_Void();
27105 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27106 PyObject
*resultobj
= 0;
27107 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27111 PyObject
*swig_obj
[1] ;
27113 if (!args
) SWIG_fail
;
27114 swig_obj
[0] = args
;
27115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27119 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27121 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27131 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
= 0;
27133 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27134 void *arg2
= (void *) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char * kwnames
[] = {
27141 (char *) "self",(char *) "p", NULL
27144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27146 if (!SWIG_IsOK(res1
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27149 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27150 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27151 if (!SWIG_IsOK(res2
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27155 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_Py_Void();
27165 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
= 0;
27167 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27168 wxGraphicsMatrix
*arg2
= 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char * kwnames
[] = {
27176 (char *) "self",(char *) "matrix", NULL
27179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27181 if (!SWIG_IsOK(res1
)) {
27182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27184 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27186 if (!SWIG_IsOK(res2
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27192 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27194 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27197 resultobj
= SWIG_Py_Void();
27204 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27205 PyObject
*resultobj
= 0;
27206 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27207 wxRect2DDouble result
;
27210 PyObject
*swig_obj
[1] ;
27212 if (!args
) SWIG_fail
;
27213 swig_obj
[0] = args
;
27214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27215 if (!SWIG_IsOK(res1
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27218 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27220 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27230 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27231 PyObject
*resultobj
= 0;
27232 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27235 int arg4
= (int) wxODDEVEN_RULE
;
27246 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27251 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27252 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27253 if (!SWIG_IsOK(ecode2
)) {
27254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27256 arg2
= static_cast< wxDouble
>(val2
);
27257 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27258 if (!SWIG_IsOK(ecode3
)) {
27259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27261 arg3
= static_cast< wxDouble
>(val3
);
27263 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27264 if (!SWIG_IsOK(ecode4
)) {
27265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27267 arg4
= static_cast< int >(val4
);
27270 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27282 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27283 PyObject
*resultobj
= 0;
27284 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27285 wxPoint2DDouble
*arg2
= 0 ;
27286 int arg3
= (int) wxODDEVEN_RULE
;
27295 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27297 if (!SWIG_IsOK(res1
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27300 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27301 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27302 if (!SWIG_IsOK(res2
)) {
27303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27308 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27310 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27311 if (!SWIG_IsOK(ecode3
)) {
27312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27314 arg3
= static_cast< int >(val3
);
27317 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27329 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27333 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27335 if ((argc
>= 2) && (argc
<= 3)) {
27338 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27339 _v
= SWIG_CheckState(res
);
27341 if (!_v
) goto check_1
;
27345 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27346 _v
= SWIG_CheckState(res
);
27349 if (!_v
) goto check_1
;
27351 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27355 if ((argc
>= 3) && (argc
<= 4)) {
27356 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27360 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27365 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27368 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27369 return SWIG_Py_Void();
27372 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 return SWIG_Python_InitShadowInstance(args
);
27376 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27377 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27382 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27383 PyObject
*pyobj
= 0;
27385 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27390 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27391 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27396 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27397 PyObject
*pyobj
= 0;
27399 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27404 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27405 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27410 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27411 PyObject
*pyobj
= 0;
27413 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27418 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27419 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27424 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27425 PyObject
*pyobj
= 0;
27427 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27432 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27433 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27438 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27439 PyObject
*pyobj
= 0;
27441 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27446 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27447 PyObject
*resultobj
= 0;
27448 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27451 PyObject
*swig_obj
[1] ;
27453 if (!args
) SWIG_fail
;
27454 swig_obj
[0] = args
;
27455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27459 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_Py_Void();
27472 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27473 PyObject
*resultobj
= 0;
27474 wxWindowDC
*arg1
= 0 ;
27475 wxGraphicsContext
*result
= 0 ;
27479 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27481 if (!SWIG_IsOK(res1
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27487 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27489 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27499 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27500 PyObject
*resultobj
= 0;
27501 wxWindow
*arg1
= (wxWindow
*) 0 ;
27502 wxGraphicsContext
*result
= 0 ;
27506 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27513 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27523 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27527 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27532 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27533 _v
= SWIG_CheckState(res
);
27535 if (!_v
) goto check_1
;
27536 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27541 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27545 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27550 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxGraphicsContext
*result
= 0 ;
27554 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27556 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27566 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
= 0;
27568 void *arg1
= (void *) 0 ;
27569 wxGraphicsContext
*result
= 0 ;
27571 PyObject
* obj0
= 0 ;
27572 char * kwnames
[] = {
27573 (char *) "context", NULL
27576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27577 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27582 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27592 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
= 0;
27594 void *arg1
= (void *) 0 ;
27595 wxGraphicsContext
*result
= 0 ;
27597 PyObject
* obj0
= 0 ;
27598 char * kwnames
[] = {
27599 (char *) "window", NULL
27602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27603 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27604 if (!SWIG_IsOK(res1
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27608 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27618 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27619 PyObject
*resultobj
= 0;
27620 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27621 wxGraphicsPath result
;
27624 PyObject
*swig_obj
[1] ;
27626 if (!args
) SWIG_fail
;
27627 swig_obj
[0] = args
;
27628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27634 result
= (arg1
)->CreatePath();
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27644 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
= 0;
27646 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27648 wxGraphicsPen result
;
27653 PyObject
* obj0
= 0 ;
27654 PyObject
* obj1
= 0 ;
27655 char * kwnames
[] = {
27656 (char *) "self",(char *) "pen", NULL
27659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27661 if (!SWIG_IsOK(res1
)) {
27662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27664 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27666 if (!SWIG_IsOK(res2
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27672 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27674 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27684 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
= 0;
27686 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27687 wxBrush
*arg2
= 0 ;
27688 wxGraphicsBrush result
;
27693 PyObject
* obj0
= 0 ;
27694 PyObject
* obj1
= 0 ;
27695 char * kwnames
[] = {
27696 (char *) "self",(char *) "brush", NULL
27699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27704 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27706 if (!SWIG_IsOK(res2
)) {
27707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27712 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27714 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27724 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
= 0;
27726 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27731 wxColour
*arg6
= 0 ;
27732 wxColour
*arg7
= 0 ;
27733 wxGraphicsBrush result
;
27746 PyObject
* obj0
= 0 ;
27747 PyObject
* obj1
= 0 ;
27748 PyObject
* obj2
= 0 ;
27749 PyObject
* obj3
= 0 ;
27750 PyObject
* obj4
= 0 ;
27751 PyObject
* obj5
= 0 ;
27752 PyObject
* obj6
= 0 ;
27753 char * kwnames
[] = {
27754 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27762 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27763 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27764 if (!SWIG_IsOK(ecode2
)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27767 arg2
= static_cast< wxDouble
>(val2
);
27768 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27769 if (!SWIG_IsOK(ecode3
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27772 arg3
= static_cast< wxDouble
>(val3
);
27773 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27774 if (!SWIG_IsOK(ecode4
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27777 arg4
= static_cast< wxDouble
>(val4
);
27778 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27779 if (!SWIG_IsOK(ecode5
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27782 arg5
= static_cast< wxDouble
>(val5
);
27785 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27789 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27792 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27802 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
= 0;
27804 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27810 wxColour
*arg7
= 0 ;
27811 wxColour
*arg8
= 0 ;
27812 wxGraphicsBrush result
;
27827 PyObject
* obj0
= 0 ;
27828 PyObject
* obj1
= 0 ;
27829 PyObject
* obj2
= 0 ;
27830 PyObject
* obj3
= 0 ;
27831 PyObject
* obj4
= 0 ;
27832 PyObject
* obj5
= 0 ;
27833 PyObject
* obj6
= 0 ;
27834 PyObject
* obj7
= 0 ;
27835 char * kwnames
[] = {
27836 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27844 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27845 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27846 if (!SWIG_IsOK(ecode2
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27849 arg2
= static_cast< wxDouble
>(val2
);
27850 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27851 if (!SWIG_IsOK(ecode3
)) {
27852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27854 arg3
= static_cast< wxDouble
>(val3
);
27855 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27856 if (!SWIG_IsOK(ecode4
)) {
27857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27859 arg4
= static_cast< wxDouble
>(val4
);
27860 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27861 if (!SWIG_IsOK(ecode5
)) {
27862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27864 arg5
= static_cast< wxDouble
>(val5
);
27865 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27866 if (!SWIG_IsOK(ecode6
)) {
27867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27869 arg6
= static_cast< wxDouble
>(val6
);
27872 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27876 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27879 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27889 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
= 0;
27891 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27893 wxColour
const &arg3_defvalue
= *wxBLACK
;
27894 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27895 wxGraphicsFont result
;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 PyObject
* obj2
= 0 ;
27904 char * kwnames
[] = {
27905 (char *) "self",(char *) "font",(char *) "col", NULL
27908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27910 if (!SWIG_IsOK(res1
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27913 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27915 if (!SWIG_IsOK(res2
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27921 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27925 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27929 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27939 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
= 0;
27941 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27942 wxDouble arg2
= (wxDouble
) 1.0 ;
27943 wxDouble arg3
= (wxDouble
) 0.0 ;
27944 wxDouble arg4
= (wxDouble
) 0.0 ;
27945 wxDouble arg5
= (wxDouble
) 1.0 ;
27946 wxDouble arg6
= (wxDouble
) 0.0 ;
27947 wxDouble arg7
= (wxDouble
) 0.0 ;
27948 wxGraphicsMatrix result
;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 PyObject
* obj2
= 0 ;
27966 PyObject
* obj3
= 0 ;
27967 PyObject
* obj4
= 0 ;
27968 PyObject
* obj5
= 0 ;
27969 PyObject
* obj6
= 0 ;
27970 char * kwnames
[] = {
27971 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27979 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27981 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27982 if (!SWIG_IsOK(ecode2
)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27985 arg2
= static_cast< wxDouble
>(val2
);
27988 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27989 if (!SWIG_IsOK(ecode3
)) {
27990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27992 arg3
= static_cast< wxDouble
>(val3
);
27995 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27996 if (!SWIG_IsOK(ecode4
)) {
27997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27999 arg4
= static_cast< wxDouble
>(val4
);
28002 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28003 if (!SWIG_IsOK(ecode5
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28006 arg5
= static_cast< wxDouble
>(val5
);
28009 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28010 if (!SWIG_IsOK(ecode6
)) {
28011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28013 arg6
= static_cast< wxDouble
>(val6
);
28016 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28017 if (!SWIG_IsOK(ecode7
)) {
28018 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28020 arg7
= static_cast< wxDouble
>(val7
);
28023 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28033 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28034 PyObject
*resultobj
= 0;
28035 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28038 PyObject
*swig_obj
[1] ;
28040 if (!args
) SWIG_fail
;
28041 swig_obj
[0] = args
;
28042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28043 if (!SWIG_IsOK(res1
)) {
28044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28046 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28048 (arg1
)->PushState();
28049 if (PyErr_Occurred()) SWIG_fail
;
28051 resultobj
= SWIG_Py_Void();
28058 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28059 PyObject
*resultobj
= 0;
28060 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28063 PyObject
*swig_obj
[1] ;
28065 if (!args
) SWIG_fail
;
28066 swig_obj
[0] = args
;
28067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28068 if (!SWIG_IsOK(res1
)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28071 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28073 (arg1
)->PopState();
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= SWIG_Py_Void();
28083 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
= 0;
28085 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28086 wxRegion
*arg2
= 0 ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 char * kwnames
[] = {
28094 (char *) "self",(char *) "region", NULL
28097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28099 if (!SWIG_IsOK(res1
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28102 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28104 if (!SWIG_IsOK(res2
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28110 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28112 (arg1
)->Clip((wxRegion
const &)*arg2
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_Py_Void();
28122 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
= 0;
28124 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 PyObject
* obj2
= 0 ;
28142 PyObject
* obj3
= 0 ;
28143 PyObject
* obj4
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28150 if (!SWIG_IsOK(res1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28153 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28154 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28155 if (!SWIG_IsOK(ecode2
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28158 arg2
= static_cast< wxDouble
>(val2
);
28159 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28160 if (!SWIG_IsOK(ecode3
)) {
28161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28163 arg3
= static_cast< wxDouble
>(val3
);
28164 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28165 if (!SWIG_IsOK(ecode4
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28168 arg4
= static_cast< wxDouble
>(val4
);
28169 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28170 if (!SWIG_IsOK(ecode5
)) {
28171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28173 arg5
= static_cast< wxDouble
>(val5
);
28175 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= SWIG_Py_Void();
28185 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28186 PyObject
*resultobj
= 0;
28187 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28190 PyObject
*swig_obj
[1] ;
28192 if (!args
) SWIG_fail
;
28193 swig_obj
[0] = args
;
28194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28195 if (!SWIG_IsOK(res1
)) {
28196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28198 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28200 (arg1
)->ResetClip();
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= SWIG_Py_Void();
28210 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28211 PyObject
*resultobj
= 0;
28212 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28216 PyObject
*swig_obj
[1] ;
28218 if (!args
) SWIG_fail
;
28219 swig_obj
[0] = args
;
28220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28221 if (!SWIG_IsOK(res1
)) {
28222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28224 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28226 result
= (void *)(arg1
)->GetNativeContext();
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28236 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28237 PyObject
*resultobj
= 0;
28238 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28242 PyObject
*swig_obj
[1] ;
28244 if (!args
) SWIG_fail
;
28245 swig_obj
[0] = args
;
28246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28247 if (!SWIG_IsOK(res1
)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28250 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28252 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= SWIG_From_int(static_cast< int >(result
));
28262 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
= 0;
28264 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28271 PyObject
* obj0
= 0 ;
28272 PyObject
* obj1
= 0 ;
28273 char * kwnames
[] = {
28274 (char *) "self",(char *) "function", NULL
28277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28279 if (!SWIG_IsOK(res1
)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28282 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28284 if (!SWIG_IsOK(ecode2
)) {
28285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28287 arg2
= static_cast< int >(val2
);
28289 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28301 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
= 0;
28303 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 PyObject
* obj2
= 0 ;
28315 char * kwnames
[] = {
28316 (char *) "self",(char *) "dx",(char *) "dy", NULL
28319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28321 if (!SWIG_IsOK(res1
)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28324 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28325 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28326 if (!SWIG_IsOK(ecode2
)) {
28327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28329 arg2
= static_cast< wxDouble
>(val2
);
28330 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28331 if (!SWIG_IsOK(ecode3
)) {
28332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28334 arg3
= static_cast< wxDouble
>(val3
);
28336 (arg1
)->Translate(arg2
,arg3
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_Py_Void();
28346 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
= 0;
28348 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 PyObject
* obj2
= 0 ;
28360 char * kwnames
[] = {
28361 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28366 if (!SWIG_IsOK(res1
)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28369 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28370 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28371 if (!SWIG_IsOK(ecode2
)) {
28372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28374 arg2
= static_cast< wxDouble
>(val2
);
28375 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28376 if (!SWIG_IsOK(ecode3
)) {
28377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28379 arg3
= static_cast< wxDouble
>(val3
);
28381 (arg1
)->Scale(arg2
,arg3
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28384 resultobj
= SWIG_Py_Void();
28391 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
= 0;
28393 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28399 PyObject
* obj0
= 0 ;
28400 PyObject
* obj1
= 0 ;
28401 char * kwnames
[] = {
28402 (char *) "self",(char *) "angle", NULL
28405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28410 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28411 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28412 if (!SWIG_IsOK(ecode2
)) {
28413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28415 arg2
= static_cast< wxDouble
>(val2
);
28417 (arg1
)->Rotate(arg2
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= SWIG_Py_Void();
28427 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
= 0;
28429 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28430 wxGraphicsMatrix
*arg2
= 0 ;
28435 PyObject
* obj0
= 0 ;
28436 PyObject
* obj1
= 0 ;
28437 char * kwnames
[] = {
28438 (char *) "self",(char *) "matrix", NULL
28441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28443 if (!SWIG_IsOK(res1
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28446 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28448 if (!SWIG_IsOK(res2
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28454 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28456 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= SWIG_Py_Void();
28466 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
= 0;
28468 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28469 wxGraphicsMatrix
*arg2
= 0 ;
28474 PyObject
* obj0
= 0 ;
28475 PyObject
* obj1
= 0 ;
28476 char * kwnames
[] = {
28477 (char *) "self",(char *) "matrix", NULL
28480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28482 if (!SWIG_IsOK(res1
)) {
28483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28485 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28487 if (!SWIG_IsOK(res2
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28493 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28495 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_Py_Void();
28505 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 PyObject
*resultobj
= 0;
28507 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28508 wxGraphicsMatrix result
;
28511 PyObject
*swig_obj
[1] ;
28513 if (!args
) SWIG_fail
;
28514 swig_obj
[0] = args
;
28515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28516 if (!SWIG_IsOK(res1
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28519 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28521 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28531 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28532 PyObject
*resultobj
= 0;
28533 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28534 wxGraphicsPen
*arg2
= 0 ;
28540 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28545 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28546 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28547 if (!SWIG_IsOK(res2
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28553 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28555 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= SWIG_Py_Void();
28565 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28566 PyObject
*resultobj
= 0;
28567 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28574 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28579 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28580 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28581 if (!SWIG_IsOK(res2
)) {
28582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28587 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28589 (arg1
)->SetPen((wxPen
const &)*arg2
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_Py_Void();
28599 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28603 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28608 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28609 _v
= SWIG_CheckState(res
);
28611 if (!_v
) goto check_1
;
28612 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28617 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28621 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28626 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28627 PyObject
*resultobj
= 0;
28628 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28629 wxGraphicsBrush
*arg2
= 0 ;
28635 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28637 if (!SWIG_IsOK(res1
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28640 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28641 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28642 if (!SWIG_IsOK(res2
)) {
28643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28648 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28650 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_Py_Void();
28660 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28661 PyObject
*resultobj
= 0;
28662 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28663 wxBrush
*arg2
= 0 ;
28669 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28674 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28675 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28676 if (!SWIG_IsOK(res2
)) {
28677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28682 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28684 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_Py_Void();
28694 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28698 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28703 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28704 _v
= SWIG_CheckState(res
);
28706 if (!_v
) goto check_1
;
28707 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28712 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28716 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28721 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28722 PyObject
*resultobj
= 0;
28723 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28724 wxGraphicsFont
*arg2
= 0 ;
28730 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28732 if (!SWIG_IsOK(res1
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28735 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28736 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28737 if (!SWIG_IsOK(res2
)) {
28738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28743 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28745 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_Py_Void();
28755 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28756 PyObject
*resultobj
= 0;
28757 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28759 wxColour
const &arg3_defvalue
= *wxBLACK
;
28760 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28767 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28769 if (!SWIG_IsOK(res1
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28772 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28773 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28774 if (!SWIG_IsOK(res2
)) {
28775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28780 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28784 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28788 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_Py_Void();
28798 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28802 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28807 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28808 _v
= SWIG_CheckState(res
);
28810 if (!_v
) goto check_1
;
28811 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28815 if ((argc
>= 2) && (argc
<= 3)) {
28816 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28820 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28825 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
= 0;
28827 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28828 wxGraphicsPath
*arg2
= 0 ;
28833 PyObject
* obj0
= 0 ;
28834 PyObject
* obj1
= 0 ;
28835 char * kwnames
[] = {
28836 (char *) "self",(char *) "path", NULL
28839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28841 if (!SWIG_IsOK(res1
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28844 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28846 if (!SWIG_IsOK(res2
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28852 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28854 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= SWIG_Py_Void();
28864 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
= 0;
28866 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28867 wxGraphicsPath
*arg2
= 0 ;
28868 int arg3
= (int) wxODDEVEN_RULE
;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 PyObject
* obj2
= 0 ;
28878 char * kwnames
[] = {
28879 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28887 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28889 if (!SWIG_IsOK(res2
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28895 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28898 if (!SWIG_IsOK(ecode3
)) {
28899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28901 arg3
= static_cast< int >(val3
);
28904 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_Py_Void();
28914 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= 0;
28916 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28917 wxGraphicsPath
*arg2
= 0 ;
28918 int arg3
= (int) wxODDEVEN_RULE
;
28925 PyObject
* obj0
= 0 ;
28926 PyObject
* obj1
= 0 ;
28927 PyObject
* obj2
= 0 ;
28928 char * kwnames
[] = {
28929 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28934 if (!SWIG_IsOK(res1
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28937 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28939 if (!SWIG_IsOK(res2
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28945 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28948 if (!SWIG_IsOK(ecode3
)) {
28949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28951 arg3
= static_cast< int >(val3
);
28954 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_Py_Void();
28964 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
= 0;
28966 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28967 wxString
*arg2
= 0 ;
28970 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28971 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28974 bool temp2
= false ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 PyObject
* obj2
= 0 ;
28984 PyObject
* obj3
= 0 ;
28985 PyObject
* obj4
= 0 ;
28986 char * kwnames
[] = {
28987 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
28990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28992 if (!SWIG_IsOK(res1
)) {
28993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28995 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28997 arg2
= wxString_in_helper(obj1
);
28998 if (arg2
== NULL
) SWIG_fail
;
29001 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29002 if (!SWIG_IsOK(ecode3
)) {
29003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29005 arg3
= static_cast< wxDouble
>(val3
);
29006 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29007 if (!SWIG_IsOK(ecode4
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29010 arg4
= static_cast< wxDouble
>(val4
);
29012 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29013 if (!SWIG_IsOK(res5
)) {
29014 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29019 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29022 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= SWIG_Py_Void();
29040 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
= 0;
29042 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29043 wxString
*arg2
= 0 ;
29047 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29048 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29051 bool temp2
= false ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 PyObject
* obj2
= 0 ;
29063 PyObject
* obj3
= 0 ;
29064 PyObject
* obj4
= 0 ;
29065 PyObject
* obj5
= 0 ;
29066 char * kwnames
[] = {
29067 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29075 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29077 arg2
= wxString_in_helper(obj1
);
29078 if (arg2
== NULL
) SWIG_fail
;
29081 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29082 if (!SWIG_IsOK(ecode3
)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29085 arg3
= static_cast< wxDouble
>(val3
);
29086 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29087 if (!SWIG_IsOK(ecode4
)) {
29088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29090 arg4
= static_cast< wxDouble
>(val4
);
29091 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29092 if (!SWIG_IsOK(ecode5
)) {
29093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29095 arg5
= static_cast< wxDouble
>(val5
);
29097 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29098 if (!SWIG_IsOK(res6
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29104 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29107 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= SWIG_Py_Void();
29125 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
= 0;
29127 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29128 wxString
*arg2
= 0 ;
29129 wxDouble
*arg3
= (wxDouble
*) 0 ;
29130 wxDouble
*arg4
= (wxDouble
*) 0 ;
29131 wxDouble
*arg5
= (wxDouble
*) 0 ;
29132 wxDouble
*arg6
= (wxDouble
*) 0 ;
29135 bool temp2
= false ;
29137 int res3
= SWIG_TMPOBJ
;
29139 int res4
= SWIG_TMPOBJ
;
29141 int res5
= SWIG_TMPOBJ
;
29143 int res6
= SWIG_TMPOBJ
;
29144 PyObject
* obj0
= 0 ;
29145 PyObject
* obj1
= 0 ;
29146 char * kwnames
[] = {
29147 (char *) "self",(char *) "text", NULL
29154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29156 if (!SWIG_IsOK(res1
)) {
29157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29159 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29161 arg2
= wxString_in_helper(obj1
);
29162 if (arg2
== NULL
) SWIG_fail
;
29166 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_Py_Void();
29170 if (SWIG_IsTmpObj(res3
)) {
29171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29173 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29176 if (SWIG_IsTmpObj(res4
)) {
29177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29179 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29182 if (SWIG_IsTmpObj(res5
)) {
29183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29185 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29188 if (SWIG_IsTmpObj(res6
)) {
29189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29191 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29208 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
= 0;
29210 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29211 wxString
*arg2
= 0 ;
29212 PyObject
*result
= 0 ;
29215 bool temp2
= false ;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 char * kwnames
[] = {
29219 (char *) "self",(char *) "text", NULL
29222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29224 if (!SWIG_IsOK(res1
)) {
29225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29227 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29229 arg2
= wxString_in_helper(obj1
);
29230 if (arg2
== NULL
) SWIG_fail
;
29234 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= result
;
29252 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
= 0;
29254 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29255 wxString
*arg2
= 0 ;
29256 wxArrayDouble result
;
29259 bool temp2
= false ;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 char * kwnames
[] = {
29263 (char *) "self",(char *) "text", NULL
29266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29268 if (!SWIG_IsOK(res1
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29271 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29273 arg2
= wxString_in_helper(obj1
);
29274 if (arg2
== NULL
) SWIG_fail
;
29278 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= wxArrayDouble2PyList_helper(result
);
29298 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
= 0;
29300 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29301 wxBitmap
*arg2
= 0 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 PyObject
* obj2
= 0 ;
29321 PyObject
* obj3
= 0 ;
29322 PyObject
* obj4
= 0 ;
29323 PyObject
* obj5
= 0 ;
29324 char * kwnames
[] = {
29325 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29330 if (!SWIG_IsOK(res1
)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29333 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29335 if (!SWIG_IsOK(res2
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29341 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29342 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29343 if (!SWIG_IsOK(ecode3
)) {
29344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29346 arg3
= static_cast< wxDouble
>(val3
);
29347 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29348 if (!SWIG_IsOK(ecode4
)) {
29349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29351 arg4
= static_cast< wxDouble
>(val4
);
29352 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29353 if (!SWIG_IsOK(ecode5
)) {
29354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29356 arg5
= static_cast< wxDouble
>(val5
);
29357 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29358 if (!SWIG_IsOK(ecode6
)) {
29359 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29361 arg6
= static_cast< wxDouble
>(val6
);
29363 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= SWIG_Py_Void();
29373 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29374 PyObject
*resultobj
= 0;
29375 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29393 PyObject
* obj0
= 0 ;
29394 PyObject
* obj1
= 0 ;
29395 PyObject
* obj2
= 0 ;
29396 PyObject
* obj3
= 0 ;
29397 PyObject
* obj4
= 0 ;
29398 PyObject
* obj5
= 0 ;
29399 char * kwnames
[] = {
29400 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29408 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29410 if (!SWIG_IsOK(res2
)) {
29411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29416 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29417 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29418 if (!SWIG_IsOK(ecode3
)) {
29419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29421 arg3
= static_cast< wxDouble
>(val3
);
29422 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29423 if (!SWIG_IsOK(ecode4
)) {
29424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29426 arg4
= static_cast< wxDouble
>(val4
);
29427 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29428 if (!SWIG_IsOK(ecode5
)) {
29429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29431 arg5
= static_cast< wxDouble
>(val5
);
29432 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29433 if (!SWIG_IsOK(ecode6
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29436 arg6
= static_cast< wxDouble
>(val6
);
29438 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= SWIG_Py_Void();
29448 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
= 0;
29450 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29465 PyObject
* obj0
= 0 ;
29466 PyObject
* obj1
= 0 ;
29467 PyObject
* obj2
= 0 ;
29468 PyObject
* obj3
= 0 ;
29469 PyObject
* obj4
= 0 ;
29470 char * kwnames
[] = {
29471 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29476 if (!SWIG_IsOK(res1
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29479 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29480 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29481 if (!SWIG_IsOK(ecode2
)) {
29482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29484 arg2
= static_cast< wxDouble
>(val2
);
29485 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29486 if (!SWIG_IsOK(ecode3
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29489 arg3
= static_cast< wxDouble
>(val3
);
29490 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29491 if (!SWIG_IsOK(ecode4
)) {
29492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29494 arg4
= static_cast< wxDouble
>(val4
);
29495 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29496 if (!SWIG_IsOK(ecode5
)) {
29497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29499 arg5
= static_cast< wxDouble
>(val5
);
29501 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_Py_Void();
29511 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
= 0;
29513 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29515 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "points", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29529 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29531 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29532 if (arg3
== NULL
) SWIG_fail
;
29535 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= SWIG_Py_Void();
29540 if (arg3
) delete [] arg3
;
29545 if (arg3
) delete [] arg3
;
29551 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
= 0;
29553 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29554 PyObject
*arg2
= (PyObject
*) 0 ;
29555 PyObject
*arg3
= (PyObject
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 PyObject
* obj1
= 0 ;
29560 PyObject
* obj2
= 0 ;
29561 char * kwnames
[] = {
29562 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29567 if (!SWIG_IsOK(res1
)) {
29568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29570 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29574 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= SWIG_Py_Void();
29584 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29585 PyObject
*resultobj
= 0;
29586 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29588 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29589 int arg4
= (int) wxODDEVEN_RULE
;
29594 PyObject
* obj0
= 0 ;
29595 PyObject
* obj1
= 0 ;
29596 PyObject
* obj2
= 0 ;
29597 char * kwnames
[] = {
29598 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29603 if (!SWIG_IsOK(res1
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29606 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29608 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29609 if (arg3
== NULL
) SWIG_fail
;
29612 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29613 if (!SWIG_IsOK(ecode4
)) {
29614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29616 arg4
= static_cast< int >(val4
);
29619 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= SWIG_Py_Void();
29624 if (arg3
) delete [] arg3
;
29629 if (arg3
) delete [] arg3
;
29635 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
= 0;
29637 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 PyObject
* obj2
= 0 ;
29655 PyObject
* obj3
= 0 ;
29656 PyObject
* obj4
= 0 ;
29657 char * kwnames
[] = {
29658 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29666 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29667 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29668 if (!SWIG_IsOK(ecode2
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29671 arg2
= static_cast< wxDouble
>(val2
);
29672 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29673 if (!SWIG_IsOK(ecode3
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29676 arg3
= static_cast< wxDouble
>(val3
);
29677 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29678 if (!SWIG_IsOK(ecode4
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29681 arg4
= static_cast< wxDouble
>(val4
);
29682 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29683 if (!SWIG_IsOK(ecode5
)) {
29684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29686 arg5
= static_cast< wxDouble
>(val5
);
29688 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29691 resultobj
= SWIG_Py_Void();
29698 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
= 0;
29700 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 PyObject
* obj2
= 0 ;
29718 PyObject
* obj3
= 0 ;
29719 PyObject
* obj4
= 0 ;
29720 char * kwnames
[] = {
29721 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29726 if (!SWIG_IsOK(res1
)) {
29727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29729 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29730 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29731 if (!SWIG_IsOK(ecode2
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29734 arg2
= static_cast< wxDouble
>(val2
);
29735 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29736 if (!SWIG_IsOK(ecode3
)) {
29737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29739 arg3
= static_cast< wxDouble
>(val3
);
29740 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29741 if (!SWIG_IsOK(ecode4
)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29744 arg4
= static_cast< wxDouble
>(val4
);
29745 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29746 if (!SWIG_IsOK(ecode5
)) {
29747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29749 arg5
= static_cast< wxDouble
>(val5
);
29751 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= SWIG_Py_Void();
29761 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
= 0;
29763 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29781 PyObject
* obj0
= 0 ;
29782 PyObject
* obj1
= 0 ;
29783 PyObject
* obj2
= 0 ;
29784 PyObject
* obj3
= 0 ;
29785 PyObject
* obj4
= 0 ;
29786 PyObject
* obj5
= 0 ;
29787 char * kwnames
[] = {
29788 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29796 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29797 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29798 if (!SWIG_IsOK(ecode2
)) {
29799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29801 arg2
= static_cast< wxDouble
>(val2
);
29802 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29803 if (!SWIG_IsOK(ecode3
)) {
29804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29806 arg3
= static_cast< wxDouble
>(val3
);
29807 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29808 if (!SWIG_IsOK(ecode4
)) {
29809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29811 arg4
= static_cast< wxDouble
>(val4
);
29812 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29813 if (!SWIG_IsOK(ecode5
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29816 arg5
= static_cast< wxDouble
>(val5
);
29817 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29818 if (!SWIG_IsOK(ecode6
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29821 arg6
= static_cast< wxDouble
>(val6
);
29823 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_Py_Void();
29833 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29834 PyObject
*resultobj
= 0;
29835 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29839 PyObject
*swig_obj
[1] ;
29841 if (!args
) SWIG_fail
;
29842 swig_obj
[0] = args
;
29843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29844 if (!SWIG_IsOK(res1
)) {
29845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29847 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29849 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29861 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29864 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29865 return SWIG_Py_Void();
29868 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29869 PyObject
*resultobj
= 0;
29870 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29873 PyObject
*swig_obj
[1] ;
29875 if (!args
) SWIG_fail
;
29876 swig_obj
[0] = args
;
29877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29881 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 resultobj
= SWIG_Py_Void();
29894 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 PyObject
*resultobj
= 0;
29896 wxGraphicsRenderer
*result
= 0 ;
29898 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29900 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29910 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29911 PyObject
*resultobj
= 0;
29912 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29913 wxWindowDC
*arg2
= 0 ;
29914 wxGraphicsContext
*result
= 0 ;
29920 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29925 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29926 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29927 if (!SWIG_IsOK(res2
)) {
29928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29933 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29935 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29945 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29946 PyObject
*resultobj
= 0;
29947 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29948 wxWindow
*arg2
= (wxWindow
*) 0 ;
29949 wxGraphicsContext
*result
= 0 ;
29955 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29957 if (!SWIG_IsOK(res1
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29960 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29961 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29962 if (!SWIG_IsOK(res2
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29967 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29977 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29981 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29986 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29987 _v
= SWIG_CheckState(res
);
29989 if (!_v
) goto check_1
;
29990 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29995 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29999 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30004 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30005 PyObject
*resultobj
= 0;
30006 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30007 wxGraphicsContext
*result
= 0 ;
30010 PyObject
*swig_obj
[1] ;
30012 if (!args
) SWIG_fail
;
30013 swig_obj
[0] = args
;
30014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30015 if (!SWIG_IsOK(res1
)) {
30016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30018 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30020 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30030 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
= 0;
30032 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30033 void *arg2
= (void *) 0 ;
30034 wxGraphicsContext
*result
= 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char * kwnames
[] = {
30041 (char *) "self",(char *) "context", NULL
30044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30046 if (!SWIG_IsOK(res1
)) {
30047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30049 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30050 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30051 if (!SWIG_IsOK(res2
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30055 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30065 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30066 PyObject
*resultobj
= 0;
30067 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30068 void *arg2
= (void *) 0 ;
30069 wxGraphicsContext
*result
= 0 ;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 char * kwnames
[] = {
30076 (char *) "self",(char *) "window", NULL
30079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30084 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30085 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30086 if (!SWIG_IsOK(res2
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30090 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30100 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30101 PyObject
*resultobj
= 0;
30102 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30103 wxGraphicsPath result
;
30106 PyObject
*swig_obj
[1] ;
30108 if (!args
) SWIG_fail
;
30109 swig_obj
[0] = args
;
30110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30111 if (!SWIG_IsOK(res1
)) {
30112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30114 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30116 result
= (arg1
)->CreatePath();
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30126 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
= 0;
30128 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30129 wxDouble arg2
= (wxDouble
) 1.0 ;
30130 wxDouble arg3
= (wxDouble
) 0.0 ;
30131 wxDouble arg4
= (wxDouble
) 0.0 ;
30132 wxDouble arg5
= (wxDouble
) 1.0 ;
30133 wxDouble arg6
= (wxDouble
) 0.0 ;
30134 wxDouble arg7
= (wxDouble
) 0.0 ;
30135 wxGraphicsMatrix result
;
30150 PyObject
* obj0
= 0 ;
30151 PyObject
* obj1
= 0 ;
30152 PyObject
* obj2
= 0 ;
30153 PyObject
* obj3
= 0 ;
30154 PyObject
* obj4
= 0 ;
30155 PyObject
* obj5
= 0 ;
30156 PyObject
* obj6
= 0 ;
30157 char * kwnames
[] = {
30158 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30166 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30168 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30169 if (!SWIG_IsOK(ecode2
)) {
30170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30172 arg2
= static_cast< wxDouble
>(val2
);
30175 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30176 if (!SWIG_IsOK(ecode3
)) {
30177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30179 arg3
= static_cast< wxDouble
>(val3
);
30182 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30183 if (!SWIG_IsOK(ecode4
)) {
30184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30186 arg4
= static_cast< wxDouble
>(val4
);
30189 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30190 if (!SWIG_IsOK(ecode5
)) {
30191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30193 arg5
= static_cast< wxDouble
>(val5
);
30196 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30197 if (!SWIG_IsOK(ecode6
)) {
30198 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30200 arg6
= static_cast< wxDouble
>(val6
);
30203 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30204 if (!SWIG_IsOK(ecode7
)) {
30205 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30207 arg7
= static_cast< wxDouble
>(val7
);
30210 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30220 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
= 0;
30222 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30224 wxGraphicsPen result
;
30229 PyObject
* obj0
= 0 ;
30230 PyObject
* obj1
= 0 ;
30231 char * kwnames
[] = {
30232 (char *) "self",(char *) "pen", NULL
30235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30237 if (!SWIG_IsOK(res1
)) {
30238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30240 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30242 if (!SWIG_IsOK(res2
)) {
30243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30248 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30250 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30260 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
= 0;
30262 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30263 wxBrush
*arg2
= 0 ;
30264 wxGraphicsBrush result
;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 char * kwnames
[] = {
30272 (char *) "self",(char *) "brush", NULL
30275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30277 if (!SWIG_IsOK(res1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30280 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30282 if (!SWIG_IsOK(res2
)) {
30283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30288 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30290 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30300 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
= 0;
30302 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30307 wxColour
*arg6
= 0 ;
30308 wxColour
*arg7
= 0 ;
30309 wxGraphicsBrush result
;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 PyObject
* obj2
= 0 ;
30325 PyObject
* obj3
= 0 ;
30326 PyObject
* obj4
= 0 ;
30327 PyObject
* obj5
= 0 ;
30328 PyObject
* obj6
= 0 ;
30329 char * kwnames
[] = {
30330 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30338 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30339 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30340 if (!SWIG_IsOK(ecode2
)) {
30341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30343 arg2
= static_cast< wxDouble
>(val2
);
30344 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30345 if (!SWIG_IsOK(ecode3
)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30348 arg3
= static_cast< wxDouble
>(val3
);
30349 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30350 if (!SWIG_IsOK(ecode4
)) {
30351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30353 arg4
= static_cast< wxDouble
>(val4
);
30354 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30355 if (!SWIG_IsOK(ecode5
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30358 arg5
= static_cast< wxDouble
>(val5
);
30361 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30365 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30368 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30378 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
= 0;
30380 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30386 wxColour
*arg7
= 0 ;
30387 wxColour
*arg8
= 0 ;
30388 wxGraphicsBrush result
;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 PyObject
* obj2
= 0 ;
30406 PyObject
* obj3
= 0 ;
30407 PyObject
* obj4
= 0 ;
30408 PyObject
* obj5
= 0 ;
30409 PyObject
* obj6
= 0 ;
30410 PyObject
* obj7
= 0 ;
30411 char * kwnames
[] = {
30412 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30417 if (!SWIG_IsOK(res1
)) {
30418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30420 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30421 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30422 if (!SWIG_IsOK(ecode2
)) {
30423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30425 arg2
= static_cast< wxDouble
>(val2
);
30426 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30427 if (!SWIG_IsOK(ecode3
)) {
30428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30430 arg3
= static_cast< wxDouble
>(val3
);
30431 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30432 if (!SWIG_IsOK(ecode4
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30435 arg4
= static_cast< wxDouble
>(val4
);
30436 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30437 if (!SWIG_IsOK(ecode5
)) {
30438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30440 arg5
= static_cast< wxDouble
>(val5
);
30441 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30442 if (!SWIG_IsOK(ecode6
)) {
30443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30445 arg6
= static_cast< wxDouble
>(val6
);
30448 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30452 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30455 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30465 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
= 0;
30467 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30469 wxColour
const &arg3_defvalue
= *wxBLACK
;
30470 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30471 wxGraphicsFont result
;
30477 PyObject
* obj0
= 0 ;
30478 PyObject
* obj1
= 0 ;
30479 PyObject
* obj2
= 0 ;
30480 char * kwnames
[] = {
30481 (char *) "self",(char *) "font",(char *) "col", NULL
30484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30486 if (!SWIG_IsOK(res1
)) {
30487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30489 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30491 if (!SWIG_IsOK(res2
)) {
30492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30497 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30501 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30505 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30515 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30518 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30519 return SWIG_Py_Void();
30522 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30523 PyObject
*resultobj
= 0;
30524 wxWindowDC
*arg1
= 0 ;
30525 wxGCDC
*result
= 0 ;
30529 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30531 if (!SWIG_IsOK(res1
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30537 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30539 if (!wxPyCheckForApp()) SWIG_fail
;
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30552 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30553 PyObject
*resultobj
= 0;
30554 wxWindow
*arg1
= (wxWindow
*) 0 ;
30555 wxGCDC
*result
= 0 ;
30559 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30566 if (!wxPyCheckForApp()) SWIG_fail
;
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (wxGCDC
*)new wxGCDC(arg1
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30579 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30583 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30588 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30589 _v
= SWIG_CheckState(res
);
30591 if (!_v
) goto check_1
;
30592 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30597 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30601 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30606 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30607 PyObject
*resultobj
= 0;
30608 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30611 PyObject
*swig_obj
[1] ;
30613 if (!args
) SWIG_fail
;
30614 swig_obj
[0] = args
;
30615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30616 if (!SWIG_IsOK(res1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30619 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= SWIG_Py_Void();
30632 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30633 PyObject
*resultobj
= 0;
30634 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30635 wxGraphicsContext
*result
= 0 ;
30638 PyObject
*swig_obj
[1] ;
30640 if (!args
) SWIG_fail
;
30641 swig_obj
[0] = args
;
30642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30643 if (!SWIG_IsOK(res1
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30646 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30648 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30658 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30659 PyObject
*resultobj
= 0;
30660 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30661 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 char * kwnames
[] = {
30669 (char *) "self",(char *) "ctx", NULL
30672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30677 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30679 if (!SWIG_IsOK(res2
)) {
30680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30682 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30684 (arg1
)->SetGraphicsContext(arg2
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= SWIG_Py_Void();
30694 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30697 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30698 return SWIG_Py_Void();
30701 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30702 return SWIG_Python_InitShadowInstance(args
);
30705 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30706 PyObject
*resultobj
= 0;
30707 wxOverlay
*result
= 0 ;
30709 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 result
= (wxOverlay
*)new wxOverlay();
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30723 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30724 PyObject
*resultobj
= 0;
30725 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30728 PyObject
*swig_obj
[1] ;
30730 if (!args
) SWIG_fail
;
30731 swig_obj
[0] = args
;
30732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30733 if (!SWIG_IsOK(res1
)) {
30734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30736 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30744 resultobj
= SWIG_Py_Void();
30751 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30752 PyObject
*resultobj
= 0;
30753 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30756 PyObject
*swig_obj
[1] ;
30758 if (!args
) SWIG_fail
;
30759 swig_obj
[0] = args
;
30760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30761 if (!SWIG_IsOK(res1
)) {
30762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30764 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30771 resultobj
= SWIG_Py_Void();
30778 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30781 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30782 return SWIG_Py_Void();
30785 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30786 return SWIG_Python_InitShadowInstance(args
);
30789 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30790 PyObject
*resultobj
= 0;
30791 wxOverlay
*arg1
= 0 ;
30792 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30797 wxDCOverlay
*result
= 0 ;
30811 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30813 if (!SWIG_IsOK(res1
)) {
30814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30819 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30820 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30821 if (!SWIG_IsOK(res2
)) {
30822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30824 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30825 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30826 if (!SWIG_IsOK(ecode3
)) {
30827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30829 arg3
= static_cast< int >(val3
);
30830 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30831 if (!SWIG_IsOK(ecode4
)) {
30832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30834 arg4
= static_cast< int >(val4
);
30835 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30836 if (!SWIG_IsOK(ecode5
)) {
30837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30839 arg5
= static_cast< int >(val5
);
30840 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30841 if (!SWIG_IsOK(ecode6
)) {
30842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30844 arg6
= static_cast< int >(val6
);
30846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30847 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30858 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30859 PyObject
*resultobj
= 0;
30860 wxOverlay
*arg1
= 0 ;
30861 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30862 wxDCOverlay
*result
= 0 ;
30868 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30870 if (!SWIG_IsOK(res1
)) {
30871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30876 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30877 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30878 if (!SWIG_IsOK(res2
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30881 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30895 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30899 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30902 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30905 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30909 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30914 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30915 PyObject
*resultobj
= 0;
30916 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30919 PyObject
*swig_obj
[1] ;
30921 if (!args
) SWIG_fail
;
30922 swig_obj
[0] = args
;
30923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30924 if (!SWIG_IsOK(res1
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30927 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_Py_Void();
30942 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30943 PyObject
*resultobj
= 0;
30944 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30947 PyObject
*swig_obj
[1] ;
30949 if (!args
) SWIG_fail
;
30950 swig_obj
[0] = args
;
30951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30952 if (!SWIG_IsOK(res1
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30955 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= SWIG_Py_Void();
30969 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30972 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30973 return SWIG_Py_Void();
30976 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30977 return SWIG_Python_InitShadowInstance(args
);
30980 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
= 0;
30984 int arg3
= (int) true ;
30985 int arg4
= (int) 1 ;
30986 wxImageList
*result
= 0 ;
30995 PyObject
* obj0
= 0 ;
30996 PyObject
* obj1
= 0 ;
30997 PyObject
* obj2
= 0 ;
30998 PyObject
* obj3
= 0 ;
30999 char * kwnames
[] = {
31000 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31005 if (!SWIG_IsOK(ecode1
)) {
31006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31008 arg1
= static_cast< int >(val1
);
31009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31010 if (!SWIG_IsOK(ecode2
)) {
31011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31013 arg2
= static_cast< int >(val2
);
31015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31016 if (!SWIG_IsOK(ecode3
)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31019 arg3
= static_cast< int >(val3
);
31022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31023 if (!SWIG_IsOK(ecode4
)) {
31024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31026 arg4
= static_cast< int >(val4
);
31029 if (!wxPyCheckForApp()) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31042 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31043 PyObject
*resultobj
= 0;
31044 wxImageList
*arg1
= (wxImageList
*) 0 ;
31047 PyObject
*swig_obj
[1] ;
31049 if (!args
) SWIG_fail
;
31050 swig_obj
[0] = args
;
31051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31052 if (!SWIG_IsOK(res1
)) {
31053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31055 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 wxPyEndAllowThreads(__tstate
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= SWIG_Py_Void();
31070 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
= 0;
31072 wxImageList
*arg1
= (wxImageList
*) 0 ;
31073 wxBitmap
*arg2
= 0 ;
31074 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31075 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 PyObject
* obj2
= 0 ;
31086 char * kwnames
[] = {
31087 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31095 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31097 if (!SWIG_IsOK(res2
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31103 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31105 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31106 if (!SWIG_IsOK(res3
)) {
31107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31112 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31117 wxPyEndAllowThreads(__tstate
);
31118 if (PyErr_Occurred()) SWIG_fail
;
31120 resultobj
= SWIG_From_int(static_cast< int >(result
));
31127 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
= 0;
31129 wxImageList
*arg1
= (wxImageList
*) 0 ;
31130 wxBitmap
*arg2
= 0 ;
31131 wxColour
*arg3
= 0 ;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 PyObject
* obj2
= 0 ;
31141 char * kwnames
[] = {
31142 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31147 if (!SWIG_IsOK(res1
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31150 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31152 if (!SWIG_IsOK(res2
)) {
31153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31158 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31161 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= SWIG_From_int(static_cast< int >(result
));
31176 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31177 PyObject
*resultobj
= 0;
31178 wxImageList
*arg1
= (wxImageList
*) 0 ;
31185 PyObject
* obj0
= 0 ;
31186 PyObject
* obj1
= 0 ;
31187 char * kwnames
[] = {
31188 (char *) "self",(char *) "icon", NULL
31191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31196 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31198 if (!SWIG_IsOK(res2
)) {
31199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31204 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= SWIG_From_int(static_cast< int >(result
));
31218 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
= 0;
31220 wxImageList
*arg1
= (wxImageList
*) 0 ;
31222 SwigValueWrapper
<wxBitmap
> result
;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 char * kwnames
[] = {
31230 (char *) "self",(char *) "index", NULL
31233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31235 if (!SWIG_IsOK(res1
)) {
31236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31238 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31240 if (!SWIG_IsOK(ecode2
)) {
31241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31243 arg2
= static_cast< int >(val2
);
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31250 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31257 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31258 PyObject
*resultobj
= 0;
31259 wxImageList
*arg1
= (wxImageList
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 char * kwnames
[] = {
31269 (char *) "self",(char *) "index", NULL
31272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31274 if (!SWIG_IsOK(res1
)) {
31275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31277 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31279 if (!SWIG_IsOK(ecode2
)) {
31280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31282 arg2
= static_cast< int >(val2
);
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31296 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
= 0;
31298 wxImageList
*arg1
= (wxImageList
*) 0 ;
31300 wxBitmap
*arg3
= 0 ;
31301 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31302 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 PyObject
* obj2
= 0 ;
31315 PyObject
* obj3
= 0 ;
31316 char * kwnames
[] = {
31317 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31322 if (!SWIG_IsOK(res1
)) {
31323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31325 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31327 if (!SWIG_IsOK(ecode2
)) {
31328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31330 arg2
= static_cast< int >(val2
);
31331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31332 if (!SWIG_IsOK(res3
)) {
31333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31338 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31340 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31341 if (!SWIG_IsOK(res4
)) {
31342 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31347 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31351 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31352 wxPyEndAllowThreads(__tstate
);
31353 if (PyErr_Occurred()) SWIG_fail
;
31356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31364 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31365 PyObject
*resultobj
= 0;
31366 wxImageList
*arg1
= (wxImageList
*) 0 ;
31371 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31372 bool arg7
= (bool) (bool)false ;
31388 PyObject
* obj0
= 0 ;
31389 PyObject
* obj1
= 0 ;
31390 PyObject
* obj2
= 0 ;
31391 PyObject
* obj3
= 0 ;
31392 PyObject
* obj4
= 0 ;
31393 PyObject
* obj5
= 0 ;
31394 PyObject
* obj6
= 0 ;
31395 char * kwnames
[] = {
31396 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31401 if (!SWIG_IsOK(res1
)) {
31402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31404 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31406 if (!SWIG_IsOK(ecode2
)) {
31407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31409 arg2
= static_cast< int >(val2
);
31410 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31411 if (!SWIG_IsOK(res3
)) {
31412 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31417 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31419 if (!SWIG_IsOK(ecode4
)) {
31420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31422 arg4
= static_cast< int >(val4
);
31423 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31424 if (!SWIG_IsOK(ecode5
)) {
31425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31427 arg5
= static_cast< int >(val5
);
31429 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31430 if (!SWIG_IsOK(ecode6
)) {
31431 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31433 arg6
= static_cast< int >(val6
);
31436 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31437 if (!SWIG_IsOK(ecode7
)) {
31438 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31440 arg7
= static_cast< bool >(val7
);
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31457 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31458 PyObject
*resultobj
= 0;
31459 wxImageList
*arg1
= (wxImageList
*) 0 ;
31463 PyObject
*swig_obj
[1] ;
31465 if (!args
) SWIG_fail
;
31466 swig_obj
[0] = args
;
31467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31468 if (!SWIG_IsOK(res1
)) {
31469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31471 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 result
= (int)(arg1
)->GetImageCount();
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31478 resultobj
= SWIG_From_int(static_cast< int >(result
));
31485 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
= 0;
31487 wxImageList
*arg1
= (wxImageList
*) 0 ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 char * kwnames
[] = {
31497 (char *) "self",(char *) "index", NULL
31500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31502 if (!SWIG_IsOK(res1
)) {
31503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31505 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31507 if (!SWIG_IsOK(ecode2
)) {
31508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31510 arg2
= static_cast< int >(val2
);
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 result
= (bool)(arg1
)->Remove(arg2
);
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31526 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31527 PyObject
*resultobj
= 0;
31528 wxImageList
*arg1
= (wxImageList
*) 0 ;
31532 PyObject
*swig_obj
[1] ;
31534 if (!args
) SWIG_fail
;
31535 swig_obj
[0] = args
;
31536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31537 if (!SWIG_IsOK(res1
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31540 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 result
= (bool)(arg1
)->RemoveAll();
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31556 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
= 0;
31558 wxImageList
*arg1
= (wxImageList
*) 0 ;
31567 int res3
= SWIG_TMPOBJ
;
31569 int res4
= SWIG_TMPOBJ
;
31570 PyObject
* obj0
= 0 ;
31571 PyObject
* obj1
= 0 ;
31572 char * kwnames
[] = {
31573 (char *) "self",(char *) "index", NULL
31578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31580 if (!SWIG_IsOK(res1
)) {
31581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31583 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31585 if (!SWIG_IsOK(ecode2
)) {
31586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31588 arg2
= static_cast< int >(val2
);
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31592 wxPyEndAllowThreads(__tstate
);
31593 if (PyErr_Occurred()) SWIG_fail
;
31595 resultobj
= SWIG_Py_Void();
31596 if (SWIG_IsTmpObj(res3
)) {
31597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31599 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31602 if (SWIG_IsTmpObj(res4
)) {
31603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31605 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31614 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31617 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31618 return SWIG_Py_Void();
31621 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31622 return SWIG_Python_InitShadowInstance(args
);
31625 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31626 PyObject
*resultobj
= 0;
31627 wxStockGDI
*result
= 0 ;
31629 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (wxStockGDI
*)new wxStockGDI();
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31643 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31644 PyObject
*resultobj
= 0;
31645 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31648 PyObject
*swig_obj
[1] ;
31650 if (!args
) SWIG_fail
;
31651 swig_obj
[0] = args
;
31652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31653 if (!SWIG_IsOK(res1
)) {
31654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31656 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 wxPyEndAllowThreads(__tstate
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31664 resultobj
= SWIG_Py_Void();
31671 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31672 PyObject
*resultobj
= 0;
31674 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 wxStockGDI::DeleteAll();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= SWIG_Py_Void();
31688 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31689 PyObject
*resultobj
= 0;
31690 wxStockGDI
*result
= 0 ;
31692 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31697 result
= (wxStockGDI
*) &_result_ref
;
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31709 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
= 0;
31711 wxStockGDI::Item arg1
;
31712 wxBrush
*result
= 0 ;
31715 PyObject
* obj0
= 0 ;
31716 char * kwnames
[] = {
31717 (char *) "item", NULL
31720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31722 if (!SWIG_IsOK(ecode1
)) {
31723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31725 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31739 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
= 0;
31741 wxStockGDI::Item arg1
;
31742 wxColour
*result
= 0 ;
31745 PyObject
* obj0
= 0 ;
31746 char * kwnames
[] = {
31747 (char *) "item", NULL
31750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31752 if (!SWIG_IsOK(ecode1
)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31755 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31769 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
= 0;
31771 wxStockGDI::Item arg1
;
31772 wxCursor
*result
= 0 ;
31775 PyObject
* obj0
= 0 ;
31776 char * kwnames
[] = {
31777 (char *) "item", NULL
31780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31782 if (!SWIG_IsOK(ecode1
)) {
31783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31785 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31799 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
= 0;
31801 wxStockGDI::Item arg1
;
31802 wxPen
*result
= 0 ;
31805 PyObject
* obj0
= 0 ;
31806 char * kwnames
[] = {
31807 (char *) "item", NULL
31810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31812 if (!SWIG_IsOK(ecode1
)) {
31813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31815 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31819 wxPyEndAllowThreads(__tstate
);
31820 if (PyErr_Occurred()) SWIG_fail
;
31822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31829 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31830 PyObject
*resultobj
= 0;
31831 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31832 wxStockGDI::Item arg2
;
31833 wxFont
*result
= 0 ;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 char * kwnames
[] = {
31841 (char *) "self",(char *) "item", NULL
31844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31846 if (!SWIG_IsOK(res1
)) {
31847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31849 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31851 if (!SWIG_IsOK(ecode2
)) {
31852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31854 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31868 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31871 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31872 return SWIG_Py_Void();
31875 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31876 return SWIG_Python_InitShadowInstance(args
);
31879 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31880 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31885 SWIGINTERN PyObject
*NullBitmap_get(void) {
31886 PyObject
*pyobj
= 0;
31888 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31893 SWIGINTERN
int NullIcon_set(PyObject
*) {
31894 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31899 SWIGINTERN PyObject
*NullIcon_get(void) {
31900 PyObject
*pyobj
= 0;
31902 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31907 SWIGINTERN
int NullCursor_set(PyObject
*) {
31908 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31913 SWIGINTERN PyObject
*NullCursor_get(void) {
31914 PyObject
*pyobj
= 0;
31916 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31921 SWIGINTERN
int NullPen_set(PyObject
*) {
31922 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31927 SWIGINTERN PyObject
*NullPen_get(void) {
31928 PyObject
*pyobj
= 0;
31930 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31935 SWIGINTERN
int NullBrush_set(PyObject
*) {
31936 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31941 SWIGINTERN PyObject
*NullBrush_get(void) {
31942 PyObject
*pyobj
= 0;
31944 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31949 SWIGINTERN
int NullPalette_set(PyObject
*) {
31950 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31955 SWIGINTERN PyObject
*NullPalette_get(void) {
31956 PyObject
*pyobj
= 0;
31958 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31963 SWIGINTERN
int NullFont_set(PyObject
*) {
31964 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31969 SWIGINTERN PyObject
*NullFont_get(void) {
31970 PyObject
*pyobj
= 0;
31972 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31977 SWIGINTERN
int NullColour_set(PyObject
*) {
31978 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31983 SWIGINTERN PyObject
*NullColour_get(void) {
31984 PyObject
*pyobj
= 0;
31986 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31991 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31992 PyObject
*resultobj
= 0;
31993 wxGDIObjListBase
*result
= 0 ;
31995 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31998 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32009 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32010 PyObject
*resultobj
= 0;
32011 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32014 PyObject
*swig_obj
[1] ;
32016 if (!args
) SWIG_fail
;
32017 swig_obj
[0] = args
;
32018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32019 if (!SWIG_IsOK(res1
)) {
32020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32022 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32027 wxPyEndAllowThreads(__tstate
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32030 resultobj
= SWIG_Py_Void();
32037 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32040 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32041 return SWIG_Py_Void();
32044 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32045 return SWIG_Python_InitShadowInstance(args
);
32048 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
= 0;
32050 wxPenList
*arg1
= (wxPenList
*) 0 ;
32051 wxColour
*arg2
= 0 ;
32054 wxPen
*result
= 0 ;
32062 PyObject
* obj0
= 0 ;
32063 PyObject
* obj1
= 0 ;
32064 PyObject
* obj2
= 0 ;
32065 PyObject
* obj3
= 0 ;
32066 char * kwnames
[] = {
32067 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32072 if (!SWIG_IsOK(res1
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32075 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32081 if (!SWIG_IsOK(ecode3
)) {
32082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32084 arg3
= static_cast< int >(val3
);
32085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32086 if (!SWIG_IsOK(ecode4
)) {
32087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32089 arg4
= static_cast< int >(val4
);
32091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32092 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32093 wxPyEndAllowThreads(__tstate
);
32094 if (PyErr_Occurred()) SWIG_fail
;
32096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32103 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
= 0;
32105 wxPenList
*arg1
= (wxPenList
*) 0 ;
32106 wxPen
*arg2
= (wxPen
*) 0 ;
32111 PyObject
* obj0
= 0 ;
32112 PyObject
* obj1
= 0 ;
32113 char * kwnames
[] = {
32114 (char *) "self",(char *) "pen", NULL
32117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32119 if (!SWIG_IsOK(res1
)) {
32120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32122 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32124 if (!SWIG_IsOK(res2
)) {
32125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32127 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32130 (arg1
)->AddPen(arg2
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 resultobj
= SWIG_Py_Void();
32141 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32142 PyObject
*resultobj
= 0;
32143 wxPenList
*arg1
= (wxPenList
*) 0 ;
32144 wxPen
*arg2
= (wxPen
*) 0 ;
32149 PyObject
* obj0
= 0 ;
32150 PyObject
* obj1
= 0 ;
32151 char * kwnames
[] = {
32152 (char *) "self",(char *) "pen", NULL
32155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32157 if (!SWIG_IsOK(res1
)) {
32158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32160 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32162 if (!SWIG_IsOK(res2
)) {
32163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32165 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 (arg1
)->RemovePen(arg2
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= SWIG_Py_Void();
32179 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32182 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32183 return SWIG_Py_Void();
32186 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32187 PyObject
*resultobj
= 0;
32188 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32189 wxColour
*arg2
= 0 ;
32190 int arg3
= (int) wxSOLID
;
32191 wxBrush
*result
= 0 ;
32197 PyObject
* obj0
= 0 ;
32198 PyObject
* obj1
= 0 ;
32199 PyObject
* obj2
= 0 ;
32200 char * kwnames
[] = {
32201 (char *) "self",(char *) "colour",(char *) "style", NULL
32204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32206 if (!SWIG_IsOK(res1
)) {
32207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32209 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32216 if (!SWIG_IsOK(ecode3
)) {
32217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32219 arg3
= static_cast< int >(val3
);
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32224 wxPyEndAllowThreads(__tstate
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32234 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
= 0;
32236 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32237 wxBrush
*arg2
= (wxBrush
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 char * kwnames
[] = {
32245 (char *) "self",(char *) "brush", NULL
32248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32253 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32255 if (!SWIG_IsOK(res2
)) {
32256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32258 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32261 (arg1
)->AddBrush(arg2
);
32262 wxPyEndAllowThreads(__tstate
);
32263 if (PyErr_Occurred()) SWIG_fail
;
32265 resultobj
= SWIG_Py_Void();
32272 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
= 0;
32274 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32275 wxBrush
*arg2
= (wxBrush
*) 0 ;
32280 PyObject
* obj0
= 0 ;
32281 PyObject
* obj1
= 0 ;
32282 char * kwnames
[] = {
32283 (char *) "self",(char *) "brush", NULL
32286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32288 if (!SWIG_IsOK(res1
)) {
32289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32291 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32293 if (!SWIG_IsOK(res2
)) {
32294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32296 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 (arg1
)->RemoveBrush(arg2
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32303 resultobj
= SWIG_Py_Void();
32310 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32313 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32314 return SWIG_Py_Void();
32317 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
= 0;
32319 wxFontList
*arg1
= (wxFontList
*) 0 ;
32324 bool arg6
= (bool) false ;
32325 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32326 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32327 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32328 wxFont
*result
= 0 ;
32341 bool temp7
= false ;
32344 PyObject
* obj0
= 0 ;
32345 PyObject
* obj1
= 0 ;
32346 PyObject
* obj2
= 0 ;
32347 PyObject
* obj3
= 0 ;
32348 PyObject
* obj4
= 0 ;
32349 PyObject
* obj5
= 0 ;
32350 PyObject
* obj6
= 0 ;
32351 PyObject
* obj7
= 0 ;
32352 char * kwnames
[] = {
32353 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32358 if (!SWIG_IsOK(res1
)) {
32359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32361 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32363 if (!SWIG_IsOK(ecode2
)) {
32364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32366 arg2
= static_cast< int >(val2
);
32367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32368 if (!SWIG_IsOK(ecode3
)) {
32369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32371 arg3
= static_cast< int >(val3
);
32372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32373 if (!SWIG_IsOK(ecode4
)) {
32374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32376 arg4
= static_cast< int >(val4
);
32377 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32378 if (!SWIG_IsOK(ecode5
)) {
32379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32381 arg5
= static_cast< int >(val5
);
32383 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32384 if (!SWIG_IsOK(ecode6
)) {
32385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32387 arg6
= static_cast< bool >(val6
);
32391 arg7
= wxString_in_helper(obj6
);
32392 if (arg7
== NULL
) SWIG_fail
;
32397 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32398 if (!SWIG_IsOK(ecode8
)) {
32399 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32401 arg8
= static_cast< wxFontEncoding
>(val8
);
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32424 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
= 0;
32426 wxFontList
*arg1
= (wxFontList
*) 0 ;
32427 wxFont
*arg2
= (wxFont
*) 0 ;
32432 PyObject
* obj0
= 0 ;
32433 PyObject
* obj1
= 0 ;
32434 char * kwnames
[] = {
32435 (char *) "self",(char *) "font", NULL
32438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32440 if (!SWIG_IsOK(res1
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32443 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32445 if (!SWIG_IsOK(res2
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32448 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 (arg1
)->AddFont(arg2
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= SWIG_Py_Void();
32462 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
= 0;
32464 wxFontList
*arg1
= (wxFontList
*) 0 ;
32465 wxFont
*arg2
= (wxFont
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 PyObject
* obj1
= 0 ;
32472 char * kwnames
[] = {
32473 (char *) "self",(char *) "font", NULL
32476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32478 if (!SWIG_IsOK(res1
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32481 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32483 if (!SWIG_IsOK(res2
)) {
32484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32486 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 (arg1
)->RemoveFont(arg2
);
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32493 resultobj
= SWIG_Py_Void();
32500 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32503 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32504 return SWIG_Py_Void();
32507 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32508 PyObject
*resultobj
= 0;
32509 wxColourDatabase
*result
= 0 ;
32511 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32513 if (!wxPyCheckForApp()) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 result
= (wxColourDatabase
*)new wxColourDatabase();
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32526 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32527 PyObject
*resultobj
= 0;
32528 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32531 PyObject
*swig_obj
[1] ;
32533 if (!args
) SWIG_fail
;
32534 swig_obj
[0] = args
;
32535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32536 if (!SWIG_IsOK(res1
)) {
32537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32539 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= SWIG_Py_Void();
32554 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
= 0;
32556 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32557 wxString
*arg2
= 0 ;
32561 bool temp2
= false ;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 char * kwnames
[] = {
32565 (char *) "self",(char *) "name", NULL
32568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32570 if (!SWIG_IsOK(res1
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32573 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32575 arg2
= wxString_in_helper(obj1
);
32576 if (arg2
== NULL
) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32600 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32601 PyObject
*resultobj
= 0;
32602 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32603 wxColour
*arg2
= 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 char * kwnames
[] = {
32611 (char *) "self",(char *) "colour", NULL
32614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32616 if (!SWIG_IsOK(res1
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32619 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32622 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32643 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
= 0;
32645 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32646 wxString
*arg2
= 0 ;
32647 wxColour
*arg3
= 0 ;
32650 bool temp2
= false ;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 PyObject
* obj2
= 0 ;
32655 char * kwnames
[] = {
32656 (char *) "self",(char *) "name",(char *) "colour", NULL
32659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32661 if (!SWIG_IsOK(res1
)) {
32662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32664 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32666 arg2
= wxString_in_helper(obj1
);
32667 if (arg2
== NULL
) SWIG_fail
;
32672 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32677 wxPyEndAllowThreads(__tstate
);
32678 if (PyErr_Occurred()) SWIG_fail
;
32680 resultobj
= SWIG_Py_Void();
32695 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
= 0;
32697 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32698 wxString
*arg2
= 0 ;
32704 bool temp2
= false ;
32711 PyObject
* obj0
= 0 ;
32712 PyObject
* obj1
= 0 ;
32713 PyObject
* obj2
= 0 ;
32714 PyObject
* obj3
= 0 ;
32715 PyObject
* obj4
= 0 ;
32716 char * kwnames
[] = {
32717 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32722 if (!SWIG_IsOK(res1
)) {
32723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32725 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32727 arg2
= wxString_in_helper(obj1
);
32728 if (arg2
== NULL
) SWIG_fail
;
32731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32732 if (!SWIG_IsOK(ecode3
)) {
32733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32735 arg3
= static_cast< int >(val3
);
32736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32737 if (!SWIG_IsOK(ecode4
)) {
32738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32740 arg4
= static_cast< int >(val4
);
32741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32742 if (!SWIG_IsOK(ecode5
)) {
32743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32745 arg5
= static_cast< int >(val5
);
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_Py_Void();
32767 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32770 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32771 return SWIG_Py_Void();
32774 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32775 return SWIG_Python_InitShadowInstance(args
);
32778 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32779 PyObject
*resultobj
= 0;
32780 wxFontList
*result
= 0 ;
32782 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= (wxFontList
*)_wxPyInitTheFontList();
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32796 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32797 PyObject
*resultobj
= 0;
32798 wxPenList
*result
= 0 ;
32800 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 result
= (wxPenList
*)_wxPyInitThePenList();
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32814 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32815 PyObject
*resultobj
= 0;
32816 wxBrushList
*result
= 0 ;
32818 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32821 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32822 wxPyEndAllowThreads(__tstate
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32832 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32833 PyObject
*resultobj
= 0;
32834 wxColourDatabase
*result
= 0 ;
32836 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32840 wxPyEndAllowThreads(__tstate
);
32841 if (PyErr_Occurred()) SWIG_fail
;
32843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32850 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32851 PyObject
*resultobj
= 0;
32852 wxEffects
*result
= 0 ;
32854 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 result
= (wxEffects
*)new wxEffects();
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32868 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32869 PyObject
*resultobj
= 0;
32870 wxEffects
*arg1
= (wxEffects
*) 0 ;
32874 PyObject
*swig_obj
[1] ;
32876 if (!args
) SWIG_fail
;
32877 swig_obj
[0] = args
;
32878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32879 if (!SWIG_IsOK(res1
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32882 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32896 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 PyObject
*resultobj
= 0;
32898 wxEffects
*arg1
= (wxEffects
*) 0 ;
32902 PyObject
*swig_obj
[1] ;
32904 if (!args
) SWIG_fail
;
32905 swig_obj
[0] = args
;
32906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32907 if (!SWIG_IsOK(res1
)) {
32908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32910 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32924 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32925 PyObject
*resultobj
= 0;
32926 wxEffects
*arg1
= (wxEffects
*) 0 ;
32930 PyObject
*swig_obj
[1] ;
32932 if (!args
) SWIG_fail
;
32933 swig_obj
[0] = args
;
32934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32935 if (!SWIG_IsOK(res1
)) {
32936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32938 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32941 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32952 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32953 PyObject
*resultobj
= 0;
32954 wxEffects
*arg1
= (wxEffects
*) 0 ;
32958 PyObject
*swig_obj
[1] ;
32960 if (!args
) SWIG_fail
;
32961 swig_obj
[0] = args
;
32962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32963 if (!SWIG_IsOK(res1
)) {
32964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32966 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32970 wxPyEndAllowThreads(__tstate
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32973 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32980 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32981 PyObject
*resultobj
= 0;
32982 wxEffects
*arg1
= (wxEffects
*) 0 ;
32986 PyObject
*swig_obj
[1] ;
32988 if (!args
) SWIG_fail
;
32989 swig_obj
[0] = args
;
32990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32991 if (!SWIG_IsOK(res1
)) {
32992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32994 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32998 wxPyEndAllowThreads(__tstate
);
32999 if (PyErr_Occurred()) SWIG_fail
;
33001 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33008 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33009 PyObject
*resultobj
= 0;
33010 wxEffects
*arg1
= (wxEffects
*) 0 ;
33011 wxColour
*arg2
= 0 ;
33015 PyObject
* obj0
= 0 ;
33016 PyObject
* obj1
= 0 ;
33017 char * kwnames
[] = {
33018 (char *) "self",(char *) "c", NULL
33021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33023 if (!SWIG_IsOK(res1
)) {
33024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33026 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_Py_Void();
33044 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33045 PyObject
*resultobj
= 0;
33046 wxEffects
*arg1
= (wxEffects
*) 0 ;
33047 wxColour
*arg2
= 0 ;
33051 PyObject
* obj0
= 0 ;
33052 PyObject
* obj1
= 0 ;
33053 char * kwnames
[] = {
33054 (char *) "self",(char *) "c", NULL
33057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33059 if (!SWIG_IsOK(res1
)) {
33060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33062 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33065 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33070 wxPyEndAllowThreads(__tstate
);
33071 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= SWIG_Py_Void();
33080 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
= 0;
33082 wxEffects
*arg1
= (wxEffects
*) 0 ;
33083 wxColour
*arg2
= 0 ;
33087 PyObject
* obj0
= 0 ;
33088 PyObject
* obj1
= 0 ;
33089 char * kwnames
[] = {
33090 (char *) "self",(char *) "c", NULL
33093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33095 if (!SWIG_IsOK(res1
)) {
33096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33098 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33101 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 resultobj
= SWIG_Py_Void();
33116 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
= 0;
33118 wxEffects
*arg1
= (wxEffects
*) 0 ;
33119 wxColour
*arg2
= 0 ;
33123 PyObject
* obj0
= 0 ;
33124 PyObject
* obj1
= 0 ;
33125 char * kwnames
[] = {
33126 (char *) "self",(char *) "c", NULL
33129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33131 if (!SWIG_IsOK(res1
)) {
33132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33134 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33137 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33141 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= SWIG_Py_Void();
33152 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33153 PyObject
*resultobj
= 0;
33154 wxEffects
*arg1
= (wxEffects
*) 0 ;
33155 wxColour
*arg2
= 0 ;
33159 PyObject
* obj0
= 0 ;
33160 PyObject
* obj1
= 0 ;
33161 char * kwnames
[] = {
33162 (char *) "self",(char *) "c", NULL
33165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33167 if (!SWIG_IsOK(res1
)) {
33168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33170 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33173 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33177 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33178 wxPyEndAllowThreads(__tstate
);
33179 if (PyErr_Occurred()) SWIG_fail
;
33181 resultobj
= SWIG_Py_Void();
33188 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33189 PyObject
*resultobj
= 0;
33190 wxEffects
*arg1
= (wxEffects
*) 0 ;
33191 wxColour
*arg2
= 0 ;
33192 wxColour
*arg3
= 0 ;
33193 wxColour
*arg4
= 0 ;
33194 wxColour
*arg5
= 0 ;
33195 wxColour
*arg6
= 0 ;
33203 PyObject
* obj0
= 0 ;
33204 PyObject
* obj1
= 0 ;
33205 PyObject
* obj2
= 0 ;
33206 PyObject
* obj3
= 0 ;
33207 PyObject
* obj4
= 0 ;
33208 PyObject
* obj5
= 0 ;
33209 char * kwnames
[] = {
33210 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33215 if (!SWIG_IsOK(res1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33218 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33225 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33229 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33233 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33237 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33242 wxPyEndAllowThreads(__tstate
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33245 resultobj
= SWIG_Py_Void();
33252 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33253 PyObject
*resultobj
= 0;
33254 wxEffects
*arg1
= (wxEffects
*) 0 ;
33257 int arg4
= (int) 1 ;
33265 PyObject
* obj0
= 0 ;
33266 PyObject
* obj1
= 0 ;
33267 PyObject
* obj2
= 0 ;
33268 PyObject
* obj3
= 0 ;
33269 char * kwnames
[] = {
33270 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33275 if (!SWIG_IsOK(res1
)) {
33276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33278 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33280 if (!SWIG_IsOK(res2
)) {
33281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33286 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33289 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33293 if (!SWIG_IsOK(ecode4
)) {
33294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33296 arg4
= static_cast< int >(val4
);
33299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33300 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= SWIG_Py_Void();
33311 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33312 PyObject
*resultobj
= 0;
33313 wxEffects
*arg1
= (wxEffects
*) 0 ;
33316 wxBitmap
*arg4
= 0 ;
33325 PyObject
* obj0
= 0 ;
33326 PyObject
* obj1
= 0 ;
33327 PyObject
* obj2
= 0 ;
33328 PyObject
* obj3
= 0 ;
33329 char * kwnames
[] = {
33330 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33335 if (!SWIG_IsOK(res1
)) {
33336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33338 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33343 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33344 if (!SWIG_IsOK(res3
)) {
33345 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33350 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33351 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33352 if (!SWIG_IsOK(res4
)) {
33353 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33358 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33374 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33377 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33378 return SWIG_Py_Void();
33381 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33382 return SWIG_Python_InitShadowInstance(args
);
33385 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33386 PyObject
*resultobj
= 0;
33390 wxSplitterRenderParams
*result
= 0 ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 PyObject
* obj2
= 0 ;
33400 char * kwnames
[] = {
33401 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33406 if (!SWIG_IsOK(ecode1
)) {
33407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33409 arg1
= static_cast< int >(val1
);
33410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33411 if (!SWIG_IsOK(ecode2
)) {
33412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33414 arg2
= static_cast< int >(val2
);
33415 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33416 if (!SWIG_IsOK(ecode3
)) {
33417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33419 arg3
= static_cast< bool >(val3
);
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33433 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33434 PyObject
*resultobj
= 0;
33435 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33438 PyObject
*swig_obj
[1] ;
33440 if (!args
) SWIG_fail
;
33441 swig_obj
[0] = args
;
33442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33443 if (!SWIG_IsOK(res1
)) {
33444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33446 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= SWIG_Py_Void();
33461 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33462 PyObject
*resultobj
= 0;
33463 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33467 PyObject
*swig_obj
[1] ;
33469 if (!args
) SWIG_fail
;
33470 swig_obj
[0] = args
;
33471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33472 if (!SWIG_IsOK(res1
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33475 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33476 result
= (int)(int) ((arg1
)->widthSash
);
33477 resultobj
= SWIG_From_int(static_cast< int >(result
));
33484 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33485 PyObject
*resultobj
= 0;
33486 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33490 PyObject
*swig_obj
[1] ;
33492 if (!args
) SWIG_fail
;
33493 swig_obj
[0] = args
;
33494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33498 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33499 result
= (int)(int) ((arg1
)->border
);
33500 resultobj
= SWIG_From_int(static_cast< int >(result
));
33507 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33508 PyObject
*resultobj
= 0;
33509 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33513 PyObject
*swig_obj
[1] ;
33515 if (!args
) SWIG_fail
;
33516 swig_obj
[0] = args
;
33517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33518 if (!SWIG_IsOK(res1
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33521 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33522 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33523 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33530 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33533 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33534 return SWIG_Py_Void();
33537 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33538 return SWIG_Python_InitShadowInstance(args
);
33541 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33542 PyObject
*resultobj
= 0;
33543 wxHeaderButtonParams
*result
= 0 ;
33545 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33549 wxPyEndAllowThreads(__tstate
);
33550 if (PyErr_Occurred()) SWIG_fail
;
33552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33559 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33560 PyObject
*resultobj
= 0;
33561 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33564 PyObject
*swig_obj
[1] ;
33566 if (!args
) SWIG_fail
;
33567 swig_obj
[0] = args
;
33568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33569 if (!SWIG_IsOK(res1
)) {
33570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33572 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 resultobj
= SWIG_Py_Void();
33587 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33588 PyObject
*resultobj
= 0;
33589 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33590 wxColour
*arg2
= (wxColour
*) 0 ;
33594 PyObject
*swig_obj
[2] ;
33596 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33598 if (!SWIG_IsOK(res1
)) {
33599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33601 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33604 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33606 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33608 resultobj
= SWIG_Py_Void();
33615 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33616 PyObject
*resultobj
= 0;
33617 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33618 wxColour
*result
= 0 ;
33621 PyObject
*swig_obj
[1] ;
33623 if (!args
) SWIG_fail
;
33624 swig_obj
[0] = args
;
33625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33626 if (!SWIG_IsOK(res1
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33629 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33630 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33638 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33639 PyObject
*resultobj
= 0;
33640 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33641 wxColour
*arg2
= (wxColour
*) 0 ;
33645 PyObject
*swig_obj
[2] ;
33647 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33649 if (!SWIG_IsOK(res1
)) {
33650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33652 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33655 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33657 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33659 resultobj
= SWIG_Py_Void();
33666 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33667 PyObject
*resultobj
= 0;
33668 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33669 wxColour
*result
= 0 ;
33672 PyObject
*swig_obj
[1] ;
33674 if (!args
) SWIG_fail
;
33675 swig_obj
[0] = args
;
33676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33677 if (!SWIG_IsOK(res1
)) {
33678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33680 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33681 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33689 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33690 PyObject
*resultobj
= 0;
33691 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33692 wxString
*arg2
= (wxString
*) 0 ;
33695 bool temp2
= false ;
33696 PyObject
*swig_obj
[2] ;
33698 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33703 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33705 arg2
= wxString_in_helper(swig_obj
[1]);
33706 if (arg2
== NULL
) SWIG_fail
;
33709 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33711 resultobj
= SWIG_Py_Void();
33726 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33727 PyObject
*resultobj
= 0;
33728 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33729 wxString
*result
= 0 ;
33732 PyObject
*swig_obj
[1] ;
33734 if (!args
) SWIG_fail
;
33735 swig_obj
[0] = args
;
33736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33737 if (!SWIG_IsOK(res1
)) {
33738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33740 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33741 result
= (wxString
*)& ((arg1
)->m_labelText
);
33744 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33746 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33755 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33756 PyObject
*resultobj
= 0;
33757 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33758 wxFont
*arg2
= (wxFont
*) 0 ;
33763 PyObject
*swig_obj
[2] ;
33765 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33767 if (!SWIG_IsOK(res1
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33770 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33771 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33772 if (!SWIG_IsOK(res2
)) {
33773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33775 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33776 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33778 resultobj
= SWIG_Py_Void();
33785 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33786 PyObject
*resultobj
= 0;
33787 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33788 wxFont
*result
= 0 ;
33791 PyObject
*swig_obj
[1] ;
33793 if (!args
) SWIG_fail
;
33794 swig_obj
[0] = args
;
33795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33796 if (!SWIG_IsOK(res1
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33799 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33800 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33808 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33809 PyObject
*resultobj
= 0;
33810 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33811 wxColour
*arg2
= (wxColour
*) 0 ;
33815 PyObject
*swig_obj
[2] ;
33817 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33822 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33825 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33827 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33829 resultobj
= SWIG_Py_Void();
33836 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33837 PyObject
*resultobj
= 0;
33838 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33839 wxColour
*result
= 0 ;
33842 PyObject
*swig_obj
[1] ;
33844 if (!args
) SWIG_fail
;
33845 swig_obj
[0] = args
;
33846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33847 if (!SWIG_IsOK(res1
)) {
33848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33850 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33851 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33859 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33860 PyObject
*resultobj
= 0;
33861 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33862 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33867 PyObject
*swig_obj
[2] ;
33869 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33871 if (!SWIG_IsOK(res1
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33874 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33875 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33876 if (!SWIG_IsOK(res2
)) {
33877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33879 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33880 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33882 resultobj
= SWIG_Py_Void();
33889 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33890 PyObject
*resultobj
= 0;
33891 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33892 wxBitmap
*result
= 0 ;
33895 PyObject
*swig_obj
[1] ;
33897 if (!args
) SWIG_fail
;
33898 swig_obj
[0] = args
;
33899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33900 if (!SWIG_IsOK(res1
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33903 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33904 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33912 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33913 PyObject
*resultobj
= 0;
33914 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33920 PyObject
*swig_obj
[2] ;
33922 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33927 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33928 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33929 if (!SWIG_IsOK(ecode2
)) {
33930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33932 arg2
= static_cast< int >(val2
);
33933 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33935 resultobj
= SWIG_Py_Void();
33942 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33943 PyObject
*resultobj
= 0;
33944 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33948 PyObject
*swig_obj
[1] ;
33950 if (!args
) SWIG_fail
;
33951 swig_obj
[0] = args
;
33952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33953 if (!SWIG_IsOK(res1
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33956 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33957 result
= (int) ((arg1
)->m_labelAlignment
);
33958 resultobj
= SWIG_From_int(static_cast< int >(result
));
33965 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33968 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33969 return SWIG_Py_Void();
33972 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33973 return SWIG_Python_InitShadowInstance(args
);
33976 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
= 0;
33980 wxRendererVersion
*result
= 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "version_",(char *) "age_", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33993 if (!SWIG_IsOK(ecode1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33996 arg1
= static_cast< int >(val1
);
33997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33998 if (!SWIG_IsOK(ecode2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34001 arg2
= static_cast< int >(val2
);
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34015 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34016 PyObject
*resultobj
= 0;
34017 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34020 PyObject
*swig_obj
[1] ;
34022 if (!args
) SWIG_fail
;
34023 swig_obj
[0] = args
;
34024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34025 if (!SWIG_IsOK(res1
)) {
34026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34028 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 wxPyEndAllowThreads(__tstate
);
34034 if (PyErr_Occurred()) SWIG_fail
;
34036 resultobj
= SWIG_Py_Void();
34043 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34044 PyObject
*resultobj
= 0;
34045 wxRendererVersion
*arg1
= 0 ;
34049 PyObject
* obj0
= 0 ;
34050 char * kwnames
[] = {
34051 (char *) "ver", NULL
34054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34055 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34056 if (!SWIG_IsOK(res1
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34062 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34066 wxPyEndAllowThreads(__tstate
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34078 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34079 PyObject
*resultobj
= 0;
34080 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34084 PyObject
*swig_obj
[1] ;
34086 if (!args
) SWIG_fail
;
34087 swig_obj
[0] = args
;
34088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34089 if (!SWIG_IsOK(res1
)) {
34090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34092 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34093 result
= (int)(int) ((arg1
)->version
);
34094 resultobj
= SWIG_From_int(static_cast< int >(result
));
34101 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34102 PyObject
*resultobj
= 0;
34103 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34107 PyObject
*swig_obj
[1] ;
34109 if (!args
) SWIG_fail
;
34110 swig_obj
[0] = args
;
34111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34112 if (!SWIG_IsOK(res1
)) {
34113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34115 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34116 result
= (int)(int) ((arg1
)->age
);
34117 resultobj
= SWIG_From_int(static_cast< int >(result
));
34124 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34127 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34128 return SWIG_Py_Void();
34131 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34132 return SWIG_Python_InitShadowInstance(args
);
34135 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34136 PyObject
*resultobj
= 0;
34137 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34138 wxWindow
*arg2
= (wxWindow
*) 0 ;
34141 int arg5
= (int) 0 ;
34142 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34143 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34158 PyObject
* obj0
= 0 ;
34159 PyObject
* obj1
= 0 ;
34160 PyObject
* obj2
= 0 ;
34161 PyObject
* obj3
= 0 ;
34162 PyObject
* obj4
= 0 ;
34163 PyObject
* obj5
= 0 ;
34164 PyObject
* obj6
= 0 ;
34165 char * kwnames
[] = {
34166 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34171 if (!SWIG_IsOK(res1
)) {
34172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34174 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34176 if (!SWIG_IsOK(res2
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34180 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34181 if (!SWIG_IsOK(res3
)) {
34182 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34187 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34190 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34193 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34194 if (!SWIG_IsOK(ecode5
)) {
34195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34197 arg5
= static_cast< int >(val5
);
34200 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34201 if (!SWIG_IsOK(ecode6
)) {
34202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34204 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34207 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34208 if (!SWIG_IsOK(res7
)) {
34209 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34211 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_From_int(static_cast< int >(result
));
34226 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
= 0;
34228 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34229 wxWindow
*arg2
= (wxWindow
*) 0 ;
34232 int arg5
= (int) 0 ;
34233 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34234 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34249 PyObject
* obj0
= 0 ;
34250 PyObject
* obj1
= 0 ;
34251 PyObject
* obj2
= 0 ;
34252 PyObject
* obj3
= 0 ;
34253 PyObject
* obj4
= 0 ;
34254 PyObject
* obj5
= 0 ;
34255 PyObject
* obj6
= 0 ;
34256 char * kwnames
[] = {
34257 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34262 if (!SWIG_IsOK(res1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34265 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34267 if (!SWIG_IsOK(res2
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34270 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34271 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34272 if (!SWIG_IsOK(res3
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34278 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34281 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34285 if (!SWIG_IsOK(ecode5
)) {
34286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34288 arg5
= static_cast< int >(val5
);
34291 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34292 if (!SWIG_IsOK(ecode6
)) {
34293 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34295 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34298 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34299 if (!SWIG_IsOK(res7
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34302 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34306 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34307 wxPyEndAllowThreads(__tstate
);
34308 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= SWIG_From_int(static_cast< int >(result
));
34317 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
= 0;
34319 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34320 wxWindow
*arg2
= (wxWindow
*) 0 ;
34326 PyObject
* obj0
= 0 ;
34327 PyObject
* obj1
= 0 ;
34328 char * kwnames
[] = {
34329 (char *) "self",(char *) "win", NULL
34332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34334 if (!SWIG_IsOK(res1
)) {
34335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34337 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34339 if (!SWIG_IsOK(res2
)) {
34340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34342 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34346 wxPyEndAllowThreads(__tstate
);
34347 if (PyErr_Occurred()) SWIG_fail
;
34349 resultobj
= SWIG_From_int(static_cast< int >(result
));
34356 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
= 0;
34358 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34359 wxWindow
*arg2
= (wxWindow
*) 0 ;
34362 int arg5
= (int) 0 ;
34372 PyObject
* obj0
= 0 ;
34373 PyObject
* obj1
= 0 ;
34374 PyObject
* obj2
= 0 ;
34375 PyObject
* obj3
= 0 ;
34376 PyObject
* obj4
= 0 ;
34377 char * kwnames
[] = {
34378 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34383 if (!SWIG_IsOK(res1
)) {
34384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34386 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34388 if (!SWIG_IsOK(res2
)) {
34389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34392 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34393 if (!SWIG_IsOK(res3
)) {
34394 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34399 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34402 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34405 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34406 if (!SWIG_IsOK(ecode5
)) {
34407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34409 arg5
= static_cast< int >(val5
);
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34413 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34414 wxPyEndAllowThreads(__tstate
);
34415 if (PyErr_Occurred()) SWIG_fail
;
34417 resultobj
= SWIG_Py_Void();
34424 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34425 PyObject
*resultobj
= 0;
34426 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34427 wxWindow
*arg2
= (wxWindow
*) 0 ;
34430 int arg5
= (int) 0 ;
34440 PyObject
* obj0
= 0 ;
34441 PyObject
* obj1
= 0 ;
34442 PyObject
* obj2
= 0 ;
34443 PyObject
* obj3
= 0 ;
34444 PyObject
* obj4
= 0 ;
34445 char * kwnames
[] = {
34446 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34451 if (!SWIG_IsOK(res1
)) {
34452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34454 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34456 if (!SWIG_IsOK(res2
)) {
34457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34460 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34461 if (!SWIG_IsOK(res3
)) {
34462 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34467 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34470 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34474 if (!SWIG_IsOK(ecode5
)) {
34475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34477 arg5
= static_cast< int >(val5
);
34480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34481 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34485 resultobj
= SWIG_Py_Void();
34492 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34493 PyObject
*resultobj
= 0;
34494 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34495 wxWindow
*arg2
= (wxWindow
*) 0 ;
34499 wxOrientation arg6
;
34500 int arg7
= (int) 0 ;
34514 PyObject
* obj0
= 0 ;
34515 PyObject
* obj1
= 0 ;
34516 PyObject
* obj2
= 0 ;
34517 PyObject
* obj3
= 0 ;
34518 PyObject
* obj4
= 0 ;
34519 PyObject
* obj5
= 0 ;
34520 PyObject
* obj6
= 0 ;
34521 char * kwnames
[] = {
34522 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34527 if (!SWIG_IsOK(res1
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34530 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34532 if (!SWIG_IsOK(res2
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34536 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34537 if (!SWIG_IsOK(res3
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34543 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34549 if (!SWIG_IsOK(ecode5
)) {
34550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34552 arg5
= static_cast< int >(val5
);
34553 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34554 if (!SWIG_IsOK(ecode6
)) {
34555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34557 arg6
= static_cast< wxOrientation
>(val6
);
34559 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34560 if (!SWIG_IsOK(ecode7
)) {
34561 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34563 arg7
= static_cast< int >(val7
);
34566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34567 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34568 wxPyEndAllowThreads(__tstate
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= SWIG_Py_Void();
34578 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
= 0;
34580 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34581 wxWindow
*arg2
= (wxWindow
*) 0 ;
34584 int arg5
= (int) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 PyObject
* obj1
= 0 ;
34596 PyObject
* obj2
= 0 ;
34597 PyObject
* obj3
= 0 ;
34598 PyObject
* obj4
= 0 ;
34599 char * kwnames
[] = {
34600 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34605 if (!SWIG_IsOK(res1
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34608 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34610 if (!SWIG_IsOK(res2
)) {
34611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34613 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34614 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34615 if (!SWIG_IsOK(res3
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34621 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34624 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34628 if (!SWIG_IsOK(ecode5
)) {
34629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34631 arg5
= static_cast< int >(val5
);
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= SWIG_Py_Void();
34646 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
= 0;
34648 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34649 wxWindow
*arg2
= (wxWindow
*) 0 ;
34652 int arg5
= (int) 0 ;
34662 PyObject
* obj0
= 0 ;
34663 PyObject
* obj1
= 0 ;
34664 PyObject
* obj2
= 0 ;
34665 PyObject
* obj3
= 0 ;
34666 PyObject
* obj4
= 0 ;
34667 char * kwnames
[] = {
34668 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34673 if (!SWIG_IsOK(res1
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34676 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34678 if (!SWIG_IsOK(res2
)) {
34679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34681 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34682 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34683 if (!SWIG_IsOK(res3
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34689 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34692 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34696 if (!SWIG_IsOK(ecode5
)) {
34697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34699 arg5
= static_cast< int >(val5
);
34702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34704 wxPyEndAllowThreads(__tstate
);
34705 if (PyErr_Occurred()) SWIG_fail
;
34707 resultobj
= SWIG_Py_Void();
34714 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34715 PyObject
*resultobj
= 0;
34716 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34717 wxWindow
*arg2
= (wxWindow
*) 0 ;
34720 int arg5
= (int) 0 ;
34730 PyObject
* obj0
= 0 ;
34731 PyObject
* obj1
= 0 ;
34732 PyObject
* obj2
= 0 ;
34733 PyObject
* obj3
= 0 ;
34734 PyObject
* obj4
= 0 ;
34735 char * kwnames
[] = {
34736 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34741 if (!SWIG_IsOK(res1
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34744 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34746 if (!SWIG_IsOK(res2
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34749 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34750 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34751 if (!SWIG_IsOK(res3
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34757 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34760 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34763 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34764 if (!SWIG_IsOK(ecode5
)) {
34765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34767 arg5
= static_cast< int >(val5
);
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 resultobj
= SWIG_Py_Void();
34782 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
= 0;
34784 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34785 wxWindow
*arg2
= (wxWindow
*) 0 ;
34788 int arg5
= (int) 0 ;
34798 PyObject
* obj0
= 0 ;
34799 PyObject
* obj1
= 0 ;
34800 PyObject
* obj2
= 0 ;
34801 PyObject
* obj3
= 0 ;
34802 PyObject
* obj4
= 0 ;
34803 char * kwnames
[] = {
34804 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34809 if (!SWIG_IsOK(res1
)) {
34810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34812 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34814 if (!SWIG_IsOK(res2
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34818 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34819 if (!SWIG_IsOK(res3
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34825 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34828 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34832 if (!SWIG_IsOK(ecode5
)) {
34833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34835 arg5
= static_cast< int >(val5
);
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34843 resultobj
= SWIG_Py_Void();
34850 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
= 0;
34852 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34853 wxWindow
*arg2
= (wxWindow
*) 0 ;
34856 int arg5
= (int) 0 ;
34866 PyObject
* obj0
= 0 ;
34867 PyObject
* obj1
= 0 ;
34868 PyObject
* obj2
= 0 ;
34869 PyObject
* obj3
= 0 ;
34870 PyObject
* obj4
= 0 ;
34871 char * kwnames
[] = {
34872 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34877 if (!SWIG_IsOK(res1
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34880 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34882 if (!SWIG_IsOK(res2
)) {
34883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34885 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34886 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34887 if (!SWIG_IsOK(res3
)) {
34888 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34893 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34896 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34900 if (!SWIG_IsOK(ecode5
)) {
34901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34903 arg5
= static_cast< int >(val5
);
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_Py_Void();
34918 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34921 wxWindow
*arg2
= (wxWindow
*) 0 ;
34922 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34927 PyObject
* obj0
= 0 ;
34928 PyObject
* obj1
= 0 ;
34929 char * kwnames
[] = {
34930 (char *) "self",(char *) "win", NULL
34933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34935 if (!SWIG_IsOK(res1
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34938 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34940 if (!SWIG_IsOK(res2
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34946 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34947 wxPyEndAllowThreads(__tstate
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34950 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34957 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34958 PyObject
*resultobj
= 0;
34959 wxRendererNative
*result
= 0 ;
34961 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34963 if (!wxPyCheckForApp()) SWIG_fail
;
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34966 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34967 result
= (wxRendererNative
*) &_result_ref
;
34969 wxPyEndAllowThreads(__tstate
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34979 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34980 PyObject
*resultobj
= 0;
34981 wxRendererNative
*result
= 0 ;
34983 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34985 if (!wxPyCheckForApp()) SWIG_fail
;
34986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34988 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34989 result
= (wxRendererNative
*) &_result_ref
;
34991 wxPyEndAllowThreads(__tstate
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35001 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35002 PyObject
*resultobj
= 0;
35003 wxRendererNative
*result
= 0 ;
35005 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35007 if (!wxPyCheckForApp()) SWIG_fail
;
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35010 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35011 result
= (wxRendererNative
*) &_result_ref
;
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35023 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
= 0;
35025 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35026 wxRendererNative
*result
= 0 ;
35029 PyObject
* obj0
= 0 ;
35030 char * kwnames
[] = {
35031 (char *) "renderer", NULL
35034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35036 if (!SWIG_IsOK(res1
)) {
35037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35039 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35041 if (!wxPyCheckForApp()) SWIG_fail
;
35042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35054 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35055 PyObject
*resultobj
= 0;
35056 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35057 SwigValueWrapper
<wxRendererVersion
> result
;
35060 PyObject
*swig_obj
[1] ;
35062 if (!args
) SWIG_fail
;
35063 swig_obj
[0] = args
;
35064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35065 if (!SWIG_IsOK(res1
)) {
35066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35068 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35072 wxPyEndAllowThreads(__tstate
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35075 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35082 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35085 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35086 return SWIG_Py_Void();
35089 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35090 PyObject
*resultobj
= 0;
35091 wxPseudoDC
*result
= 0 ;
35093 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 result
= (wxPseudoDC
*)new wxPseudoDC();
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35107 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35108 PyObject
*resultobj
= 0;
35109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35112 PyObject
*swig_obj
[1] ;
35114 if (!args
) SWIG_fail
;
35115 swig_obj
[0] = args
;
35116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35117 if (!SWIG_IsOK(res1
)) {
35118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35120 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 (arg1
)->BeginDrawing();
35124 wxPyEndAllowThreads(__tstate
);
35125 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= SWIG_Py_Void();
35134 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35135 PyObject
*resultobj
= 0;
35136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35139 PyObject
*swig_obj
[1] ;
35141 if (!args
) SWIG_fail
;
35142 swig_obj
[0] = args
;
35143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35144 if (!SWIG_IsOK(res1
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35147 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35150 (arg1
)->EndDrawing();
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_Py_Void();
35161 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35162 PyObject
*resultobj
= 0;
35163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35166 PyObject
*swig_obj
[1] ;
35168 if (!args
) SWIG_fail
;
35169 swig_obj
[0] = args
;
35170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35171 if (!SWIG_IsOK(res1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 wxPyEndAllowThreads(__tstate
);
35180 if (PyErr_Occurred()) SWIG_fail
;
35182 resultobj
= SWIG_Py_Void();
35189 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35190 PyObject
*resultobj
= 0;
35191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35194 PyObject
*swig_obj
[1] ;
35196 if (!args
) SWIG_fail
;
35197 swig_obj
[0] = args
;
35198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35202 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35205 (arg1
)->RemoveAll();
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35209 resultobj
= SWIG_Py_Void();
35216 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35217 PyObject
*resultobj
= 0;
35218 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35222 PyObject
*swig_obj
[1] ;
35224 if (!args
) SWIG_fail
;
35225 swig_obj
[0] = args
;
35226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35227 if (!SWIG_IsOK(res1
)) {
35228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35230 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 result
= (int)(arg1
)->GetLen();
35234 wxPyEndAllowThreads(__tstate
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35237 resultobj
= SWIG_From_int(static_cast< int >(result
));
35244 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35245 PyObject
*resultobj
= 0;
35246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35252 PyObject
* obj0
= 0 ;
35253 PyObject
* obj1
= 0 ;
35254 char * kwnames
[] = {
35255 (char *) "self",(char *) "id", NULL
35258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35260 if (!SWIG_IsOK(res1
)) {
35261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35265 if (!SWIG_IsOK(ecode2
)) {
35266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35268 arg2
= static_cast< int >(val2
);
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 (arg1
)->SetId(arg2
);
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 resultobj
= SWIG_Py_Void();
35282 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
= 0;
35284 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35290 PyObject
* obj0
= 0 ;
35291 PyObject
* obj1
= 0 ;
35292 char * kwnames
[] = {
35293 (char *) "self",(char *) "id", NULL
35296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35298 if (!SWIG_IsOK(res1
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35303 if (!SWIG_IsOK(ecode2
)) {
35304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35306 arg2
= static_cast< int >(val2
);
35308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35309 (arg1
)->ClearId(arg2
);
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 resultobj
= SWIG_Py_Void();
35320 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35321 PyObject
*resultobj
= 0;
35322 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35328 PyObject
* obj0
= 0 ;
35329 PyObject
* obj1
= 0 ;
35330 char * kwnames
[] = {
35331 (char *) "self",(char *) "id", NULL
35334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35336 if (!SWIG_IsOK(res1
)) {
35337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35339 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35341 if (!SWIG_IsOK(ecode2
)) {
35342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35344 arg2
= static_cast< int >(val2
);
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 (arg1
)->RemoveId(arg2
);
35348 wxPyEndAllowThreads(__tstate
);
35349 if (PyErr_Occurred()) SWIG_fail
;
35351 resultobj
= SWIG_Py_Void();
35358 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35359 PyObject
*resultobj
= 0;
35360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35372 PyObject
* obj0
= 0 ;
35373 PyObject
* obj1
= 0 ;
35374 PyObject
* obj2
= 0 ;
35375 PyObject
* obj3
= 0 ;
35376 char * kwnames
[] = {
35377 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35382 if (!SWIG_IsOK(res1
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35387 if (!SWIG_IsOK(ecode2
)) {
35388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35390 arg2
= static_cast< int >(val2
);
35391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35392 if (!SWIG_IsOK(ecode3
)) {
35393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35395 arg3
= static_cast< int >(val3
);
35396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35397 if (!SWIG_IsOK(ecode4
)) {
35398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35400 arg4
= static_cast< int >(val4
);
35402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35404 wxPyEndAllowThreads(__tstate
);
35405 if (PyErr_Occurred()) SWIG_fail
;
35407 resultobj
= SWIG_Py_Void();
35414 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35415 PyObject
*resultobj
= 0;
35416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35418 bool arg3
= (bool) true ;
35425 PyObject
* obj0
= 0 ;
35426 PyObject
* obj1
= 0 ;
35427 PyObject
* obj2
= 0 ;
35428 char * kwnames
[] = {
35429 (char *) "self",(char *) "id",(char *) "greyout", NULL
35432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35434 if (!SWIG_IsOK(res1
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35439 if (!SWIG_IsOK(ecode2
)) {
35440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35442 arg2
= static_cast< int >(val2
);
35444 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35445 if (!SWIG_IsOK(ecode3
)) {
35446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35448 arg3
= static_cast< bool >(val3
);
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35456 resultobj
= SWIG_Py_Void();
35463 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
= 0;
35465 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35472 PyObject
* obj0
= 0 ;
35473 PyObject
* obj1
= 0 ;
35474 char * kwnames
[] = {
35475 (char *) "self",(char *) "id", NULL
35478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35480 if (!SWIG_IsOK(res1
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35485 if (!SWIG_IsOK(ecode2
)) {
35486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35488 arg2
= static_cast< int >(val2
);
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35504 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
= 0;
35506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35509 int arg4
= (int) 1 ;
35510 wxColor
const &arg5_defvalue
= *wxWHITE
;
35511 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35512 PyObject
*result
= 0 ;
35523 PyObject
* obj0
= 0 ;
35524 PyObject
* obj1
= 0 ;
35525 PyObject
* obj2
= 0 ;
35526 PyObject
* obj3
= 0 ;
35527 PyObject
* obj4
= 0 ;
35528 char * kwnames
[] = {
35529 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35534 if (!SWIG_IsOK(res1
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35537 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35539 if (!SWIG_IsOK(ecode2
)) {
35540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35542 arg2
= static_cast< int >(val2
);
35543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35544 if (!SWIG_IsOK(ecode3
)) {
35545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35547 arg3
= static_cast< int >(val3
);
35549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35550 if (!SWIG_IsOK(ecode4
)) {
35551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35553 arg4
= static_cast< int >(val4
);
35556 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35557 if (!SWIG_IsOK(res5
)) {
35558 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35563 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35566 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 resultobj
= result
;
35576 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35577 PyObject
*resultobj
= 0;
35578 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35581 PyObject
*result
= 0 ;
35588 PyObject
* obj0
= 0 ;
35589 PyObject
* obj1
= 0 ;
35590 PyObject
* obj2
= 0 ;
35591 char * kwnames
[] = {
35592 (char *) "self",(char *) "x",(char *) "y", NULL
35595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35597 if (!SWIG_IsOK(res1
)) {
35598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35600 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35602 if (!SWIG_IsOK(ecode2
)) {
35603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35605 arg2
= static_cast< int >(val2
);
35606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35607 if (!SWIG_IsOK(ecode3
)) {
35608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35610 arg3
= static_cast< int >(val3
);
35612 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35613 if (PyErr_Occurred()) SWIG_fail
;
35615 resultobj
= result
;
35622 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35623 PyObject
*resultobj
= 0;
35624 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35626 wxDC
*arg3
= (wxDC
*) 0 ;
35633 PyObject
* obj0
= 0 ;
35634 PyObject
* obj1
= 0 ;
35635 PyObject
* obj2
= 0 ;
35636 char * kwnames
[] = {
35637 (char *) "self",(char *) "id",(char *) "dc", NULL
35640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35642 if (!SWIG_IsOK(res1
)) {
35643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35645 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35647 if (!SWIG_IsOK(ecode2
)) {
35648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35650 arg2
= static_cast< int >(val2
);
35651 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35652 if (!SWIG_IsOK(res3
)) {
35653 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35655 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 (arg1
)->DrawIdToDC(arg2
,arg3
);
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35662 resultobj
= SWIG_Py_Void();
35669 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
= 0;
35671 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35679 PyObject
* obj0
= 0 ;
35680 PyObject
* obj1
= 0 ;
35681 PyObject
* obj2
= 0 ;
35682 char * kwnames
[] = {
35683 (char *) "self",(char *) "id",(char *) "rect", NULL
35686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35688 if (!SWIG_IsOK(res1
)) {
35689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35691 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35693 if (!SWIG_IsOK(ecode2
)) {
35694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35696 arg2
= static_cast< int >(val2
);
35699 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 (arg1
)->SetIdBounds(arg2
,*arg3
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= SWIG_Py_Void();
35714 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35715 PyObject
*resultobj
= 0;
35716 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35723 PyObject
* obj0
= 0 ;
35724 PyObject
* obj1
= 0 ;
35725 char * kwnames
[] = {
35726 (char *) "self",(char *) "id", NULL
35729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35734 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35736 if (!SWIG_IsOK(ecode2
)) {
35737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35739 arg2
= static_cast< int >(val2
);
35741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35742 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35753 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
= 0;
35755 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35756 wxDC
*arg2
= (wxDC
*) 0 ;
35763 PyObject
* obj0
= 0 ;
35764 PyObject
* obj1
= 0 ;
35765 PyObject
* obj2
= 0 ;
35766 char * kwnames
[] = {
35767 (char *) "self",(char *) "dc",(char *) "rect", NULL
35770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35772 if (!SWIG_IsOK(res1
)) {
35773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35777 if (!SWIG_IsOK(res2
)) {
35778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35780 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35783 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35787 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35788 wxPyEndAllowThreads(__tstate
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35791 resultobj
= SWIG_Py_Void();
35798 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35799 PyObject
*resultobj
= 0;
35800 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35801 wxDC
*arg2
= (wxDC
*) 0 ;
35802 wxRegion
*arg3
= 0 ;
35809 PyObject
* obj0
= 0 ;
35810 PyObject
* obj1
= 0 ;
35811 PyObject
* obj2
= 0 ;
35812 char * kwnames
[] = {
35813 (char *) "self",(char *) "dc",(char *) "region", NULL
35816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35818 if (!SWIG_IsOK(res1
)) {
35819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35821 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35823 if (!SWIG_IsOK(res2
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35826 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35828 if (!SWIG_IsOK(res3
)) {
35829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35834 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35838 wxPyEndAllowThreads(__tstate
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35841 resultobj
= SWIG_Py_Void();
35848 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35849 PyObject
*resultobj
= 0;
35850 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35851 wxDC
*arg2
= (wxDC
*) 0 ;
35856 PyObject
* obj0
= 0 ;
35857 PyObject
* obj1
= 0 ;
35858 char * kwnames
[] = {
35859 (char *) "self",(char *) "dc", NULL
35862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35864 if (!SWIG_IsOK(res1
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35867 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35869 if (!SWIG_IsOK(res2
)) {
35870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35872 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 (arg1
)->DrawToDC(arg2
);
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35879 resultobj
= SWIG_Py_Void();
35886 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35887 PyObject
*resultobj
= 0;
35888 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35891 wxColour
*arg4
= 0 ;
35892 int arg5
= (int) wxFLOOD_SURFACE
;
35902 PyObject
* obj0
= 0 ;
35903 PyObject
* obj1
= 0 ;
35904 PyObject
* obj2
= 0 ;
35905 PyObject
* obj3
= 0 ;
35906 PyObject
* obj4
= 0 ;
35907 char * kwnames
[] = {
35908 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35913 if (!SWIG_IsOK(res1
)) {
35914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35916 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35918 if (!SWIG_IsOK(ecode2
)) {
35919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35921 arg2
= static_cast< int >(val2
);
35922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35923 if (!SWIG_IsOK(ecode3
)) {
35924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35926 arg3
= static_cast< int >(val3
);
35929 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35932 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35933 if (!SWIG_IsOK(ecode5
)) {
35934 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35936 arg5
= static_cast< int >(val5
);
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 resultobj
= SWIG_Py_Void();
35951 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35952 PyObject
*resultobj
= 0;
35953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35954 wxPoint
*arg2
= 0 ;
35955 wxColour
*arg3
= 0 ;
35956 int arg4
= (int) wxFLOOD_SURFACE
;
35963 PyObject
* obj0
= 0 ;
35964 PyObject
* obj1
= 0 ;
35965 PyObject
* obj2
= 0 ;
35966 PyObject
* obj3
= 0 ;
35967 char * kwnames
[] = {
35968 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35973 if (!SWIG_IsOK(res1
)) {
35974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35976 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35983 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35987 if (!SWIG_IsOK(ecode4
)) {
35988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35990 arg4
= static_cast< int >(val4
);
35993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35994 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35998 resultobj
= SWIG_Py_Void();
36005 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36006 PyObject
*resultobj
= 0;
36007 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36022 PyObject
* obj0
= 0 ;
36023 PyObject
* obj1
= 0 ;
36024 PyObject
* obj2
= 0 ;
36025 PyObject
* obj3
= 0 ;
36026 PyObject
* obj4
= 0 ;
36027 char * kwnames
[] = {
36028 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36033 if (!SWIG_IsOK(res1
)) {
36034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36036 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36038 if (!SWIG_IsOK(ecode2
)) {
36039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36041 arg2
= static_cast< int >(val2
);
36042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36043 if (!SWIG_IsOK(ecode3
)) {
36044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36046 arg3
= static_cast< int >(val3
);
36047 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36048 if (!SWIG_IsOK(ecode4
)) {
36049 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36051 arg4
= static_cast< int >(val4
);
36052 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36053 if (!SWIG_IsOK(ecode5
)) {
36054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36056 arg5
= static_cast< int >(val5
);
36058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36059 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36060 wxPyEndAllowThreads(__tstate
);
36061 if (PyErr_Occurred()) SWIG_fail
;
36063 resultobj
= SWIG_Py_Void();
36070 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36071 PyObject
*resultobj
= 0;
36072 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36073 wxPoint
*arg2
= 0 ;
36074 wxPoint
*arg3
= 0 ;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 PyObject
* obj2
= 0 ;
36082 char * kwnames
[] = {
36083 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36088 if (!SWIG_IsOK(res1
)) {
36089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36102 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36106 resultobj
= SWIG_Py_Void();
36113 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36114 PyObject
*resultobj
= 0;
36115 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36124 PyObject
* obj0
= 0 ;
36125 PyObject
* obj1
= 0 ;
36126 PyObject
* obj2
= 0 ;
36127 char * kwnames
[] = {
36128 (char *) "self",(char *) "x",(char *) "y", NULL
36131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36133 if (!SWIG_IsOK(res1
)) {
36134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36136 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36138 if (!SWIG_IsOK(ecode2
)) {
36139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36141 arg2
= static_cast< int >(val2
);
36142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36143 if (!SWIG_IsOK(ecode3
)) {
36144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36146 arg3
= static_cast< int >(val3
);
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36149 (arg1
)->CrossHair(arg2
,arg3
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_Py_Void();
36160 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36161 PyObject
*resultobj
= 0;
36162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36163 wxPoint
*arg2
= 0 ;
36167 PyObject
* obj0
= 0 ;
36168 PyObject
* obj1
= 0 ;
36169 char * kwnames
[] = {
36170 (char *) "self",(char *) "pt", NULL
36173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36175 if (!SWIG_IsOK(res1
)) {
36176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36178 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36186 wxPyEndAllowThreads(__tstate
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36189 resultobj
= SWIG_Py_Void();
36196 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
= 0;
36198 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36219 PyObject
* obj0
= 0 ;
36220 PyObject
* obj1
= 0 ;
36221 PyObject
* obj2
= 0 ;
36222 PyObject
* obj3
= 0 ;
36223 PyObject
* obj4
= 0 ;
36224 PyObject
* obj5
= 0 ;
36225 PyObject
* obj6
= 0 ;
36226 char * kwnames
[] = {
36227 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36232 if (!SWIG_IsOK(res1
)) {
36233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36235 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36237 if (!SWIG_IsOK(ecode2
)) {
36238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36240 arg2
= static_cast< int >(val2
);
36241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36242 if (!SWIG_IsOK(ecode3
)) {
36243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36245 arg3
= static_cast< int >(val3
);
36246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36247 if (!SWIG_IsOK(ecode4
)) {
36248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36250 arg4
= static_cast< int >(val4
);
36251 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36252 if (!SWIG_IsOK(ecode5
)) {
36253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36255 arg5
= static_cast< int >(val5
);
36256 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36257 if (!SWIG_IsOK(ecode6
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36260 arg6
= static_cast< int >(val6
);
36261 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36262 if (!SWIG_IsOK(ecode7
)) {
36263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36265 arg7
= static_cast< int >(val7
);
36267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36268 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 resultobj
= SWIG_Py_Void();
36279 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
= 0;
36281 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36282 wxPoint
*arg2
= 0 ;
36283 wxPoint
*arg3
= 0 ;
36284 wxPoint
*arg4
= 0 ;
36290 PyObject
* obj0
= 0 ;
36291 PyObject
* obj1
= 0 ;
36292 PyObject
* obj2
= 0 ;
36293 PyObject
* obj3
= 0 ;
36294 char * kwnames
[] = {
36295 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36300 if (!SWIG_IsOK(res1
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36303 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36306 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36310 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36318 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36319 wxPyEndAllowThreads(__tstate
);
36320 if (PyErr_Occurred()) SWIG_fail
;
36322 resultobj
= SWIG_Py_Void();
36329 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36330 PyObject
*resultobj
= 0;
36331 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36346 PyObject
* obj0
= 0 ;
36347 PyObject
* obj1
= 0 ;
36348 PyObject
* obj2
= 0 ;
36349 PyObject
* obj3
= 0 ;
36350 PyObject
* obj4
= 0 ;
36351 char * kwnames
[] = {
36352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36357 if (!SWIG_IsOK(res1
)) {
36358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36360 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36362 if (!SWIG_IsOK(ecode2
)) {
36363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36365 arg2
= static_cast< int >(val2
);
36366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36367 if (!SWIG_IsOK(ecode3
)) {
36368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36370 arg3
= static_cast< int >(val3
);
36371 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36372 if (!SWIG_IsOK(ecode4
)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36375 arg4
= static_cast< int >(val4
);
36376 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36377 if (!SWIG_IsOK(ecode5
)) {
36378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36380 arg5
= static_cast< int >(val5
);
36382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36383 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 resultobj
= SWIG_Py_Void();
36394 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36395 PyObject
*resultobj
= 0;
36396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36401 PyObject
* obj0
= 0 ;
36402 PyObject
* obj1
= 0 ;
36403 char * kwnames
[] = {
36404 (char *) "self",(char *) "rect", NULL
36407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36409 if (!SWIG_IsOK(res1
)) {
36410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36412 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36415 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36419 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36420 wxPyEndAllowThreads(__tstate
);
36421 if (PyErr_Occurred()) SWIG_fail
;
36423 resultobj
= SWIG_Py_Void();
36430 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36431 PyObject
*resultobj
= 0;
36432 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36453 PyObject
* obj0
= 0 ;
36454 PyObject
* obj1
= 0 ;
36455 PyObject
* obj2
= 0 ;
36456 PyObject
* obj3
= 0 ;
36457 PyObject
* obj4
= 0 ;
36458 PyObject
* obj5
= 0 ;
36459 PyObject
* obj6
= 0 ;
36460 char * kwnames
[] = {
36461 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36466 if (!SWIG_IsOK(res1
)) {
36467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36469 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36471 if (!SWIG_IsOK(ecode2
)) {
36472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36474 arg2
= static_cast< int >(val2
);
36475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36476 if (!SWIG_IsOK(ecode3
)) {
36477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36479 arg3
= static_cast< int >(val3
);
36480 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36481 if (!SWIG_IsOK(ecode4
)) {
36482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36484 arg4
= static_cast< int >(val4
);
36485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36486 if (!SWIG_IsOK(ecode5
)) {
36487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36489 arg5
= static_cast< int >(val5
);
36490 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36491 if (!SWIG_IsOK(ecode6
)) {
36492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36494 arg6
= static_cast< double >(val6
);
36495 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36496 if (!SWIG_IsOK(ecode7
)) {
36497 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36499 arg7
= static_cast< double >(val7
);
36501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36502 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36503 wxPyEndAllowThreads(__tstate
);
36504 if (PyErr_Occurred()) SWIG_fail
;
36506 resultobj
= SWIG_Py_Void();
36513 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36514 PyObject
*resultobj
= 0;
36515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36516 wxPoint
*arg2
= 0 ;
36528 PyObject
* obj0
= 0 ;
36529 PyObject
* obj1
= 0 ;
36530 PyObject
* obj2
= 0 ;
36531 PyObject
* obj3
= 0 ;
36532 PyObject
* obj4
= 0 ;
36533 char * kwnames
[] = {
36534 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36539 if (!SWIG_IsOK(res1
)) {
36540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36542 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36549 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36551 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36552 if (!SWIG_IsOK(ecode4
)) {
36553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36555 arg4
= static_cast< double >(val4
);
36556 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36557 if (!SWIG_IsOK(ecode5
)) {
36558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36560 arg5
= static_cast< double >(val5
);
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= SWIG_Py_Void();
36574 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
= 0;
36576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36585 PyObject
* obj0
= 0 ;
36586 PyObject
* obj1
= 0 ;
36587 PyObject
* obj2
= 0 ;
36588 char * kwnames
[] = {
36589 (char *) "self",(char *) "x",(char *) "y", NULL
36592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36594 if (!SWIG_IsOK(res1
)) {
36595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36597 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36599 if (!SWIG_IsOK(ecode2
)) {
36600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36602 arg2
= static_cast< int >(val2
);
36603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36604 if (!SWIG_IsOK(ecode3
)) {
36605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36607 arg3
= static_cast< int >(val3
);
36609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36610 (arg1
)->DrawPoint(arg2
,arg3
);
36611 wxPyEndAllowThreads(__tstate
);
36612 if (PyErr_Occurred()) SWIG_fail
;
36614 resultobj
= SWIG_Py_Void();
36621 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36622 PyObject
*resultobj
= 0;
36623 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36624 wxPoint
*arg2
= 0 ;
36628 PyObject
* obj0
= 0 ;
36629 PyObject
* obj1
= 0 ;
36630 char * kwnames
[] = {
36631 (char *) "self",(char *) "pt", NULL
36634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36636 if (!SWIG_IsOK(res1
)) {
36637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36646 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36647 wxPyEndAllowThreads(__tstate
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36650 resultobj
= SWIG_Py_Void();
36657 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36658 PyObject
*resultobj
= 0;
36659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36674 PyObject
* obj0
= 0 ;
36675 PyObject
* obj1
= 0 ;
36676 PyObject
* obj2
= 0 ;
36677 PyObject
* obj3
= 0 ;
36678 PyObject
* obj4
= 0 ;
36679 char * kwnames
[] = {
36680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36685 if (!SWIG_IsOK(res1
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36690 if (!SWIG_IsOK(ecode2
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36693 arg2
= static_cast< int >(val2
);
36694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36695 if (!SWIG_IsOK(ecode3
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36698 arg3
= static_cast< int >(val3
);
36699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36700 if (!SWIG_IsOK(ecode4
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36703 arg4
= static_cast< int >(val4
);
36704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36705 if (!SWIG_IsOK(ecode5
)) {
36706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36708 arg5
= static_cast< int >(val5
);
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36712 wxPyEndAllowThreads(__tstate
);
36713 if (PyErr_Occurred()) SWIG_fail
;
36715 resultobj
= SWIG_Py_Void();
36722 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36723 PyObject
*resultobj
= 0;
36724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36729 PyObject
* obj0
= 0 ;
36730 PyObject
* obj1
= 0 ;
36731 char * kwnames
[] = {
36732 (char *) "self",(char *) "rect", NULL
36735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36737 if (!SWIG_IsOK(res1
)) {
36738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36747 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 resultobj
= SWIG_Py_Void();
36758 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
= 0;
36760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36761 wxPoint
*arg2
= 0 ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 PyObject
* obj2
= 0 ;
36770 char * kwnames
[] = {
36771 (char *) "self",(char *) "pt",(char *) "sz", NULL
36774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36776 if (!SWIG_IsOK(res1
)) {
36777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36779 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36786 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36790 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36791 wxPyEndAllowThreads(__tstate
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36794 resultobj
= SWIG_Py_Void();
36801 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36802 PyObject
*resultobj
= 0;
36803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36821 PyObject
* obj0
= 0 ;
36822 PyObject
* obj1
= 0 ;
36823 PyObject
* obj2
= 0 ;
36824 PyObject
* obj3
= 0 ;
36825 PyObject
* obj4
= 0 ;
36826 PyObject
* obj5
= 0 ;
36827 char * kwnames
[] = {
36828 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36833 if (!SWIG_IsOK(res1
)) {
36834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36836 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36838 if (!SWIG_IsOK(ecode2
)) {
36839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36841 arg2
= static_cast< int >(val2
);
36842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36843 if (!SWIG_IsOK(ecode3
)) {
36844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36846 arg3
= static_cast< int >(val3
);
36847 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36848 if (!SWIG_IsOK(ecode4
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36851 arg4
= static_cast< int >(val4
);
36852 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36853 if (!SWIG_IsOK(ecode5
)) {
36854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36856 arg5
= static_cast< int >(val5
);
36857 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36858 if (!SWIG_IsOK(ecode6
)) {
36859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36861 arg6
= static_cast< double >(val6
);
36863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36864 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36865 wxPyEndAllowThreads(__tstate
);
36866 if (PyErr_Occurred()) SWIG_fail
;
36868 resultobj
= SWIG_Py_Void();
36875 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36876 PyObject
*resultobj
= 0;
36877 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36885 PyObject
* obj0
= 0 ;
36886 PyObject
* obj1
= 0 ;
36887 PyObject
* obj2
= 0 ;
36888 char * kwnames
[] = {
36889 (char *) "self",(char *) "r",(char *) "radius", NULL
36892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36894 if (!SWIG_IsOK(res1
)) {
36895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36897 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36902 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36903 if (!SWIG_IsOK(ecode3
)) {
36904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36906 arg3
= static_cast< double >(val3
);
36908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36909 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36913 resultobj
= SWIG_Py_Void();
36920 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36921 PyObject
*resultobj
= 0;
36922 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36923 wxPoint
*arg2
= 0 ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 PyObject
* obj2
= 0 ;
36935 PyObject
* obj3
= 0 ;
36936 char * kwnames
[] = {
36937 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36942 if (!SWIG_IsOK(res1
)) {
36943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36945 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36952 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36954 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36955 if (!SWIG_IsOK(ecode4
)) {
36956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36958 arg4
= static_cast< double >(val4
);
36960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36961 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36962 wxPyEndAllowThreads(__tstate
);
36963 if (PyErr_Occurred()) SWIG_fail
;
36965 resultobj
= SWIG_Py_Void();
36972 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36973 PyObject
*resultobj
= 0;
36974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36986 PyObject
* obj0
= 0 ;
36987 PyObject
* obj1
= 0 ;
36988 PyObject
* obj2
= 0 ;
36989 PyObject
* obj3
= 0 ;
36990 char * kwnames
[] = {
36991 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36996 if (!SWIG_IsOK(res1
)) {
36997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37001 if (!SWIG_IsOK(ecode2
)) {
37002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37004 arg2
= static_cast< int >(val2
);
37005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37006 if (!SWIG_IsOK(ecode3
)) {
37007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37009 arg3
= static_cast< int >(val3
);
37010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37011 if (!SWIG_IsOK(ecode4
)) {
37012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37014 arg4
= static_cast< int >(val4
);
37016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37017 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37018 wxPyEndAllowThreads(__tstate
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37021 resultobj
= SWIG_Py_Void();
37028 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37029 PyObject
*resultobj
= 0;
37030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37031 wxPoint
*arg2
= 0 ;
37038 PyObject
* obj0
= 0 ;
37039 PyObject
* obj1
= 0 ;
37040 PyObject
* obj2
= 0 ;
37041 char * kwnames
[] = {
37042 (char *) "self",(char *) "pt",(char *) "radius", NULL
37045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37047 if (!SWIG_IsOK(res1
)) {
37048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37050 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37056 if (!SWIG_IsOK(ecode3
)) {
37057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37059 arg3
= static_cast< int >(val3
);
37061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37062 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37063 wxPyEndAllowThreads(__tstate
);
37064 if (PyErr_Occurred()) SWIG_fail
;
37066 resultobj
= SWIG_Py_Void();
37073 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37074 PyObject
*resultobj
= 0;
37075 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37090 PyObject
* obj0
= 0 ;
37091 PyObject
* obj1
= 0 ;
37092 PyObject
* obj2
= 0 ;
37093 PyObject
* obj3
= 0 ;
37094 PyObject
* obj4
= 0 ;
37095 char * kwnames
[] = {
37096 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37101 if (!SWIG_IsOK(res1
)) {
37102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37104 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37106 if (!SWIG_IsOK(ecode2
)) {
37107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37109 arg2
= static_cast< int >(val2
);
37110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37111 if (!SWIG_IsOK(ecode3
)) {
37112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37114 arg3
= static_cast< int >(val3
);
37115 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37116 if (!SWIG_IsOK(ecode4
)) {
37117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37119 arg4
= static_cast< int >(val4
);
37120 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37121 if (!SWIG_IsOK(ecode5
)) {
37122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37124 arg5
= static_cast< int >(val5
);
37126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37127 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37128 wxPyEndAllowThreads(__tstate
);
37129 if (PyErr_Occurred()) SWIG_fail
;
37131 resultobj
= SWIG_Py_Void();
37138 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37139 PyObject
*resultobj
= 0;
37140 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 char * kwnames
[] = {
37148 (char *) "self",(char *) "rect", NULL
37151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37153 if (!SWIG_IsOK(res1
)) {
37154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37156 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37159 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37163 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37167 resultobj
= SWIG_Py_Void();
37174 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37175 PyObject
*resultobj
= 0;
37176 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37177 wxPoint
*arg2
= 0 ;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37185 PyObject
* obj2
= 0 ;
37186 char * kwnames
[] = {
37187 (char *) "self",(char *) "pt",(char *) "sz", NULL
37190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37202 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37206 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37207 wxPyEndAllowThreads(__tstate
);
37208 if (PyErr_Occurred()) SWIG_fail
;
37210 resultobj
= SWIG_Py_Void();
37217 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37218 PyObject
*resultobj
= 0;
37219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37231 PyObject
* obj0
= 0 ;
37232 PyObject
* obj1
= 0 ;
37233 PyObject
* obj2
= 0 ;
37234 PyObject
* obj3
= 0 ;
37235 char * kwnames
[] = {
37236 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37241 if (!SWIG_IsOK(res1
)) {
37242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37244 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37246 if (!SWIG_IsOK(res2
)) {
37247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37252 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37254 if (!SWIG_IsOK(ecode3
)) {
37255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37257 arg3
= static_cast< int >(val3
);
37258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37259 if (!SWIG_IsOK(ecode4
)) {
37260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37262 arg4
= static_cast< int >(val4
);
37264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37265 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37266 wxPyEndAllowThreads(__tstate
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= SWIG_Py_Void();
37276 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37277 PyObject
*resultobj
= 0;
37278 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37280 wxPoint
*arg3
= 0 ;
37286 PyObject
* obj0
= 0 ;
37287 PyObject
* obj1
= 0 ;
37288 PyObject
* obj2
= 0 ;
37289 char * kwnames
[] = {
37290 (char *) "self",(char *) "icon",(char *) "pt", NULL
37293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37295 if (!SWIG_IsOK(res1
)) {
37296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37298 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37300 if (!SWIG_IsOK(res2
)) {
37301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37306 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37313 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37314 wxPyEndAllowThreads(__tstate
);
37315 if (PyErr_Occurred()) SWIG_fail
;
37317 resultobj
= SWIG_Py_Void();
37324 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37325 PyObject
*resultobj
= 0;
37326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37327 wxBitmap
*arg2
= 0 ;
37330 bool arg5
= (bool) false ;
37341 PyObject
* obj0
= 0 ;
37342 PyObject
* obj1
= 0 ;
37343 PyObject
* obj2
= 0 ;
37344 PyObject
* obj3
= 0 ;
37345 PyObject
* obj4
= 0 ;
37346 char * kwnames
[] = {
37347 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37352 if (!SWIG_IsOK(res1
)) {
37353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37355 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37357 if (!SWIG_IsOK(res2
)) {
37358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37363 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37365 if (!SWIG_IsOK(ecode3
)) {
37366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37368 arg3
= static_cast< int >(val3
);
37369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37370 if (!SWIG_IsOK(ecode4
)) {
37371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37373 arg4
= static_cast< int >(val4
);
37375 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37376 if (!SWIG_IsOK(ecode5
)) {
37377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37379 arg5
= static_cast< bool >(val5
);
37382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37383 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37384 wxPyEndAllowThreads(__tstate
);
37385 if (PyErr_Occurred()) SWIG_fail
;
37387 resultobj
= SWIG_Py_Void();
37394 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37395 PyObject
*resultobj
= 0;
37396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37397 wxBitmap
*arg2
= 0 ;
37398 wxPoint
*arg3
= 0 ;
37399 bool arg4
= (bool) false ;
37407 PyObject
* obj0
= 0 ;
37408 PyObject
* obj1
= 0 ;
37409 PyObject
* obj2
= 0 ;
37410 PyObject
* obj3
= 0 ;
37411 char * kwnames
[] = {
37412 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37417 if (!SWIG_IsOK(res1
)) {
37418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37422 if (!SWIG_IsOK(res2
)) {
37423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37428 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37431 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37434 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37435 if (!SWIG_IsOK(ecode4
)) {
37436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37438 arg4
= static_cast< bool >(val4
);
37441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37442 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37443 wxPyEndAllowThreads(__tstate
);
37444 if (PyErr_Occurred()) SWIG_fail
;
37446 resultobj
= SWIG_Py_Void();
37453 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37454 PyObject
*resultobj
= 0;
37455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37456 wxString
*arg2
= 0 ;
37461 bool temp2
= false ;
37466 PyObject
* obj0
= 0 ;
37467 PyObject
* obj1
= 0 ;
37468 PyObject
* obj2
= 0 ;
37469 PyObject
* obj3
= 0 ;
37470 char * kwnames
[] = {
37471 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37476 if (!SWIG_IsOK(res1
)) {
37477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37481 arg2
= wxString_in_helper(obj1
);
37482 if (arg2
== NULL
) SWIG_fail
;
37485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37486 if (!SWIG_IsOK(ecode3
)) {
37487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37489 arg3
= static_cast< int >(val3
);
37490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37491 if (!SWIG_IsOK(ecode4
)) {
37492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37494 arg4
= static_cast< int >(val4
);
37496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37497 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37501 resultobj
= SWIG_Py_Void();
37516 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37517 PyObject
*resultobj
= 0;
37518 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37519 wxString
*arg2
= 0 ;
37520 wxPoint
*arg3
= 0 ;
37523 bool temp2
= false ;
37525 PyObject
* obj0
= 0 ;
37526 PyObject
* obj1
= 0 ;
37527 PyObject
* obj2
= 0 ;
37528 char * kwnames
[] = {
37529 (char *) "self",(char *) "text",(char *) "pt", NULL
37532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37534 if (!SWIG_IsOK(res1
)) {
37535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37537 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37539 arg2
= wxString_in_helper(obj1
);
37540 if (arg2
== NULL
) SWIG_fail
;
37545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37549 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37550 wxPyEndAllowThreads(__tstate
);
37551 if (PyErr_Occurred()) SWIG_fail
;
37553 resultobj
= SWIG_Py_Void();
37568 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
= 0;
37570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37571 wxString
*arg2
= 0 ;
37577 bool temp2
= false ;
37584 PyObject
* obj0
= 0 ;
37585 PyObject
* obj1
= 0 ;
37586 PyObject
* obj2
= 0 ;
37587 PyObject
* obj3
= 0 ;
37588 PyObject
* obj4
= 0 ;
37589 char * kwnames
[] = {
37590 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37595 if (!SWIG_IsOK(res1
)) {
37596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37600 arg2
= wxString_in_helper(obj1
);
37601 if (arg2
== NULL
) SWIG_fail
;
37604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37605 if (!SWIG_IsOK(ecode3
)) {
37606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37608 arg3
= static_cast< int >(val3
);
37609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37610 if (!SWIG_IsOK(ecode4
)) {
37611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37613 arg4
= static_cast< int >(val4
);
37614 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37615 if (!SWIG_IsOK(ecode5
)) {
37616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37618 arg5
= static_cast< double >(val5
);
37620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37621 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37625 resultobj
= SWIG_Py_Void();
37640 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37641 PyObject
*resultobj
= 0;
37642 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37643 wxString
*arg2
= 0 ;
37644 wxPoint
*arg3
= 0 ;
37648 bool temp2
= false ;
37652 PyObject
* obj0
= 0 ;
37653 PyObject
* obj1
= 0 ;
37654 PyObject
* obj2
= 0 ;
37655 PyObject
* obj3
= 0 ;
37656 char * kwnames
[] = {
37657 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37662 if (!SWIG_IsOK(res1
)) {
37663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37665 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37667 arg2
= wxString_in_helper(obj1
);
37668 if (arg2
== NULL
) SWIG_fail
;
37673 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37675 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37676 if (!SWIG_IsOK(ecode4
)) {
37677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37679 arg4
= static_cast< double >(val4
);
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37682 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37686 resultobj
= SWIG_Py_Void();
37701 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37702 PyObject
*resultobj
= 0;
37703 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37705 wxPoint
*arg3
= (wxPoint
*) 0 ;
37706 int arg4
= (int) 0 ;
37707 int arg5
= (int) 0 ;
37714 PyObject
* obj0
= 0 ;
37715 PyObject
* obj1
= 0 ;
37716 PyObject
* obj2
= 0 ;
37717 PyObject
* obj3
= 0 ;
37718 char * kwnames
[] = {
37719 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37724 if (!SWIG_IsOK(res1
)) {
37725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37727 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37729 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37730 if (arg3
== NULL
) SWIG_fail
;
37733 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37734 if (!SWIG_IsOK(ecode4
)) {
37735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37737 arg4
= static_cast< int >(val4
);
37740 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37741 if (!SWIG_IsOK(ecode5
)) {
37742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37744 arg5
= static_cast< int >(val5
);
37747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37748 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37749 wxPyEndAllowThreads(__tstate
);
37750 if (PyErr_Occurred()) SWIG_fail
;
37752 resultobj
= SWIG_Py_Void();
37754 if (arg3
) delete [] arg3
;
37759 if (arg3
) delete [] arg3
;
37765 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37766 PyObject
*resultobj
= 0;
37767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37769 wxPoint
*arg3
= (wxPoint
*) 0 ;
37770 int arg4
= (int) 0 ;
37771 int arg5
= (int) 0 ;
37772 int arg6
= (int) wxODDEVEN_RULE
;
37781 PyObject
* obj0
= 0 ;
37782 PyObject
* obj1
= 0 ;
37783 PyObject
* obj2
= 0 ;
37784 PyObject
* obj3
= 0 ;
37785 PyObject
* obj4
= 0 ;
37786 char * kwnames
[] = {
37787 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37792 if (!SWIG_IsOK(res1
)) {
37793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37795 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37797 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37798 if (arg3
== NULL
) SWIG_fail
;
37801 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37802 if (!SWIG_IsOK(ecode4
)) {
37803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37805 arg4
= static_cast< int >(val4
);
37808 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37809 if (!SWIG_IsOK(ecode5
)) {
37810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37812 arg5
= static_cast< int >(val5
);
37815 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37816 if (!SWIG_IsOK(ecode6
)) {
37817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37819 arg6
= static_cast< int >(val6
);
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37827 resultobj
= SWIG_Py_Void();
37829 if (arg3
) delete [] arg3
;
37834 if (arg3
) delete [] arg3
;
37840 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37841 PyObject
*resultobj
= 0;
37842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37843 wxString
*arg2
= 0 ;
37845 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37846 int arg5
= (int) -1 ;
37849 bool temp2
= false ;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37857 PyObject
* obj2
= 0 ;
37858 PyObject
* obj3
= 0 ;
37859 PyObject
* obj4
= 0 ;
37860 char * kwnames
[] = {
37861 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37866 if (!SWIG_IsOK(res1
)) {
37867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37871 arg2
= wxString_in_helper(obj1
);
37872 if (arg2
== NULL
) SWIG_fail
;
37877 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37881 if (!SWIG_IsOK(ecode4
)) {
37882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37884 arg4
= static_cast< int >(val4
);
37887 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37888 if (!SWIG_IsOK(ecode5
)) {
37889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37891 arg5
= static_cast< int >(val5
);
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37895 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= SWIG_Py_Void();
37914 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37915 PyObject
*resultobj
= 0;
37916 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37917 wxString
*arg2
= 0 ;
37918 wxBitmap
*arg3
= 0 ;
37920 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37921 int arg6
= (int) -1 ;
37924 bool temp2
= false ;
37932 PyObject
* obj0
= 0 ;
37933 PyObject
* obj1
= 0 ;
37934 PyObject
* obj2
= 0 ;
37935 PyObject
* obj3
= 0 ;
37936 PyObject
* obj4
= 0 ;
37937 PyObject
* obj5
= 0 ;
37938 char * kwnames
[] = {
37939 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37944 if (!SWIG_IsOK(res1
)) {
37945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37947 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37949 arg2
= wxString_in_helper(obj1
);
37950 if (arg2
== NULL
) SWIG_fail
;
37953 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37954 if (!SWIG_IsOK(res3
)) {
37955 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37960 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37963 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37966 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37967 if (!SWIG_IsOK(ecode5
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37970 arg5
= static_cast< int >(val5
);
37973 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37974 if (!SWIG_IsOK(ecode6
)) {
37975 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37977 arg6
= static_cast< int >(val6
);
37980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37981 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37982 wxPyEndAllowThreads(__tstate
);
37983 if (PyErr_Occurred()) SWIG_fail
;
37985 resultobj
= SWIG_Py_Void();
38000 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38001 PyObject
*resultobj
= 0;
38002 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38004 wxPoint
*arg3
= (wxPoint
*) 0 ;
38007 PyObject
* obj0
= 0 ;
38008 PyObject
* obj1
= 0 ;
38009 char * kwnames
[] = {
38010 (char *) "self",(char *) "points", NULL
38013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38015 if (!SWIG_IsOK(res1
)) {
38016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38018 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38020 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38021 if (arg3
== NULL
) SWIG_fail
;
38024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38025 (arg1
)->DrawSpline(arg2
,arg3
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= SWIG_Py_Void();
38031 if (arg3
) delete [] arg3
;
38036 if (arg3
) delete [] arg3
;
38042 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38043 PyObject
*resultobj
= 0;
38044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38047 PyObject
*swig_obj
[1] ;
38049 if (!args
) SWIG_fail
;
38050 swig_obj
[0] = args
;
38051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38052 if (!SWIG_IsOK(res1
)) {
38053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38055 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38059 wxPyEndAllowThreads(__tstate
);
38060 if (PyErr_Occurred()) SWIG_fail
;
38062 resultobj
= SWIG_Py_Void();
38069 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38070 PyObject
*resultobj
= 0;
38071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38077 PyObject
* obj0
= 0 ;
38078 PyObject
* obj1
= 0 ;
38079 char * kwnames
[] = {
38080 (char *) "self",(char *) "font", NULL
38083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38085 if (!SWIG_IsOK(res1
)) {
38086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38090 if (!SWIG_IsOK(res2
)) {
38091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38096 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38099 (arg1
)->SetFont((wxFont
const &)*arg2
);
38100 wxPyEndAllowThreads(__tstate
);
38101 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= SWIG_Py_Void();
38110 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38111 PyObject
*resultobj
= 0;
38112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38118 PyObject
* obj0
= 0 ;
38119 PyObject
* obj1
= 0 ;
38120 char * kwnames
[] = {
38121 (char *) "self",(char *) "pen", NULL
38124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38126 if (!SWIG_IsOK(res1
)) {
38127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38131 if (!SWIG_IsOK(res2
)) {
38132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38137 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38140 (arg1
)->SetPen((wxPen
const &)*arg2
);
38141 wxPyEndAllowThreads(__tstate
);
38142 if (PyErr_Occurred()) SWIG_fail
;
38144 resultobj
= SWIG_Py_Void();
38151 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38152 PyObject
*resultobj
= 0;
38153 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38154 wxBrush
*arg2
= 0 ;
38159 PyObject
* obj0
= 0 ;
38160 PyObject
* obj1
= 0 ;
38161 char * kwnames
[] = {
38162 (char *) "self",(char *) "brush", NULL
38165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38167 if (!SWIG_IsOK(res1
)) {
38168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38172 if (!SWIG_IsOK(res2
)) {
38173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38178 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38181 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38182 wxPyEndAllowThreads(__tstate
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38185 resultobj
= SWIG_Py_Void();
38192 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38193 PyObject
*resultobj
= 0;
38194 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38195 wxBrush
*arg2
= 0 ;
38200 PyObject
* obj0
= 0 ;
38201 PyObject
* obj1
= 0 ;
38202 char * kwnames
[] = {
38203 (char *) "self",(char *) "brush", NULL
38206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38208 if (!SWIG_IsOK(res1
)) {
38209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38213 if (!SWIG_IsOK(res2
)) {
38214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38219 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38222 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38223 wxPyEndAllowThreads(__tstate
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38226 resultobj
= SWIG_Py_Void();
38233 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38234 PyObject
*resultobj
= 0;
38235 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38241 PyObject
* obj0
= 0 ;
38242 PyObject
* obj1
= 0 ;
38243 char * kwnames
[] = {
38244 (char *) "self",(char *) "mode", NULL
38247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38249 if (!SWIG_IsOK(res1
)) {
38250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38252 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38254 if (!SWIG_IsOK(ecode2
)) {
38255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38257 arg2
= static_cast< int >(val2
);
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 (arg1
)->SetBackgroundMode(arg2
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38264 resultobj
= SWIG_Py_Void();
38271 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38272 PyObject
*resultobj
= 0;
38273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38274 wxPalette
*arg2
= 0 ;
38279 PyObject
* obj0
= 0 ;
38280 PyObject
* obj1
= 0 ;
38281 char * kwnames
[] = {
38282 (char *) "self",(char *) "palette", NULL
38285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38287 if (!SWIG_IsOK(res1
)) {
38288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38290 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38292 if (!SWIG_IsOK(res2
)) {
38293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38298 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38301 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38302 wxPyEndAllowThreads(__tstate
);
38303 if (PyErr_Occurred()) SWIG_fail
;
38305 resultobj
= SWIG_Py_Void();
38312 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38313 PyObject
*resultobj
= 0;
38314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38315 wxColour
*arg2
= 0 ;
38319 PyObject
* obj0
= 0 ;
38320 PyObject
* obj1
= 0 ;
38321 char * kwnames
[] = {
38322 (char *) "self",(char *) "colour", NULL
38325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38327 if (!SWIG_IsOK(res1
)) {
38328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38338 wxPyEndAllowThreads(__tstate
);
38339 if (PyErr_Occurred()) SWIG_fail
;
38341 resultobj
= SWIG_Py_Void();
38348 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38349 PyObject
*resultobj
= 0;
38350 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38351 wxColour
*arg2
= 0 ;
38355 PyObject
* obj0
= 0 ;
38356 PyObject
* obj1
= 0 ;
38357 char * kwnames
[] = {
38358 (char *) "self",(char *) "colour", NULL
38361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38363 if (!SWIG_IsOK(res1
)) {
38364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38366 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38373 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38374 wxPyEndAllowThreads(__tstate
);
38375 if (PyErr_Occurred()) SWIG_fail
;
38377 resultobj
= SWIG_Py_Void();
38384 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38385 PyObject
*resultobj
= 0;
38386 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38392 PyObject
* obj0
= 0 ;
38393 PyObject
* obj1
= 0 ;
38394 char * kwnames
[] = {
38395 (char *) "self",(char *) "function", NULL
38398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38400 if (!SWIG_IsOK(res1
)) {
38401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38403 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38405 if (!SWIG_IsOK(ecode2
)) {
38406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38408 arg2
= static_cast< int >(val2
);
38410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38411 (arg1
)->SetLogicalFunction(arg2
);
38412 wxPyEndAllowThreads(__tstate
);
38413 if (PyErr_Occurred()) SWIG_fail
;
38415 resultobj
= SWIG_Py_Void();
38422 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38425 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38426 return SWIG_Py_Void();
38429 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38430 return SWIG_Python_InitShadowInstance(args
);
38433 static PyMethodDef SwigMethods
[] = {
38434 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38435 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38436 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38437 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38438 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38439 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38443 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38444 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38445 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38446 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38447 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38448 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38453 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38457 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38458 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38459 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38461 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38464 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38465 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38466 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38467 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38469 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38470 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38471 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38472 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38473 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38474 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38475 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38482 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38484 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38487 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38488 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38491 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38495 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38496 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38497 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38498 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38499 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38500 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38501 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38503 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38509 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38510 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38511 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38512 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38513 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38514 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38515 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38521 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38531 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38532 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38536 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38537 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38538 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38539 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38540 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38541 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38542 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38543 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38544 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38545 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38546 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38547 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38548 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38549 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38550 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38552 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38553 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38559 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38560 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38561 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38562 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38563 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38564 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38565 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38566 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38567 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38568 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38569 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38570 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38572 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38573 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38579 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38580 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38581 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38583 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38584 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38585 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38587 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38588 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38593 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38594 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38595 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38596 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38601 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38602 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38604 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38605 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38607 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38609 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38610 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38611 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38612 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38615 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38619 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38620 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38622 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38625 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38626 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38627 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38632 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38633 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38639 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38643 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38654 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38657 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38658 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38660 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38661 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38662 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38663 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38664 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38665 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38666 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38667 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38668 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38669 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38670 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38671 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38672 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38673 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38674 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38675 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38676 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38678 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38679 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38680 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38681 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38682 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38683 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38684 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38693 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38694 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38696 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38697 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38698 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38699 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38700 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38701 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38702 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38703 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38704 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38706 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38707 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38708 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38711 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38712 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38713 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38716 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38722 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38727 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38728 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38730 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38736 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38739 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38740 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38741 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38742 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38743 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38744 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38745 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38746 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38747 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38748 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38749 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38750 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38751 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38763 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38764 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38765 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38767 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38768 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38770 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38771 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38772 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38773 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38777 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38778 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38780 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38781 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38782 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38783 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38784 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38785 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38786 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38787 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38788 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38790 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38793 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38794 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38795 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38796 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38797 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38798 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38799 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38800 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38810 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38811 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38812 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38814 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38818 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38819 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38820 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38821 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38822 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38823 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38829 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38830 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38831 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38881 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38883 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38884 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38885 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38892 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38893 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38894 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38895 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38896 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38901 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38902 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38903 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38904 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38913 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38914 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38915 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38916 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38917 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38918 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38919 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38920 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38921 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38922 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38923 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38924 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38927 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38929 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38931 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38933 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38934 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38937 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38938 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38942 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38944 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38947 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38948 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38949 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38950 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38951 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38952 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38953 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38961 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38963 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38964 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38965 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38967 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38968 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38969 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38971 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38972 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38973 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38974 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38975 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38976 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38977 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38978 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38981 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38982 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38983 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38985 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38986 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38988 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38989 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38991 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38992 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38997 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38998 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38999 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39000 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39001 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39003 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39004 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39005 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39007 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39008 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39010 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39011 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39015 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39017 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39020 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39022 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39024 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39025 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39030 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39031 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39033 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39034 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39035 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39036 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39037 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39038 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39039 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39040 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39041 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39042 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39043 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39046 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39047 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39048 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39049 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39050 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39051 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39054 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39055 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39057 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39063 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39064 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39065 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39066 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39067 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39068 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39069 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39070 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39072 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39073 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39074 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39081 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39084 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39085 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39086 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39087 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39088 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39089 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39090 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39093 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39100 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39101 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39104 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39105 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39106 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39113 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39114 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39115 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39116 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39134 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39135 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39136 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39137 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39138 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39139 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39142 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39149 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39150 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39151 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39152 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39154 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39155 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39156 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39157 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39158 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39159 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39160 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39161 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39162 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39163 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39164 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39165 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39167 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39175 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39177 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39179 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39180 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39181 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39182 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39183 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39184 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39190 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39191 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39192 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39193 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39194 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39195 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39199 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39203 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39207 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39208 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39209 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39214 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39215 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39216 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39217 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39218 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39219 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39220 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39221 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39222 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39223 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39224 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39225 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39234 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39235 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39237 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39238 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39239 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39240 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39241 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39242 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39243 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39244 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39245 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39246 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39247 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39248 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39249 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39250 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39251 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39252 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39253 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39254 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39255 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39256 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39257 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39258 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39259 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39260 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39262 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39264 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39265 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39266 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39267 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39280 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39281 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39282 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39284 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39285 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39286 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39287 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39288 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39289 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39290 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39291 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39344 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39354 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39355 { NULL
, NULL
, 0, NULL
}
39359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39361 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39362 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39364 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39365 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39367 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39368 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39370 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39371 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39373 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39374 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39376 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39377 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39379 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39380 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39382 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39383 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39385 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39386 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39388 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39389 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39391 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39392 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39394 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39395 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39397 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39398 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39400 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39401 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39403 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39404 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39406 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39407 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39409 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39410 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39412 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39413 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39415 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39416 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39418 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39419 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39421 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39422 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39424 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39425 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39427 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39428 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39430 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39431 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39433 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39434 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39436 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39437 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39439 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39440 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39442 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39443 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39445 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39446 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39448 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39449 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39451 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39452 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39454 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39455 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39457 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39458 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39460 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39461 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39463 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39464 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39466 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39467 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39469 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39470 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39472 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39473 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39475 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39476 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39478 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39479 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39481 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39482 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39484 static void *_p_wxPenTo_p_wxObject(void *x
) {
39485 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39487 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39488 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39490 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39491 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39493 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39494 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39496 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39499 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39500 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39502 static void *_p_wxIconTo_p_wxObject(void *x
) {
39503 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39505 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39506 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39508 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39509 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39511 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39512 return (void *)((wxObject
*) ((wxSizer
*) x
));
39514 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39515 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39517 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39520 static void *_p_wxEventTo_p_wxObject(void *x
) {
39521 return (void *)((wxObject
*) ((wxEvent
*) x
));
39523 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39524 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39526 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39527 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39529 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39530 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39532 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39533 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39535 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39538 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39539 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39541 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39542 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39544 static void *_p_wxDCTo_p_wxObject(void *x
) {
39545 return (void *)((wxObject
*) ((wxDC
*) x
));
39547 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39548 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39550 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39551 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39553 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39554 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39556 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39557 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39559 static void *_p_wxControlTo_p_wxObject(void *x
) {
39560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39562 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39563 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39565 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39566 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39568 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39569 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39571 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39572 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39574 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39575 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39577 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39578 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39580 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39581 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39583 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39584 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39586 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39587 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39589 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39590 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39592 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39593 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39595 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39596 return (void *)((wxObject
*) ((wxEffects
*) x
));
39598 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39599 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39601 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39604 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39605 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39607 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39608 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39610 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39611 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39613 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39614 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39616 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39619 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39620 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39622 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39625 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39626 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39628 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39629 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39631 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39632 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39634 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39635 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39637 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39638 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39640 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39641 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39643 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39646 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39647 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39649 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39650 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39652 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39653 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39655 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39656 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39658 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39659 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39661 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39662 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39664 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39665 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39667 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39670 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39673 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39674 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39676 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39679 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39682 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39685 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39686 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39688 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39689 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39691 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39692 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39694 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39695 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39697 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39698 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39700 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39701 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39703 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39704 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39706 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39707 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39709 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39710 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39712 static void *_p_wxImageTo_p_wxObject(void *x
) {
39713 return (void *)((wxObject
*) ((wxImage
*) x
));
39715 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39716 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39718 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39719 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39721 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39722 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39724 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39725 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39727 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39728 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39730 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39731 return (void *)((wxObject
*) ((wxImageList
*) x
));
39733 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39734 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39736 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39737 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39739 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39740 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39742 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39743 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39745 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39746 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39748 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39749 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39751 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39752 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39754 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39755 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39757 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39760 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39761 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39763 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39766 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39767 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39769 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39770 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39772 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39773 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39775 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39776 return (void *)((wxObject
*) ((wxMask
*) x
));
39778 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39779 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39781 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39784 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39785 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39787 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39788 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39790 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39791 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39793 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39794 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39796 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39797 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39799 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39802 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39803 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39805 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39806 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39808 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39809 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39811 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39814 static void *_p_wxFontTo_p_wxObject(void *x
) {
39815 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39817 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39818 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39820 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39821 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39823 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39826 static void *_p_wxColourTo_p_wxObject(void *x
) {
39827 return (void *)((wxObject
*) ((wxColour
*) x
));
39829 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39832 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39833 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39835 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39836 return (void *)((wxWindow
*) ((wxControl
*) x
));
39838 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39839 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39841 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39842 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39844 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39845 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39847 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39848 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39850 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39853 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};
39854 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39860 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39862 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39863 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39864 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39865 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39866 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39867 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39870 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39871 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39872 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39873 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39874 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39875 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39876 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39877 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39878 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39879 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39880 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39881 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39882 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39883 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39884 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39887 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39888 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39893 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39894 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39895 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39896 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39897 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39898 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39899 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39900 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39903 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39904 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39911 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39912 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39913 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39914 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39915 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39916 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39917 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39918 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39919 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39920 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39921 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39922 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39923 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39924 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39925 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39926 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39927 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39928 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39929 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39930 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39931 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39932 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39933 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39934 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39935 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39936 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39937 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39938 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39939 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39940 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39941 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39942 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39943 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39944 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39945 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39946 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39947 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39948 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39949 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39950 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39951 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39952 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39953 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39954 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39955 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39956 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39957 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39958 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39959 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39960 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39961 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39962 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39963 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39970 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39988 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39989 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39990 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39991 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39992 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39993 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39994 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39995 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39996 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39997 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39998 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39999 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40000 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40001 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40002 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40003 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40004 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40005 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40006 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40007 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40008 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40009 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40010 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40011 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40012 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40013 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40014 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40015 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40016 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40017 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40018 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40019 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40020 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40022 static swig_type_info
*swig_type_initial
[] = {
40026 &_swigt__p_form_ops_t
,
40028 &_swigt__p_unsigned_char
,
40029 &_swigt__p_unsigned_int
,
40030 &_swigt__p_unsigned_long
,
40032 &_swigt__p_wxANIHandler
,
40033 &_swigt__p_wxAcceleratorTable
,
40034 &_swigt__p_wxActivateEvent
,
40035 &_swigt__p_wxAlphaPixelData
,
40036 &_swigt__p_wxAlphaPixelData_Accessor
,
40037 &_swigt__p_wxAutoBufferedPaintDC
,
40038 &_swigt__p_wxBMPHandler
,
40039 &_swigt__p_wxBitmap
,
40040 &_swigt__p_wxBoxSizer
,
40041 &_swigt__p_wxBrush
,
40042 &_swigt__p_wxBrushList
,
40043 &_swigt__p_wxBufferedDC
,
40044 &_swigt__p_wxBufferedPaintDC
,
40045 &_swigt__p_wxCURHandler
,
40047 &_swigt__p_wxChildFocusEvent
,
40048 &_swigt__p_wxClientDC
,
40049 &_swigt__p_wxClipboardTextEvent
,
40050 &_swigt__p_wxCloseEvent
,
40051 &_swigt__p_wxColor
,
40052 &_swigt__p_wxColour
,
40053 &_swigt__p_wxColourDatabase
,
40054 &_swigt__p_wxCommandEvent
,
40055 &_swigt__p_wxContextMenuEvent
,
40056 &_swigt__p_wxControl
,
40057 &_swigt__p_wxControlWithItems
,
40058 &_swigt__p_wxCursor
,
40060 &_swigt__p_wxDCBrushChanger
,
40061 &_swigt__p_wxDCClipper
,
40062 &_swigt__p_wxDCOverlay
,
40063 &_swigt__p_wxDCPenChanger
,
40064 &_swigt__p_wxDCTextColourChanger
,
40066 &_swigt__p_wxDateEvent
,
40067 &_swigt__p_wxDisplayChangedEvent
,
40068 &_swigt__p_wxDropFilesEvent
,
40069 &_swigt__p_wxDuplexMode
,
40070 &_swigt__p_wxEffects
,
40071 &_swigt__p_wxEncodingConverter
,
40072 &_swigt__p_wxEraseEvent
,
40073 &_swigt__p_wxEvent
,
40074 &_swigt__p_wxEvtHandler
,
40075 &_swigt__p_wxFSFile
,
40076 &_swigt__p_wxFileSystem
,
40077 &_swigt__p_wxFlexGridSizer
,
40078 &_swigt__p_wxFocusEvent
,
40080 &_swigt__p_wxFontList
,
40081 &_swigt__p_wxFontMapper
,
40082 &_swigt__p_wxGBSizerItem
,
40084 &_swigt__p_wxGDIObjListBase
,
40085 &_swigt__p_wxGDIObject
,
40086 &_swigt__p_wxGIFHandler
,
40087 &_swigt__p_wxGraphicsBrush
,
40088 &_swigt__p_wxGraphicsContext
,
40089 &_swigt__p_wxGraphicsFont
,
40090 &_swigt__p_wxGraphicsMatrix
,
40091 &_swigt__p_wxGraphicsObject
,
40092 &_swigt__p_wxGraphicsPath
,
40093 &_swigt__p_wxGraphicsPen
,
40094 &_swigt__p_wxGraphicsRenderer
,
40095 &_swigt__p_wxGridBagSizer
,
40096 &_swigt__p_wxGridSizer
,
40097 &_swigt__p_wxHeaderButtonParams
,
40098 &_swigt__p_wxICOHandler
,
40100 &_swigt__p_wxIconBundle
,
40101 &_swigt__p_wxIconLocation
,
40102 &_swigt__p_wxIconizeEvent
,
40103 &_swigt__p_wxIdleEvent
,
40104 &_swigt__p_wxImage
,
40105 &_swigt__p_wxImageHandler
,
40106 &_swigt__p_wxImageList
,
40107 &_swigt__p_wxIndividualLayoutConstraint
,
40108 &_swigt__p_wxInitDialogEvent
,
40109 &_swigt__p_wxJPEGHandler
,
40110 &_swigt__p_wxKeyEvent
,
40111 &_swigt__p_wxLanguageInfo
,
40112 &_swigt__p_wxLayoutConstraints
,
40113 &_swigt__p_wxLocale
,
40115 &_swigt__p_wxMaximizeEvent
,
40116 &_swigt__p_wxMemoryDC
,
40118 &_swigt__p_wxMenuBar
,
40119 &_swigt__p_wxMenuEvent
,
40120 &_swigt__p_wxMenuItem
,
40121 &_swigt__p_wxMetaFile
,
40122 &_swigt__p_wxMetaFileDC
,
40123 &_swigt__p_wxMirrorDC
,
40124 &_swigt__p_wxMouseCaptureChangedEvent
,
40125 &_swigt__p_wxMouseCaptureLostEvent
,
40126 &_swigt__p_wxMouseEvent
,
40127 &_swigt__p_wxMoveEvent
,
40128 &_swigt__p_wxNativeEncodingInfo
,
40129 &_swigt__p_wxNativeFontInfo
,
40130 &_swigt__p_wxNativePixelData
,
40131 &_swigt__p_wxNativePixelData_Accessor
,
40132 &_swigt__p_wxNavigationKeyEvent
,
40133 &_swigt__p_wxNcPaintEvent
,
40134 &_swigt__p_wxNotifyEvent
,
40135 &_swigt__p_wxObject
,
40136 &_swigt__p_wxOverlay
,
40137 &_swigt__p_wxPCXHandler
,
40138 &_swigt__p_wxPNGHandler
,
40139 &_swigt__p_wxPNMHandler
,
40140 &_swigt__p_wxPaintDC
,
40141 &_swigt__p_wxPaintEvent
,
40142 &_swigt__p_wxPalette
,
40143 &_swigt__p_wxPaletteChangedEvent
,
40144 &_swigt__p_wxPaperSize
,
40146 &_swigt__p_wxPenList
,
40147 &_swigt__p_wxPixelDataBase
,
40148 &_swigt__p_wxPoint
,
40149 &_swigt__p_wxPoint2D
,
40150 &_swigt__p_wxPoint2DDouble
,
40151 &_swigt__p_wxPostScriptDC
,
40152 &_swigt__p_wxPrintData
,
40153 &_swigt__p_wxPrinterDC
,
40154 &_swigt__p_wxPseudoDC
,
40155 &_swigt__p_wxPyApp
,
40156 &_swigt__p_wxPyCommandEvent
,
40157 &_swigt__p_wxPyEvent
,
40158 &_swigt__p_wxPyFontEnumerator
,
40159 &_swigt__p_wxPyImageHandler
,
40160 &_swigt__p_wxPyLocale
,
40161 &_swigt__p_wxPySizer
,
40162 &_swigt__p_wxPyValidator
,
40163 &_swigt__p_wxQueryNewPaletteEvent
,
40165 &_swigt__p_wxRect2DDouble
,
40166 &_swigt__p_wxRegion
,
40167 &_swigt__p_wxRegionIterator
,
40168 &_swigt__p_wxRendererNative
,
40169 &_swigt__p_wxRendererVersion
,
40170 &_swigt__p_wxScreenDC
,
40171 &_swigt__p_wxScrollEvent
,
40172 &_swigt__p_wxScrollWinEvent
,
40173 &_swigt__p_wxSetCursorEvent
,
40174 &_swigt__p_wxShowEvent
,
40176 &_swigt__p_wxSizeEvent
,
40177 &_swigt__p_wxSizer
,
40178 &_swigt__p_wxSizerItem
,
40179 &_swigt__p_wxSplitterRenderParams
,
40180 &_swigt__p_wxStaticBoxSizer
,
40181 &_swigt__p_wxStdDialogButtonSizer
,
40182 &_swigt__p_wxStockGDI
,
40183 &_swigt__p_wxString
,
40184 &_swigt__p_wxSysColourChangedEvent
,
40185 &_swigt__p_wxTGAHandler
,
40186 &_swigt__p_wxTIFFHandler
,
40187 &_swigt__p_wxUpdateUIEvent
,
40188 &_swigt__p_wxValidator
,
40189 &_swigt__p_wxWindow
,
40190 &_swigt__p_wxWindowCreateEvent
,
40191 &_swigt__p_wxWindowDC
,
40192 &_swigt__p_wxWindowDestroyEvent
,
40193 &_swigt__p_wxXPMHandler
,
40196 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40211 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}};
40212 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40214 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}};
40215 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40219 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}};
40220 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40221 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40223 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40224 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40225 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40226 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40227 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40228 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40229 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40230 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40233 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}};
40234 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}};
40235 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40239 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}};
40240 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40245 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40250 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}};
40251 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40252 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}};
40253 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40269 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40337 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}};
40338 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40344 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}};
40345 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40357 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40358 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40359 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40360 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40361 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40362 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40363 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40364 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40365 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}};
40366 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}};
40368 static swig_cast_info
*swig_cast_initial
[] = {
40372 _swigc__p_form_ops_t
,
40374 _swigc__p_unsigned_char
,
40375 _swigc__p_unsigned_int
,
40376 _swigc__p_unsigned_long
,
40378 _swigc__p_wxANIHandler
,
40379 _swigc__p_wxAcceleratorTable
,
40380 _swigc__p_wxActivateEvent
,
40381 _swigc__p_wxAlphaPixelData
,
40382 _swigc__p_wxAlphaPixelData_Accessor
,
40383 _swigc__p_wxAutoBufferedPaintDC
,
40384 _swigc__p_wxBMPHandler
,
40385 _swigc__p_wxBitmap
,
40386 _swigc__p_wxBoxSizer
,
40388 _swigc__p_wxBrushList
,
40389 _swigc__p_wxBufferedDC
,
40390 _swigc__p_wxBufferedPaintDC
,
40391 _swigc__p_wxCURHandler
,
40393 _swigc__p_wxChildFocusEvent
,
40394 _swigc__p_wxClientDC
,
40395 _swigc__p_wxClipboardTextEvent
,
40396 _swigc__p_wxCloseEvent
,
40398 _swigc__p_wxColour
,
40399 _swigc__p_wxColourDatabase
,
40400 _swigc__p_wxCommandEvent
,
40401 _swigc__p_wxContextMenuEvent
,
40402 _swigc__p_wxControl
,
40403 _swigc__p_wxControlWithItems
,
40404 _swigc__p_wxCursor
,
40406 _swigc__p_wxDCBrushChanger
,
40407 _swigc__p_wxDCClipper
,
40408 _swigc__p_wxDCOverlay
,
40409 _swigc__p_wxDCPenChanger
,
40410 _swigc__p_wxDCTextColourChanger
,
40412 _swigc__p_wxDateEvent
,
40413 _swigc__p_wxDisplayChangedEvent
,
40414 _swigc__p_wxDropFilesEvent
,
40415 _swigc__p_wxDuplexMode
,
40416 _swigc__p_wxEffects
,
40417 _swigc__p_wxEncodingConverter
,
40418 _swigc__p_wxEraseEvent
,
40420 _swigc__p_wxEvtHandler
,
40421 _swigc__p_wxFSFile
,
40422 _swigc__p_wxFileSystem
,
40423 _swigc__p_wxFlexGridSizer
,
40424 _swigc__p_wxFocusEvent
,
40426 _swigc__p_wxFontList
,
40427 _swigc__p_wxFontMapper
,
40428 _swigc__p_wxGBSizerItem
,
40430 _swigc__p_wxGDIObjListBase
,
40431 _swigc__p_wxGDIObject
,
40432 _swigc__p_wxGIFHandler
,
40433 _swigc__p_wxGraphicsBrush
,
40434 _swigc__p_wxGraphicsContext
,
40435 _swigc__p_wxGraphicsFont
,
40436 _swigc__p_wxGraphicsMatrix
,
40437 _swigc__p_wxGraphicsObject
,
40438 _swigc__p_wxGraphicsPath
,
40439 _swigc__p_wxGraphicsPen
,
40440 _swigc__p_wxGraphicsRenderer
,
40441 _swigc__p_wxGridBagSizer
,
40442 _swigc__p_wxGridSizer
,
40443 _swigc__p_wxHeaderButtonParams
,
40444 _swigc__p_wxICOHandler
,
40446 _swigc__p_wxIconBundle
,
40447 _swigc__p_wxIconLocation
,
40448 _swigc__p_wxIconizeEvent
,
40449 _swigc__p_wxIdleEvent
,
40451 _swigc__p_wxImageHandler
,
40452 _swigc__p_wxImageList
,
40453 _swigc__p_wxIndividualLayoutConstraint
,
40454 _swigc__p_wxInitDialogEvent
,
40455 _swigc__p_wxJPEGHandler
,
40456 _swigc__p_wxKeyEvent
,
40457 _swigc__p_wxLanguageInfo
,
40458 _swigc__p_wxLayoutConstraints
,
40459 _swigc__p_wxLocale
,
40461 _swigc__p_wxMaximizeEvent
,
40462 _swigc__p_wxMemoryDC
,
40464 _swigc__p_wxMenuBar
,
40465 _swigc__p_wxMenuEvent
,
40466 _swigc__p_wxMenuItem
,
40467 _swigc__p_wxMetaFile
,
40468 _swigc__p_wxMetaFileDC
,
40469 _swigc__p_wxMirrorDC
,
40470 _swigc__p_wxMouseCaptureChangedEvent
,
40471 _swigc__p_wxMouseCaptureLostEvent
,
40472 _swigc__p_wxMouseEvent
,
40473 _swigc__p_wxMoveEvent
,
40474 _swigc__p_wxNativeEncodingInfo
,
40475 _swigc__p_wxNativeFontInfo
,
40476 _swigc__p_wxNativePixelData
,
40477 _swigc__p_wxNativePixelData_Accessor
,
40478 _swigc__p_wxNavigationKeyEvent
,
40479 _swigc__p_wxNcPaintEvent
,
40480 _swigc__p_wxNotifyEvent
,
40481 _swigc__p_wxObject
,
40482 _swigc__p_wxOverlay
,
40483 _swigc__p_wxPCXHandler
,
40484 _swigc__p_wxPNGHandler
,
40485 _swigc__p_wxPNMHandler
,
40486 _swigc__p_wxPaintDC
,
40487 _swigc__p_wxPaintEvent
,
40488 _swigc__p_wxPalette
,
40489 _swigc__p_wxPaletteChangedEvent
,
40490 _swigc__p_wxPaperSize
,
40492 _swigc__p_wxPenList
,
40493 _swigc__p_wxPixelDataBase
,
40495 _swigc__p_wxPoint2D
,
40496 _swigc__p_wxPoint2DDouble
,
40497 _swigc__p_wxPostScriptDC
,
40498 _swigc__p_wxPrintData
,
40499 _swigc__p_wxPrinterDC
,
40500 _swigc__p_wxPseudoDC
,
40502 _swigc__p_wxPyCommandEvent
,
40503 _swigc__p_wxPyEvent
,
40504 _swigc__p_wxPyFontEnumerator
,
40505 _swigc__p_wxPyImageHandler
,
40506 _swigc__p_wxPyLocale
,
40507 _swigc__p_wxPySizer
,
40508 _swigc__p_wxPyValidator
,
40509 _swigc__p_wxQueryNewPaletteEvent
,
40511 _swigc__p_wxRect2DDouble
,
40512 _swigc__p_wxRegion
,
40513 _swigc__p_wxRegionIterator
,
40514 _swigc__p_wxRendererNative
,
40515 _swigc__p_wxRendererVersion
,
40516 _swigc__p_wxScreenDC
,
40517 _swigc__p_wxScrollEvent
,
40518 _swigc__p_wxScrollWinEvent
,
40519 _swigc__p_wxSetCursorEvent
,
40520 _swigc__p_wxShowEvent
,
40522 _swigc__p_wxSizeEvent
,
40524 _swigc__p_wxSizerItem
,
40525 _swigc__p_wxSplitterRenderParams
,
40526 _swigc__p_wxStaticBoxSizer
,
40527 _swigc__p_wxStdDialogButtonSizer
,
40528 _swigc__p_wxStockGDI
,
40529 _swigc__p_wxString
,
40530 _swigc__p_wxSysColourChangedEvent
,
40531 _swigc__p_wxTGAHandler
,
40532 _swigc__p_wxTIFFHandler
,
40533 _swigc__p_wxUpdateUIEvent
,
40534 _swigc__p_wxValidator
,
40535 _swigc__p_wxWindow
,
40536 _swigc__p_wxWindowCreateEvent
,
40537 _swigc__p_wxWindowDC
,
40538 _swigc__p_wxWindowDestroyEvent
,
40539 _swigc__p_wxXPMHandler
,
40543 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40545 static swig_const_info swig_const_table
[] = {
40546 {0, 0, 0, 0.0, 0, 0}};
40551 /* -----------------------------------------------------------------------------
40552 * Type initialization:
40553 * This problem is tough by the requirement that no dynamic
40554 * memory is used. Also, since swig_type_info structures store pointers to
40555 * swig_cast_info structures and swig_cast_info structures store pointers back
40556 * to swig_type_info structures, we need some lookup code at initialization.
40557 * The idea is that swig generates all the structures that are needed.
40558 * The runtime then collects these partially filled structures.
40559 * The SWIG_InitializeModule function takes these initial arrays out of
40560 * swig_module, and does all the lookup, filling in the swig_module.types
40561 * array with the correct data and linking the correct swig_cast_info
40562 * structures together.
40564 * The generated swig_type_info structures are assigned staticly to an initial
40565 * array. We just loop though that array, and handle each type individually.
40566 * First we lookup if this type has been already loaded, and if so, use the
40567 * loaded structure instead of the generated one. Then we have to fill in the
40568 * cast linked list. The cast data is initially stored in something like a
40569 * two-dimensional array. Each row corresponds to a type (there are the same
40570 * number of rows as there are in the swig_type_initial array). Each entry in
40571 * a column is one of the swig_cast_info structures for that type.
40572 * The cast_initial array is actually an array of arrays, because each row has
40573 * a variable number of columns. So to actually build the cast linked list,
40574 * we find the array of casts associated with the type, and loop through it
40575 * adding the casts to the list. The one last trick we need to do is making
40576 * sure the type pointer in the swig_cast_info struct is correct.
40578 * First off, we lookup the cast->type name to see if it is already loaded.
40579 * There are three cases to handle:
40580 * 1) If the cast->type has already been loaded AND the type we are adding
40581 * casting info to has not been loaded (it is in this module), THEN we
40582 * replace the cast->type pointer with the type pointer that has already
40584 * 2) If BOTH types (the one we are adding casting info to, and the
40585 * cast->type) are loaded, THEN the cast info has already been loaded by
40586 * the previous module so we just ignore it.
40587 * 3) Finally, if cast->type has not already been loaded, then we add that
40588 * swig_cast_info to the linked list (because the cast->type) pointer will
40590 * ----------------------------------------------------------------------------- */
40600 #define SWIGRUNTIME_DEBUG
40604 SWIG_InitializeModule(void *clientdata
) {
40606 swig_module_info
*module_head
;
40607 static int init_run
= 0;
40609 clientdata
= clientdata
;
40611 if (init_run
) return;
40614 /* Initialize the swig_module */
40615 swig_module
.type_initial
= swig_type_initial
;
40616 swig_module
.cast_initial
= swig_cast_initial
;
40618 /* Try and load any already created modules */
40619 module_head
= SWIG_GetModule(clientdata
);
40621 swig_module
.next
= module_head
->next
;
40622 module_head
->next
= &swig_module
;
40624 /* This is the first module loaded */
40625 swig_module
.next
= &swig_module
;
40626 SWIG_SetModule(clientdata
, &swig_module
);
40629 /* Now work on filling in swig_module.types */
40630 #ifdef SWIGRUNTIME_DEBUG
40631 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40633 for (i
= 0; i
< swig_module
.size
; ++i
) {
40634 swig_type_info
*type
= 0;
40635 swig_type_info
*ret
;
40636 swig_cast_info
*cast
;
40638 #ifdef SWIGRUNTIME_DEBUG
40639 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40642 /* if there is another module already loaded */
40643 if (swig_module
.next
!= &swig_module
) {
40644 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40647 /* Overwrite clientdata field */
40648 #ifdef SWIGRUNTIME_DEBUG
40649 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40651 if (swig_module
.type_initial
[i
]->clientdata
) {
40652 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40653 #ifdef SWIGRUNTIME_DEBUG
40654 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40658 type
= swig_module
.type_initial
[i
];
40661 /* Insert casting types */
40662 cast
= swig_module
.cast_initial
[i
];
40663 while (cast
->type
) {
40664 /* Don't need to add information already in the list */
40666 #ifdef SWIGRUNTIME_DEBUG
40667 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40669 if (swig_module
.next
!= &swig_module
) {
40670 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40671 #ifdef SWIGRUNTIME_DEBUG
40672 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40676 if (type
== swig_module
.type_initial
[i
]) {
40677 #ifdef SWIGRUNTIME_DEBUG
40678 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40683 /* Check for casting already in the list */
40684 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40685 #ifdef SWIGRUNTIME_DEBUG
40686 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40688 if (!ocast
) ret
= 0;
40693 #ifdef SWIGRUNTIME_DEBUG
40694 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40697 type
->cast
->prev
= cast
;
40698 cast
->next
= type
->cast
;
40704 /* Set entry in modules->types array equal to the type */
40705 swig_module
.types
[i
] = type
;
40707 swig_module
.types
[i
] = 0;
40709 #ifdef SWIGRUNTIME_DEBUG
40710 printf("**** SWIG_InitializeModule: Cast List ******\n");
40711 for (i
= 0; i
< swig_module
.size
; ++i
) {
40713 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40714 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40715 while (cast
->type
) {
40716 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40720 printf("---- Total casts: %d\n",j
);
40722 printf("**** SWIG_InitializeModule: Cast List ******\n");
40726 /* This function will propagate the clientdata field of type to
40727 * any new swig_type_info structures that have been added into the list
40728 * of equivalent types. It is like calling
40729 * SWIG_TypeClientData(type, clientdata) a second time.
40732 SWIG_PropagateClientData(void) {
40734 swig_cast_info
*equiv
;
40735 static int init_run
= 0;
40737 if (init_run
) return;
40740 for (i
= 0; i
< swig_module
.size
; i
++) {
40741 if (swig_module
.types
[i
]->clientdata
) {
40742 equiv
= swig_module
.types
[i
]->cast
;
40744 if (!equiv
->converter
) {
40745 if (equiv
->type
&& !equiv
->type
->clientdata
)
40746 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40748 equiv
= equiv
->next
;
40768 /* Python-specific SWIG API */
40769 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40770 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40771 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40773 /* -----------------------------------------------------------------------------
40774 * global variable support code.
40775 * ----------------------------------------------------------------------------- */
40777 typedef struct swig_globalvar
{
40778 char *name
; /* Name of global variable */
40779 PyObject
*(*get_attr
)(void); /* Return the current value */
40780 int (*set_attr
)(PyObject
*); /* Set the value */
40781 struct swig_globalvar
*next
;
40784 typedef struct swig_varlinkobject
{
40786 swig_globalvar
*vars
;
40787 } swig_varlinkobject
;
40789 SWIGINTERN PyObject
*
40790 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40791 return PyString_FromString("<Swig global variables>");
40794 SWIGINTERN PyObject
*
40795 swig_varlink_str(swig_varlinkobject
*v
) {
40796 PyObject
*str
= PyString_FromString("(");
40797 swig_globalvar
*var
;
40798 for (var
= v
->vars
; var
; var
=var
->next
) {
40799 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40800 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40802 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40807 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40808 PyObject
*str
= swig_varlink_str(v
);
40809 fprintf(fp
,"Swig global variables ");
40810 fprintf(fp
,"%s\n", PyString_AsString(str
));
40816 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40817 swig_globalvar
*var
= v
->vars
;
40819 swig_globalvar
*n
= var
->next
;
40826 SWIGINTERN PyObject
*
40827 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40828 PyObject
*res
= NULL
;
40829 swig_globalvar
*var
= v
->vars
;
40831 if (strcmp(var
->name
,n
) == 0) {
40832 res
= (*var
->get_attr
)();
40837 if (res
== NULL
&& !PyErr_Occurred()) {
40838 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40844 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40846 swig_globalvar
*var
= v
->vars
;
40848 if (strcmp(var
->name
,n
) == 0) {
40849 res
= (*var
->set_attr
)(p
);
40854 if (res
== 1 && !PyErr_Occurred()) {
40855 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40860 SWIGINTERN PyTypeObject
*
40861 swig_varlink_type(void) {
40862 static char varlink__doc__
[] = "Swig var link object";
40863 static PyTypeObject varlink_type
;
40864 static int type_init
= 0;
40866 const PyTypeObject tmp
40868 PyObject_HEAD_INIT(NULL
)
40869 0, /* Number of items in variable part (ob_size) */
40870 (char *)"swigvarlink", /* Type name (tp_name) */
40871 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40872 0, /* Itemsize (tp_itemsize) */
40873 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40874 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40875 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40876 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40877 0, /* tp_compare */
40878 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40879 0, /* tp_as_number */
40880 0, /* tp_as_sequence */
40881 0, /* tp_as_mapping */
40884 (reprfunc
)swig_varlink_str
, /* tp_str */
40885 0, /* tp_getattro */
40886 0, /* tp_setattro */
40887 0, /* tp_as_buffer */
40889 varlink__doc__
, /* tp_doc */
40890 0, /* tp_traverse */
40892 0, /* tp_richcompare */
40893 0, /* tp_weaklistoffset */
40894 #if PY_VERSION_HEX >= 0x02020000
40895 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40897 #if PY_VERSION_HEX >= 0x02030000
40900 #ifdef COUNT_ALLOCS
40901 0,0,0,0 /* tp_alloc -> tp_next */
40904 varlink_type
= tmp
;
40905 varlink_type
.ob_type
= &PyType_Type
;
40908 return &varlink_type
;
40911 /* Create a variable linking object for use later */
40912 SWIGINTERN PyObject
*
40913 SWIG_Python_newvarlink(void) {
40914 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40918 return ((PyObject
*) result
);
40922 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40923 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40924 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40926 size_t size
= strlen(name
)+1;
40927 gv
->name
= (char *)malloc(size
);
40929 strncpy(gv
->name
,name
,size
);
40930 gv
->get_attr
= get_attr
;
40931 gv
->set_attr
= set_attr
;
40932 gv
->next
= v
->vars
;
40938 SWIGINTERN PyObject
*
40940 static PyObject
*_SWIG_globals
= 0;
40941 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40942 return _SWIG_globals
;
40945 /* -----------------------------------------------------------------------------
40946 * constants/methods manipulation
40947 * ----------------------------------------------------------------------------- */
40949 /* Install Constants */
40951 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40954 for (i
= 0; constants
[i
].type
; ++i
) {
40955 switch(constants
[i
].type
) {
40956 case SWIG_PY_POINTER
:
40957 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40959 case SWIG_PY_BINARY
:
40960 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40967 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40973 /* -----------------------------------------------------------------------------*/
40974 /* Fix SwigMethods to carry the callback ptrs when needed */
40975 /* -----------------------------------------------------------------------------*/
40978 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40979 swig_const_info
*const_table
,
40980 swig_type_info
**types
,
40981 swig_type_info
**types_initial
) {
40983 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40984 const char *c
= methods
[i
].ml_doc
;
40985 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40987 swig_const_info
*ci
= 0;
40988 const char *name
= c
+ 10;
40989 for (j
= 0; const_table
[j
].type
; ++j
) {
40990 if (strncmp(const_table
[j
].name
, name
,
40991 strlen(const_table
[j
].name
)) == 0) {
40992 ci
= &(const_table
[j
]);
40997 size_t shift
= (ci
->ptype
) - types
;
40998 swig_type_info
*ty
= types_initial
[shift
];
40999 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41000 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41001 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41004 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41006 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41008 strncpy(buff
, "swig_ptr: ", 10);
41010 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41011 methods
[i
].ml_doc
= ndoc
;
41023 /* -----------------------------------------------------------------------------*
41024 * Partial Init method
41025 * -----------------------------------------------------------------------------*/
41030 SWIGEXPORT
void SWIG_init(void) {
41033 /* Fix SwigMethods to carry the callback ptrs when needed */
41034 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41036 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41037 d
= PyModule_GetDict(m
);
41039 SWIG_InitializeModule(0);
41040 SWIG_InstallConstants(d
,swig_const_table
);
41043 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41044 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41045 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41046 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41047 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41048 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41049 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41050 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41051 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41052 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41053 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41054 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41055 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41056 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41057 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41058 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41059 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41060 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41061 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41062 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41063 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41064 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41065 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41066 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41067 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41068 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41069 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41070 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41071 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41072 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41073 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41074 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41075 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41076 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41077 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41078 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41079 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41080 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41081 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41082 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41083 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41084 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41085 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41086 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41087 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41088 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41089 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41090 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41091 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41092 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41093 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41094 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41095 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41096 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41097 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41098 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41099 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41100 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41101 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41102 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41103 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41104 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41105 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41106 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41107 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41108 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41109 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41110 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41111 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41112 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41113 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41114 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41115 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41116 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41117 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41118 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41119 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41166 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41167 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41168 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41169 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41170 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41171 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41172 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41173 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41174 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41176 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41409 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41410 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41411 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41412 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41413 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41414 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41415 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41416 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41417 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41418 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41419 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41420 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41421 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41422 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41423 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41424 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41425 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41426 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41427 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41428 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41429 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41430 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41431 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41432 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41433 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41434 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41435 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41436 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41437 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41438 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41439 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41440 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41441 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41442 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41443 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41444 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41445 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41446 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41447 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41448 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41449 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41450 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41451 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41452 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41453 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41454 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41455 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41456 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41457 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41458 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41459 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41460 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41461 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41462 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41463 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41464 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41465 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41466 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41467 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41468 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41469 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41470 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41471 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41472 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41473 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41474 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41475 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41476 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41477 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41478 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41479 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41480 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41481 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41482 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41483 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41484 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41485 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41486 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41487 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41488 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41489 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41490 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41491 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41492 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41493 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41494 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41495 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41496 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41497 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41498 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41499 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41500 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41501 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41503 // Work around a chicken/egg problem in drawlist.cpp
41504 wxPyDrawList_SetAPIPtr();