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
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2982 wxSize
size(self
->GetWidth(), self
->GetHeight());
2985 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2986 wxMask
*mask
= new wxMask(*self
, colour
);
2987 self
->SetMask(mask
);
2989 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2990 self
->SetWidth(size
.x
);
2991 self
->SetHeight(size
.y
);
2993 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2994 int height
=self
->GetHeight();
2995 int width
=self
->GetWidth();
2997 if (DATASIZE
!= width
* height
* 3) {
2998 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3000 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3002 // raise an exception...
3003 wxPyErr_SetString(PyExc_RuntimeError
,
3004 "Failed to gain raw access to bitmap data.");
3008 wxNativePixelData::Iterator
p(pixData
);
3009 for (int y
=0; y
<height
; y
++) {
3010 wxNativePixelData::Iterator rowStart
= p
;
3011 for (int x
=0; x
<width
; x
++) {
3012 p
.Red() = *(data
++);
3013 p
.Green() = *(data
++);
3014 p
.Blue() = *(data
++);
3018 p
.OffsetY(pixData
, 1);
3021 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3022 int height
=self
->GetHeight();
3023 int width
=self
->GetWidth();
3025 if (DATASIZE
!= width
* height
* 4) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3030 // raise an exception...
3031 wxPyErr_SetString(PyExc_RuntimeError
,
3032 "Failed to gain raw access to bitmap data.");
3037 wxAlphaPixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxAlphaPixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = wxPy_premultiply(*(data
++), a
);
3043 p
.Green() = wxPy_premultiply(*(data
++), a
);
3044 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3045 p
.Alpha() = a
; data
++;
3049 p
.OffsetY(pixData
, 1);
3052 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3053 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3055 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3056 buffer data
, int DATASIZE
,
3057 buffer alpha
, int ALPHASIZE
)
3059 if (DATASIZE
!= width
*height
*3) {
3060 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3064 if (ALPHASIZE
!= width
*height
) {
3065 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3069 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3070 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3072 // raise an exception...
3073 wxPyErr_SetString(PyExc_RuntimeError
,
3074 "Failed to gain raw access to bitmap data.");
3079 wxAlphaPixelData::Iterator
p(pixData
);
3080 for (int y
=0; y
<height
; y
++) {
3081 wxAlphaPixelData::Iterator rowStart
= p
;
3082 for (int x
=0; x
<width
; x
++) {
3083 byte a
= *(alpha
++);
3084 p
.Red() = wxPy_premultiply(*(data
++), a
);
3085 p
.Green() = wxPy_premultiply(*(data
++), a
);
3086 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3091 p
.OffsetY(pixData
, 1);
3096 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3098 if (DATASIZE
!= width
*height
*3) {
3099 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3103 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3104 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3106 // raise an exception...
3107 wxPyErr_SetString(PyExc_RuntimeError
,
3108 "Failed to gain raw access to bitmap data.");
3112 wxNativePixelData::Iterator
p(pixData
);
3113 for (int y
=0; y
<height
; y
++) {
3114 wxNativePixelData::Iterator rowStart
= p
;
3115 for (int x
=0; x
<width
; x
++) {
3116 p
.Red() = *(data
++);
3117 p
.Green() = *(data
++);
3118 p
.Blue() = *(data
++);
3122 p
.OffsetY(pixData
, 1);
3128 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3130 if (DATASIZE
!= width
*height
*4) {
3131 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3135 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3136 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3138 // raise an exception...
3139 wxPyErr_SetString(PyExc_RuntimeError
,
3140 "Failed to gain raw access to bitmap data.");
3145 wxAlphaPixelData::Iterator
p(pixData
);
3146 for (int y
=0; y
<height
; y
++) {
3147 wxAlphaPixelData::Iterator rowStart
= p
;
3148 for (int x
=0; x
<width
; x
++) {
3150 p
.Red() = wxPy_premultiply(*(data
++), a
);
3151 p
.Green() = wxPy_premultiply(*(data
++), a
);
3152 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3153 p
.Alpha() = a
; data
++;
3157 p
.OffsetY(pixData
, 1);
3163 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3165 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3167 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3169 self
->Green() = green
;
3170 self
->Blue() = blue
;
3172 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3173 PyObject
* rv
= PyTuple_New(3);
3174 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3175 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3176 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3180 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3182 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3184 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3185 self
->Red() = wxPy_premultiply(red
, alpha
);
3186 self
->Green() = wxPy_premultiply(green
, alpha
);
3187 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3188 self
->Alpha() = alpha
;
3190 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3191 PyObject
* rv
= PyTuple_New(4);
3192 int red
= self
->Red();
3193 int green
= self
->Green();
3194 int blue
= self
->Blue();
3195 int alpha
= self
->Alpha();
3197 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3198 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3199 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3200 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3203 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3204 if ( !colour
.IsOk() )
3205 return new wxMask(bitmap
, *wxBLACK
);
3207 return new wxMask(bitmap
, colour
);
3210 #include <wx/iconbndl.h>
3212 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3213 wxIcon
* icon
= new wxIcon();
3214 icon
->CopyFromBitmap(bmp
);
3217 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3218 char** cArray
= NULL
;
3221 cArray
= ConvertListOfStrings(listOfStrings
);
3224 icon
= new wxIcon(cArray
);
3228 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3229 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
, num
);
3236 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3238 self
->SetIndex(num
);
3243 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3245 return self
->GetIndex();
3250 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3252 wxImage
img(cursorName
, type
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3254 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3255 return new wxCursor(img
);
3257 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3263 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3266 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3267 return self
->operator bool();
3270 #include <wx/fontutil.h>
3271 #include <wx/fontmap.h>
3272 #include <wx/fontenum.h>
3274 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3275 return self
->ToString();
3278 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3279 { wxPyRaiseNotImplemented(); return NULL
; }
3281 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3282 { wxPyRaiseNotImplemented(); return false; }
3285 SWIGINTERNINLINE PyObject
*
3286 SWIG_From_size_t (size_t value
)
3288 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3292 SWIGINTERNINLINE
int
3293 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3296 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3297 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3301 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3302 wxFontEncoding alt_enc
;
3303 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3304 return PyInt_FromLong(alt_enc
);
3310 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3311 wxNativeFontInfo nfi
;
3312 nfi
.FromString(info
);
3313 return new wxFont(nfi
);
3315 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3318 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3319 return wxFontBase::New(pixelSize
, family
,
3320 style
, weight
, underlined
,
3323 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3324 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3326 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3327 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3329 class wxPyFontEnumerator
: public wxFontEnumerator
{
3331 wxPyFontEnumerator() {}
3332 ~wxPyFontEnumerator() {}
3334 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3335 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3340 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3341 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3344 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3346 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 ret
= wxArrayString2PyList_helper(arr
);
3349 wxPyEndBlockThreads(blocked
);
3352 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3354 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 ret
= wxArrayString2PyList_helper(arr
);
3357 wxPyEndBlockThreads(blocked
);
3363 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3366 loc
= new wxLocale();
3368 loc
= new wxLocale(language
, flags
);
3369 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3370 // for the floating point conversions and such to work right.
3371 #if PY_VERSION_HEX < 0x02040000
3372 setlocale(LC_NUMERIC
, "C");
3376 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3377 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3378 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3379 // for the floating point conversions and such to work right.
3380 #if PY_VERSION_HEX < 0x02040000
3381 setlocale(LC_NUMERIC
, "C");
3385 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 bool rc
= self
->Init(language
, flags
);
3387 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3388 // for the floating point conversions and such to work right.
3389 #if PY_VERSION_HEX < 0x02040000
3390 setlocale(LC_NUMERIC
, "C");
3395 class wxPyLocale
: public wxLocale
3400 wxPyLocale(const wxChar
*szName
, // name (for messages)
3401 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3402 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3403 bool bLoadDefault
= true, // preload wxstd.mo?
3404 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3406 wxPyLocale(int language
, // wxLanguage id or custom language
3407 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szDomain
= NULL
) const;
3413 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3418 const wxChar
*szDomain
= NULL
) const;
3419 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3420 const wxChar
*szOrigString2
, size_t n
,
3421 const wxChar
*szDomain
= NULL
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3433 const wxChar
*szShort
, // dir prefix (for msg files)
3434 const wxChar
*szLocale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3451 const wxChar
*szDomain
) const
3453 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3454 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3457 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3458 const wxChar
*szOrigString2
, size_t n
,
3459 const wxChar
*szDomain
) const
3461 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3462 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3465 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3466 const wxChar
*szDomain
) const
3469 static wxString str
;
3470 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.
3471 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3472 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3473 PyObject
* param1
= wx2PyString(szOrigString
);
3474 PyObject
* param2
= wx2PyString(szDomain
);
3475 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3479 str
= Py2wxString(ret
);
3483 wxPyEndBlockThreads(blocked
);
3484 return (found
? (wxChar
*)str
.c_str() : NULL
);
3487 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3488 const wxChar
*szOrigString2
, size_t n
,
3489 const wxChar
*szDomain
) const
3492 static wxString str
;
3493 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.
3494 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3495 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3496 PyObject
* param1
= wx2PyString(szOrigString
);
3497 PyObject
* param2
= wx2PyString(szOrigString2
);
3498 PyObject
* param4
= wx2PyString(szDomain
);
3499 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? (wxChar
*)str
.c_str() : NULL
);
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 #include <wx/metafile.h>
3612 #include <wx/graphics.h>
3615 #if !wxUSE_GRAPHICS_CONTEXT
3616 // C++ stub classes for platforms or build configurations that don't have
3617 // wxGraphicsContext yet.
3619 class wxGraphicsRenderer
;
3620 class wxGraphicsMatrix
;
3623 class wxGraphicsObject
: public wxObject
3626 wxGraphicsObject() {}
3627 wxGraphicsObject( wxGraphicsRenderer
* ) {
3628 PyErr_SetString(PyExc_NotImplementedError
,
3629 "wx.GraphicsObject is not available on this platform.");
3631 wxGraphicsObject( const wxGraphicsObject
& ) {}
3632 virtual ~wxGraphicsObject() {}
3633 bool IsNull() const { return false; }
3634 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3639 class wxGraphicsPen
: public wxGraphicsObject
3643 virtual ~wxGraphicsPen() {}
3645 wxGraphicsPen wxNullGraphicsPen
;
3649 class wxGraphicsBrush
: public wxGraphicsObject
3652 wxGraphicsBrush() {}
3653 virtual ~wxGraphicsBrush() {}
3655 wxGraphicsBrush wxNullGraphicsBrush
;
3659 class wxGraphicsFont
: public wxGraphicsObject
3663 virtual ~wxGraphicsFont() {}
3665 wxGraphicsFont wxNullGraphicsFont
;
3669 class wxGraphicsPath
: public wxGraphicsObject
3672 wxGraphicsPath() { }
3673 wxGraphicsPath(wxGraphicsRenderer
* ) {
3674 PyErr_SetString(PyExc_NotImplementedError
,
3675 "wx.GraphicsPath is not available on this platform.");
3677 virtual ~wxGraphicsPath() {}
3679 void MoveToPoint( wxDouble
, wxDouble
) {}
3680 void MoveToPoint( const wxPoint2DDouble
& ) {}
3681 void AddLineToPoint( wxDouble
, wxDouble
) {}
3682 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3683 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3684 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3685 void AddPath( const wxGraphicsPath
& ) {}
3686 void CloseSubpath() {}
3687 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3688 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3689 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3690 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3692 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3694 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3695 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3697 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3698 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3699 void * GetNativePath() const { return NULL
; }
3700 void UnGetNativePath(void *) const {}
3701 void Transform( const wxGraphicsMatrix
& ) {}
3702 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3703 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3705 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3706 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3708 wxGraphicsPath wxNullGraphicsPath
;
3711 class wxGraphicsMatrix
: public wxGraphicsObject
3714 wxGraphicsMatrix() { }
3715 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3716 PyErr_SetString(PyExc_NotImplementedError
,
3717 "wx.GraphicsMatrix is not available on this platform.");
3719 virtual ~wxGraphicsMatrix() {}
3720 virtual void Concat( const wxGraphicsMatrix
& ) {}
3721 virtual void Copy( const wxGraphicsMatrix
& ) {}
3722 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3723 wxDouble
, wxDouble
) {}
3724 virtual void Invert() {}
3725 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3726 virtual bool IsIdentity() const { return false; }
3727 virtual void Translate( wxDouble
, wxDouble
) {}
3728 virtual void Scale( wxDouble
, wxDouble
) {}
3729 virtual void Rotate( wxDouble
) {}
3730 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3731 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3732 virtual void * GetNativeMatrix() const { return NULL
; }
3734 wxGraphicsMatrix wxNullGraphicsMatrix
;
3737 class wxGraphicsContext
: public wxGraphicsObject
3741 wxGraphicsContext(wxGraphicsRenderer
* ) {
3742 PyErr_SetString(PyExc_NotImplementedError
,
3743 "wx.GraphicsContext is not available on this platform.");
3746 virtual ~wxGraphicsContext() {}
3748 static wxGraphicsContext
* Create() {
3749 PyErr_SetString(PyExc_NotImplementedError
,
3750 "wx.GraphicsContext is not available on this platform.");
3753 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3754 PyErr_SetString(PyExc_NotImplementedError
,
3755 "wx.GraphicsContext is not available on this platform.");
3759 static wxGraphicsContext
* CreateFromNative( void * ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3765 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3766 PyErr_SetString(PyExc_NotImplementedError
,
3767 "wx.GraphicsContext is not available on this platform.");
3771 static wxGraphicsContext
* Create( wxWindow
* ) {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3777 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3779 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3781 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3783 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3784 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3786 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3787 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3788 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3790 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3792 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3793 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3795 virtual void PushState() {}
3796 virtual void PopState() {}
3797 virtual void Clip( const wxRegion
& ) {}
3798 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3799 virtual void ResetClip() {}
3800 virtual void * GetNativeContext() { return NULL
; }
3801 virtual void Translate( wxDouble
, wxDouble
) {}
3802 virtual void Scale( wxDouble
, wxDouble
) {}
3803 virtual void Rotate( wxDouble
) {}
3804 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3805 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3806 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3808 virtual void SetPen( const wxGraphicsPen
& ) {}
3809 void SetPen( const wxPen
& ) {}
3811 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3812 void SetBrush( const wxBrush
& ) {}
3814 virtual void SetFont( const wxGraphicsFont
& ) {}
3815 void SetFont( const wxFont
&, const wxColour
& ) {}
3817 virtual void StrokePath( const wxGraphicsPath
& ) {}
3818 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3819 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3821 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3822 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3825 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3826 wxDouble
*, wxDouble
* ) const {}
3827 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3829 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3830 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3833 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3834 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3835 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3836 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3840 virtual bool ShouldOffset() const { return false; }
3844 class wxGraphicsRenderer
: public wxObject
3847 wxGraphicsRenderer() {
3848 PyErr_SetString(PyExc_NotImplementedError
,
3849 "wx.GraphicsRenderer is not available on this platform.");
3852 virtual ~wxGraphicsRenderer() {}
3854 static wxGraphicsRenderer
* GetDefaultRenderer() {
3855 PyErr_SetString(PyExc_NotImplementedError
,
3856 "wx.GraphicsRenderer is not available on this platform.");
3860 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3861 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3862 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3863 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3866 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3868 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3869 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3871 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3872 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3873 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3874 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3875 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3876 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3877 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3882 class wxGCDC
: public wxWindowDC
3885 wxGCDC(const wxWindowDC
&) {
3886 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3887 PyErr_SetString(PyExc_NotImplementedError
,
3888 "wxGCDC is not available on this platform.");
3889 wxPyEndBlockThreads(blocked
);
3892 wxGCDC(const wxWindow
*) {
3893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3894 PyErr_SetString(PyExc_NotImplementedError
,
3895 "wxGCDC is not available on this platform.");
3896 wxPyEndBlockThreads(blocked
);
3900 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3901 PyErr_SetString(PyExc_NotImplementedError
,
3902 "wxGCDC is not available on this platform.");
3903 wxPyEndBlockThreads(blocked
);
3906 virtual ~wxGCDC() {}
3908 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3909 void SetGraphicsContext( wxGraphicsContext
* ) {}
3914 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3915 if ( !backgroundBrush
.IsNull() )
3916 self
->DrawText(str
, x
, y
, backgroundBrush
);
3918 self
->DrawText(str
, x
, y
);
3920 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3921 if ( !backgroundBrush
.IsNull() )
3922 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3924 self
->DrawText(str
, x
, y
, angle
);
3926 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3927 wxDouble width
= 0.0,
3929 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3930 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3931 PyObject
* rv
= PyTuple_New(2);
3932 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3933 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3936 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3937 wxArrayDouble widths
;
3938 self
->GetPartialTextExtents(text
, widths
);
3941 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3942 size_t c1
, c2
, count
;
3943 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3944 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3946 if ( beginP
!= NULL
&& endP
!= NULL
)
3948 count
= wxMin(c1
, c2
);
3949 self
->StrokeLines(count
, beginP
, endP
);
3955 #include "wx/dcgraph.h"
3958 #include <wx/overlay.h>
3962 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3963 self
->AddColour(name
, wxColour(red
, green
, blue
));
3966 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3967 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3968 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3969 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3972 #include <wx/effects.h>
3975 #include "wx/renderer.h"
3978 SWIGINTERNINLINE PyObject
*
3979 SWIG_From_bool (bool value
)
3981 return PyBool_FromLong(value
? 1 : 0);
3985 #include "wx/wxPython/pseudodc.h"
3987 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3989 self
->GetIdBounds(id
, rect
);
3995 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3996 PyObject
*resultobj
= 0;
3997 wxGDIObject
*result
= 0 ;
3999 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4001 if (!wxPyCheckForApp()) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (wxGDIObject
*)new wxGDIObject();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4014 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4019 PyObject
*swig_obj
[1] ;
4021 if (!args
) SWIG_fail
;
4023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4024 if (!SWIG_IsOK(res1
)) {
4025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4027 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_Py_Void();
4042 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 PyObject
*resultobj
= 0;
4044 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4048 PyObject
*swig_obj
[1] ;
4050 if (!args
) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4056 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (bool)(arg1
)->IsNull();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4072 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4075 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4076 return SWIG_Py_Void();
4079 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4080 return SWIG_Python_InitShadowInstance(args
);
4083 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
= 0;
4085 byte arg1
= (byte
) 0 ;
4086 byte arg2
= (byte
) 0 ;
4087 byte arg3
= (byte
) 0 ;
4088 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4089 wxColour
*result
= 0 ;
4090 unsigned char val1
;
4092 unsigned char val2
;
4094 unsigned char val3
;
4096 unsigned char val4
;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4100 PyObject
* obj2
= 0 ;
4101 PyObject
* obj3
= 0 ;
4102 char * kwnames
[] = {
4103 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4108 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4109 if (!SWIG_IsOK(ecode1
)) {
4110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4112 arg1
= static_cast< byte
>(val1
);
4115 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4116 if (!SWIG_IsOK(ecode2
)) {
4117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4119 arg2
= static_cast< byte
>(val2
);
4122 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4123 if (!SWIG_IsOK(ecode3
)) {
4124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4126 arg3
= static_cast< byte
>(val3
);
4129 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4130 if (!SWIG_IsOK(ecode4
)) {
4131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4133 arg4
= static_cast< byte
>(val4
);
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4148 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
= 0;
4150 wxString
*arg1
= 0 ;
4151 wxColour
*result
= 0 ;
4152 bool temp1
= false ;
4153 PyObject
* obj0
= 0 ;
4154 char * kwnames
[] = {
4155 (char *) "colorName", NULL
4158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4160 arg1
= wxString_in_helper(obj0
);
4161 if (arg1
== NULL
) SWIG_fail
;
4165 if (!wxPyCheckForApp()) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4186 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
= 0;
4188 unsigned long arg1
;
4189 wxColour
*result
= 0 ;
4190 unsigned long val1
;
4192 PyObject
* obj0
= 0 ;
4193 char * kwnames
[] = {
4194 (char *) "colRGB", NULL
4197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4198 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4199 if (!SWIG_IsOK(ecode1
)) {
4200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4202 arg1
= static_cast< unsigned long >(val1
);
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (wxColour
*)new wxColour(arg1
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4216 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4217 PyObject
*resultobj
= 0;
4218 wxColour
*arg1
= (wxColour
*) 0 ;
4221 PyObject
*swig_obj
[1] ;
4223 if (!args
) SWIG_fail
;
4225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4226 if (!SWIG_IsOK(res1
)) {
4227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4229 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_Py_Void();
4244 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4245 PyObject
*resultobj
= 0;
4246 wxColour
*arg1
= (wxColour
*) 0 ;
4250 PyObject
*swig_obj
[1] ;
4252 if (!args
) SWIG_fail
;
4254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4255 if (!SWIG_IsOK(res1
)) {
4256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4258 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (byte
)(arg1
)->Red();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4272 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4273 PyObject
*resultobj
= 0;
4274 wxColour
*arg1
= (wxColour
*) 0 ;
4278 PyObject
*swig_obj
[1] ;
4280 if (!args
) SWIG_fail
;
4282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4283 if (!SWIG_IsOK(res1
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4286 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (byte
)(arg1
)->Green();
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4300 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4301 PyObject
*resultobj
= 0;
4302 wxColour
*arg1
= (wxColour
*) 0 ;
4306 PyObject
*swig_obj
[1] ;
4308 if (!args
) SWIG_fail
;
4310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4311 if (!SWIG_IsOK(res1
)) {
4312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4314 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (byte
)(arg1
)->Blue();
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4328 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4329 PyObject
*resultobj
= 0;
4330 wxColour
*arg1
= (wxColour
*) 0 ;
4334 PyObject
*swig_obj
[1] ;
4336 if (!args
) SWIG_fail
;
4338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4339 if (!SWIG_IsOK(res1
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4342 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (byte
)(arg1
)->Alpha();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4356 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4357 PyObject
*resultobj
= 0;
4358 wxColour
*arg1
= (wxColour
*) 0 ;
4362 PyObject
*swig_obj
[1] ;
4364 if (!args
) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4370 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (bool)(arg1
)->IsOk();
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4386 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxColour
*arg1
= (wxColour
*) 0 ;
4392 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4395 unsigned char val2
;
4397 unsigned char val3
;
4399 unsigned char val4
;
4401 unsigned char val5
;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 PyObject
* obj2
= 0 ;
4406 PyObject
* obj3
= 0 ;
4407 PyObject
* obj4
= 0 ;
4408 char * kwnames
[] = {
4409 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4414 if (!SWIG_IsOK(res1
)) {
4415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4417 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4418 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4419 if (!SWIG_IsOK(ecode2
)) {
4420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4422 arg2
= static_cast< byte
>(val2
);
4423 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4424 if (!SWIG_IsOK(ecode3
)) {
4425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4427 arg3
= static_cast< byte
>(val3
);
4428 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4429 if (!SWIG_IsOK(ecode4
)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4432 arg4
= static_cast< byte
>(val4
);
4434 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4435 if (!SWIG_IsOK(ecode5
)) {
4436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4438 arg5
= static_cast< byte
>(val5
);
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_Py_Void();
4453 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
= 0;
4455 wxColour
*arg1
= (wxColour
*) 0 ;
4456 unsigned long arg2
;
4459 unsigned long val2
;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4463 char * kwnames
[] = {
4464 (char *) "self",(char *) "colRGB", NULL
4467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4469 if (!SWIG_IsOK(res1
)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4472 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4473 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4474 if (!SWIG_IsOK(ecode2
)) {
4475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4477 arg2
= static_cast< unsigned long >(val2
);
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= SWIG_Py_Void();
4491 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
= 0;
4493 wxColour
*arg1
= (wxColour
*) 0 ;
4494 wxString
*arg2
= 0 ;
4497 bool temp2
= false ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4500 char * kwnames
[] = {
4501 (char *) "self",(char *) "colourName", NULL
4504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4506 if (!SWIG_IsOK(res1
)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4509 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4511 arg2
= wxString_in_helper(obj1
);
4512 if (arg2
== NULL
) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 (arg1
)->Set((wxString
const &)*arg2
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= SWIG_Py_Void();
4536 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
= 0;
4538 wxColour
*arg1
= (wxColour
*) 0 ;
4539 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4547 char * kwnames
[] = {
4548 (char *) "self",(char *) "flags", NULL
4551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4553 if (!SWIG_IsOK(res1
)) {
4554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4556 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4558 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4559 if (!SWIG_IsOK(ecode2
)) {
4560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4562 arg2
= static_cast< long >(val2
);
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4583 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4584 PyObject
*resultobj
= 0;
4585 wxColour
*arg1
= (wxColour
*) 0 ;
4589 PyObject
*swig_obj
[1] ;
4591 if (!args
) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4597 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_From_long(static_cast< long >(result
));
4611 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
= 0;
4613 wxColour
*arg1
= (wxColour
*) 0 ;
4614 PyObject
*arg2
= (PyObject
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4620 char * kwnames
[] = {
4621 (char *) "self",(char *) "other", NULL
4624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4626 if (!SWIG_IsOK(res1
)) {
4627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4629 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4632 result
= (bool)wxColour___eq__(arg1
,arg2
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4644 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
= 0;
4646 wxColour
*arg1
= (wxColour
*) 0 ;
4647 PyObject
*arg2
= (PyObject
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 char * kwnames
[] = {
4654 (char *) "self",(char *) "other", NULL
4657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4659 if (!SWIG_IsOK(res1
)) {
4660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4662 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4665 result
= (bool)wxColour___ne__(arg1
,arg2
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4677 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
= 0;
4679 wxColour
*arg1
= (wxColour
*) 0 ;
4680 bool arg2
= (bool) false ;
4681 PyObject
*result
= 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4688 char * kwnames
[] = {
4689 (char *) "self",(char *) "includeAlpha", NULL
4692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4694 if (!SWIG_IsOK(res1
)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4697 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4700 if (!SWIG_IsOK(ecode2
)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4703 arg2
= static_cast< bool >(val2
);
4706 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4716 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4717 PyObject
*resultobj
= 0;
4718 wxColour
*arg1
= (wxColour
*) 0 ;
4719 unsigned long result
;
4722 PyObject
*swig_obj
[1] ;
4724 if (!args
) SWIG_fail
;
4726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4727 if (!SWIG_IsOK(res1
)) {
4728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4730 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4732 result
= (unsigned long)wxColour_GetRGB(arg1
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4742 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4745 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4746 return SWIG_Py_Void();
4749 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4750 return SWIG_Python_InitShadowInstance(args
);
4753 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
= 0;
4756 unsigned char *arg2
= (unsigned char *) 0 ;
4757 unsigned char *arg3
= (unsigned char *) 0 ;
4758 unsigned char *arg4
= (unsigned char *) 0 ;
4759 wxPalette
*result
= 0 ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4770 PyObject
* obj2
= 0 ;
4771 PyObject
* obj3
= 0 ;
4772 char * kwnames
[] = {
4773 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4778 if (!SWIG_IsOK(ecode1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4781 arg1
= static_cast< int >(val1
);
4782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4783 if (!SWIG_IsOK(res2
)) {
4784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4786 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4787 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4788 if (!SWIG_IsOK(res3
)) {
4789 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4791 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4792 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4793 if (!SWIG_IsOK(res4
)) {
4794 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4796 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4798 if (!wxPyCheckForApp()) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4811 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4812 PyObject
*resultobj
= 0;
4813 wxPalette
*arg1
= (wxPalette
*) 0 ;
4816 PyObject
*swig_obj
[1] ;
4818 if (!args
) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4824 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_Py_Void();
4839 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
= 0;
4841 wxPalette
*arg1
= (wxPalette
*) 0 ;
4848 unsigned char val2
;
4850 unsigned char val3
;
4852 unsigned char val4
;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4856 PyObject
* obj2
= 0 ;
4857 PyObject
* obj3
= 0 ;
4858 char * kwnames
[] = {
4859 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4864 if (!SWIG_IsOK(res1
)) {
4865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4867 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4868 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4869 if (!SWIG_IsOK(ecode2
)) {
4870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4872 arg2
= static_cast< byte
>(val2
);
4873 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4874 if (!SWIG_IsOK(ecode3
)) {
4875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4877 arg3
= static_cast< byte
>(val3
);
4878 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4879 if (!SWIG_IsOK(ecode4
)) {
4880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4882 arg4
= static_cast< byte
>(val4
);
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_From_int(static_cast< int >(result
));
4896 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
= 0;
4898 wxPalette
*arg1
= (wxPalette
*) 0 ;
4900 byte
*arg3
= (byte
*) 0 ;
4901 byte
*arg4
= (byte
*) 0 ;
4902 byte
*arg5
= (byte
*) 0 ;
4909 int res3
= SWIG_TMPOBJ
;
4911 int res4
= SWIG_TMPOBJ
;
4913 int res5
= SWIG_TMPOBJ
;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4916 char * kwnames
[] = {
4917 (char *) "self",(char *) "pixel", NULL
4923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4925 if (!SWIG_IsOK(res1
)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4928 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4930 if (!SWIG_IsOK(ecode2
)) {
4931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4933 arg2
= static_cast< int >(val2
);
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4943 if (SWIG_IsTmpObj(res3
)) {
4944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4946 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4949 if (SWIG_IsTmpObj(res4
)) {
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4952 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4955 if (SWIG_IsTmpObj(res5
)) {
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4958 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4967 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4968 PyObject
*resultobj
= 0;
4969 wxPalette
*arg1
= (wxPalette
*) 0 ;
4973 PyObject
*swig_obj
[1] ;
4975 if (!args
) SWIG_fail
;
4977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4978 if (!SWIG_IsOK(res1
)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4981 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= SWIG_From_int(static_cast< int >(result
));
4995 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxPalette
*arg1
= (wxPalette
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5009 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)(arg1
)->IsOk();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5029 return SWIG_Py_Void();
5032 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5033 return SWIG_Python_InitShadowInstance(args
);
5036 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
= 0;
5038 wxColour
*arg1
= 0 ;
5039 int arg2
= (int) 1 ;
5040 int arg3
= (int) wxSOLID
;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5049 PyObject
* obj2
= 0 ;
5050 char * kwnames
[] = {
5051 (char *) "colour",(char *) "width",(char *) "style", NULL
5054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5057 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5061 if (!SWIG_IsOK(ecode2
)) {
5062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5064 arg2
= static_cast< int >(val2
);
5067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5068 if (!SWIG_IsOK(ecode3
)) {
5069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5071 arg3
= static_cast< int >(val3
);
5074 if (!wxPyCheckForApp()) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5087 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5088 PyObject
*resultobj
= 0;
5089 wxPen
*arg1
= (wxPen
*) 0 ;
5092 PyObject
*swig_obj
[1] ;
5094 if (!args
) SWIG_fail
;
5096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5097 if (!SWIG_IsOK(res1
)) {
5098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5100 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_Py_Void();
5115 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 PyObject
*resultobj
= 0;
5117 wxPen
*arg1
= (wxPen
*) 0 ;
5121 PyObject
*swig_obj
[1] ;
5123 if (!args
) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5129 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (int)(arg1
)->GetCap();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_From_int(static_cast< int >(result
));
5143 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5144 PyObject
*resultobj
= 0;
5145 wxPen
*arg1
= (wxPen
*) 0 ;
5149 PyObject
*swig_obj
[1] ;
5151 if (!args
) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5157 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (arg1
)->GetColour();
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5171 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5172 PyObject
*resultobj
= 0;
5173 wxPen
*arg1
= (wxPen
*) 0 ;
5177 PyObject
*swig_obj
[1] ;
5179 if (!args
) SWIG_fail
;
5181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5182 if (!SWIG_IsOK(res1
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5185 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= (int)(arg1
)->GetJoin();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= SWIG_From_int(static_cast< int >(result
));
5199 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5200 PyObject
*resultobj
= 0;
5201 wxPen
*arg1
= (wxPen
*) 0 ;
5205 PyObject
*swig_obj
[1] ;
5207 if (!args
) SWIG_fail
;
5209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5210 if (!SWIG_IsOK(res1
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5213 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 result
= (int)(arg1
)->GetStyle();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= SWIG_From_int(static_cast< int >(result
));
5227 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5228 PyObject
*resultobj
= 0;
5229 wxPen
*arg1
= (wxPen
*) 0 ;
5233 PyObject
*swig_obj
[1] ;
5235 if (!args
) SWIG_fail
;
5237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5238 if (!SWIG_IsOK(res1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5241 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (int)(arg1
)->GetWidth();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= SWIG_From_int(static_cast< int >(result
));
5255 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5256 PyObject
*resultobj
= 0;
5257 wxPen
*arg1
= (wxPen
*) 0 ;
5261 PyObject
*swig_obj
[1] ;
5263 if (!args
) SWIG_fail
;
5265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5266 if (!SWIG_IsOK(res1
)) {
5267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5269 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (bool)(arg1
)->IsOk();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5285 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxPen
*arg1
= (wxPen
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "cap_style", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5304 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5306 if (!SWIG_IsOK(ecode2
)) {
5307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5309 arg2
= static_cast< int >(val2
);
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->SetCap(arg2
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= SWIG_Py_Void();
5323 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
= 0;
5325 wxPen
*arg1
= (wxPen
*) 0 ;
5326 wxColour
*arg2
= 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 char * kwnames
[] = {
5333 (char *) "self",(char *) "colour", NULL
5336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5338 if (!SWIG_IsOK(res1
)) {
5339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5341 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5344 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 (arg1
)->SetColour(*arg2
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_Py_Void();
5359 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
= 0;
5361 wxPen
*arg1
= (wxPen
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "join_style", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5380 if (!SWIG_IsOK(ecode2
)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5383 arg2
= static_cast< int >(val2
);
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 (arg1
)->SetJoin(arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= SWIG_Py_Void();
5397 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
= 0;
5399 wxPen
*arg1
= (wxPen
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5407 char * kwnames
[] = {
5408 (char *) "self",(char *) "style", NULL
5411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5413 if (!SWIG_IsOK(res1
)) {
5414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5416 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5418 if (!SWIG_IsOK(ecode2
)) {
5419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5421 arg2
= static_cast< int >(val2
);
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 (arg1
)->SetStyle(arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_Py_Void();
5435 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
= 0;
5437 wxPen
*arg1
= (wxPen
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5445 char * kwnames
[] = {
5446 (char *) "self",(char *) "width", NULL
5449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5454 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5456 if (!SWIG_IsOK(ecode2
)) {
5457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5459 arg2
= static_cast< int >(val2
);
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 (arg1
)->SetWidth(arg2
);
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_Py_Void();
5473 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
= 0;
5475 wxPen
*arg1
= (wxPen
*) 0 ;
5477 wxDash
*arg3
= (wxDash
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5482 char * kwnames
[] = {
5483 (char *) "self",(char *) "dashes", NULL
5486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5488 if (!SWIG_IsOK(res1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5491 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5493 arg2
= PyList_Size(obj1
);
5494 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5495 if (arg3
== NULL
) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 (arg1
)->SetDashes(arg2
,arg3
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_Py_Void();
5505 if (arg3
) delete [] arg3
;
5510 if (arg3
) delete [] arg3
;
5516 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5517 PyObject
*resultobj
= 0;
5518 wxPen
*arg1
= (wxPen
*) 0 ;
5519 PyObject
*result
= 0 ;
5522 PyObject
*swig_obj
[1] ;
5524 if (!args
) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5530 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5544 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
= 0;
5546 wxPen
*arg1
= (wxPen
*) 0 ;
5547 PyObject
*arg2
= (PyObject
*) 0 ;
5548 PyObject
*arg3
= (PyObject
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5554 char * kwnames
[] = {
5555 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5560 if (!SWIG_IsOK(res1
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5563 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 wxPen__SetDashes(arg1
,arg2
,arg3
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_Py_Void();
5579 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5580 PyObject
*resultobj
= 0;
5581 wxPen
*arg1
= (wxPen
*) 0 ;
5585 PyObject
*swig_obj
[1] ;
5587 if (!args
) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5593 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_From_int(static_cast< int >(result
));
5607 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5608 PyObject
*resultobj
= 0;
5609 wxPen
*arg1
= (wxPen
*) 0 ;
5610 wxBitmap
*result
= 0 ;
5613 PyObject
*swig_obj
[1] ;
5615 if (!args
) SWIG_fail
;
5617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5618 if (!SWIG_IsOK(res1
)) {
5619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5621 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (wxBitmap
*)(arg1
)->GetStipple();
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5635 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
= 0;
5637 wxPen
*arg1
= (wxPen
*) 0 ;
5638 wxBitmap
*arg2
= 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 char * kwnames
[] = {
5646 (char *) "self",(char *) "stipple", NULL
5649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5651 if (!SWIG_IsOK(res1
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5654 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5656 if (!SWIG_IsOK(res2
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5662 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetStipple(*arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_Py_Void();
5676 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= 0;
5678 wxPen
*arg1
= (wxPen
*) 0 ;
5679 wxPen
*arg2
= (wxPen
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5687 char * kwnames
[] = {
5688 (char *) "self",(char *) "other", NULL
5691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5693 if (!SWIG_IsOK(res1
)) {
5694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5696 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5697 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5698 if (!SWIG_IsOK(res2
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5701 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5717 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
= 0;
5719 wxPen
*arg1
= (wxPen
*) 0 ;
5720 wxPen
*arg2
= (wxPen
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5728 char * kwnames
[] = {
5729 (char *) "self",(char *) "other", NULL
5732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5734 if (!SWIG_IsOK(res1
)) {
5735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5737 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5739 if (!SWIG_IsOK(res2
)) {
5740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5742 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5761 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5762 return SWIG_Py_Void();
5765 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5766 return SWIG_Python_InitShadowInstance(args
);
5769 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
= 0;
5771 wxColour
*arg1
= 0 ;
5772 int arg2
= (int) wxSOLID
;
5773 wxBrush
*result
= 0 ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5779 char * kwnames
[] = {
5780 (char *) "colour",(char *) "style", NULL
5783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5786 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5790 if (!SWIG_IsOK(ecode2
)) {
5791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5793 arg2
= static_cast< int >(val2
);
5796 if (!wxPyCheckForApp()) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5809 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
= 0;
5811 wxBitmap
*arg1
= 0 ;
5812 wxBrush
*result
= 0 ;
5815 PyObject
* obj0
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "stippleBitmap", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5828 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5830 if (!wxPyCheckForApp()) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5843 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5844 PyObject
*resultobj
= 0;
5845 wxBrush
*arg1
= (wxBrush
*) 0 ;
5848 PyObject
*swig_obj
[1] ;
5850 if (!args
) SWIG_fail
;
5852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5853 if (!SWIG_IsOK(res1
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5856 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_Py_Void();
5871 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
= 0;
5873 wxBrush
*arg1
= (wxBrush
*) 0 ;
5874 wxColour
*arg2
= 0 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 char * kwnames
[] = {
5881 (char *) "self",(char *) "col", NULL
5884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5889 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5892 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 (arg1
)->SetColour((wxColour
const &)*arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
= 0;
5909 wxBrush
*arg1
= (wxBrush
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5917 char * kwnames
[] = {
5918 (char *) "self",(char *) "style", NULL
5921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5923 if (!SWIG_IsOK(res1
)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5926 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5928 if (!SWIG_IsOK(ecode2
)) {
5929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5931 arg2
= static_cast< int >(val2
);
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 (arg1
)->SetStyle(arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= SWIG_Py_Void();
5945 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
= 0;
5947 wxBrush
*arg1
= (wxBrush
*) 0 ;
5948 wxBitmap
*arg2
= 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5955 char * kwnames
[] = {
5956 (char *) "self",(char *) "stipple", NULL
5959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5961 if (!SWIG_IsOK(res1
)) {
5962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5964 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5966 if (!SWIG_IsOK(res2
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5972 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_Py_Void();
5986 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5987 PyObject
*resultobj
= 0;
5988 wxBrush
*arg1
= (wxBrush
*) 0 ;
5992 PyObject
*swig_obj
[1] ;
5994 if (!args
) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6000 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= ((wxBrush
const *)arg1
)->GetColour();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6014 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6015 PyObject
*resultobj
= 0;
6016 wxBrush
*arg1
= (wxBrush
*) 0 ;
6020 PyObject
*swig_obj
[1] ;
6022 if (!args
) SWIG_fail
;
6024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6025 if (!SWIG_IsOK(res1
)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6028 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_From_int(static_cast< int >(result
));
6042 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6043 PyObject
*resultobj
= 0;
6044 wxBrush
*arg1
= (wxBrush
*) 0 ;
6045 wxBitmap
*result
= 0 ;
6048 PyObject
*swig_obj
[1] ;
6050 if (!args
) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6056 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6070 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6071 PyObject
*resultobj
= 0;
6072 wxBrush
*arg1
= (wxBrush
*) 0 ;
6076 PyObject
*swig_obj
[1] ;
6078 if (!args
) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6084 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 PyObject
*resultobj
= 0;
6102 wxBrush
*arg1
= (wxBrush
*) 0 ;
6106 PyObject
*swig_obj
[1] ;
6108 if (!args
) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6114 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (bool)(arg1
)->IsOk();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6130 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6133 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6134 return SWIG_Py_Void();
6137 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6138 return SWIG_Python_InitShadowInstance(args
);
6141 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
= 0;
6143 wxString
*arg1
= 0 ;
6144 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6145 wxBitmap
*result
= 0 ;
6146 bool temp1
= false ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "name",(char *) "type", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6157 arg1
= wxString_in_helper(obj0
);
6158 if (arg1
== NULL
) SWIG_fail
;
6162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6166 arg2
= static_cast< wxBitmapType
>(val2
);
6169 if (!wxPyCheckForApp()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6190 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6191 PyObject
*resultobj
= 0;
6192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6195 PyObject
*swig_obj
[1] ;
6197 if (!args
) SWIG_fail
;
6199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6200 if (!SWIG_IsOK(res1
)) {
6201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6203 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_Py_Void();
6216 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= 0;
6220 int arg3
= (int) -1 ;
6221 wxBitmap
*result
= 0 ;
6228 PyObject
* obj0
= 0 ;
6229 PyObject
* obj1
= 0 ;
6230 PyObject
* obj2
= 0 ;
6231 char * kwnames
[] = {
6232 (char *) "width",(char *) "height",(char *) "depth", NULL
6235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6236 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6237 if (!SWIG_IsOK(ecode1
)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6240 arg1
= static_cast< int >(val1
);
6241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6242 if (!SWIG_IsOK(ecode2
)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6245 arg2
= static_cast< int >(val2
);
6247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6248 if (!SWIG_IsOK(ecode3
)) {
6249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6251 arg3
= static_cast< int >(val3
);
6254 if (!wxPyCheckForApp()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6267 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6270 wxBitmap
*result
= 0 ;
6273 PyObject
* obj0
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "icon", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6286 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6288 if (!wxPyCheckForApp()) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6301 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
= 0;
6304 int arg2
= (int) -1 ;
6305 wxBitmap
*result
= 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6312 char * kwnames
[] = {
6313 (char *) "image",(char *) "depth", NULL
6316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6317 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6318 if (!SWIG_IsOK(res1
)) {
6319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6324 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6327 if (!SWIG_IsOK(ecode2
)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6330 arg2
= static_cast< int >(val2
);
6333 if (!wxPyCheckForApp()) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6346 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
= 0;
6348 PyObject
*arg1
= (PyObject
*) 0 ;
6349 wxBitmap
*result
= 0 ;
6350 PyObject
* obj0
= 0 ;
6351 char * kwnames
[] = {
6352 (char *) "listOfStrings", NULL
6355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6358 if (!wxPyCheckForApp()) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6371 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
= 0;
6373 PyObject
*arg1
= (PyObject
*) 0 ;
6376 int arg4
= (int) 1 ;
6377 wxBitmap
*result
= 0 ;
6384 PyObject
* obj0
= 0 ;
6385 PyObject
* obj1
= 0 ;
6386 PyObject
* obj2
= 0 ;
6387 PyObject
* obj3
= 0 ;
6388 char * kwnames
[] = {
6389 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6395 if (!SWIG_IsOK(ecode2
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6398 arg2
= static_cast< int >(val2
);
6399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6400 if (!SWIG_IsOK(ecode3
)) {
6401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6403 arg3
= static_cast< int >(val3
);
6405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6406 if (!SWIG_IsOK(ecode4
)) {
6407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6409 arg4
= static_cast< int >(val4
);
6412 if (!wxPyCheckForApp()) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6425 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6426 PyObject
*resultobj
= 0;
6427 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6441 result
= (long)(arg1
)->GetHandle();
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_From_long(static_cast< long >(result
));
6451 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
= 0;
6453 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "self",(char *) "handle", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6470 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6471 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6472 if (!SWIG_IsOK(ecode2
)) {
6473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6475 arg2
= static_cast< long >(val2
);
6477 wxBitmap_SetHandle(arg1
,arg2
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_Py_Void();
6487 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 PyObject
*resultobj
= 0;
6489 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6493 PyObject
*swig_obj
[1] ;
6495 if (!args
) SWIG_fail
;
6497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6498 if (!SWIG_IsOK(res1
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6501 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6503 result
= (bool)(arg1
)->IsOk();
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6515 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6516 PyObject
*resultobj
= 0;
6517 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6521 PyObject
*swig_obj
[1] ;
6523 if (!args
) SWIG_fail
;
6525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6526 if (!SWIG_IsOK(res1
)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6529 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6531 result
= (int)(arg1
)->GetWidth();
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_From_int(static_cast< int >(result
));
6541 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6542 PyObject
*resultobj
= 0;
6543 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6547 PyObject
*swig_obj
[1] ;
6549 if (!args
) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6557 result
= (int)(arg1
)->GetHeight();
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= SWIG_From_int(static_cast< int >(result
));
6567 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6568 PyObject
*resultobj
= 0;
6569 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6573 PyObject
*swig_obj
[1] ;
6575 if (!args
) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6583 result
= (int)(arg1
)->GetDepth();
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_From_int(static_cast< int >(result
));
6593 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6594 PyObject
*resultobj
= 0;
6595 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6599 PyObject
*swig_obj
[1] ;
6601 if (!args
) SWIG_fail
;
6603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6604 if (!SWIG_IsOK(res1
)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6607 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6609 result
= wxBitmap_GetSize(arg1
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6619 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6620 PyObject
*resultobj
= 0;
6621 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6622 SwigValueWrapper
<wxImage
> result
;
6625 PyObject
*swig_obj
[1] ;
6627 if (!args
) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6633 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6635 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6645 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6648 wxMask
*result
= 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6659 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6661 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6671 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
= 0;
6673 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6674 wxMask
*arg2
= (wxMask
*) 0 ;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6680 char * kwnames
[] = {
6681 (char *) "self",(char *) "mask", NULL
6684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6689 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6690 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6691 if (!SWIG_IsOK(res2
)) {
6692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6695 (arg1
)->SetMask(arg2
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_Py_Void();
6705 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
= 0;
6707 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6708 wxColour
*arg2
= 0 ;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6714 char * kwnames
[] = {
6715 (char *) "self",(char *) "colour", NULL
6718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6720 if (!SWIG_IsOK(res1
)) {
6721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6723 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6729 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= SWIG_Py_Void();
6739 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
= 0;
6741 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6743 SwigValueWrapper
<wxBitmap
> result
;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6749 char * kwnames
[] = {
6750 (char *) "self",(char *) "rect", NULL
6753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6755 if (!SWIG_IsOK(res1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6758 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6761 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6764 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6774 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
= 0;
6776 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6777 wxString
*arg2
= 0 ;
6779 wxPalette
*arg4
= (wxPalette
*) NULL
;
6783 bool temp2
= false ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6791 PyObject
* obj3
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6801 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6803 arg2
= wxString_in_helper(obj1
);
6804 if (arg2
== NULL
) SWIG_fail
;
6807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6808 if (!SWIG_IsOK(ecode3
)) {
6809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6811 arg3
= static_cast< wxBitmapType
>(val3
);
6813 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6814 if (!SWIG_IsOK(res4
)) {
6815 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6817 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6820 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6840 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
= 0;
6842 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6843 wxString
*arg2
= 0 ;
6848 bool temp2
= false ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6853 PyObject
* obj2
= 0 ;
6854 char * kwnames
[] = {
6855 (char *) "self",(char *) "name",(char *) "type", NULL
6858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6860 if (!SWIG_IsOK(res1
)) {
6861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6863 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6865 arg2
= wxString_in_helper(obj1
);
6866 if (arg2
== NULL
) SWIG_fail
;
6869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6870 if (!SWIG_IsOK(ecode3
)) {
6871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6873 arg3
= static_cast< wxBitmapType
>(val3
);
6875 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6895 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6896 PyObject
*resultobj
= 0;
6897 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6898 wxPalette
*result
= 0 ;
6901 PyObject
*swig_obj
[1] ;
6903 if (!args
) SWIG_fail
;
6905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6906 if (!SWIG_IsOK(res1
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6909 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6911 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6921 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
= 0;
6923 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6924 wxPalette
*arg2
= 0 ;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6931 char * kwnames
[] = {
6932 (char *) "self",(char *) "palette", NULL
6935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6937 if (!SWIG_IsOK(res1
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6940 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6942 if (!SWIG_IsOK(res2
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6948 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6950 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_Py_Void();
6960 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
= 0;
6962 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6971 char * kwnames
[] = {
6972 (char *) "self",(char *) "icon", NULL
6975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",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_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6980 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6982 if (!SWIG_IsOK(res2
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6988 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6990 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7002 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
= 0;
7004 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 char * kwnames
[] = {
7013 (char *) "self",(char *) "height", NULL
7016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7018 if (!SWIG_IsOK(res1
)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7021 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7023 if (!SWIG_IsOK(ecode2
)) {
7024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7026 arg2
= static_cast< int >(val2
);
7028 (arg1
)->SetHeight(arg2
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_Py_Void();
7038 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "self",(char *) "width", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7059 if (!SWIG_IsOK(ecode2
)) {
7060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7062 arg2
= static_cast< int >(val2
);
7064 (arg1
)->SetWidth(arg2
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_Py_Void();
7074 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
= 0;
7076 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7082 PyObject
* obj0
= 0 ;
7083 PyObject
* obj1
= 0 ;
7084 char * kwnames
[] = {
7085 (char *) "self",(char *) "depth", NULL
7088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7090 if (!SWIG_IsOK(res1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7093 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7095 if (!SWIG_IsOK(ecode2
)) {
7096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7098 arg2
= static_cast< int >(val2
);
7100 (arg1
)->SetDepth(arg2
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_Py_Void();
7110 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
= 0;
7112 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 char * kwnames
[] = {
7120 (char *) "self",(char *) "size", NULL
7123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7125 if (!SWIG_IsOK(res1
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7128 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7134 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= SWIG_Py_Void();
7144 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
= 0;
7146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7147 wxCursor
*arg2
= 0 ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 char * kwnames
[] = {
7156 (char *) "self",(char *) "cursor", NULL
7159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7164 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7166 if (!SWIG_IsOK(res2
)) {
7167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7172 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7174 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7186 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
= 0;
7188 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7194 PyObject
* obj0
= 0 ;
7195 PyObject
* obj1
= 0 ;
7196 char * kwnames
[] = {
7197 (char *) "self",(char *) "data", NULL
7200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7202 if (!SWIG_IsOK(res1
)) {
7203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7205 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7207 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7211 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_Py_Void();
7221 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= 0;
7223 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7231 char * kwnames
[] = {
7232 (char *) "self",(char *) "data", NULL
7235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7240 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7242 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7246 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_Py_Void();
7256 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7259 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 char * kwnames
[] = {
7268 (char *) "self",(char *) "other", NULL
7271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7273 if (!SWIG_IsOK(res1
)) {
7274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7276 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7278 if (!SWIG_IsOK(res2
)) {
7279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7281 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7283 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7295 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
= 0;
7297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7298 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7304 PyObject
* obj0
= 0 ;
7305 PyObject
* obj1
= 0 ;
7306 char * kwnames
[] = {
7307 (char *) "self",(char *) "other", NULL
7310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7312 if (!SWIG_IsOK(res1
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7315 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7317 if (!SWIG_IsOK(res2
)) {
7318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7320 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7322 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7334 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7337 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7338 return SWIG_Py_Void();
7341 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7342 return SWIG_Python_InitShadowInstance(args
);
7345 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
= 0;
7353 wxBitmap
*result
= 0 ;
7360 PyObject
* obj0
= 0 ;
7361 PyObject
* obj1
= 0 ;
7362 PyObject
* obj2
= 0 ;
7363 PyObject
* obj3
= 0 ;
7364 char * kwnames
[] = {
7365 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7370 if (!SWIG_IsOK(ecode1
)) {
7371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7373 arg1
= static_cast< int >(val1
);
7374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7375 if (!SWIG_IsOK(ecode2
)) {
7376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7378 arg2
= static_cast< int >(val2
);
7380 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7384 if (obj3
!= Py_None
) {
7385 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7390 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7400 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
= 0;
7406 wxBitmap
*result
= 0 ;
7412 PyObject
* obj0
= 0 ;
7413 PyObject
* obj1
= 0 ;
7414 PyObject
* obj2
= 0 ;
7415 char * kwnames
[] = {
7416 (char *) "width",(char *) "height",(char *) "data", NULL
7419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7420 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7421 if (!SWIG_IsOK(ecode1
)) {
7422 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7424 arg1
= static_cast< int >(val1
);
7425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7426 if (!SWIG_IsOK(ecode2
)) {
7427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7429 arg2
= static_cast< int >(val2
);
7431 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7435 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7445 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= 0;
7451 wxBitmap
*result
= 0 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7459 PyObject
* obj2
= 0 ;
7460 char * kwnames
[] = {
7461 (char *) "width",(char *) "height",(char *) "data", NULL
7464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7465 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7466 if (!SWIG_IsOK(ecode1
)) {
7467 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7469 arg1
= static_cast< int >(val1
);
7470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7471 if (!SWIG_IsOK(ecode2
)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7474 arg2
= static_cast< int >(val2
);
7476 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7480 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7490 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7491 PyObject
*resultobj
= 0;
7492 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7496 PyObject
*swig_obj
[1] ;
7498 if (!args
) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7504 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7506 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7516 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7517 PyObject
*resultobj
= 0;
7518 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7522 PyObject
*swig_obj
[1] ;
7524 if (!args
) SWIG_fail
;
7526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7527 if (!SWIG_IsOK(res1
)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7530 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7532 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= SWIG_From_int(static_cast< int >(result
));
7542 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7543 PyObject
*resultobj
= 0;
7544 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7548 PyObject
*swig_obj
[1] ;
7550 if (!args
) SWIG_fail
;
7552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7553 if (!SWIG_IsOK(res1
)) {
7554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7556 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7558 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_From_int(static_cast< int >(result
));
7568 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7569 PyObject
*resultobj
= 0;
7570 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7574 PyObject
*swig_obj
[1] ;
7576 if (!args
) SWIG_fail
;
7578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7579 if (!SWIG_IsOK(res1
)) {
7580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7582 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7584 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7594 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7595 PyObject
*resultobj
= 0;
7596 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7600 PyObject
*swig_obj
[1] ;
7602 if (!args
) SWIG_fail
;
7604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7605 if (!SWIG_IsOK(res1
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7608 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7610 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_From_int(static_cast< int >(result
));
7620 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7623 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7624 return SWIG_Py_Void();
7627 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7628 PyObject
*resultobj
= 0;
7629 wxBitmap
*arg1
= 0 ;
7630 wxNativePixelData
*result
= 0 ;
7634 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7636 if (!SWIG_IsOK(res1
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7642 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7644 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7654 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7655 PyObject
*resultobj
= 0;
7656 wxBitmap
*arg1
= 0 ;
7658 wxNativePixelData
*result
= 0 ;
7663 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7665 if (!SWIG_IsOK(res1
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7671 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7674 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7677 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7687 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7688 PyObject
*resultobj
= 0;
7689 wxBitmap
*arg1
= 0 ;
7692 wxNativePixelData
*result
= 0 ;
7698 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7700 if (!SWIG_IsOK(res1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7706 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7709 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7713 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7716 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7726 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7730 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7733 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7736 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7739 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7743 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7748 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7749 PyObject
*resultobj
= 0;
7750 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7753 PyObject
*swig_obj
[1] ;
7755 if (!args
) SWIG_fail
;
7757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7758 if (!SWIG_IsOK(res1
)) {
7759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7761 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_Py_Void();
7774 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7775 PyObject
*resultobj
= 0;
7776 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7777 wxNativePixelData_Accessor result
;
7780 PyObject
*swig_obj
[1] ;
7782 if (!args
) SWIG_fail
;
7784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7785 if (!SWIG_IsOK(res1
)) {
7786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7788 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7790 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7800 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 PyObject
*resultobj
= 0;
7802 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7805 PyObject
*swig_obj
[1] ;
7807 if (!args
) SWIG_fail
;
7809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7810 if (!SWIG_IsOK(res1
)) {
7811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7813 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= SWIG_Py_Void();
7825 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7826 PyObject
*resultobj
= 0;
7827 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7831 PyObject
*swig_obj
[1] ;
7833 if (!args
) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7839 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7841 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7853 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7856 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7857 return SWIG_Py_Void();
7860 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7861 return SWIG_Python_InitShadowInstance(args
);
7864 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7865 PyObject
*resultobj
= 0;
7866 wxNativePixelData
*arg1
= 0 ;
7867 wxNativePixelData_Accessor
*result
= 0 ;
7871 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7873 if (!SWIG_IsOK(res1
)) {
7874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7879 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7881 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7891 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7892 PyObject
*resultobj
= 0;
7893 wxBitmap
*arg1
= 0 ;
7894 wxNativePixelData
*arg2
= 0 ;
7895 wxNativePixelData_Accessor
*result
= 0 ;
7901 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7903 if (!SWIG_IsOK(res1
)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7909 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7910 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7911 if (!SWIG_IsOK(res2
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7917 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7919 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7929 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7930 PyObject
*resultobj
= 0;
7931 wxNativePixelData_Accessor
*result
= 0 ;
7933 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7935 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7945 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7949 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7952 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7955 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7958 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7962 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7967 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7968 PyObject
*resultobj
= 0;
7969 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7972 PyObject
*swig_obj
[1] ;
7974 if (!args
) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7980 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_Py_Void();
7993 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
= 0;
7995 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7996 wxNativePixelData
*arg2
= 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 char * kwnames
[] = {
8004 (char *) "self",(char *) "data", NULL
8007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8009 if (!SWIG_IsOK(res1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8012 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8014 if (!SWIG_IsOK(res2
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8020 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8022 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_Py_Void();
8032 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8038 PyObject
*swig_obj
[1] ;
8040 if (!args
) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8046 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8048 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8049 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8060 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 PyObject
*resultobj
= 0;
8062 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8065 PyObject
*swig_obj
[1] ;
8067 if (!args
) SWIG_fail
;
8069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8070 if (!SWIG_IsOK(res1
)) {
8071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8073 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8075 wxNativePixelData_Accessor_nextPixel(arg1
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= SWIG_Py_Void();
8085 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
= 0;
8087 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8088 wxNativePixelData
*arg2
= 0 ;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8101 PyObject
* obj2
= 0 ;
8102 PyObject
* obj3
= 0 ;
8103 char * kwnames
[] = {
8104 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8109 if (!SWIG_IsOK(res1
)) {
8110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8112 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8114 if (!SWIG_IsOK(res2
)) {
8115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8120 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8122 if (!SWIG_IsOK(ecode3
)) {
8123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8125 arg3
= static_cast< int >(val3
);
8126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8127 if (!SWIG_IsOK(ecode4
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8130 arg4
= static_cast< int >(val4
);
8132 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_Py_Void();
8142 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
= 0;
8144 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8145 wxNativePixelData
*arg2
= 0 ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8155 PyObject
* obj2
= 0 ;
8156 char * kwnames
[] = {
8157 (char *) "self",(char *) "data",(char *) "x", NULL
8160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8162 if (!SWIG_IsOK(res1
)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8165 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8167 if (!SWIG_IsOK(res2
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8173 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8175 if (!SWIG_IsOK(ecode3
)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8178 arg3
= static_cast< int >(val3
);
8180 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_Py_Void();
8190 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
= 0;
8192 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8193 wxNativePixelData
*arg2
= 0 ;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8203 PyObject
* obj2
= 0 ;
8204 char * kwnames
[] = {
8205 (char *) "self",(char *) "data",(char *) "y", NULL
8208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8213 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8215 if (!SWIG_IsOK(res2
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8221 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8223 if (!SWIG_IsOK(ecode3
)) {
8224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8226 arg3
= static_cast< int >(val3
);
8228 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= SWIG_Py_Void();
8238 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
= 0;
8240 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8241 wxNativePixelData
*arg2
= 0 ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8254 PyObject
* obj2
= 0 ;
8255 PyObject
* obj3
= 0 ;
8256 char * kwnames
[] = {
8257 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8262 if (!SWIG_IsOK(res1
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8265 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8267 if (!SWIG_IsOK(res2
)) {
8268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8273 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8275 if (!SWIG_IsOK(ecode3
)) {
8276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8278 arg3
= static_cast< int >(val3
);
8279 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8280 if (!SWIG_IsOK(ecode4
)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8283 arg4
= static_cast< int >(val4
);
8285 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_Py_Void();
8295 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
= 0;
8297 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8303 unsigned char val2
;
8305 unsigned char val3
;
8307 unsigned char val4
;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8311 PyObject
* obj2
= 0 ;
8312 PyObject
* obj3
= 0 ;
8313 char * kwnames
[] = {
8314 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8319 if (!SWIG_IsOK(res1
)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8322 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8323 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8324 if (!SWIG_IsOK(ecode2
)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8327 arg2
= static_cast< byte
>(val2
);
8328 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8329 if (!SWIG_IsOK(ecode3
)) {
8330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8332 arg3
= static_cast< byte
>(val3
);
8333 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8334 if (!SWIG_IsOK(ecode4
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8337 arg4
= static_cast< byte
>(val4
);
8339 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_Py_Void();
8349 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8350 PyObject
*resultobj
= 0;
8351 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8352 PyObject
*result
= 0 ;
8355 PyObject
*swig_obj
[1] ;
8357 if (!args
) SWIG_fail
;
8359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8360 if (!SWIG_IsOK(res1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8363 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8365 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8375 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8378 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8379 return SWIG_Py_Void();
8382 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8383 return SWIG_Python_InitShadowInstance(args
);
8386 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8387 PyObject
*resultobj
= 0;
8388 wxBitmap
*arg1
= 0 ;
8389 wxAlphaPixelData
*result
= 0 ;
8393 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8395 if (!SWIG_IsOK(res1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8403 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8413 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8414 PyObject
*resultobj
= 0;
8415 wxBitmap
*arg1
= 0 ;
8417 wxAlphaPixelData
*result
= 0 ;
8422 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8424 if (!SWIG_IsOK(res1
)) {
8425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8430 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8433 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8436 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8446 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8447 PyObject
*resultobj
= 0;
8448 wxBitmap
*arg1
= 0 ;
8451 wxAlphaPixelData
*result
= 0 ;
8457 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8459 if (!SWIG_IsOK(res1
)) {
8460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8465 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8468 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8472 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8475 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8485 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8489 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8492 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8495 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8498 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8502 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8507 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8508 PyObject
*resultobj
= 0;
8509 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8512 PyObject
*swig_obj
[1] ;
8514 if (!args
) SWIG_fail
;
8516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8517 if (!SWIG_IsOK(res1
)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8520 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= SWIG_Py_Void();
8533 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8534 PyObject
*resultobj
= 0;
8535 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8536 wxAlphaPixelData_Accessor result
;
8539 PyObject
*swig_obj
[1] ;
8541 if (!args
) SWIG_fail
;
8543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8544 if (!SWIG_IsOK(res1
)) {
8545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8547 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8549 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8559 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8560 PyObject
*resultobj
= 0;
8561 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8564 PyObject
*swig_obj
[1] ;
8566 if (!args
) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8572 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_Py_Void();
8584 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8585 PyObject
*resultobj
= 0;
8586 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8590 PyObject
*swig_obj
[1] ;
8592 if (!args
) SWIG_fail
;
8594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8595 if (!SWIG_IsOK(res1
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8598 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8600 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8612 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8615 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8616 return SWIG_Py_Void();
8619 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8620 return SWIG_Python_InitShadowInstance(args
);
8623 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8624 PyObject
*resultobj
= 0;
8625 wxAlphaPixelData
*arg1
= 0 ;
8626 wxAlphaPixelData_Accessor
*result
= 0 ;
8630 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8632 if (!SWIG_IsOK(res1
)) {
8633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8638 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8640 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8650 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8651 PyObject
*resultobj
= 0;
8652 wxBitmap
*arg1
= 0 ;
8653 wxAlphaPixelData
*arg2
= 0 ;
8654 wxAlphaPixelData_Accessor
*result
= 0 ;
8660 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8668 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8669 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8670 if (!SWIG_IsOK(res2
)) {
8671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8676 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8678 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8688 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8689 PyObject
*resultobj
= 0;
8690 wxAlphaPixelData_Accessor
*result
= 0 ;
8692 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8694 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8704 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8708 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8711 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8714 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8717 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8721 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8726 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8727 PyObject
*resultobj
= 0;
8728 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8731 PyObject
*swig_obj
[1] ;
8733 if (!args
) SWIG_fail
;
8735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8736 if (!SWIG_IsOK(res1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8739 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= SWIG_Py_Void();
8752 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
= 0;
8754 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8755 wxAlphaPixelData
*arg2
= 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 char * kwnames
[] = {
8763 (char *) "self",(char *) "data", NULL
8766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8768 if (!SWIG_IsOK(res1
)) {
8769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8771 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8773 if (!SWIG_IsOK(res2
)) {
8774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8779 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8781 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_Py_Void();
8791 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8792 PyObject
*resultobj
= 0;
8793 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8797 PyObject
*swig_obj
[1] ;
8799 if (!args
) SWIG_fail
;
8801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8802 if (!SWIG_IsOK(res1
)) {
8803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8805 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8807 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8819 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8820 PyObject
*resultobj
= 0;
8821 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8824 PyObject
*swig_obj
[1] ;
8826 if (!args
) SWIG_fail
;
8828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8829 if (!SWIG_IsOK(res1
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8832 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8834 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_Py_Void();
8844 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
= 0;
8846 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8847 wxAlphaPixelData
*arg2
= 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 PyObject
* obj2
= 0 ;
8861 PyObject
* obj3
= 0 ;
8862 char * kwnames
[] = {
8863 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8868 if (!SWIG_IsOK(res1
)) {
8869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8871 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8873 if (!SWIG_IsOK(res2
)) {
8874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8879 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8881 if (!SWIG_IsOK(ecode3
)) {
8882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8884 arg3
= static_cast< int >(val3
);
8885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8886 if (!SWIG_IsOK(ecode4
)) {
8887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8889 arg4
= static_cast< int >(val4
);
8891 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= SWIG_Py_Void();
8901 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
= 0;
8903 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8904 wxAlphaPixelData
*arg2
= 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8914 PyObject
* obj2
= 0 ;
8915 char * kwnames
[] = {
8916 (char *) "self",(char *) "data",(char *) "x", NULL
8919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8921 if (!SWIG_IsOK(res1
)) {
8922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8924 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8926 if (!SWIG_IsOK(res2
)) {
8927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8932 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8934 if (!SWIG_IsOK(ecode3
)) {
8935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8937 arg3
= static_cast< int >(val3
);
8939 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_Py_Void();
8949 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
= 0;
8951 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8952 wxAlphaPixelData
*arg2
= 0 ;
8960 PyObject
* obj0
= 0 ;
8961 PyObject
* obj1
= 0 ;
8962 PyObject
* obj2
= 0 ;
8963 char * kwnames
[] = {
8964 (char *) "self",(char *) "data",(char *) "y", NULL
8967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8969 if (!SWIG_IsOK(res1
)) {
8970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8972 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8974 if (!SWIG_IsOK(res2
)) {
8975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8980 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8982 if (!SWIG_IsOK(ecode3
)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8985 arg3
= static_cast< int >(val3
);
8987 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_Py_Void();
8997 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9000 wxAlphaPixelData
*arg2
= 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9013 PyObject
* obj2
= 0 ;
9014 PyObject
* obj3
= 0 ;
9015 char * kwnames
[] = {
9016 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9021 if (!SWIG_IsOK(res1
)) {
9022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9024 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9026 if (!SWIG_IsOK(res2
)) {
9027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9032 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9034 if (!SWIG_IsOK(ecode3
)) {
9035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9037 arg3
= static_cast< int >(val3
);
9038 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9039 if (!SWIG_IsOK(ecode4
)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9042 arg4
= static_cast< int >(val4
);
9044 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= SWIG_Py_Void();
9054 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
= 0;
9056 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9063 unsigned char val2
;
9065 unsigned char val3
;
9067 unsigned char val4
;
9069 unsigned char val5
;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9074 PyObject
* obj3
= 0 ;
9075 PyObject
* obj4
= 0 ;
9076 char * kwnames
[] = {
9077 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9085 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9086 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9087 if (!SWIG_IsOK(ecode2
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9090 arg2
= static_cast< byte
>(val2
);
9091 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9092 if (!SWIG_IsOK(ecode3
)) {
9093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9095 arg3
= static_cast< byte
>(val3
);
9096 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9097 if (!SWIG_IsOK(ecode4
)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9100 arg4
= static_cast< byte
>(val4
);
9101 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9102 if (!SWIG_IsOK(ecode5
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9105 arg5
= static_cast< byte
>(val5
);
9107 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_Py_Void();
9117 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9118 PyObject
*resultobj
= 0;
9119 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9120 PyObject
*result
= 0 ;
9123 PyObject
*swig_obj
[1] ;
9125 if (!args
) SWIG_fail
;
9127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9128 if (!SWIG_IsOK(res1
)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9131 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9133 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9143 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9146 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9147 return SWIG_Py_Void();
9150 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9151 return SWIG_Python_InitShadowInstance(args
);
9154 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
= 0;
9156 wxBitmap
*arg1
= 0 ;
9157 wxColour
const &arg2_defvalue
= wxNullColour
;
9158 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9159 wxMask
*result
= 0 ;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "bitmap",(char *) "colour", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9177 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9181 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9185 if (!wxPyCheckForApp()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9198 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9199 PyObject
*resultobj
= 0;
9200 wxMask
*arg1
= (wxMask
*) 0 ;
9203 PyObject
*swig_obj
[1] ;
9205 if (!args
) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9211 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_Py_Void();
9224 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9227 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9228 return SWIG_Py_Void();
9231 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9232 return SWIG_Python_InitShadowInstance(args
);
9235 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
= 0;
9237 wxString
*arg1
= 0 ;
9239 int arg3
= (int) -1 ;
9240 int arg4
= (int) -1 ;
9241 wxIcon
*result
= 0 ;
9242 bool temp1
= false ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9251 PyObject
* obj2
= 0 ;
9252 PyObject
* obj3
= 0 ;
9253 char * kwnames
[] = {
9254 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9259 arg1
= wxString_in_helper(obj0
);
9260 if (arg1
== NULL
) SWIG_fail
;
9263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9264 if (!SWIG_IsOK(ecode2
)) {
9265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9267 arg2
= static_cast< wxBitmapType
>(val2
);
9269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9270 if (!SWIG_IsOK(ecode3
)) {
9271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9273 arg3
= static_cast< int >(val3
);
9276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9277 if (!SWIG_IsOK(ecode4
)) {
9278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9280 arg4
= static_cast< int >(val4
);
9283 if (!wxPyCheckForApp()) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9304 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9305 PyObject
*resultobj
= 0;
9306 wxIcon
*arg1
= (wxIcon
*) 0 ;
9309 PyObject
*swig_obj
[1] ;
9311 if (!args
) SWIG_fail
;
9313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9314 if (!SWIG_IsOK(res1
)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9317 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_Py_Void();
9332 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9333 PyObject
*resultobj
= 0;
9334 wxIcon
*result
= 0 ;
9336 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9338 if (!wxPyCheckForApp()) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxIcon
*)new wxIcon();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9351 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
= 0;
9353 wxIconLocation
*arg1
= 0 ;
9354 wxIcon
*result
= 0 ;
9357 PyObject
* obj0
= 0 ;
9358 char * kwnames
[] = {
9359 (char *) "loc", NULL
9362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9370 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9372 if (!wxPyCheckForApp()) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9385 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
= 0;
9387 wxBitmap
*arg1
= 0 ;
9388 wxIcon
*result
= 0 ;
9391 PyObject
* obj0
= 0 ;
9392 char * kwnames
[] = {
9393 (char *) "bmp", NULL
9396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9397 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9398 if (!SWIG_IsOK(res1
)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9406 if (!wxPyCheckForApp()) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9419 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 PyObject
*arg1
= (PyObject
*) 0 ;
9422 wxIcon
*result
= 0 ;
9423 PyObject
* obj0
= 0 ;
9424 char * kwnames
[] = {
9425 (char *) "listOfStrings", NULL
9428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9431 if (!wxPyCheckForApp()) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (wxIcon
*)new_wxIcon(arg1
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9444 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
= 0;
9446 wxIcon
*arg1
= (wxIcon
*) 0 ;
9447 wxString
*arg2
= 0 ;
9452 bool temp2
= false ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 PyObject
* obj2
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "self",(char *) "name",(char *) "type", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9467 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9469 arg2
= wxString_in_helper(obj1
);
9470 if (arg2
== NULL
) SWIG_fail
;
9473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9474 if (!SWIG_IsOK(ecode3
)) {
9475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9477 arg3
= static_cast< wxBitmapType
>(val3
);
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9501 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9502 PyObject
*resultobj
= 0;
9503 wxIcon
*arg1
= (wxIcon
*) 0 ;
9507 PyObject
*swig_obj
[1] ;
9509 if (!args
) SWIG_fail
;
9511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9512 if (!SWIG_IsOK(res1
)) {
9513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9515 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 result
= (long)(arg1
)->GetHandle();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_From_long(static_cast< long >(result
));
9529 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= 0;
9531 wxIcon
*arg1
= (wxIcon
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 char * kwnames
[] = {
9540 (char *) "self",(char *) "handle", NULL
9543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9545 if (!SWIG_IsOK(res1
)) {
9546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9548 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9549 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9550 if (!SWIG_IsOK(ecode2
)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9553 arg2
= static_cast< long >(val2
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 wxIcon_SetHandle(arg1
,arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_Py_Void();
9567 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9568 PyObject
*resultobj
= 0;
9569 wxIcon
*arg1
= (wxIcon
*) 0 ;
9573 PyObject
*swig_obj
[1] ;
9575 if (!args
) SWIG_fail
;
9577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9578 if (!SWIG_IsOK(res1
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9581 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (bool)(arg1
)->IsOk();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9597 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9598 PyObject
*resultobj
= 0;
9599 wxIcon
*arg1
= (wxIcon
*) 0 ;
9603 PyObject
*swig_obj
[1] ;
9605 if (!args
) SWIG_fail
;
9607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9608 if (!SWIG_IsOK(res1
)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9611 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (int)(arg1
)->GetWidth();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_From_int(static_cast< int >(result
));
9625 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxIcon
*arg1
= (wxIcon
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9639 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (int)(arg1
)->GetHeight();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_From_int(static_cast< int >(result
));
9653 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxIcon
*arg1
= (wxIcon
*) 0 ;
9659 PyObject
*swig_obj
[1] ;
9661 if (!args
) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9667 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (int)(arg1
)->GetDepth();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_From_int(static_cast< int >(result
));
9681 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
= 0;
9683 wxIcon
*arg1
= (wxIcon
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "w", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9700 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9702 if (!SWIG_IsOK(ecode2
)) {
9703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9705 arg2
= static_cast< int >(val2
);
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->SetWidth(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_Py_Void();
9719 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
= 0;
9721 wxIcon
*arg1
= (wxIcon
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9729 char * kwnames
[] = {
9730 (char *) "self",(char *) "h", NULL
9733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9735 if (!SWIG_IsOK(res1
)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9738 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9740 if (!SWIG_IsOK(ecode2
)) {
9741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9743 arg2
= static_cast< int >(val2
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 (arg1
)->SetHeight(arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_Py_Void();
9757 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxIcon
*arg1
= (wxIcon
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 char * kwnames
[] = {
9768 (char *) "self",(char *) "d", NULL
9771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9776 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9778 if (!SWIG_IsOK(ecode2
)) {
9779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9781 arg2
= static_cast< int >(val2
);
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 (arg1
)->SetDepth(arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_Py_Void();
9795 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= 0;
9797 wxIcon
*arg1
= (wxIcon
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "size", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9813 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9816 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 (arg1
)->SetSize((wxSize
const &)*arg2
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_Py_Void();
9831 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
= 0;
9833 wxIcon
*arg1
= (wxIcon
*) 0 ;
9834 wxBitmap
*arg2
= 0 ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 char * kwnames
[] = {
9842 (char *) "self",(char *) "bmp", NULL
9845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9847 if (!SWIG_IsOK(res1
)) {
9848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9850 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9852 if (!SWIG_IsOK(res2
)) {
9853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9858 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_Py_Void();
9872 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9875 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9876 return SWIG_Py_Void();
9879 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9880 return SWIG_Python_InitShadowInstance(args
);
9883 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
= 0;
9885 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9886 int arg2
= (int) 0 ;
9887 wxIconLocation
*result
= 0 ;
9888 bool temp1
= false ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 char * kwnames
[] = {
9894 (char *) "filename",(char *) "num", NULL
9897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9900 arg1
= wxString_in_helper(obj0
);
9901 if (arg1
== NULL
) SWIG_fail
;
9906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9907 if (!SWIG_IsOK(ecode2
)) {
9908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9910 arg2
= static_cast< int >(val2
);
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9933 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9938 PyObject
*swig_obj
[1] ;
9940 if (!args
) SWIG_fail
;
9942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9943 if (!SWIG_IsOK(res1
)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9946 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_Py_Void();
9961 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9962 PyObject
*resultobj
= 0;
9963 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9967 PyObject
*swig_obj
[1] ;
9969 if (!args
) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9975 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9991 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
= 0;
9993 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9994 wxString
*arg2
= 0 ;
9997 bool temp2
= false ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char * kwnames
[] = {
10001 (char *) "self",(char *) "filename", NULL
10004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10006 if (!SWIG_IsOK(res1
)) {
10007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10009 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10011 arg2
= wxString_in_helper(obj1
);
10012 if (arg2
== NULL
) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 (arg1
)->SetFileName((wxString
const &)*arg2
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_Py_Void();
10036 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10037 PyObject
*resultobj
= 0;
10038 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10039 wxString
*result
= 0 ;
10042 PyObject
*swig_obj
[1] ;
10044 if (!args
) SWIG_fail
;
10045 swig_obj
[0] = args
;
10046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10050 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10055 result
= (wxString
*) &_result_ref
;
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10073 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
= 0;
10075 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "self",(char *) "num", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10092 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10094 if (!SWIG_IsOK(ecode2
)) {
10095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10097 arg2
= static_cast< int >(val2
);
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 wxIconLocation_SetIndex(arg1
,arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_Py_Void();
10111 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10112 PyObject
*resultobj
= 0;
10113 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10117 PyObject
*swig_obj
[1] ;
10119 if (!args
) SWIG_fail
;
10120 swig_obj
[0] = args
;
10121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10122 if (!SWIG_IsOK(res1
)) {
10123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10125 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (int)wxIconLocation_GetIndex(arg1
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= SWIG_From_int(static_cast< int >(result
));
10139 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10142 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10143 return SWIG_Py_Void();
10146 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10147 return SWIG_Python_InitShadowInstance(args
);
10150 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10151 PyObject
*resultobj
= 0;
10152 wxIconBundle
*result
= 0 ;
10154 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (wxIconBundle
*)new wxIconBundle();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10168 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
= 0;
10170 wxString
*arg1
= 0 ;
10172 wxIconBundle
*result
= 0 ;
10173 bool temp1
= false ;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 char * kwnames
[] = {
10179 (char *) "file",(char *) "type", NULL
10182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10184 arg1
= wxString_in_helper(obj0
);
10185 if (arg1
== NULL
) SWIG_fail
;
10188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10189 if (!SWIG_IsOK(ecode2
)) {
10190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10192 arg2
= static_cast< long >(val2
);
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10214 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
= 0;
10217 wxIconBundle
*result
= 0 ;
10220 PyObject
* obj0
= 0 ;
10221 char * kwnames
[] = {
10222 (char *) "icon", NULL
10225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10226 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10227 if (!SWIG_IsOK(res1
)) {
10228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10233 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10247 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10248 PyObject
*resultobj
= 0;
10249 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10252 PyObject
*swig_obj
[1] ;
10254 if (!args
) SWIG_fail
;
10255 swig_obj
[0] = args
;
10256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10257 if (!SWIG_IsOK(res1
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10260 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_Py_Void();
10275 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 char * kwnames
[] = {
10286 (char *) "self",(char *) "icon", NULL
10289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10291 if (!SWIG_IsOK(res1
)) {
10292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10294 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10296 if (!SWIG_IsOK(res2
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10302 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_Py_Void();
10316 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10319 wxString
*arg2
= 0 ;
10323 bool temp2
= false ;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 PyObject
* obj2
= 0 ;
10329 char * kwnames
[] = {
10330 (char *) "self",(char *) "file",(char *) "type", NULL
10333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10338 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10340 arg2
= wxString_in_helper(obj1
);
10341 if (arg2
== NULL
) SWIG_fail
;
10344 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10345 if (!SWIG_IsOK(ecode3
)) {
10346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10348 arg3
= static_cast< long >(val3
);
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= SWIG_Py_Void();
10370 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= 0;
10372 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10374 wxIcon
*result
= 0 ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char * kwnames
[] = {
10381 (char *) "self",(char *) "size", NULL
10384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10386 if (!SWIG_IsOK(res1
)) {
10387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10389 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10398 result
= (wxIcon
*) &_result_ref
;
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 wxIcon
* resultptr
= new wxIcon(*result
);
10405 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10413 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10416 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10417 return SWIG_Py_Void();
10420 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10421 return SWIG_Python_InitShadowInstance(args
);
10424 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxString
*arg1
= 0 ;
10428 int arg3
= (int) 0 ;
10429 int arg4
= (int) 0 ;
10430 wxCursor
*result
= 0 ;
10431 bool temp1
= false ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 PyObject
* obj3
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10448 arg1
= wxString_in_helper(obj0
);
10449 if (arg1
== NULL
) SWIG_fail
;
10452 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10453 if (!SWIG_IsOK(ecode2
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10456 arg2
= static_cast< long >(val2
);
10458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10459 if (!SWIG_IsOK(ecode3
)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10462 arg3
= static_cast< int >(val3
);
10465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10466 if (!SWIG_IsOK(ecode4
)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10469 arg4
= static_cast< int >(val4
);
10472 if (!wxPyCheckForApp()) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10493 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10494 PyObject
*resultobj
= 0;
10495 wxCursor
*arg1
= (wxCursor
*) 0 ;
10498 PyObject
*swig_obj
[1] ;
10500 if (!args
) SWIG_fail
;
10501 swig_obj
[0] = args
;
10502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10503 if (!SWIG_IsOK(res1
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10506 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_Py_Void();
10521 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
= 0;
10524 wxCursor
*result
= 0 ;
10527 PyObject
* obj0
= 0 ;
10528 char * kwnames
[] = {
10529 (char *) "id", NULL
10532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10533 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10534 if (!SWIG_IsOK(ecode1
)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10537 arg1
= static_cast< int >(val1
);
10539 if (!wxPyCheckForApp()) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (wxCursor
*)new wxCursor(arg1
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10552 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
= 0;
10554 wxImage
*arg1
= 0 ;
10555 wxCursor
*result
= 0 ;
10558 PyObject
* obj0
= 0 ;
10559 char * kwnames
[] = {
10560 (char *) "image", NULL
10563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10564 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10565 if (!SWIG_IsOK(res1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10571 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10573 if (!wxPyCheckForApp()) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10586 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10587 PyObject
*resultobj
= 0;
10588 wxCursor
*arg1
= (wxCursor
*) 0 ;
10592 PyObject
*swig_obj
[1] ;
10594 if (!args
) SWIG_fail
;
10595 swig_obj
[0] = args
;
10596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10597 if (!SWIG_IsOK(res1
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10600 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (long)(arg1
)->GetHandle();
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_From_long(static_cast< long >(result
));
10614 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxCursor
*arg1
= (wxCursor
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 char * kwnames
[] = {
10625 (char *) "self",(char *) "handle", NULL
10628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10630 if (!SWIG_IsOK(res1
)) {
10631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10633 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10634 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10635 if (!SWIG_IsOK(ecode2
)) {
10636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10638 arg2
= static_cast< long >(val2
);
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 wxCursor_SetHandle(arg1
,arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_Py_Void();
10652 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10653 PyObject
*resultobj
= 0;
10654 wxCursor
*arg1
= (wxCursor
*) 0 ;
10658 PyObject
*swig_obj
[1] ;
10660 if (!args
) SWIG_fail
;
10661 swig_obj
[0] = args
;
10662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10663 if (!SWIG_IsOK(res1
)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10666 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)(arg1
)->IsOk();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10683 PyObject
*resultobj
= 0;
10684 wxCursor
*arg1
= (wxCursor
*) 0 ;
10688 PyObject
*swig_obj
[1] ;
10690 if (!args
) SWIG_fail
;
10691 swig_obj
[0] = args
;
10692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10693 if (!SWIG_IsOK(res1
)) {
10694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10696 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (int)(arg1
)->GetWidth();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_From_int(static_cast< int >(result
));
10710 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10711 PyObject
*resultobj
= 0;
10712 wxCursor
*arg1
= (wxCursor
*) 0 ;
10716 PyObject
*swig_obj
[1] ;
10718 if (!args
) SWIG_fail
;
10719 swig_obj
[0] = args
;
10720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10721 if (!SWIG_IsOK(res1
)) {
10722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10724 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (int)(arg1
)->GetHeight();
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_From_int(static_cast< int >(result
));
10738 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10739 PyObject
*resultobj
= 0;
10740 wxCursor
*arg1
= (wxCursor
*) 0 ;
10744 PyObject
*swig_obj
[1] ;
10746 if (!args
) SWIG_fail
;
10747 swig_obj
[0] = args
;
10748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10749 if (!SWIG_IsOK(res1
)) {
10750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10752 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (int)(arg1
)->GetDepth();
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= SWIG_From_int(static_cast< int >(result
));
10766 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
= 0;
10768 wxCursor
*arg1
= (wxCursor
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 char * kwnames
[] = {
10777 (char *) "self",(char *) "w", NULL
10780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10782 if (!SWIG_IsOK(res1
)) {
10783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10785 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10787 if (!SWIG_IsOK(ecode2
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10790 arg2
= static_cast< int >(val2
);
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetWidth(arg2
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_Py_Void();
10804 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
= 0;
10806 wxCursor
*arg1
= (wxCursor
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 char * kwnames
[] = {
10815 (char *) "self",(char *) "h", NULL
10818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10823 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10825 if (!SWIG_IsOK(ecode2
)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10828 arg2
= static_cast< int >(val2
);
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->SetHeight(arg2
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= SWIG_Py_Void();
10842 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
= 0;
10844 wxCursor
*arg1
= (wxCursor
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "d", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10861 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10863 if (!SWIG_IsOK(ecode2
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10866 arg2
= static_cast< int >(val2
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->SetDepth(arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= SWIG_Py_Void();
10880 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
= 0;
10882 wxCursor
*arg1
= (wxCursor
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char * kwnames
[] = {
10890 (char *) "self",(char *) "size", NULL
10893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10898 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 (arg1
)->SetSize((wxSize
const &)*arg2
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_Py_Void();
10916 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10919 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10920 return SWIG_Py_Void();
10923 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10924 return SWIG_Python_InitShadowInstance(args
);
10927 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
= 0;
10929 int arg1
= (int) 0 ;
10930 int arg2
= (int) 0 ;
10931 int arg3
= (int) 0 ;
10932 int arg4
= (int) 0 ;
10933 wxRegion
*result
= 0 ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 PyObject
* obj2
= 0 ;
10945 PyObject
* obj3
= 0 ;
10946 char * kwnames
[] = {
10947 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10953 if (!SWIG_IsOK(ecode1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10956 arg1
= static_cast< int >(val1
);
10959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10960 if (!SWIG_IsOK(ecode2
)) {
10961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10963 arg2
= static_cast< int >(val2
);
10966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10967 if (!SWIG_IsOK(ecode3
)) {
10968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10970 arg3
= static_cast< int >(val3
);
10973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10974 if (!SWIG_IsOK(ecode4
)) {
10975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10977 arg4
= static_cast< int >(val4
);
10980 if (!wxPyCheckForApp()) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10993 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
= 0;
10995 wxBitmap
*arg1
= 0 ;
10996 wxRegion
*result
= 0 ;
10999 PyObject
* obj0
= 0 ;
11000 char * kwnames
[] = {
11001 (char *) "bmp", NULL
11004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11005 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11006 if (!SWIG_IsOK(res1
)) {
11007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11012 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11014 if (!wxPyCheckForApp()) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11027 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
= 0;
11029 wxBitmap
*arg1
= 0 ;
11030 wxColour
*arg2
= 0 ;
11031 int arg3
= (int) 0 ;
11032 wxRegion
*result
= 0 ;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 PyObject
* obj2
= 0 ;
11041 char * kwnames
[] = {
11042 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11046 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11047 if (!SWIG_IsOK(res1
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11053 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11056 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11060 if (!SWIG_IsOK(ecode3
)) {
11061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11063 arg3
= static_cast< int >(val3
);
11066 if (!wxPyCheckForApp()) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11079 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
= 0;
11082 wxPoint
*arg2
= (wxPoint
*) 0 ;
11083 int arg3
= (int) wxWINDING_RULE
;
11084 wxRegion
*result
= 0 ;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 char * kwnames
[] = {
11090 (char *) "points",(char *) "fillStyle", NULL
11093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11095 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11096 if (arg2
== NULL
) SWIG_fail
;
11099 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11100 if (!SWIG_IsOK(ecode3
)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11103 arg3
= static_cast< int >(val3
);
11106 if (!wxPyCheckForApp()) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11114 if (arg2
) delete [] arg2
;
11119 if (arg2
) delete [] arg2
;
11125 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11126 PyObject
*resultobj
= 0;
11127 wxRegion
*arg1
= (wxRegion
*) 0 ;
11130 PyObject
*swig_obj
[1] ;
11132 if (!args
) SWIG_fail
;
11133 swig_obj
[0] = args
;
11134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11135 if (!SWIG_IsOK(res1
)) {
11136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11138 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_Py_Void();
11153 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11154 PyObject
*resultobj
= 0;
11155 wxRegion
*arg1
= (wxRegion
*) 0 ;
11158 PyObject
*swig_obj
[1] ;
11160 if (!args
) SWIG_fail
;
11161 swig_obj
[0] = args
;
11162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11166 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= SWIG_Py_Void();
11180 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
= 0;
11182 wxRegion
*arg1
= (wxRegion
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 PyObject
* obj2
= 0 ;
11195 char * kwnames
[] = {
11196 (char *) "self",(char *) "x",(char *) "y", NULL
11199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11204 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11206 if (!SWIG_IsOK(ecode2
)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11209 arg2
= static_cast< int >(val2
);
11210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11211 if (!SWIG_IsOK(ecode3
)) {
11212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11214 arg3
= static_cast< int >(val3
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11230 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
= 0;
11232 wxRegion
*arg1
= (wxRegion
*) 0 ;
11235 wxRegionContain result
;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 PyObject
* obj2
= 0 ;
11245 char * kwnames
[] = {
11246 (char *) "self",(char *) "x",(char *) "y", NULL
11249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11251 if (!SWIG_IsOK(res1
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11254 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11256 if (!SWIG_IsOK(ecode2
)) {
11257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11259 arg2
= static_cast< int >(val2
);
11260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11261 if (!SWIG_IsOK(ecode3
)) {
11262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11264 arg3
= static_cast< int >(val3
);
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_From_int(static_cast< int >(result
));
11278 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11281 wxPoint
*arg2
= 0 ;
11282 wxRegionContain result
;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char * kwnames
[] = {
11289 (char *) "self",(char *) "pt", NULL
11292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11297 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int(static_cast< int >(result
));
11315 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
= 0;
11317 wxRegion
*arg1
= (wxRegion
*) 0 ;
11319 wxRegionContain result
;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 char * kwnames
[] = {
11326 (char *) "self",(char *) "rect", NULL
11329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11331 if (!SWIG_IsOK(res1
)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11334 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11337 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_From_int(static_cast< int >(result
));
11352 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
= 0;
11354 wxRegion
*arg1
= (wxRegion
*) 0 ;
11359 wxRegionContain result
;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 PyObject
* obj2
= 0 ;
11373 PyObject
* obj3
= 0 ;
11374 PyObject
* obj4
= 0 ;
11375 char * kwnames
[] = {
11376 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11381 if (!SWIG_IsOK(res1
)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11384 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11386 if (!SWIG_IsOK(ecode2
)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11389 arg2
= static_cast< int >(val2
);
11390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11391 if (!SWIG_IsOK(ecode3
)) {
11392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11394 arg3
= static_cast< int >(val3
);
11395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11396 if (!SWIG_IsOK(ecode4
)) {
11397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11399 arg4
= static_cast< int >(val4
);
11400 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11401 if (!SWIG_IsOK(ecode5
)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11404 arg5
= static_cast< int >(val5
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_From_int(static_cast< int >(result
));
11418 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11419 PyObject
*resultobj
= 0;
11420 wxRegion
*arg1
= (wxRegion
*) 0 ;
11424 PyObject
*swig_obj
[1] ;
11426 if (!args
) SWIG_fail
;
11427 swig_obj
[0] = args
;
11428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11429 if (!SWIG_IsOK(res1
)) {
11430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11432 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (arg1
)->GetBox();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11446 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
= 0;
11448 wxRegion
*arg1
= (wxRegion
*) 0 ;
11464 PyObject
* obj0
= 0 ;
11465 PyObject
* obj1
= 0 ;
11466 PyObject
* obj2
= 0 ;
11467 PyObject
* obj3
= 0 ;
11468 PyObject
* obj4
= 0 ;
11469 char * kwnames
[] = {
11470 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11478 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11480 if (!SWIG_IsOK(ecode2
)) {
11481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11483 arg2
= static_cast< int >(val2
);
11484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11485 if (!SWIG_IsOK(ecode3
)) {
11486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11488 arg3
= static_cast< int >(val3
);
11489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11490 if (!SWIG_IsOK(ecode4
)) {
11491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11493 arg4
= static_cast< int >(val4
);
11494 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11495 if (!SWIG_IsOK(ecode5
)) {
11496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11498 arg5
= static_cast< int >(val5
);
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
= 0;
11516 wxRegion
*arg1
= (wxRegion
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 char * kwnames
[] = {
11525 (char *) "self",(char *) "rect", NULL
11528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11530 if (!SWIG_IsOK(res1
)) {
11531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11533 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11536 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11553 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
= 0;
11555 wxRegion
*arg1
= (wxRegion
*) 0 ;
11556 wxRegion
*arg2
= 0 ;
11562 PyObject
* obj0
= 0 ;
11563 PyObject
* obj1
= 0 ;
11564 char * kwnames
[] = {
11565 (char *) "self",(char *) "region", NULL
11568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11570 if (!SWIG_IsOK(res1
)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11573 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11575 if (!SWIG_IsOK(res2
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11581 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11597 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11598 PyObject
*resultobj
= 0;
11599 wxRegion
*arg1
= (wxRegion
*) 0 ;
11603 PyObject
*swig_obj
[1] ;
11605 if (!args
) SWIG_fail
;
11606 swig_obj
[0] = args
;
11607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11608 if (!SWIG_IsOK(res1
)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11611 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (bool)(arg1
)->IsEmpty();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11627 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
= 0;
11629 wxRegion
*arg1
= (wxRegion
*) 0 ;
11630 wxRegion
*arg2
= 0 ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 char * kwnames
[] = {
11639 (char *) "self",(char *) "region", NULL
11642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11647 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11649 if (!SWIG_IsOK(res2
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11655 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11671 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= 0;
11673 wxRegion
*arg1
= (wxRegion
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 PyObject
* obj2
= 0 ;
11692 PyObject
* obj3
= 0 ;
11693 PyObject
* obj4
= 0 ;
11694 char * kwnames
[] = {
11695 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11700 if (!SWIG_IsOK(res1
)) {
11701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11703 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11705 if (!SWIG_IsOK(ecode2
)) {
11706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11708 arg2
= static_cast< int >(val2
);
11709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11710 if (!SWIG_IsOK(ecode3
)) {
11711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11713 arg3
= static_cast< int >(val3
);
11714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11715 if (!SWIG_IsOK(ecode4
)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11718 arg4
= static_cast< int >(val4
);
11719 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11720 if (!SWIG_IsOK(ecode5
)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11723 arg5
= static_cast< int >(val5
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11739 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
= 0;
11741 wxRegion
*arg1
= (wxRegion
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 char * kwnames
[] = {
11750 (char *) "self",(char *) "rect", NULL
11753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11755 if (!SWIG_IsOK(res1
)) {
11756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11758 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11761 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11778 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
= 0;
11780 wxRegion
*arg1
= (wxRegion
*) 0 ;
11781 wxRegion
*arg2
= 0 ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 char * kwnames
[] = {
11790 (char *) "self",(char *) "region", NULL
11793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11798 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11800 if (!SWIG_IsOK(res2
)) {
11801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11806 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11822 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
= 0;
11824 wxRegion
*arg1
= (wxRegion
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 PyObject
* obj2
= 0 ;
11843 PyObject
* obj3
= 0 ;
11844 PyObject
* obj4
= 0 ;
11845 char * kwnames
[] = {
11846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11854 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11856 if (!SWIG_IsOK(ecode2
)) {
11857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11859 arg2
= static_cast< int >(val2
);
11860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11861 if (!SWIG_IsOK(ecode3
)) {
11862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11864 arg3
= static_cast< int >(val3
);
11865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11866 if (!SWIG_IsOK(ecode4
)) {
11867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11869 arg4
= static_cast< int >(val4
);
11870 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11871 if (!SWIG_IsOK(ecode5
)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11874 arg5
= static_cast< int >(val5
);
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11890 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
= 0;
11892 wxRegion
*arg1
= (wxRegion
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "rect", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11909 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11929 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
= 0;
11931 wxRegion
*arg1
= (wxRegion
*) 0 ;
11932 wxRegion
*arg2
= 0 ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 char * kwnames
[] = {
11941 (char *) "self",(char *) "region", NULL
11944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11949 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11951 if (!SWIG_IsOK(res2
)) {
11952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11957 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11973 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
= 0;
11975 wxRegion
*arg1
= (wxRegion
*) 0 ;
11991 PyObject
* obj0
= 0 ;
11992 PyObject
* obj1
= 0 ;
11993 PyObject
* obj2
= 0 ;
11994 PyObject
* obj3
= 0 ;
11995 PyObject
* obj4
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12005 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12007 if (!SWIG_IsOK(ecode2
)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12010 arg2
= static_cast< int >(val2
);
12011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12012 if (!SWIG_IsOK(ecode3
)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12015 arg3
= static_cast< int >(val3
);
12016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12017 if (!SWIG_IsOK(ecode4
)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12020 arg4
= static_cast< int >(val4
);
12021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12022 if (!SWIG_IsOK(ecode5
)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12025 arg5
= static_cast< int >(val5
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12041 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= 0;
12043 wxRegion
*arg1
= (wxRegion
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "rect", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12060 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12080 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
= 0;
12082 wxRegion
*arg1
= (wxRegion
*) 0 ;
12083 wxRegion
*arg2
= 0 ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char * kwnames
[] = {
12092 (char *) "self",(char *) "region", NULL
12095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12100 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12102 if (!SWIG_IsOK(res2
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12108 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12124 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12125 PyObject
*resultobj
= 0;
12126 wxRegion
*arg1
= (wxRegion
*) 0 ;
12127 SwigValueWrapper
<wxBitmap
> result
;
12130 PyObject
*swig_obj
[1] ;
12132 if (!args
) SWIG_fail
;
12133 swig_obj
[0] = args
;
12134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12138 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (arg1
)->ConvertToBitmap();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12152 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxRegion
*arg1
= (wxRegion
*) 0 ;
12155 wxBitmap
*arg2
= 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char * kwnames
[] = {
12164 (char *) "self",(char *) "bmp", NULL
12167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12172 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12174 if (!SWIG_IsOK(res2
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12180 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12196 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= 0;
12198 wxRegion
*arg1
= (wxRegion
*) 0 ;
12199 wxBitmap
*arg2
= 0 ;
12200 wxColour
*arg3
= 0 ;
12201 int arg4
= (int) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 PyObject
* obj2
= 0 ;
12213 PyObject
* obj3
= 0 ;
12214 char * kwnames
[] = {
12215 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12223 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12225 if (!SWIG_IsOK(res2
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12231 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12234 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12238 if (!SWIG_IsOK(ecode4
)) {
12239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12241 arg4
= static_cast< int >(val4
);
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12258 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12261 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12262 return SWIG_Py_Void();
12265 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12266 return SWIG_Python_InitShadowInstance(args
);
12269 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
= 0;
12271 wxRegion
*arg1
= 0 ;
12272 wxRegionIterator
*result
= 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char * kwnames
[] = {
12277 (char *) "region", NULL
12280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12282 if (!SWIG_IsOK(res1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12288 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12290 if (!wxPyCheckForApp()) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12303 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12316 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_Py_Void();
12331 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12333 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12337 PyObject
*swig_obj
[1] ;
12339 if (!args
) SWIG_fail
;
12340 swig_obj
[0] = args
;
12341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12345 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (int)(arg1
)->GetX();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_From_int(static_cast< int >(result
));
12359 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12360 PyObject
*resultobj
= 0;
12361 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12365 PyObject
*swig_obj
[1] ;
12367 if (!args
) SWIG_fail
;
12368 swig_obj
[0] = args
;
12369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12370 if (!SWIG_IsOK(res1
)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12373 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (int)(arg1
)->GetY();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_From_int(static_cast< int >(result
));
12387 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12388 PyObject
*resultobj
= 0;
12389 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12393 PyObject
*swig_obj
[1] ;
12395 if (!args
) SWIG_fail
;
12396 swig_obj
[0] = args
;
12397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12398 if (!SWIG_IsOK(res1
)) {
12399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12401 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 result
= (int)(arg1
)->GetW();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_From_int(static_cast< int >(result
));
12415 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12416 PyObject
*resultobj
= 0;
12417 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12421 PyObject
*swig_obj
[1] ;
12423 if (!args
) SWIG_fail
;
12424 swig_obj
[0] = args
;
12425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12426 if (!SWIG_IsOK(res1
)) {
12427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12429 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (int)(arg1
)->GetWidth();
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_From_int(static_cast< int >(result
));
12443 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12444 PyObject
*resultobj
= 0;
12445 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12449 PyObject
*swig_obj
[1] ;
12451 if (!args
) SWIG_fail
;
12452 swig_obj
[0] = args
;
12453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12457 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (int)(arg1
)->GetH();
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_From_int(static_cast< int >(result
));
12471 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12477 PyObject
*swig_obj
[1] ;
12479 if (!args
) SWIG_fail
;
12480 swig_obj
[0] = args
;
12481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12485 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (int)(arg1
)->GetHeight();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_From_int(static_cast< int >(result
));
12499 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12500 PyObject
*resultobj
= 0;
12501 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12505 PyObject
*swig_obj
[1] ;
12507 if (!args
) SWIG_fail
;
12508 swig_obj
[0] = args
;
12509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12510 if (!SWIG_IsOK(res1
)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12513 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (arg1
)->GetRect();
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12527 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12528 PyObject
*resultobj
= 0;
12529 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12533 PyObject
*swig_obj
[1] ;
12535 if (!args
) SWIG_fail
;
12536 swig_obj
[0] = args
;
12537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12541 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (bool)(arg1
)->HaveRects();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12557 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12558 PyObject
*resultobj
= 0;
12559 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12562 PyObject
*swig_obj
[1] ;
12564 if (!args
) SWIG_fail
;
12565 swig_obj
[0] = args
;
12566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12570 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= SWIG_Py_Void();
12584 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12585 PyObject
*resultobj
= 0;
12586 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12589 PyObject
*swig_obj
[1] ;
12591 if (!args
) SWIG_fail
;
12592 swig_obj
[0] = args
;
12593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12597 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 wxRegionIterator_Next(arg1
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_Py_Void();
12611 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 PyObject
*resultobj
= 0;
12613 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12617 PyObject
*swig_obj
[1] ;
12619 if (!args
) SWIG_fail
;
12620 swig_obj
[0] = args
;
12621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12625 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12641 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12644 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12645 return SWIG_Py_Void();
12648 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12649 return SWIG_Python_InitShadowInstance(args
);
12652 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12653 PyObject
*resultobj
= 0;
12654 wxNativeFontInfo
*result
= 0 ;
12656 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12670 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12671 PyObject
*resultobj
= 0;
12672 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12675 PyObject
*swig_obj
[1] ;
12677 if (!args
) SWIG_fail
;
12678 swig_obj
[0] = args
;
12679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12680 if (!SWIG_IsOK(res1
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12683 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12699 PyObject
*resultobj
= 0;
12700 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12703 PyObject
*swig_obj
[1] ;
12705 if (!args
) SWIG_fail
;
12706 swig_obj
[0] = args
;
12707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12708 if (!SWIG_IsOK(res1
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12711 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_Py_Void();
12725 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
= 0;
12727 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char * kwnames
[] = {
12736 (char *) "self",(char *) "font", NULL
12739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12741 if (!SWIG_IsOK(res1
)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12744 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12746 if (!SWIG_IsOK(res2
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12752 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= SWIG_Py_Void();
12766 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12767 PyObject
*resultobj
= 0;
12768 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12772 PyObject
*swig_obj
[1] ;
12774 if (!args
) SWIG_fail
;
12775 swig_obj
[0] = args
;
12776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12780 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_From_int(static_cast< int >(result
));
12794 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12795 PyObject
*resultobj
= 0;
12796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12800 PyObject
*swig_obj
[1] ;
12802 if (!args
) SWIG_fail
;
12803 swig_obj
[0] = args
;
12804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12808 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12822 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12823 PyObject
*resultobj
= 0;
12824 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12825 wxFontStyle result
;
12828 PyObject
*swig_obj
[1] ;
12830 if (!args
) SWIG_fail
;
12831 swig_obj
[0] = args
;
12832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12833 if (!SWIG_IsOK(res1
)) {
12834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12836 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_From_int(static_cast< int >(result
));
12850 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 PyObject
*resultobj
= 0;
12852 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12853 wxFontWeight result
;
12856 PyObject
*swig_obj
[1] ;
12858 if (!args
) SWIG_fail
;
12859 swig_obj
[0] = args
;
12860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12861 if (!SWIG_IsOK(res1
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12864 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= SWIG_From_int(static_cast< int >(result
));
12878 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12879 PyObject
*resultobj
= 0;
12880 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12884 PyObject
*swig_obj
[1] ;
12886 if (!args
) SWIG_fail
;
12887 swig_obj
[0] = args
;
12888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12889 if (!SWIG_IsOK(res1
)) {
12890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12892 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12908 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 PyObject
*resultobj
= 0;
12910 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12914 PyObject
*swig_obj
[1] ;
12916 if (!args
) SWIG_fail
;
12917 swig_obj
[0] = args
;
12918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12922 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12942 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12943 PyObject
*resultobj
= 0;
12944 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12945 wxFontFamily result
;
12948 PyObject
*swig_obj
[1] ;
12950 if (!args
) SWIG_fail
;
12951 swig_obj
[0] = args
;
12952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12953 if (!SWIG_IsOK(res1
)) {
12954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12956 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_From_int(static_cast< int >(result
));
12970 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12971 PyObject
*resultobj
= 0;
12972 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12973 wxFontEncoding result
;
12976 PyObject
*swig_obj
[1] ;
12978 if (!args
) SWIG_fail
;
12979 swig_obj
[0] = args
;
12980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12981 if (!SWIG_IsOK(res1
)) {
12982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12984 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_From_int(static_cast< int >(result
));
12998 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
= 0;
13000 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "pointsize", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13017 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13019 if (!SWIG_IsOK(ecode2
)) {
13020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13022 arg2
= static_cast< int >(val2
);
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 (arg1
)->SetPointSize(arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_Py_Void();
13036 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
= 0;
13038 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 char * kwnames
[] = {
13046 (char *) "self",(char *) "pixelSize", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13051 if (!SWIG_IsOK(res1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13054 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_Py_Void();
13072 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "self",(char *) "style", NULL
13086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13091 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13093 if (!SWIG_IsOK(ecode2
)) {
13094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13096 arg2
= static_cast< wxFontStyle
>(val2
);
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->SetStyle(arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_Py_Void();
13110 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
= 0;
13112 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13113 wxFontWeight arg2
;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char * kwnames
[] = {
13121 (char *) "self",(char *) "weight", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13129 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13131 if (!SWIG_IsOK(ecode2
)) {
13132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13134 arg2
= static_cast< wxFontWeight
>(val2
);
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 (arg1
)->SetWeight(arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_Py_Void();
13148 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
= 0;
13150 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char * kwnames
[] = {
13159 (char *) "self",(char *) "underlined", NULL
13162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13167 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13168 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13169 if (!SWIG_IsOK(ecode2
)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13172 arg2
= static_cast< bool >(val2
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 (arg1
)->SetUnderlined(arg2
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_Py_Void();
13186 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char * kwnames
[] = {
13196 (char *) "self",(char *) "facename", NULL
13199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13201 if (!SWIG_IsOK(res1
)) {
13202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13204 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13206 wxString
* sptr
= wxString_in_helper(obj1
);
13207 if (sptr
== NULL
) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (bool)(arg1
)->SetFaceName(arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13226 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
= 0;
13228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13229 wxFontFamily arg2
;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 char * kwnames
[] = {
13237 (char *) "self",(char *) "family", NULL
13240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13242 if (!SWIG_IsOK(res1
)) {
13243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13245 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13247 if (!SWIG_IsOK(ecode2
)) {
13248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13250 arg2
= static_cast< wxFontFamily
>(val2
);
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->SetFamily(arg2
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_Py_Void();
13264 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
= 0;
13266 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13267 wxFontEncoding arg2
;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 char * kwnames
[] = {
13275 (char *) "self",(char *) "encoding", NULL
13278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13280 if (!SWIG_IsOK(res1
)) {
13281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13283 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13285 if (!SWIG_IsOK(ecode2
)) {
13286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13288 arg2
= static_cast< wxFontEncoding
>(val2
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->SetEncoding(arg2
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_Py_Void();
13302 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
= 0;
13304 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13305 wxString
*arg2
= 0 ;
13309 bool temp2
= false ;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 char * kwnames
[] = {
13313 (char *) "self",(char *) "s", NULL
13316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13318 if (!SWIG_IsOK(res1
)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13321 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13323 arg2
= wxString_in_helper(obj1
);
13324 if (arg2
== NULL
) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13350 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13351 PyObject
*resultobj
= 0;
13352 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13356 PyObject
*swig_obj
[1] ;
13358 if (!args
) SWIG_fail
;
13359 swig_obj
[0] = args
;
13360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13361 if (!SWIG_IsOK(res1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13364 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13384 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13385 PyObject
*resultobj
= 0;
13386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13390 PyObject
*swig_obj
[1] ;
13392 if (!args
) SWIG_fail
;
13393 swig_obj
[0] = args
;
13394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13395 if (!SWIG_IsOK(res1
)) {
13396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13398 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= wxNativeFontInfo___str__(arg1
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13418 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
= 0;
13420 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13421 wxString
*arg2
= 0 ;
13425 bool temp2
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char * kwnames
[] = {
13429 (char *) "self",(char *) "s", NULL
13432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13437 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13439 arg2
= wxString_in_helper(obj1
);
13440 if (arg2
== NULL
) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13466 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13467 PyObject
*resultobj
= 0;
13468 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13472 PyObject
*swig_obj
[1] ;
13474 if (!args
) SWIG_fail
;
13475 swig_obj
[0] = args
;
13476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13480 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13500 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13503 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13504 return SWIG_Py_Void();
13507 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13508 return SWIG_Python_InitShadowInstance(args
);
13511 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13514 wxString
*arg2
= (wxString
*) 0 ;
13517 bool temp2
= false ;
13518 PyObject
*swig_obj
[2] ;
13520 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13525 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13527 arg2
= wxString_in_helper(swig_obj
[1]);
13528 if (arg2
== NULL
) SWIG_fail
;
13531 if (arg1
) (arg1
)->facename
= *arg2
;
13533 resultobj
= SWIG_Py_Void();
13548 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13549 PyObject
*resultobj
= 0;
13550 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13551 wxString
*result
= 0 ;
13554 PyObject
*swig_obj
[1] ;
13556 if (!args
) SWIG_fail
;
13557 swig_obj
[0] = args
;
13558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13559 if (!SWIG_IsOK(res1
)) {
13560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13562 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13563 result
= (wxString
*)& ((arg1
)->facename
);
13566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13577 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13578 PyObject
*resultobj
= 0;
13579 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13580 wxFontEncoding arg2
;
13585 PyObject
*swig_obj
[2] ;
13587 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13592 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13593 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13594 if (!SWIG_IsOK(ecode2
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13597 arg2
= static_cast< wxFontEncoding
>(val2
);
13598 if (arg1
) (arg1
)->encoding
= arg2
;
13600 resultobj
= SWIG_Py_Void();
13607 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13608 PyObject
*resultobj
= 0;
13609 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13610 wxFontEncoding result
;
13613 PyObject
*swig_obj
[1] ;
13615 if (!args
) SWIG_fail
;
13616 swig_obj
[0] = args
;
13617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13621 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13622 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13623 resultobj
= SWIG_From_int(static_cast< int >(result
));
13630 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13631 PyObject
*resultobj
= 0;
13632 wxNativeEncodingInfo
*result
= 0 ;
13634 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13648 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13649 PyObject
*resultobj
= 0;
13650 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13653 PyObject
*swig_obj
[1] ;
13655 if (!args
) SWIG_fail
;
13656 swig_obj
[0] = args
;
13657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13661 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_Py_Void();
13676 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
= 0;
13678 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13679 wxString
*arg2
= 0 ;
13683 bool temp2
= false ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char * kwnames
[] = {
13687 (char *) "self",(char *) "s", NULL
13690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13692 if (!SWIG_IsOK(res1
)) {
13693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13695 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13697 arg2
= wxString_in_helper(obj1
);
13698 if (arg2
== NULL
) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13724 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13725 PyObject
*resultobj
= 0;
13726 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13730 PyObject
*swig_obj
[1] ;
13732 if (!args
) SWIG_fail
;
13733 swig_obj
[0] = args
;
13734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13735 if (!SWIG_IsOK(res1
)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13738 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13758 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13761 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13762 return SWIG_Py_Void();
13765 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 return SWIG_Python_InitShadowInstance(args
);
13769 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
= 0;
13771 wxFontEncoding arg1
;
13772 wxNativeEncodingInfo
*result
= 0 ;
13775 PyObject
* obj0
= 0 ;
13776 char * kwnames
[] = {
13777 (char *) "encoding", NULL
13780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13782 if (!SWIG_IsOK(ecode1
)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13785 arg1
= static_cast< wxFontEncoding
>(val1
);
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13799 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
= 0;
13801 wxNativeEncodingInfo
*arg1
= 0 ;
13805 PyObject
* obj0
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "info", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13811 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13818 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13834 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13835 PyObject
*resultobj
= 0;
13836 wxFontMapper
*result
= 0 ;
13838 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (wxFontMapper
*)new wxFontMapper();
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13852 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13853 PyObject
*resultobj
= 0;
13854 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13857 PyObject
*swig_obj
[1] ;
13859 if (!args
) SWIG_fail
;
13860 swig_obj
[0] = args
;
13861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13865 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_Py_Void();
13880 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13881 PyObject
*resultobj
= 0;
13882 wxFontMapper
*result
= 0 ;
13884 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (wxFontMapper
*)wxFontMapper::Get();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13898 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
= 0;
13900 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13901 wxFontMapper
*result
= 0 ;
13904 PyObject
* obj0
= 0 ;
13905 char * kwnames
[] = {
13906 (char *) "mapper", NULL
13909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13911 if (!SWIG_IsOK(res1
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13914 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13928 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
= 0;
13930 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13931 wxString
*arg2
= 0 ;
13932 bool arg3
= (bool) true ;
13933 wxFontEncoding result
;
13936 bool temp2
= false ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 PyObject
* obj2
= 0 ;
13942 char * kwnames
[] = {
13943 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13948 if (!SWIG_IsOK(res1
)) {
13949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13951 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13953 arg2
= wxString_in_helper(obj1
);
13954 if (arg2
== NULL
) SWIG_fail
;
13958 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13959 if (!SWIG_IsOK(ecode3
)) {
13960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13962 arg3
= static_cast< bool >(val3
);
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_From_int(static_cast< int >(result
));
13985 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13986 PyObject
*resultobj
= 0;
13989 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14003 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
= 0;
14006 wxFontEncoding result
;
14009 PyObject
* obj0
= 0 ;
14010 char * kwnames
[] = {
14014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14015 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14016 if (!SWIG_IsOK(ecode1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14019 arg1
= static_cast< size_t >(val1
);
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_From_int(static_cast< int >(result
));
14033 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
= 0;
14035 wxFontEncoding arg1
;
14039 PyObject
* obj0
= 0 ;
14040 char * kwnames
[] = {
14041 (char *) "encoding", NULL
14044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14046 if (!SWIG_IsOK(ecode1
)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14049 arg1
= static_cast< wxFontEncoding
>(val1
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= wxFontMapper::GetEncodingName(arg1
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14069 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
= 0;
14071 wxFontEncoding arg1
;
14075 PyObject
* obj0
= 0 ;
14076 char * kwnames
[] = {
14077 (char *) "encoding", NULL
14080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14082 if (!SWIG_IsOK(ecode1
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14085 arg1
= static_cast< wxFontEncoding
>(val1
);
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= wxFontMapper::GetEncodingDescription(arg1
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14105 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
= 0;
14107 wxString
*arg1
= 0 ;
14108 wxFontEncoding result
;
14109 bool temp1
= false ;
14110 PyObject
* obj0
= 0 ;
14111 char * kwnames
[] = {
14112 (char *) "name", NULL
14115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14117 arg1
= wxString_in_helper(obj0
);
14118 if (arg1
== NULL
) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_From_int(static_cast< int >(result
));
14142 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
= 0;
14144 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14145 wxString
*arg2
= 0 ;
14148 bool temp2
= false ;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj1
= 0 ;
14151 char * kwnames
[] = {
14152 (char *) "self",(char *) "prefix", NULL
14155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14157 if (!SWIG_IsOK(res1
)) {
14158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14160 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14162 arg2
= wxString_in_helper(obj1
);
14163 if (arg2
== NULL
) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_Py_Void();
14187 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 PyObject
*resultobj
= 0;
14191 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= wxFontMapper::GetDefaultConfigPath();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14211 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
= 0;
14213 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14214 wxFontEncoding arg2
;
14215 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14216 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14217 bool arg4
= (bool) true ;
14218 PyObject
*result
= 0 ;
14223 bool temp3
= false ;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 PyObject
* obj2
= 0 ;
14229 PyObject
* obj3
= 0 ;
14230 char * kwnames
[] = {
14231 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14236 if (!SWIG_IsOK(res1
)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14239 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14241 if (!SWIG_IsOK(ecode2
)) {
14242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14244 arg2
= static_cast< wxFontEncoding
>(val2
);
14247 arg3
= wxString_in_helper(obj2
);
14248 if (arg3
== NULL
) SWIG_fail
;
14253 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14254 if (!SWIG_IsOK(ecode4
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14257 arg4
= static_cast< bool >(val4
);
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= result
;
14280 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= 0;
14282 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14283 wxFontEncoding arg2
;
14284 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14285 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14291 bool temp3
= false ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 PyObject
* obj2
= 0 ;
14295 char * kwnames
[] = {
14296 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14301 if (!SWIG_IsOK(res1
)) {
14302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14304 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14306 if (!SWIG_IsOK(ecode2
)) {
14307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14309 arg2
= static_cast< wxFontEncoding
>(val2
);
14312 arg3
= wxString_in_helper(obj2
);
14313 if (arg3
== NULL
) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14340 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
= 0;
14342 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14343 wxWindow
*arg2
= (wxWindow
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 PyObject
* obj1
= 0 ;
14350 char * kwnames
[] = {
14351 (char *) "self",(char *) "parent", NULL
14354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14359 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14361 if (!SWIG_IsOK(res2
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 (arg1
)->SetDialogParent(arg2
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_Py_Void();
14378 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
= 0;
14380 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14381 wxString
*arg2
= 0 ;
14384 bool temp2
= false ;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 char * kwnames
[] = {
14388 (char *) "self",(char *) "title", NULL
14391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14393 if (!SWIG_IsOK(res1
)) {
14394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14396 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14398 arg2
= wxString_in_helper(obj1
);
14399 if (arg2
== NULL
) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= SWIG_Py_Void();
14423 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14426 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14427 return SWIG_Py_Void();
14430 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14431 return SWIG_Python_InitShadowInstance(args
);
14434 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
= 0;
14440 bool arg5
= (bool) false ;
14441 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14442 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14443 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14444 wxFont
*result
= 0 ;
14455 bool temp6
= false ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 PyObject
* obj2
= 0 ;
14461 PyObject
* obj3
= 0 ;
14462 PyObject
* obj4
= 0 ;
14463 PyObject
* obj5
= 0 ;
14464 PyObject
* obj6
= 0 ;
14465 char * kwnames
[] = {
14466 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14470 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14471 if (!SWIG_IsOK(ecode1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14474 arg1
= static_cast< int >(val1
);
14475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14476 if (!SWIG_IsOK(ecode2
)) {
14477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14479 arg2
= static_cast< int >(val2
);
14480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14481 if (!SWIG_IsOK(ecode3
)) {
14482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14484 arg3
= static_cast< int >(val3
);
14485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14486 if (!SWIG_IsOK(ecode4
)) {
14487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14489 arg4
= static_cast< int >(val4
);
14491 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14492 if (!SWIG_IsOK(ecode5
)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14495 arg5
= static_cast< bool >(val5
);
14499 arg6
= wxString_in_helper(obj5
);
14500 if (arg6
== NULL
) SWIG_fail
;
14505 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14506 if (!SWIG_IsOK(ecode7
)) {
14507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14509 arg7
= static_cast< wxFontEncoding
>(val7
);
14512 if (!wxPyCheckForApp()) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14533 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14534 PyObject
*resultobj
= 0;
14535 wxFont
*arg1
= (wxFont
*) 0 ;
14538 PyObject
*swig_obj
[1] ;
14540 if (!args
) SWIG_fail
;
14541 swig_obj
[0] = args
;
14542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14543 if (!SWIG_IsOK(res1
)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14546 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_Py_Void();
14561 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
= 0;
14563 wxNativeFontInfo
*arg1
= 0 ;
14564 wxFont
*result
= 0 ;
14567 PyObject
* obj0
= 0 ;
14568 char * kwnames
[] = {
14569 (char *) "info", NULL
14572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14573 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14574 if (!SWIG_IsOK(res1
)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14580 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14582 if (!wxPyCheckForApp()) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14595 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
= 0;
14597 wxString
*arg1
= 0 ;
14598 wxFont
*result
= 0 ;
14599 bool temp1
= false ;
14600 PyObject
* obj0
= 0 ;
14601 char * kwnames
[] = {
14602 (char *) "info", NULL
14605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14607 arg1
= wxString_in_helper(obj0
);
14608 if (arg1
== NULL
) SWIG_fail
;
14612 if (!wxPyCheckForApp()) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14633 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
= 0;
14636 wxFontFamily arg2
;
14637 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14638 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14639 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14640 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14641 wxFont
*result
= 0 ;
14648 bool temp4
= false ;
14651 PyObject
* obj0
= 0 ;
14652 PyObject
* obj1
= 0 ;
14653 PyObject
* obj2
= 0 ;
14654 PyObject
* obj3
= 0 ;
14655 PyObject
* obj4
= 0 ;
14656 char * kwnames
[] = {
14657 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14661 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14662 if (!SWIG_IsOK(ecode1
)) {
14663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14665 arg1
= static_cast< int >(val1
);
14666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14667 if (!SWIG_IsOK(ecode2
)) {
14668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14670 arg2
= static_cast< wxFontFamily
>(val2
);
14672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14673 if (!SWIG_IsOK(ecode3
)) {
14674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14676 arg3
= static_cast< int >(val3
);
14680 arg4
= wxString_in_helper(obj3
);
14681 if (arg4
== NULL
) SWIG_fail
;
14686 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14687 if (!SWIG_IsOK(ecode5
)) {
14688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14690 arg5
= static_cast< wxFontEncoding
>(val5
);
14693 if (!wxPyCheckForApp()) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14714 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= 0;
14720 bool arg5
= (bool) false ;
14721 wxString
const &arg6_defvalue
= wxEmptyString
;
14722 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14723 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14724 wxFont
*result
= 0 ;
14734 bool temp6
= false ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 PyObject
* obj2
= 0 ;
14740 PyObject
* obj3
= 0 ;
14741 PyObject
* obj4
= 0 ;
14742 PyObject
* obj5
= 0 ;
14743 PyObject
* obj6
= 0 ;
14744 char * kwnames
[] = {
14745 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14751 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14754 if (!SWIG_IsOK(ecode2
)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14757 arg2
= static_cast< int >(val2
);
14758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14759 if (!SWIG_IsOK(ecode3
)) {
14760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14762 arg3
= static_cast< int >(val3
);
14763 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14764 if (!SWIG_IsOK(ecode4
)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14767 arg4
= static_cast< int >(val4
);
14769 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14770 if (!SWIG_IsOK(ecode5
)) {
14771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14773 arg5
= static_cast< bool >(val5
);
14777 arg6
= wxString_in_helper(obj5
);
14778 if (arg6
== NULL
) SWIG_fail
;
14783 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14784 if (!SWIG_IsOK(ecode7
)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14787 arg7
= static_cast< wxFontEncoding
>(val7
);
14790 if (!wxPyCheckForApp()) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14811 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
= 0;
14814 wxFontFamily arg2
;
14815 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14816 wxString
const &arg4_defvalue
= wxEmptyString
;
14817 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14818 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14819 wxFont
*result
= 0 ;
14825 bool temp4
= false ;
14828 PyObject
* obj0
= 0 ;
14829 PyObject
* obj1
= 0 ;
14830 PyObject
* obj2
= 0 ;
14831 PyObject
* obj3
= 0 ;
14832 PyObject
* obj4
= 0 ;
14833 char * kwnames
[] = {
14834 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14840 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14843 if (!SWIG_IsOK(ecode2
)) {
14844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14846 arg2
= static_cast< wxFontFamily
>(val2
);
14848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14849 if (!SWIG_IsOK(ecode3
)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14852 arg3
= static_cast< int >(val3
);
14856 arg4
= wxString_in_helper(obj3
);
14857 if (arg4
== NULL
) SWIG_fail
;
14862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14863 if (!SWIG_IsOK(ecode5
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14866 arg5
= static_cast< wxFontEncoding
>(val5
);
14869 if (!wxPyCheckForApp()) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14890 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14891 PyObject
*resultobj
= 0;
14892 wxFont
*arg1
= (wxFont
*) 0 ;
14896 PyObject
*swig_obj
[1] ;
14898 if (!args
) SWIG_fail
;
14899 swig_obj
[0] = args
;
14900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14904 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14920 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
= 0;
14922 wxFont
*arg1
= (wxFont
*) 0 ;
14923 wxFont
*arg2
= (wxFont
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 PyObject
* obj1
= 0 ;
14931 char * kwnames
[] = {
14932 (char *) "self",(char *) "other", NULL
14935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14937 if (!SWIG_IsOK(res1
)) {
14938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14940 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14942 if (!SWIG_IsOK(res2
)) {
14943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14945 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14961 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= 0;
14963 wxFont
*arg1
= (wxFont
*) 0 ;
14964 wxFont
*arg2
= (wxFont
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "other", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14981 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14983 if (!SWIG_IsOK(res2
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14986 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15002 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15003 PyObject
*resultobj
= 0;
15004 wxFont
*arg1
= (wxFont
*) 0 ;
15008 PyObject
*swig_obj
[1] ;
15010 if (!args
) SWIG_fail
;
15011 swig_obj
[0] = args
;
15012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15013 if (!SWIG_IsOK(res1
)) {
15014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15016 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_From_int(static_cast< int >(result
));
15030 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15031 PyObject
*resultobj
= 0;
15032 wxFont
*arg1
= (wxFont
*) 0 ;
15036 PyObject
*swig_obj
[1] ;
15038 if (!args
) SWIG_fail
;
15039 swig_obj
[0] = args
;
15040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15041 if (!SWIG_IsOK(res1
)) {
15042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15044 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15058 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15059 PyObject
*resultobj
= 0;
15060 wxFont
*arg1
= (wxFont
*) 0 ;
15064 PyObject
*swig_obj
[1] ;
15066 if (!args
) SWIG_fail
;
15067 swig_obj
[0] = args
;
15068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15069 if (!SWIG_IsOK(res1
)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15072 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15089 PyObject
*resultobj
= 0;
15090 wxFont
*arg1
= (wxFont
*) 0 ;
15094 PyObject
*swig_obj
[1] ;
15096 if (!args
) SWIG_fail
;
15097 swig_obj
[0] = args
;
15098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15099 if (!SWIG_IsOK(res1
)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15102 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_From_int(static_cast< int >(result
));
15116 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15117 PyObject
*resultobj
= 0;
15118 wxFont
*arg1
= (wxFont
*) 0 ;
15122 PyObject
*swig_obj
[1] ;
15124 if (!args
) SWIG_fail
;
15125 swig_obj
[0] = args
;
15126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15127 if (!SWIG_IsOK(res1
)) {
15128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15130 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_From_int(static_cast< int >(result
));
15144 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15145 PyObject
*resultobj
= 0;
15146 wxFont
*arg1
= (wxFont
*) 0 ;
15150 PyObject
*swig_obj
[1] ;
15152 if (!args
) SWIG_fail
;
15153 swig_obj
[0] = args
;
15154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15155 if (!SWIG_IsOK(res1
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15158 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_From_int(static_cast< int >(result
));
15172 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15173 PyObject
*resultobj
= 0;
15174 wxFont
*arg1
= (wxFont
*) 0 ;
15178 PyObject
*swig_obj
[1] ;
15180 if (!args
) SWIG_fail
;
15181 swig_obj
[0] = args
;
15182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15183 if (!SWIG_IsOK(res1
)) {
15184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15186 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15202 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15203 PyObject
*resultobj
= 0;
15204 wxFont
*arg1
= (wxFont
*) 0 ;
15208 PyObject
*swig_obj
[1] ;
15210 if (!args
) SWIG_fail
;
15211 swig_obj
[0] = args
;
15212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15213 if (!SWIG_IsOK(res1
)) {
15214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15216 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= ((wxFont
const *)arg1
)->GetFaceName();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15236 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15237 PyObject
*resultobj
= 0;
15238 wxFont
*arg1
= (wxFont
*) 0 ;
15239 wxFontEncoding result
;
15242 PyObject
*swig_obj
[1] ;
15244 if (!args
) SWIG_fail
;
15245 swig_obj
[0] = args
;
15246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15247 if (!SWIG_IsOK(res1
)) {
15248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15250 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= SWIG_From_int(static_cast< int >(result
));
15264 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15265 PyObject
*resultobj
= 0;
15266 wxFont
*arg1
= (wxFont
*) 0 ;
15267 wxNativeFontInfo
*result
= 0 ;
15270 PyObject
*swig_obj
[1] ;
15272 if (!args
) SWIG_fail
;
15273 swig_obj
[0] = args
;
15274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15275 if (!SWIG_IsOK(res1
)) {
15276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15278 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15292 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15293 PyObject
*resultobj
= 0;
15294 wxFont
*arg1
= (wxFont
*) 0 ;
15298 PyObject
*swig_obj
[1] ;
15300 if (!args
) SWIG_fail
;
15301 swig_obj
[0] = args
;
15302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15303 if (!SWIG_IsOK(res1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15306 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15322 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15323 PyObject
*resultobj
= 0;
15324 wxFont
*arg1
= (wxFont
*) 0 ;
15328 PyObject
*swig_obj
[1] ;
15330 if (!args
) SWIG_fail
;
15331 swig_obj
[0] = args
;
15332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15333 if (!SWIG_IsOK(res1
)) {
15334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15336 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15356 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15357 PyObject
*resultobj
= 0;
15358 wxFont
*arg1
= (wxFont
*) 0 ;
15362 PyObject
*swig_obj
[1] ;
15364 if (!args
) SWIG_fail
;
15365 swig_obj
[0] = args
;
15366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15367 if (!SWIG_IsOK(res1
)) {
15368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15370 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15390 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
= 0;
15392 wxFont
*arg1
= (wxFont
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "pointSize", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15409 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15411 if (!SWIG_IsOK(ecode2
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15414 arg2
= static_cast< int >(val2
);
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetPointSize(arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_Py_Void();
15428 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
= 0;
15430 wxFont
*arg1
= (wxFont
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char * kwnames
[] = {
15438 (char *) "self",(char *) "pixelSize", NULL
15441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15449 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_Py_Void();
15464 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= 0;
15466 wxFont
*arg1
= (wxFont
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "family", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15483 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15485 if (!SWIG_IsOK(ecode2
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15488 arg2
= static_cast< int >(val2
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetFamily(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15502 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxFont
*arg1
= (wxFont
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char * kwnames
[] = {
15513 (char *) "self",(char *) "style", NULL
15516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15521 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15523 if (!SWIG_IsOK(ecode2
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15526 arg2
= static_cast< int >(val2
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->SetStyle(arg2
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_Py_Void();
15540 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxFont
*arg1
= (wxFont
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 char * kwnames
[] = {
15551 (char *) "self",(char *) "weight", NULL
15554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15559 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15561 if (!SWIG_IsOK(ecode2
)) {
15562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15564 arg2
= static_cast< int >(val2
);
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 (arg1
)->SetWeight(arg2
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_Py_Void();
15578 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
= 0;
15580 wxFont
*arg1
= (wxFont
*) 0 ;
15581 wxString
*arg2
= 0 ;
15585 bool temp2
= false ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 char * kwnames
[] = {
15589 (char *) "self",(char *) "faceName", NULL
15592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15597 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15599 arg2
= wxString_in_helper(obj1
);
15600 if (arg2
== NULL
) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15626 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
= 0;
15628 wxFont
*arg1
= (wxFont
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 char * kwnames
[] = {
15637 (char *) "self",(char *) "underlined", NULL
15640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15642 if (!SWIG_IsOK(res1
)) {
15643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15645 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15646 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15647 if (!SWIG_IsOK(ecode2
)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15650 arg2
= static_cast< bool >(val2
);
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetUnderlined(arg2
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_Py_Void();
15664 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxFont
*arg1
= (wxFont
*) 0 ;
15667 wxFontEncoding arg2
;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "encoding", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15683 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15685 if (!SWIG_IsOK(ecode2
)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15688 arg2
= static_cast< wxFontEncoding
>(val2
);
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 (arg1
)->SetEncoding(arg2
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_Py_Void();
15702 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
= 0;
15704 wxFont
*arg1
= (wxFont
*) 0 ;
15705 wxNativeFontInfo
*arg2
= 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 char * kwnames
[] = {
15713 (char *) "self",(char *) "info", NULL
15716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15718 if (!SWIG_IsOK(res1
)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15721 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15723 if (!SWIG_IsOK(res2
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15729 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= SWIG_Py_Void();
15743 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
= 0;
15745 wxFont
*arg1
= (wxFont
*) 0 ;
15746 wxString
*arg2
= 0 ;
15750 bool temp2
= false ;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 char * kwnames
[] = {
15754 (char *) "self",(char *) "info", NULL
15757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15759 if (!SWIG_IsOK(res1
)) {
15760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15762 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15764 arg2
= wxString_in_helper(obj1
);
15765 if (arg2
== NULL
) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15791 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxFont
*arg1
= (wxFont
*) 0 ;
15794 wxString
*arg2
= 0 ;
15798 bool temp2
= false ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char * kwnames
[] = {
15802 (char *) "self",(char *) "info", NULL
15805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15810 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15812 arg2
= wxString_in_helper(obj1
);
15813 if (arg2
== NULL
) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxFont
*arg1
= (wxFont
*) 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15853 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15873 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15874 PyObject
*resultobj
= 0;
15875 wxFont
*arg1
= (wxFont
*) 0 ;
15879 PyObject
*swig_obj
[1] ;
15881 if (!args
) SWIG_fail
;
15882 swig_obj
[0] = args
;
15883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15884 if (!SWIG_IsOK(res1
)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= ((wxFont
const *)arg1
)->GetStyleString();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15907 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15908 PyObject
*resultobj
= 0;
15909 wxFont
*arg1
= (wxFont
*) 0 ;
15913 PyObject
*swig_obj
[1] ;
15915 if (!args
) SWIG_fail
;
15916 swig_obj
[0] = args
;
15917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15921 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= ((wxFont
const *)arg1
)->GetWeightString();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15941 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
= 0;
15943 wxFont
*arg1
= (wxFont
*) 0 ;
15944 bool arg2
= (bool) true ;
15949 PyObject
* obj0
= 0 ;
15950 PyObject
* obj1
= 0 ;
15951 char * kwnames
[] = {
15952 (char *) "self",(char *) "no", NULL
15955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15957 if (!SWIG_IsOK(res1
)) {
15958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15960 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15963 if (!SWIG_IsOK(ecode2
)) {
15964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15966 arg2
= static_cast< bool >(val2
);
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 (arg1
)->SetNoAntiAliasing(arg2
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_Py_Void();
15981 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15982 PyObject
*resultobj
= 0;
15983 wxFont
*arg1
= (wxFont
*) 0 ;
15987 PyObject
*swig_obj
[1] ;
15989 if (!args
) SWIG_fail
;
15990 swig_obj
[0] = args
;
15991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15992 if (!SWIG_IsOK(res1
)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15995 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16011 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16012 PyObject
*resultobj
= 0;
16013 wxFontEncoding result
;
16015 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16017 if (!wxPyCheckForApp()) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= SWIG_From_int(static_cast< int >(result
));
16030 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
= 0;
16032 wxFontEncoding arg1
;
16035 PyObject
* obj0
= 0 ;
16036 char * kwnames
[] = {
16037 (char *) "encoding", NULL
16040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16042 if (!SWIG_IsOK(ecode1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16045 arg1
= static_cast< wxFontEncoding
>(val1
);
16047 if (!wxPyCheckForApp()) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 wxFont::SetDefaultEncoding(arg1
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= SWIG_Py_Void();
16060 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16063 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16064 return SWIG_Py_Void();
16067 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 return SWIG_Python_InitShadowInstance(args
);
16071 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16072 PyObject
*resultobj
= 0;
16073 wxPyFontEnumerator
*result
= 0 ;
16075 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16077 if (!wxPyCheckForApp()) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16090 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16091 PyObject
*resultobj
= 0;
16092 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16095 PyObject
*swig_obj
[1] ;
16097 if (!args
) SWIG_fail
;
16098 swig_obj
[0] = args
;
16099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16100 if (!SWIG_IsOK(res1
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16103 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_Py_Void();
16118 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
= 0;
16120 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16121 PyObject
*arg2
= (PyObject
*) 0 ;
16122 PyObject
*arg3
= (PyObject
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 PyObject
* obj2
= 0 ;
16131 PyObject
* obj3
= 0 ;
16132 char * kwnames
[] = {
16133 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16138 if (!SWIG_IsOK(res1
)) {
16139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16141 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16144 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16145 if (!SWIG_IsOK(ecode4
)) {
16146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
16148 arg4
= static_cast< bool >(val4
);
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= SWIG_Py_Void();
16162 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
= 0;
16164 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16165 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16166 bool arg3
= (bool) false ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 PyObject
* obj2
= 0 ;
16177 char * kwnames
[] = {
16178 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16183 if (!SWIG_IsOK(res1
)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16186 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16189 if (!SWIG_IsOK(ecode2
)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16192 arg2
= static_cast< wxFontEncoding
>(val2
);
16195 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16196 if (!SWIG_IsOK(ecode3
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16199 arg3
= static_cast< bool >(val3
);
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16216 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
= 0;
16218 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16219 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16220 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16224 bool temp2
= false ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char * kwnames
[] = {
16228 (char *) "self",(char *) "facename", NULL
16231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16233 if (!SWIG_IsOK(res1
)) {
16234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16236 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16239 arg2
= wxString_in_helper(obj1
);
16240 if (arg2
== NULL
) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16267 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16268 PyObject
*resultobj
= 0;
16269 PyObject
*result
= 0 ;
16271 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= result
;
16285 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16286 PyObject
*resultobj
= 0;
16287 PyObject
*result
= 0 ;
16289 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= result
;
16303 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
= 0;
16305 wxString
*arg1
= 0 ;
16307 bool temp1
= false ;
16308 PyObject
* obj0
= 0 ;
16309 char * kwnames
[] = {
16310 (char *) "str", NULL
16313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16315 arg1
= wxString_in_helper(obj0
);
16316 if (arg1
== NULL
) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16342 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16346 return SWIG_Py_Void();
16349 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 return SWIG_Python_InitShadowInstance(args
);
16353 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16354 PyObject
*resultobj
= 0;
16355 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16361 PyObject
*swig_obj
[2] ;
16363 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16365 if (!SWIG_IsOK(res1
)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16368 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16369 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16370 if (!SWIG_IsOK(ecode2
)) {
16371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16373 arg2
= static_cast< int >(val2
);
16374 if (arg1
) (arg1
)->Language
= arg2
;
16376 resultobj
= SWIG_Py_Void();
16383 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16384 PyObject
*resultobj
= 0;
16385 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16389 PyObject
*swig_obj
[1] ;
16391 if (!args
) SWIG_fail
;
16392 swig_obj
[0] = args
;
16393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16394 if (!SWIG_IsOK(res1
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16397 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16398 result
= (int) ((arg1
)->Language
);
16399 resultobj
= SWIG_From_int(static_cast< int >(result
));
16406 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16407 PyObject
*resultobj
= 0;
16408 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16409 wxString
*arg2
= (wxString
*) 0 ;
16412 bool temp2
= false ;
16413 PyObject
*swig_obj
[2] ;
16415 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16420 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16422 arg2
= wxString_in_helper(swig_obj
[1]);
16423 if (arg2
== NULL
) SWIG_fail
;
16426 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16428 resultobj
= SWIG_Py_Void();
16443 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16444 PyObject
*resultobj
= 0;
16445 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16446 wxString
*result
= 0 ;
16449 PyObject
*swig_obj
[1] ;
16451 if (!args
) SWIG_fail
;
16452 swig_obj
[0] = args
;
16453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16457 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16458 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16461 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16463 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16472 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16473 PyObject
*resultobj
= 0;
16474 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16475 wxString
*arg2
= (wxString
*) 0 ;
16478 bool temp2
= false ;
16479 PyObject
*swig_obj
[2] ;
16481 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16483 if (!SWIG_IsOK(res1
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16486 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16488 arg2
= wxString_in_helper(swig_obj
[1]);
16489 if (arg2
== NULL
) SWIG_fail
;
16492 if (arg1
) (arg1
)->Description
= *arg2
;
16494 resultobj
= SWIG_Py_Void();
16509 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16510 PyObject
*resultobj
= 0;
16511 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16512 wxString
*result
= 0 ;
16515 PyObject
*swig_obj
[1] ;
16517 if (!args
) SWIG_fail
;
16518 swig_obj
[0] = args
;
16519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16520 if (!SWIG_IsOK(res1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16523 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16524 result
= (wxString
*)& ((arg1
)->Description
);
16527 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16529 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16538 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16541 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16542 return SWIG_Py_Void();
16545 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
= 0;
16547 int arg1
= (int) -1 ;
16548 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16549 wxLocale
*result
= 0 ;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 char * kwnames
[] = {
16557 (char *) "language",(char *) "flags", NULL
16560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16563 if (!SWIG_IsOK(ecode1
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16566 arg1
= static_cast< int >(val1
);
16569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16570 if (!SWIG_IsOK(ecode2
)) {
16571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16573 arg2
= static_cast< int >(val2
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16588 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16589 PyObject
*resultobj
= 0;
16590 wxLocale
*arg1
= (wxLocale
*) 0 ;
16593 PyObject
*swig_obj
[1] ;
16595 if (!args
) SWIG_fail
;
16596 swig_obj
[0] = args
;
16597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16598 if (!SWIG_IsOK(res1
)) {
16599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16601 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= SWIG_Py_Void();
16616 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
= 0;
16618 wxLocale
*arg1
= (wxLocale
*) 0 ;
16619 wxString
*arg2
= 0 ;
16620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16622 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16623 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16624 bool arg5
= (bool) true ;
16625 bool arg6
= (bool) false ;
16629 bool temp2
= false ;
16630 bool temp3
= false ;
16631 bool temp4
= false ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 PyObject
* obj2
= 0 ;
16639 PyObject
* obj3
= 0 ;
16640 PyObject
* obj4
= 0 ;
16641 PyObject
* obj5
= 0 ;
16642 char * kwnames
[] = {
16643 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16648 if (!SWIG_IsOK(res1
)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16651 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16653 arg2
= wxString_in_helper(obj1
);
16654 if (arg2
== NULL
) SWIG_fail
;
16659 arg3
= wxString_in_helper(obj2
);
16660 if (arg3
== NULL
) SWIG_fail
;
16666 arg4
= wxString_in_helper(obj3
);
16667 if (arg4
== NULL
) SWIG_fail
;
16672 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16673 if (!SWIG_IsOK(ecode5
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16676 arg5
= static_cast< bool >(val5
);
16679 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16680 if (!SWIG_IsOK(ecode6
)) {
16681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16683 arg6
= static_cast< bool >(val6
);
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
= 0;
16726 wxLocale
*arg1
= (wxLocale
*) 0 ;
16727 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16728 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16736 PyObject
* obj0
= 0 ;
16737 PyObject
* obj1
= 0 ;
16738 PyObject
* obj2
= 0 ;
16739 char * kwnames
[] = {
16740 (char *) "self",(char *) "language",(char *) "flags", NULL
16743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16745 if (!SWIG_IsOK(res1
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16748 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16751 if (!SWIG_IsOK(ecode2
)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16754 arg2
= static_cast< int >(val2
);
16757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16758 if (!SWIG_IsOK(ecode3
)) {
16759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16761 arg3
= static_cast< int >(val3
);
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16778 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16779 PyObject
*resultobj
= 0;
16782 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (int)wxLocale::GetSystemLanguage();
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_From_int(static_cast< int >(result
));
16796 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16797 PyObject
*resultobj
= 0;
16798 wxFontEncoding result
;
16800 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= SWIG_From_int(static_cast< int >(result
));
16814 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16815 PyObject
*resultobj
= 0;
16818 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= wxLocale::GetSystemEncodingName();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16838 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16839 PyObject
*resultobj
= 0;
16840 wxLocale
*arg1
= (wxLocale
*) 0 ;
16844 PyObject
*swig_obj
[1] ;
16846 if (!args
) SWIG_fail
;
16847 swig_obj
[0] = args
;
16848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16849 if (!SWIG_IsOK(res1
)) {
16850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16852 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16868 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16869 PyObject
*resultobj
= 0;
16870 wxLocale
*arg1
= (wxLocale
*) 0 ;
16874 PyObject
*swig_obj
[1] ;
16876 if (!args
) SWIG_fail
;
16877 swig_obj
[0] = args
;
16878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16882 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= ((wxLocale
const *)arg1
)->GetLocale();
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16902 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16903 PyObject
*resultobj
= 0;
16904 wxLocale
*arg1
= (wxLocale
*) 0 ;
16908 PyObject
*swig_obj
[1] ;
16910 if (!args
) SWIG_fail
;
16911 swig_obj
[0] = args
;
16912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16913 if (!SWIG_IsOK(res1
)) {
16914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16916 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_From_int(static_cast< int >(result
));
16930 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16931 PyObject
*resultobj
= 0;
16932 wxLocale
*arg1
= (wxLocale
*) 0 ;
16936 PyObject
*swig_obj
[1] ;
16938 if (!args
) SWIG_fail
;
16939 swig_obj
[0] = args
;
16940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16941 if (!SWIG_IsOK(res1
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16944 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= ((wxLocale
const *)arg1
)->GetSysName();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16964 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16965 PyObject
*resultobj
= 0;
16966 wxLocale
*arg1
= (wxLocale
*) 0 ;
16970 PyObject
*swig_obj
[1] ;
16972 if (!args
) SWIG_fail
;
16973 swig_obj
[0] = args
;
16974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16975 if (!SWIG_IsOK(res1
)) {
16976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16978 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16998 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= 0;
17000 wxString
*arg1
= 0 ;
17001 bool temp1
= false ;
17002 PyObject
* obj0
= 0 ;
17003 char * kwnames
[] = {
17004 (char *) "prefix", NULL
17007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17009 arg1
= wxString_in_helper(obj0
);
17010 if (arg1
== NULL
) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= SWIG_Py_Void();
17034 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
= 0;
17036 wxLocale
*arg1
= (wxLocale
*) 0 ;
17037 wxString
*arg2
= 0 ;
17041 bool temp2
= false ;
17042 PyObject
* obj0
= 0 ;
17043 PyObject
* obj1
= 0 ;
17044 char * kwnames
[] = {
17045 (char *) "self",(char *) "szDomain", NULL
17048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17050 if (!SWIG_IsOK(res1
)) {
17051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17053 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17055 arg2
= wxString_in_helper(obj1
);
17056 if (arg2
== NULL
) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17082 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
= 0;
17088 PyObject
* obj0
= 0 ;
17089 char * kwnames
[] = {
17090 (char *) "lang", NULL
17093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17095 if (!SWIG_IsOK(ecode1
)) {
17096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17098 arg1
= static_cast< int >(val1
);
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (bool)wxLocale::IsAvailable(arg1
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17114 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxLocale
*arg1
= (wxLocale
*) 0 ;
17117 wxString
*arg2
= 0 ;
17121 bool temp2
= false ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 char * kwnames
[] = {
17125 (char *) "self",(char *) "szDomain", NULL
17128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17130 if (!SWIG_IsOK(res1
)) {
17131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17133 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17135 arg2
= wxString_in_helper(obj1
);
17136 if (arg2
== NULL
) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17162 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
= 0;
17165 wxLanguageInfo
*result
= 0 ;
17168 PyObject
* obj0
= 0 ;
17169 char * kwnames
[] = {
17170 (char *) "lang", NULL
17173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17175 if (!SWIG_IsOK(ecode1
)) {
17176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17178 arg1
= static_cast< int >(val1
);
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17192 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17198 PyObject
* obj0
= 0 ;
17199 char * kwnames
[] = {
17200 (char *) "lang", NULL
17203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17205 if (!SWIG_IsOK(ecode1
)) {
17206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17208 arg1
= static_cast< int >(val1
);
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= wxLocale::GetLanguageName(arg1
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17228 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
= 0;
17230 wxString
*arg1
= 0 ;
17231 wxLanguageInfo
*result
= 0 ;
17232 bool temp1
= false ;
17233 PyObject
* obj0
= 0 ;
17234 char * kwnames
[] = {
17235 (char *) "locale", NULL
17238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17240 arg1
= wxString_in_helper(obj0
);
17241 if (arg1
== NULL
) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17265 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
= 0;
17267 wxLanguageInfo
*arg1
= 0 ;
17270 PyObject
* obj0
= 0 ;
17271 char * kwnames
[] = {
17272 (char *) "info", NULL
17275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17276 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17277 if (!SWIG_IsOK(res1
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17283 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_Py_Void();
17297 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
= 0;
17299 wxLocale
*arg1
= (wxLocale
*) 0 ;
17300 wxString
*arg2
= 0 ;
17301 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17302 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17306 bool temp2
= false ;
17307 bool temp3
= false ;
17308 PyObject
* obj0
= 0 ;
17309 PyObject
* obj1
= 0 ;
17310 PyObject
* obj2
= 0 ;
17311 char * kwnames
[] = {
17312 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17317 if (!SWIG_IsOK(res1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17320 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17322 arg2
= wxString_in_helper(obj1
);
17323 if (arg2
== NULL
) SWIG_fail
;
17328 arg3
= wxString_in_helper(obj2
);
17329 if (arg3
== NULL
) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17368 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17369 PyObject
*resultobj
= 0;
17370 wxLocale
*arg1
= (wxLocale
*) 0 ;
17371 wxString
*result
= 0 ;
17374 PyObject
*swig_obj
[1] ;
17376 if (!args
) SWIG_fail
;
17377 swig_obj
[0] = args
;
17378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17382 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17387 result
= (wxString
*) &_result_ref
;
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17396 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17405 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17408 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17409 return SWIG_Py_Void();
17412 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17413 return SWIG_Python_InitShadowInstance(args
);
17416 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
= 0;
17418 int arg1
= (int) -1 ;
17419 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17420 wxPyLocale
*result
= 0 ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 char * kwnames
[] = {
17428 (char *) "language",(char *) "flags", NULL
17431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17434 if (!SWIG_IsOK(ecode1
)) {
17435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17437 arg1
= static_cast< int >(val1
);
17440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17441 if (!SWIG_IsOK(ecode2
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17444 arg2
= static_cast< int >(val2
);
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17459 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17460 PyObject
*resultobj
= 0;
17461 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17464 PyObject
*swig_obj
[1] ;
17466 if (!args
) SWIG_fail
;
17467 swig_obj
[0] = args
;
17468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17469 if (!SWIG_IsOK(res1
)) {
17470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17472 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= SWIG_Py_Void();
17487 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
= 0;
17489 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17490 PyObject
*arg2
= (PyObject
*) 0 ;
17491 PyObject
*arg3
= (PyObject
*) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 PyObject
* obj2
= 0 ;
17497 char * kwnames
[] = {
17498 (char *) "self",(char *) "self",(char *) "_class", NULL
17501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17503 if (!SWIG_IsOK(res1
)) {
17504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17506 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_Py_Void();
17522 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
= 0;
17524 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17525 wxChar
*arg2
= (wxChar
*) 0 ;
17526 wxChar
*arg3
= (wxChar
*) NULL
;
17527 wxChar
*result
= 0 ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 PyObject
* obj2
= 0 ;
17537 char * kwnames
[] = {
17538 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17546 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17548 if (!SWIG_IsOK(res2
)) {
17549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17551 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17553 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17554 if (!SWIG_IsOK(res3
)) {
17555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17557 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17572 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
= 0;
17574 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17575 wxChar
*arg2
= (wxChar
*) 0 ;
17576 wxChar
*arg3
= (wxChar
*) 0 ;
17578 wxChar
*arg5
= (wxChar
*) NULL
;
17579 wxChar
*result
= 0 ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 PyObject
* obj2
= 0 ;
17593 PyObject
* obj3
= 0 ;
17594 PyObject
* obj4
= 0 ;
17595 char * kwnames
[] = {
17596 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17601 if (!SWIG_IsOK(res1
)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17604 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17606 if (!SWIG_IsOK(res2
)) {
17607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17609 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17610 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17611 if (!SWIG_IsOK(res3
)) {
17612 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17614 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17615 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17616 if (!SWIG_IsOK(ecode4
)) {
17617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17619 arg4
= static_cast< size_t >(val4
);
17621 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17622 if (!SWIG_IsOK(res5
)) {
17623 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17625 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17640 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17643 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17644 return SWIG_Py_Void();
17647 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17648 return SWIG_Python_InitShadowInstance(args
);
17651 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17652 PyObject
*resultobj
= 0;
17653 wxLocale
*result
= 0 ;
17655 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (wxLocale
*)wxGetLocale();
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17669 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17670 PyObject
*resultobj
= 0;
17671 wxString
*arg1
= 0 ;
17673 bool temp1
= false ;
17675 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17677 arg1
= wxString_in_helper(swig_obj
[0]);
17678 if (arg1
== NULL
) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= wxGetTranslation((wxString
const &)*arg1
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17708 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17709 PyObject
*resultobj
= 0;
17710 wxString
*arg1
= 0 ;
17711 wxString
*arg2
= 0 ;
17713 bool temp1
= false ;
17714 bool temp2
= false ;
17716 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17718 arg1
= wxString_in_helper(swig_obj
[0]);
17719 if (arg1
== NULL
) SWIG_fail
;
17723 arg2
= wxString_in_helper(swig_obj
[1]);
17724 if (arg2
== NULL
) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17762 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17763 PyObject
*resultobj
= 0;
17764 wxString
*arg1
= 0 ;
17765 wxString
*arg2
= 0 ;
17768 bool temp1
= false ;
17769 bool temp2
= false ;
17773 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17775 arg1
= wxString_in_helper(swig_obj
[0]);
17776 if (arg1
== NULL
) SWIG_fail
;
17780 arg2
= wxString_in_helper(swig_obj
[1]);
17781 if (arg2
== NULL
) SWIG_fail
;
17784 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17785 if (!SWIG_IsOK(ecode3
)) {
17786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17788 arg3
= static_cast< size_t >(val3
);
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17824 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17825 PyObject
*resultobj
= 0;
17826 wxString
*arg1
= 0 ;
17827 wxString
*arg2
= 0 ;
17829 wxString
*arg4
= 0 ;
17831 bool temp1
= false ;
17832 bool temp2
= false ;
17835 bool temp4
= false ;
17837 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17839 arg1
= wxString_in_helper(swig_obj
[0]);
17840 if (arg1
== NULL
) SWIG_fail
;
17844 arg2
= wxString_in_helper(swig_obj
[1]);
17845 if (arg2
== NULL
) SWIG_fail
;
17848 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17849 if (!SWIG_IsOK(ecode3
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17852 arg3
= static_cast< size_t >(val3
);
17854 arg4
= wxString_in_helper(swig_obj
[3]);
17855 if (arg4
== NULL
) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17901 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17905 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17908 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17911 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17914 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17917 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17921 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17926 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17927 PyObject
*resultobj
= 0;
17928 wxEncodingConverter
*result
= 0 ;
17930 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17944 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17945 PyObject
*resultobj
= 0;
17946 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17949 PyObject
*swig_obj
[1] ;
17951 if (!args
) SWIG_fail
;
17952 swig_obj
[0] = args
;
17953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17957 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_Py_Void();
17972 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= 0;
17974 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17975 wxFontEncoding arg2
;
17976 wxFontEncoding arg3
;
17977 int arg4
= (int) wxCONVERT_STRICT
;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 PyObject
* obj3
= 0 ;
17991 char * kwnames
[] = {
17992 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17997 if (!SWIG_IsOK(res1
)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18000 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18002 if (!SWIG_IsOK(ecode2
)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18005 arg2
= static_cast< wxFontEncoding
>(val2
);
18006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18007 if (!SWIG_IsOK(ecode3
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18010 arg3
= static_cast< wxFontEncoding
>(val3
);
18012 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18013 if (!SWIG_IsOK(ecode4
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18016 arg4
= static_cast< int >(val4
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18033 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
= 0;
18035 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18036 wxString
*arg2
= 0 ;
18040 bool temp2
= false ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 char * kwnames
[] = {
18044 (char *) "self",(char *) "input", NULL
18047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18049 if (!SWIG_IsOK(res1
)) {
18050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18052 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18054 arg2
= wxString_in_helper(obj1
);
18055 if (arg2
== NULL
) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18085 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
= 0;
18087 wxFontEncoding arg1
;
18088 int arg2
= (int) wxPLATFORM_CURRENT
;
18089 wxFontEncodingArray result
;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char * kwnames
[] = {
18097 (char *) "enc",(char *) "platform", NULL
18100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18102 if (!SWIG_IsOK(ecode1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18105 arg1
= static_cast< wxFontEncoding
>(val1
);
18107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18108 if (!SWIG_IsOK(ecode2
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18111 arg2
= static_cast< int >(val2
);
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= PyList_New(0);
18121 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18122 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18123 PyList_Append(resultobj
, number
);
18133 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
= 0;
18135 wxFontEncoding arg1
;
18136 wxFontEncodingArray result
;
18139 PyObject
* obj0
= 0 ;
18140 char * kwnames
[] = {
18141 (char *) "enc", NULL
18144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18146 if (!SWIG_IsOK(ecode1
)) {
18147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18149 arg1
= static_cast< wxFontEncoding
>(val1
);
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= PyList_New(0);
18158 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18159 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18160 PyList_Append(resultobj
, number
);
18170 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
= 0;
18172 wxFontEncoding arg1
;
18173 wxFontEncoding arg2
;
18179 PyObject
* obj0
= 0 ;
18180 PyObject
* obj1
= 0 ;
18181 char * kwnames
[] = {
18182 (char *) "encIn",(char *) "encOut", NULL
18185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18187 if (!SWIG_IsOK(ecode1
)) {
18188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18190 arg1
= static_cast< wxFontEncoding
>(val1
);
18191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18192 if (!SWIG_IsOK(ecode2
)) {
18193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18195 arg2
= static_cast< wxFontEncoding
>(val2
);
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18211 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18214 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18215 return SWIG_Py_Void();
18218 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18219 return SWIG_Python_InitShadowInstance(args
);
18222 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18223 PyObject
*resultobj
= 0;
18224 wxDC
*arg1
= (wxDC
*) 0 ;
18227 PyObject
*swig_obj
[1] ;
18229 if (!args
) SWIG_fail
;
18230 swig_obj
[0] = args
;
18231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18232 if (!SWIG_IsOK(res1
)) {
18233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_Py_Void();
18250 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
= 0;
18252 wxDC
*arg1
= (wxDC
*) 0 ;
18255 wxColour
*arg4
= 0 ;
18256 int arg5
= (int) wxFLOOD_SURFACE
;
18267 PyObject
* obj0
= 0 ;
18268 PyObject
* obj1
= 0 ;
18269 PyObject
* obj2
= 0 ;
18270 PyObject
* obj3
= 0 ;
18271 PyObject
* obj4
= 0 ;
18272 char * kwnames
[] = {
18273 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18283 if (!SWIG_IsOK(ecode2
)) {
18284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18286 arg2
= static_cast< int >(val2
);
18287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18288 if (!SWIG_IsOK(ecode3
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18291 arg3
= static_cast< int >(val3
);
18294 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18297 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18298 if (!SWIG_IsOK(ecode5
)) {
18299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18301 arg5
= static_cast< int >(val5
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18318 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
= 0;
18320 wxDC
*arg1
= (wxDC
*) 0 ;
18321 wxPoint
*arg2
= 0 ;
18322 wxColour
*arg3
= 0 ;
18323 int arg4
= (int) wxFLOOD_SURFACE
;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 PyObject
* obj2
= 0 ;
18334 PyObject
* obj3
= 0 ;
18335 char * kwnames
[] = {
18336 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18341 if (!SWIG_IsOK(res1
)) {
18342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18351 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18355 if (!SWIG_IsOK(ecode4
)) {
18356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18358 arg4
= static_cast< int >(val4
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18375 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
= 0;
18377 wxDC
*arg1
= (wxDC
*) 0 ;
18379 wxColour
*arg3
= 0 ;
18380 wxColour
*arg4
= 0 ;
18381 wxPoint
*arg5
= 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 PyObject
* obj2
= 0 ;
18391 PyObject
* obj3
= 0 ;
18392 PyObject
* obj4
= 0 ;
18393 char * kwnames
[] = {
18394 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18399 if (!SWIG_IsOK(res1
)) {
18400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18405 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18409 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18413 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18417 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_Py_Void();
18432 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
= 0;
18434 wxDC
*arg1
= (wxDC
*) 0 ;
18436 wxColour
*arg3
= 0 ;
18437 wxColour
*arg4
= 0 ;
18438 wxDirection arg5
= (wxDirection
) wxEAST
;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 PyObject
* obj3
= 0 ;
18450 PyObject
* obj4
= 0 ;
18451 char * kwnames
[] = {
18452 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18457 if (!SWIG_IsOK(res1
)) {
18458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18463 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18467 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18471 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18474 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18475 if (!SWIG_IsOK(ecode5
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18478 arg5
= static_cast< wxDirection
>(val5
);
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_Py_Void();
18493 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxDC
*arg1
= (wxDC
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 PyObject
* obj2
= 0 ;
18508 char * kwnames
[] = {
18509 (char *) "self",(char *) "x",(char *) "y", NULL
18512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18514 if (!SWIG_IsOK(res1
)) {
18515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18519 if (!SWIG_IsOK(ecode2
)) {
18520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18522 arg2
= static_cast< int >(val2
);
18523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18524 if (!SWIG_IsOK(ecode3
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18527 arg3
= static_cast< int >(val3
);
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18541 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
= 0;
18543 wxDC
*arg1
= (wxDC
*) 0 ;
18544 wxPoint
*arg2
= 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char * kwnames
[] = {
18552 (char *) "self",(char *) "pt", NULL
18555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18557 if (!SWIG_IsOK(res1
)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18578 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
= 0;
18580 wxDC
*arg1
= (wxDC
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 PyObject
* obj2
= 0 ;
18598 PyObject
* obj3
= 0 ;
18599 PyObject
* obj4
= 0 ;
18600 char * kwnames
[] = {
18601 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18606 if (!SWIG_IsOK(res1
)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18611 if (!SWIG_IsOK(ecode2
)) {
18612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18614 arg2
= static_cast< int >(val2
);
18615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18616 if (!SWIG_IsOK(ecode3
)) {
18617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18619 arg3
= static_cast< int >(val3
);
18620 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18621 if (!SWIG_IsOK(ecode4
)) {
18622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18624 arg4
= static_cast< int >(val4
);
18625 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18626 if (!SWIG_IsOK(ecode5
)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18629 arg5
= static_cast< int >(val5
);
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_Py_Void();
18643 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
= 0;
18645 wxDC
*arg1
= (wxDC
*) 0 ;
18646 wxPoint
*arg2
= 0 ;
18647 wxPoint
*arg3
= 0 ;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 PyObject
* obj2
= 0 ;
18655 char * kwnames
[] = {
18656 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18661 if (!SWIG_IsOK(res1
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_Py_Void();
18686 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
= 0;
18688 wxDC
*arg1
= (wxDC
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 PyObject
* obj2
= 0 ;
18700 char * kwnames
[] = {
18701 (char *) "self",(char *) "x",(char *) "y", NULL
18704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18706 if (!SWIG_IsOK(res1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18711 if (!SWIG_IsOK(ecode2
)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18714 arg2
= static_cast< int >(val2
);
18715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18716 if (!SWIG_IsOK(ecode3
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18719 arg3
= static_cast< int >(val3
);
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->CrossHair(arg2
,arg3
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_Py_Void();
18733 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxDC
*arg1
= (wxDC
*) 0 ;
18736 wxPoint
*arg2
= 0 ;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 char * kwnames
[] = {
18743 (char *) "self",(char *) "pt", NULL
18746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18748 if (!SWIG_IsOK(res1
)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= SWIG_Py_Void();
18769 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
= 0;
18771 wxDC
*arg1
= (wxDC
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 PyObject
* obj2
= 0 ;
18795 PyObject
* obj3
= 0 ;
18796 PyObject
* obj4
= 0 ;
18797 PyObject
* obj5
= 0 ;
18798 PyObject
* obj6
= 0 ;
18799 char * kwnames
[] = {
18800 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18805 if (!SWIG_IsOK(res1
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18810 if (!SWIG_IsOK(ecode2
)) {
18811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18813 arg2
= static_cast< int >(val2
);
18814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18815 if (!SWIG_IsOK(ecode3
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18818 arg3
= static_cast< int >(val3
);
18819 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18820 if (!SWIG_IsOK(ecode4
)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18823 arg4
= static_cast< int >(val4
);
18824 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18825 if (!SWIG_IsOK(ecode5
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18828 arg5
= static_cast< int >(val5
);
18829 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18830 if (!SWIG_IsOK(ecode6
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18833 arg6
= static_cast< int >(val6
);
18834 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18835 if (!SWIG_IsOK(ecode7
)) {
18836 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18838 arg7
= static_cast< int >(val7
);
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_Py_Void();
18852 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= 0;
18854 wxDC
*arg1
= (wxDC
*) 0 ;
18855 wxPoint
*arg2
= 0 ;
18856 wxPoint
*arg3
= 0 ;
18857 wxPoint
*arg4
= 0 ;
18863 PyObject
* obj0
= 0 ;
18864 PyObject
* obj1
= 0 ;
18865 PyObject
* obj2
= 0 ;
18866 PyObject
* obj3
= 0 ;
18867 char * kwnames
[] = {
18868 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18873 if (!SWIG_IsOK(res1
)) {
18874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18883 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_Py_Void();
18902 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
= 0;
18904 wxDC
*arg1
= (wxDC
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 PyObject
* obj2
= 0 ;
18922 PyObject
* obj3
= 0 ;
18923 PyObject
* obj4
= 0 ;
18924 char * kwnames
[] = {
18925 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18930 if (!SWIG_IsOK(res1
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18935 if (!SWIG_IsOK(ecode2
)) {
18936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18938 arg2
= static_cast< int >(val2
);
18939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18940 if (!SWIG_IsOK(ecode3
)) {
18941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18943 arg3
= static_cast< int >(val3
);
18944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18945 if (!SWIG_IsOK(ecode4
)) {
18946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18948 arg4
= static_cast< int >(val4
);
18949 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18950 if (!SWIG_IsOK(ecode5
)) {
18951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18953 arg5
= static_cast< int >(val5
);
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_Py_Void();
18967 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
= 0;
18969 wxDC
*arg1
= (wxDC
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char * kwnames
[] = {
18977 (char *) "self",(char *) "rect", NULL
18980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18982 if (!SWIG_IsOK(res1
)) {
18983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18988 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= SWIG_Py_Void();
19003 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
= 0;
19005 wxDC
*arg1
= (wxDC
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 PyObject
* obj2
= 0 ;
19029 PyObject
* obj3
= 0 ;
19030 PyObject
* obj4
= 0 ;
19031 PyObject
* obj5
= 0 ;
19032 PyObject
* obj6
= 0 ;
19033 char * kwnames
[] = {
19034 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19039 if (!SWIG_IsOK(res1
)) {
19040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19044 if (!SWIG_IsOK(ecode2
)) {
19045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19047 arg2
= static_cast< int >(val2
);
19048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19049 if (!SWIG_IsOK(ecode3
)) {
19050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19052 arg3
= static_cast< int >(val3
);
19053 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19054 if (!SWIG_IsOK(ecode4
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19057 arg4
= static_cast< int >(val4
);
19058 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19059 if (!SWIG_IsOK(ecode5
)) {
19060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19062 arg5
= static_cast< int >(val5
);
19063 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19064 if (!SWIG_IsOK(ecode6
)) {
19065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19067 arg6
= static_cast< double >(val6
);
19068 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19069 if (!SWIG_IsOK(ecode7
)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19072 arg7
= static_cast< double >(val7
);
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_Py_Void();
19086 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
= 0;
19088 wxDC
*arg1
= (wxDC
*) 0 ;
19089 wxPoint
*arg2
= 0 ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 PyObject
* obj3
= 0 ;
19105 PyObject
* obj4
= 0 ;
19106 char * kwnames
[] = {
19107 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19122 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19124 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19125 if (!SWIG_IsOK(ecode4
)) {
19126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19128 arg4
= static_cast< double >(val4
);
19129 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19130 if (!SWIG_IsOK(ecode5
)) {
19131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19133 arg5
= static_cast< double >(val5
);
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_Py_Void();
19147 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
= 0;
19149 wxDC
*arg1
= (wxDC
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 PyObject
* obj2
= 0 ;
19161 char * kwnames
[] = {
19162 (char *) "self",(char *) "x",(char *) "y", NULL
19165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19167 if (!SWIG_IsOK(res1
)) {
19168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19172 if (!SWIG_IsOK(ecode2
)) {
19173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19175 arg2
= static_cast< int >(val2
);
19176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19177 if (!SWIG_IsOK(ecode3
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19180 arg3
= static_cast< int >(val3
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->DrawPoint(arg2
,arg3
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_Py_Void();
19194 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxDC
*arg1
= (wxDC
*) 0 ;
19197 wxPoint
*arg2
= 0 ;
19201 PyObject
* obj0
= 0 ;
19202 PyObject
* obj1
= 0 ;
19203 char * kwnames
[] = {
19204 (char *) "self",(char *) "pt", NULL
19207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19209 if (!SWIG_IsOK(res1
)) {
19210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= SWIG_Py_Void();
19230 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
= 0;
19232 wxDC
*arg1
= (wxDC
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 PyObject
* obj2
= 0 ;
19250 PyObject
* obj3
= 0 ;
19251 PyObject
* obj4
= 0 ;
19252 char * kwnames
[] = {
19253 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19258 if (!SWIG_IsOK(res1
)) {
19259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19263 if (!SWIG_IsOK(ecode2
)) {
19264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19266 arg2
= static_cast< int >(val2
);
19267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19268 if (!SWIG_IsOK(ecode3
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19271 arg3
= static_cast< int >(val3
);
19272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19273 if (!SWIG_IsOK(ecode4
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19276 arg4
= static_cast< int >(val4
);
19277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19278 if (!SWIG_IsOK(ecode5
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19281 arg5
= static_cast< int >(val5
);
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= SWIG_Py_Void();
19295 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
= 0;
19297 wxDC
*arg1
= (wxDC
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char * kwnames
[] = {
19305 (char *) "self",(char *) "rect", NULL
19308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19310 if (!SWIG_IsOK(res1
)) {
19311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19313 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_Py_Void();
19331 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
= 0;
19333 wxDC
*arg1
= (wxDC
*) 0 ;
19334 wxPoint
*arg2
= 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 PyObject
* obj2
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "self",(char *) "pt",(char *) "sz", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19352 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19359 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_Py_Void();
19374 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
= 0;
19376 wxDC
*arg1
= (wxDC
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 PyObject
* obj1
= 0 ;
19396 PyObject
* obj2
= 0 ;
19397 PyObject
* obj3
= 0 ;
19398 PyObject
* obj4
= 0 ;
19399 PyObject
* obj5
= 0 ;
19400 char * kwnames
[] = {
19401 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19406 if (!SWIG_IsOK(res1
)) {
19407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19411 if (!SWIG_IsOK(ecode2
)) {
19412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19414 arg2
= static_cast< int >(val2
);
19415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19416 if (!SWIG_IsOK(ecode3
)) {
19417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19419 arg3
= static_cast< int >(val3
);
19420 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19421 if (!SWIG_IsOK(ecode4
)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19424 arg4
= static_cast< int >(val4
);
19425 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19426 if (!SWIG_IsOK(ecode5
)) {
19427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19429 arg5
= static_cast< int >(val5
);
19430 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19431 if (!SWIG_IsOK(ecode6
)) {
19432 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19434 arg6
= static_cast< double >(val6
);
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= SWIG_Py_Void();
19448 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
= 0;
19450 wxDC
*arg1
= (wxDC
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 PyObject
* obj2
= 0 ;
19461 char * kwnames
[] = {
19462 (char *) "self",(char *) "r",(char *) "radius", NULL
19465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19475 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19476 if (!SWIG_IsOK(ecode3
)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19479 arg3
= static_cast< double >(val3
);
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= SWIG_Py_Void();
19493 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
= 0;
19495 wxDC
*arg1
= (wxDC
*) 0 ;
19496 wxPoint
*arg2
= 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 PyObject
* obj3
= 0 ;
19509 char * kwnames
[] = {
19510 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19515 if (!SWIG_IsOK(res1
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19525 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19527 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19528 if (!SWIG_IsOK(ecode4
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19531 arg4
= static_cast< double >(val4
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_Py_Void();
19545 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
= 0;
19547 wxDC
*arg1
= (wxDC
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 PyObject
* obj2
= 0 ;
19562 PyObject
* obj3
= 0 ;
19563 char * kwnames
[] = {
19564 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19569 if (!SWIG_IsOK(res1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19574 if (!SWIG_IsOK(ecode2
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19577 arg2
= static_cast< int >(val2
);
19578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19579 if (!SWIG_IsOK(ecode3
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19582 arg3
= static_cast< int >(val3
);
19583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19584 if (!SWIG_IsOK(ecode4
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19587 arg4
= static_cast< int >(val4
);
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_Py_Void();
19601 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
= 0;
19603 wxDC
*arg1
= (wxDC
*) 0 ;
19604 wxPoint
*arg2
= 0 ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 PyObject
* obj2
= 0 ;
19614 char * kwnames
[] = {
19615 (char *) "self",(char *) "pt",(char *) "radius", NULL
19618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19620 if (!SWIG_IsOK(res1
)) {
19621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19626 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19629 if (!SWIG_IsOK(ecode3
)) {
19630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19632 arg3
= static_cast< int >(val3
);
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= SWIG_Py_Void();
19646 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
= 0;
19648 wxDC
*arg1
= (wxDC
*) 0 ;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 PyObject
* obj2
= 0 ;
19666 PyObject
* obj3
= 0 ;
19667 PyObject
* obj4
= 0 ;
19668 char * kwnames
[] = {
19669 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19674 if (!SWIG_IsOK(res1
)) {
19675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19679 if (!SWIG_IsOK(ecode2
)) {
19680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19682 arg2
= static_cast< int >(val2
);
19683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19684 if (!SWIG_IsOK(ecode3
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19687 arg3
= static_cast< int >(val3
);
19688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19689 if (!SWIG_IsOK(ecode4
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19692 arg4
= static_cast< int >(val4
);
19693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19694 if (!SWIG_IsOK(ecode5
)) {
19695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19697 arg5
= static_cast< int >(val5
);
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_Py_Void();
19711 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
= 0;
19713 wxDC
*arg1
= (wxDC
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char * kwnames
[] = {
19721 (char *) "self",(char *) "rect", NULL
19724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19726 if (!SWIG_IsOK(res1
)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19729 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19732 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_Py_Void();
19747 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= 0;
19749 wxDC
*arg1
= (wxDC
*) 0 ;
19750 wxPoint
*arg2
= 0 ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 PyObject
* obj2
= 0 ;
19759 char * kwnames
[] = {
19760 (char *) "self",(char *) "pt",(char *) "sz", NULL
19763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19765 if (!SWIG_IsOK(res1
)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19775 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= SWIG_Py_Void();
19790 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
= 0;
19792 wxDC
*arg1
= (wxDC
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 PyObject
* obj2
= 0 ;
19807 PyObject
* obj3
= 0 ;
19808 char * kwnames
[] = {
19809 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19814 if (!SWIG_IsOK(res1
)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19819 if (!SWIG_IsOK(res2
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19825 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19827 if (!SWIG_IsOK(ecode3
)) {
19828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19830 arg3
= static_cast< int >(val3
);
19831 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19832 if (!SWIG_IsOK(ecode4
)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19835 arg4
= static_cast< int >(val4
);
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= SWIG_Py_Void();
19849 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= 0;
19851 wxDC
*arg1
= (wxDC
*) 0 ;
19853 wxPoint
*arg3
= 0 ;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 PyObject
* obj2
= 0 ;
19862 char * kwnames
[] = {
19863 (char *) "self",(char *) "icon",(char *) "pt", NULL
19866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19873 if (!SWIG_IsOK(res2
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19879 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= SWIG_Py_Void();
19897 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
= 0;
19899 wxDC
*arg1
= (wxDC
*) 0 ;
19900 wxBitmap
*arg2
= 0 ;
19903 bool arg5
= (bool) false ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 PyObject
* obj2
= 0 ;
19917 PyObject
* obj3
= 0 ;
19918 PyObject
* obj4
= 0 ;
19919 char * kwnames
[] = {
19920 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19925 if (!SWIG_IsOK(res1
)) {
19926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19930 if (!SWIG_IsOK(res2
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19936 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19938 if (!SWIG_IsOK(ecode3
)) {
19939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19941 arg3
= static_cast< int >(val3
);
19942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19943 if (!SWIG_IsOK(ecode4
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19946 arg4
= static_cast< int >(val4
);
19948 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19949 if (!SWIG_IsOK(ecode5
)) {
19950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19952 arg5
= static_cast< bool >(val5
);
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= SWIG_Py_Void();
19967 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
= 0;
19969 wxDC
*arg1
= (wxDC
*) 0 ;
19970 wxBitmap
*arg2
= 0 ;
19971 wxPoint
*arg3
= 0 ;
19972 bool arg4
= (bool) false ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 PyObject
* obj2
= 0 ;
19983 PyObject
* obj3
= 0 ;
19984 char * kwnames
[] = {
19985 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19990 if (!SWIG_IsOK(res1
)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19995 if (!SWIG_IsOK(res2
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20001 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20004 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20007 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20008 if (!SWIG_IsOK(ecode4
)) {
20009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20011 arg4
= static_cast< bool >(val4
);
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_Py_Void();
20026 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
= 0;
20028 wxDC
*arg1
= (wxDC
*) 0 ;
20029 wxString
*arg2
= 0 ;
20034 bool temp2
= false ;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 PyObject
* obj2
= 0 ;
20042 PyObject
* obj3
= 0 ;
20043 char * kwnames
[] = {
20044 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20049 if (!SWIG_IsOK(res1
)) {
20050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20054 arg2
= wxString_in_helper(obj1
);
20055 if (arg2
== NULL
) SWIG_fail
;
20058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20059 if (!SWIG_IsOK(ecode3
)) {
20060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20062 arg3
= static_cast< int >(val3
);
20063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20064 if (!SWIG_IsOK(ecode4
)) {
20065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20067 arg4
= static_cast< int >(val4
);
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= SWIG_Py_Void();
20089 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
= 0;
20091 wxDC
*arg1
= (wxDC
*) 0 ;
20092 wxString
*arg2
= 0 ;
20093 wxPoint
*arg3
= 0 ;
20096 bool temp2
= false ;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 PyObject
* obj2
= 0 ;
20101 char * kwnames
[] = {
20102 (char *) "self",(char *) "text",(char *) "pt", NULL
20105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20107 if (!SWIG_IsOK(res1
)) {
20108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20112 arg2
= wxString_in_helper(obj1
);
20113 if (arg2
== NULL
) SWIG_fail
;
20118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_Py_Void();
20141 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
= 0;
20143 wxDC
*arg1
= (wxDC
*) 0 ;
20144 wxString
*arg2
= 0 ;
20150 bool temp2
= false ;
20157 PyObject
* obj0
= 0 ;
20158 PyObject
* obj1
= 0 ;
20159 PyObject
* obj2
= 0 ;
20160 PyObject
* obj3
= 0 ;
20161 PyObject
* obj4
= 0 ;
20162 char * kwnames
[] = {
20163 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20168 if (!SWIG_IsOK(res1
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20173 arg2
= wxString_in_helper(obj1
);
20174 if (arg2
== NULL
) SWIG_fail
;
20177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20178 if (!SWIG_IsOK(ecode3
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20181 arg3
= static_cast< int >(val3
);
20182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20183 if (!SWIG_IsOK(ecode4
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20186 arg4
= static_cast< int >(val4
);
20187 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20188 if (!SWIG_IsOK(ecode5
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20191 arg5
= static_cast< double >(val5
);
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_Py_Void();
20213 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
= 0;
20215 wxDC
*arg1
= (wxDC
*) 0 ;
20216 wxString
*arg2
= 0 ;
20217 wxPoint
*arg3
= 0 ;
20221 bool temp2
= false ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 PyObject
* obj2
= 0 ;
20228 PyObject
* obj3
= 0 ;
20229 char * kwnames
[] = {
20230 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20235 if (!SWIG_IsOK(res1
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20240 arg2
= wxString_in_helper(obj1
);
20241 if (arg2
== NULL
) SWIG_fail
;
20246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20248 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20249 if (!SWIG_IsOK(ecode4
)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20252 arg4
= static_cast< double >(val4
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_Py_Void();
20274 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxDC
*arg1
= (wxDC
*) 0 ;
20281 wxDC
*arg6
= (wxDC
*) 0 ;
20284 int arg9
= (int) wxCOPY
;
20285 bool arg10
= (bool) false ;
20286 int arg11
= (int) -1 ;
20287 int arg12
= (int) -1 ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 PyObject
* obj2
= 0 ;
20316 PyObject
* obj3
= 0 ;
20317 PyObject
* obj4
= 0 ;
20318 PyObject
* obj5
= 0 ;
20319 PyObject
* obj6
= 0 ;
20320 PyObject
* obj7
= 0 ;
20321 PyObject
* obj8
= 0 ;
20322 PyObject
* obj9
= 0 ;
20323 PyObject
* obj10
= 0 ;
20324 PyObject
* obj11
= 0 ;
20325 char * kwnames
[] = {
20326 (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
20329 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
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20336 if (!SWIG_IsOK(ecode2
)) {
20337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20339 arg2
= static_cast< int >(val2
);
20340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20341 if (!SWIG_IsOK(ecode3
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20344 arg3
= static_cast< int >(val3
);
20345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20346 if (!SWIG_IsOK(ecode4
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20349 arg4
= static_cast< int >(val4
);
20350 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20351 if (!SWIG_IsOK(ecode5
)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20354 arg5
= static_cast< int >(val5
);
20355 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20356 if (!SWIG_IsOK(res6
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20359 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20360 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20361 if (!SWIG_IsOK(ecode7
)) {
20362 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20364 arg7
= static_cast< int >(val7
);
20365 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20366 if (!SWIG_IsOK(ecode8
)) {
20367 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20369 arg8
= static_cast< int >(val8
);
20371 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20372 if (!SWIG_IsOK(ecode9
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20375 arg9
= static_cast< int >(val9
);
20378 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20379 if (!SWIG_IsOK(ecode10
)) {
20380 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20382 arg10
= static_cast< bool >(val10
);
20385 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20386 if (!SWIG_IsOK(ecode11
)) {
20387 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20389 arg11
= static_cast< int >(val11
);
20392 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20393 if (!SWIG_IsOK(ecode12
)) {
20394 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20396 arg12
= static_cast< int >(val12
);
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20413 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
= 0;
20415 wxDC
*arg1
= (wxDC
*) 0 ;
20416 wxPoint
*arg2
= 0 ;
20418 wxDC
*arg4
= (wxDC
*) 0 ;
20419 wxPoint
*arg5
= 0 ;
20420 int arg6
= (int) wxCOPY
;
20421 bool arg7
= (bool) false ;
20422 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20423 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 PyObject
* obj2
= 0 ;
20440 PyObject
* obj3
= 0 ;
20441 PyObject
* obj4
= 0 ;
20442 PyObject
* obj5
= 0 ;
20443 PyObject
* obj6
= 0 ;
20444 PyObject
* obj7
= 0 ;
20445 char * kwnames
[] = {
20446 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20451 if (!SWIG_IsOK(res1
)) {
20452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20457 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20461 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20463 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20464 if (!SWIG_IsOK(res4
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20467 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20470 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20473 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20474 if (!SWIG_IsOK(ecode6
)) {
20475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20477 arg6
= static_cast< int >(val6
);
20480 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20481 if (!SWIG_IsOK(ecode7
)) {
20482 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20484 arg7
= static_cast< bool >(val7
);
20489 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20507 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxDC
*arg1
= (wxDC
*) 0 ;
20510 wxRect
*arg2
= (wxRect
*) NULL
;
20511 SwigValueWrapper
<wxBitmap
> result
;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 char * kwnames
[] = {
20519 (char *) "self",(char *) "subrect", NULL
20522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20524 if (!SWIG_IsOK(res1
)) {
20525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20530 if (!SWIG_IsOK(res2
)) {
20531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20533 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20548 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
= 0;
20550 wxDC
*arg1
= (wxDC
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 PyObject
* obj2
= 0 ;
20568 PyObject
* obj3
= 0 ;
20569 PyObject
* obj4
= 0 ;
20570 char * kwnames
[] = {
20571 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20581 if (!SWIG_IsOK(ecode2
)) {
20582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20584 arg2
= static_cast< int >(val2
);
20585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20586 if (!SWIG_IsOK(ecode3
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20589 arg3
= static_cast< int >(val3
);
20590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20591 if (!SWIG_IsOK(ecode4
)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20594 arg4
= static_cast< int >(val4
);
20595 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20596 if (!SWIG_IsOK(ecode5
)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20599 arg5
= static_cast< int >(val5
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_Py_Void();
20613 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxDC
*arg1
= (wxDC
*) 0 ;
20616 wxPoint
*arg2
= 0 ;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 PyObject
* obj2
= 0 ;
20625 char * kwnames
[] = {
20626 (char *) "self",(char *) "pt",(char *) "sz", NULL
20629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20631 if (!SWIG_IsOK(res1
)) {
20632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20641 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= SWIG_Py_Void();
20656 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
= 0;
20658 wxDC
*arg1
= (wxDC
*) 0 ;
20659 wxRegion
*arg2
= 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "self",(char *) "region", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20672 if (!SWIG_IsOK(res1
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20677 if (!SWIG_IsOK(res2
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20683 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_Py_Void();
20697 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
= 0;
20699 wxDC
*arg1
= (wxDC
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 char * kwnames
[] = {
20707 (char *) "self",(char *) "rect", NULL
20710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20712 if (!SWIG_IsOK(res1
)) {
20713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20718 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_Py_Void();
20733 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
= 0;
20735 wxDC
*arg1
= (wxDC
*) 0 ;
20737 wxPoint
*arg3
= (wxPoint
*) 0 ;
20738 int arg4
= (int) 0 ;
20739 int arg5
= (int) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 PyObject
* obj1
= 0 ;
20748 PyObject
* obj2
= 0 ;
20749 PyObject
* obj3
= 0 ;
20750 char * kwnames
[] = {
20751 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20756 if (!SWIG_IsOK(res1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20761 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20762 if (arg3
== NULL
) SWIG_fail
;
20765 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20766 if (!SWIG_IsOK(ecode4
)) {
20767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20769 arg4
= static_cast< int >(val4
);
20772 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20773 if (!SWIG_IsOK(ecode5
)) {
20774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20776 arg5
= static_cast< int >(val5
);
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_Py_Void();
20786 if (arg3
) delete [] arg3
;
20791 if (arg3
) delete [] arg3
;
20797 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
= 0;
20799 wxDC
*arg1
= (wxDC
*) 0 ;
20801 wxPoint
*arg3
= (wxPoint
*) 0 ;
20802 int arg4
= (int) 0 ;
20803 int arg5
= (int) 0 ;
20804 int arg6
= (int) wxODDEVEN_RULE
;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 PyObject
* obj2
= 0 ;
20816 PyObject
* obj3
= 0 ;
20817 PyObject
* obj4
= 0 ;
20818 char * kwnames
[] = {
20819 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20824 if (!SWIG_IsOK(res1
)) {
20825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20829 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20830 if (arg3
== NULL
) SWIG_fail
;
20833 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20834 if (!SWIG_IsOK(ecode4
)) {
20835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20837 arg4
= static_cast< int >(val4
);
20840 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20841 if (!SWIG_IsOK(ecode5
)) {
20842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20844 arg5
= static_cast< int >(val5
);
20847 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20848 if (!SWIG_IsOK(ecode6
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20851 arg6
= static_cast< int >(val6
);
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_Py_Void();
20861 if (arg3
) delete [] arg3
;
20866 if (arg3
) delete [] arg3
;
20872 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
= 0;
20874 wxDC
*arg1
= (wxDC
*) 0 ;
20875 wxString
*arg2
= 0 ;
20877 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20878 int arg5
= (int) -1 ;
20881 bool temp2
= false ;
20887 PyObject
* obj0
= 0 ;
20888 PyObject
* obj1
= 0 ;
20889 PyObject
* obj2
= 0 ;
20890 PyObject
* obj3
= 0 ;
20891 PyObject
* obj4
= 0 ;
20892 char * kwnames
[] = {
20893 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20898 if (!SWIG_IsOK(res1
)) {
20899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20903 arg2
= wxString_in_helper(obj1
);
20904 if (arg2
== NULL
) SWIG_fail
;
20909 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20913 if (!SWIG_IsOK(ecode4
)) {
20914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20916 arg4
= static_cast< int >(val4
);
20919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20920 if (!SWIG_IsOK(ecode5
)) {
20921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20923 arg5
= static_cast< int >(val5
);
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_Py_Void();
20946 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
= 0;
20948 wxDC
*arg1
= (wxDC
*) 0 ;
20949 wxString
*arg2
= 0 ;
20950 wxBitmap
*arg3
= 0 ;
20952 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20953 int arg6
= (int) -1 ;
20957 bool temp2
= false ;
20965 PyObject
* obj0
= 0 ;
20966 PyObject
* obj1
= 0 ;
20967 PyObject
* obj2
= 0 ;
20968 PyObject
* obj3
= 0 ;
20969 PyObject
* obj4
= 0 ;
20970 PyObject
* obj5
= 0 ;
20971 char * kwnames
[] = {
20972 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20982 arg2
= wxString_in_helper(obj1
);
20983 if (arg2
== NULL
) SWIG_fail
;
20986 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20987 if (!SWIG_IsOK(res3
)) {
20988 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20993 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20996 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20999 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21000 if (!SWIG_IsOK(ecode5
)) {
21001 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21003 arg5
= static_cast< int >(val5
);
21006 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21007 if (!SWIG_IsOK(ecode6
)) {
21008 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21010 arg6
= static_cast< int >(val6
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21033 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
= 0;
21035 wxDC
*arg1
= (wxDC
*) 0 ;
21037 wxPoint
*arg3
= (wxPoint
*) 0 ;
21040 PyObject
* obj0
= 0 ;
21041 PyObject
* obj1
= 0 ;
21042 char * kwnames
[] = {
21043 (char *) "self",(char *) "points", NULL
21046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21053 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21054 if (arg3
== NULL
) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 (arg1
)->DrawSpline(arg2
,arg3
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_Py_Void();
21064 if (arg3
) delete [] arg3
;
21069 if (arg3
) delete [] arg3
;
21075 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21076 PyObject
*resultobj
= 0;
21077 wxDC
*arg1
= (wxDC
*) 0 ;
21080 PyObject
*swig_obj
[1] ;
21082 if (!args
) SWIG_fail
;
21083 swig_obj
[0] = args
;
21084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21085 if (!SWIG_IsOK(res1
)) {
21086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_Py_Void();
21102 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
= 0;
21104 wxDC
*arg1
= (wxDC
*) 0 ;
21105 wxString
*arg2
= 0 ;
21109 bool temp2
= false ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 char * kwnames
[] = {
21113 (char *) "self",(char *) "message", NULL
21116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21118 if (!SWIG_IsOK(res1
)) {
21119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21123 arg2
= wxString_in_helper(obj1
);
21124 if (arg2
== NULL
) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21150 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 PyObject
*resultobj
= 0;
21152 wxDC
*arg1
= (wxDC
*) 0 ;
21155 PyObject
*swig_obj
[1] ;
21157 if (!args
) SWIG_fail
;
21158 swig_obj
[0] = args
;
21159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21160 if (!SWIG_IsOK(res1
)) {
21161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= SWIG_Py_Void();
21177 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21178 PyObject
*resultobj
= 0;
21179 wxDC
*arg1
= (wxDC
*) 0 ;
21182 PyObject
*swig_obj
[1] ;
21184 if (!args
) SWIG_fail
;
21185 swig_obj
[0] = args
;
21186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21187 if (!SWIG_IsOK(res1
)) {
21188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21190 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 (arg1
)->StartPage();
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_Py_Void();
21204 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21205 PyObject
*resultobj
= 0;
21206 wxDC
*arg1
= (wxDC
*) 0 ;
21209 PyObject
*swig_obj
[1] ;
21211 if (!args
) SWIG_fail
;
21212 swig_obj
[0] = args
;
21213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21214 if (!SWIG_IsOK(res1
)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= SWIG_Py_Void();
21231 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
= 0;
21233 wxDC
*arg1
= (wxDC
*) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char * kwnames
[] = {
21242 (char *) "self",(char *) "font", NULL
21245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21247 if (!SWIG_IsOK(res1
)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21252 if (!SWIG_IsOK(res2
)) {
21253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21258 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 (arg1
)->SetFont((wxFont
const &)*arg2
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_Py_Void();
21272 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
= 0;
21274 wxDC
*arg1
= (wxDC
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 char * kwnames
[] = {
21283 (char *) "self",(char *) "pen", NULL
21286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21293 if (!SWIG_IsOK(res2
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21299 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->SetPen((wxPen
const &)*arg2
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_Py_Void();
21313 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
= 0;
21315 wxDC
*arg1
= (wxDC
*) 0 ;
21316 wxBrush
*arg2
= 0 ;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char * kwnames
[] = {
21324 (char *) "self",(char *) "brush", NULL
21327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21329 if (!SWIG_IsOK(res1
)) {
21330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21334 if (!SWIG_IsOK(res2
)) {
21335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21340 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_Py_Void();
21354 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
= 0;
21356 wxDC
*arg1
= (wxDC
*) 0 ;
21357 wxBrush
*arg2
= 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char * kwnames
[] = {
21365 (char *) "self",(char *) "brush", NULL
21368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21370 if (!SWIG_IsOK(res1
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21375 if (!SWIG_IsOK(res2
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21381 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_Py_Void();
21395 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
= 0;
21397 wxDC
*arg1
= (wxDC
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "self",(char *) "mode", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21416 if (!SWIG_IsOK(ecode2
)) {
21417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21419 arg2
= static_cast< int >(val2
);
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 (arg1
)->SetBackgroundMode(arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= SWIG_Py_Void();
21433 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxDC
*arg1
= (wxDC
*) 0 ;
21436 wxPalette
*arg2
= 0 ;
21441 PyObject
* obj0
= 0 ;
21442 PyObject
* obj1
= 0 ;
21443 char * kwnames
[] = {
21444 (char *) "self",(char *) "palette", NULL
21447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21449 if (!SWIG_IsOK(res1
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21454 if (!SWIG_IsOK(res2
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21460 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_Py_Void();
21474 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21475 PyObject
*resultobj
= 0;
21476 wxDC
*arg1
= (wxDC
*) 0 ;
21479 PyObject
*swig_obj
[1] ;
21481 if (!args
) SWIG_fail
;
21482 swig_obj
[0] = args
;
21483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21484 if (!SWIG_IsOK(res1
)) {
21485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 (arg1
)->DestroyClippingRegion();
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_Py_Void();
21501 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21502 PyObject
*resultobj
= 0;
21503 wxDC
*arg1
= (wxDC
*) 0 ;
21504 int *arg2
= (int *) 0 ;
21505 int *arg3
= (int *) 0 ;
21506 int *arg4
= (int *) 0 ;
21507 int *arg5
= (int *) 0 ;
21511 int res2
= SWIG_TMPOBJ
;
21513 int res3
= SWIG_TMPOBJ
;
21515 int res4
= SWIG_TMPOBJ
;
21517 int res5
= SWIG_TMPOBJ
;
21518 PyObject
*swig_obj
[1] ;
21524 if (!args
) SWIG_fail
;
21525 swig_obj
[0] = args
;
21526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21527 if (!SWIG_IsOK(res1
)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21530 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_Py_Void();
21538 if (SWIG_IsTmpObj(res2
)) {
21539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21541 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21544 if (SWIG_IsTmpObj(res3
)) {
21545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21547 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21550 if (SWIG_IsTmpObj(res4
)) {
21551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21553 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21556 if (SWIG_IsTmpObj(res5
)) {
21557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21559 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21568 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21569 PyObject
*resultobj
= 0;
21570 wxDC
*arg1
= (wxDC
*) 0 ;
21574 PyObject
*swig_obj
[1] ;
21576 if (!args
) SWIG_fail
;
21577 swig_obj
[0] = args
;
21578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21579 if (!SWIG_IsOK(res1
)) {
21580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= wxDC_GetClippingRect(arg1
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21596 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21597 PyObject
*resultobj
= 0;
21598 wxDC
*arg1
= (wxDC
*) 0 ;
21602 PyObject
*swig_obj
[1] ;
21604 if (!args
) SWIG_fail
;
21605 swig_obj
[0] = args
;
21606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= SWIG_From_int(static_cast< int >(result
));
21624 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21625 PyObject
*resultobj
= 0;
21626 wxDC
*arg1
= (wxDC
*) 0 ;
21630 PyObject
*swig_obj
[1] ;
21632 if (!args
) SWIG_fail
;
21633 swig_obj
[0] = args
;
21634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_From_int(static_cast< int >(result
));
21652 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
= 0;
21654 wxDC
*arg1
= (wxDC
*) 0 ;
21655 wxString
*arg2
= 0 ;
21656 int *arg3
= (int *) 0 ;
21657 int *arg4
= (int *) 0 ;
21660 bool temp2
= false ;
21662 int res3
= SWIG_TMPOBJ
;
21664 int res4
= SWIG_TMPOBJ
;
21665 PyObject
* obj0
= 0 ;
21666 PyObject
* obj1
= 0 ;
21667 char * kwnames
[] = {
21668 (char *) "self",(char *) "string", NULL
21673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21680 arg2
= wxString_in_helper(obj1
);
21681 if (arg2
== NULL
) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_Py_Void();
21691 if (SWIG_IsTmpObj(res3
)) {
21692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21694 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21697 if (SWIG_IsTmpObj(res4
)) {
21698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21700 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21717 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
= 0;
21719 wxDC
*arg1
= (wxDC
*) 0 ;
21720 wxString
*arg2
= 0 ;
21721 int *arg3
= (int *) 0 ;
21722 int *arg4
= (int *) 0 ;
21723 int *arg5
= (int *) 0 ;
21724 int *arg6
= (int *) 0 ;
21725 wxFont
*arg7
= (wxFont
*) NULL
;
21728 bool temp2
= false ;
21730 int res3
= SWIG_TMPOBJ
;
21732 int res4
= SWIG_TMPOBJ
;
21734 int res5
= SWIG_TMPOBJ
;
21736 int res6
= SWIG_TMPOBJ
;
21739 PyObject
* obj0
= 0 ;
21740 PyObject
* obj1
= 0 ;
21741 PyObject
* obj2
= 0 ;
21742 char * kwnames
[] = {
21743 (char *) "self",(char *) "string",(char *) "font", NULL
21750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21752 if (!SWIG_IsOK(res1
)) {
21753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21757 arg2
= wxString_in_helper(obj1
);
21758 if (arg2
== NULL
) SWIG_fail
;
21762 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21763 if (!SWIG_IsOK(res7
)) {
21764 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21766 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= SWIG_Py_Void();
21775 if (SWIG_IsTmpObj(res3
)) {
21776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21778 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21781 if (SWIG_IsTmpObj(res4
)) {
21782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21784 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21787 if (SWIG_IsTmpObj(res5
)) {
21788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21790 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21793 if (SWIG_IsTmpObj(res6
)) {
21794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21796 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21813 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
= 0;
21815 wxDC
*arg1
= (wxDC
*) 0 ;
21816 wxString
*arg2
= 0 ;
21817 int *arg3
= (int *) 0 ;
21818 int *arg4
= (int *) 0 ;
21819 int *arg5
= (int *) 0 ;
21820 wxFont
*arg6
= (wxFont
*) NULL
;
21823 bool temp2
= false ;
21825 int res3
= SWIG_TMPOBJ
;
21827 int res4
= SWIG_TMPOBJ
;
21829 int res5
= SWIG_TMPOBJ
;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 PyObject
* obj2
= 0 ;
21835 char * kwnames
[] = {
21836 (char *) "self",(char *) "text",(char *) "font", NULL
21842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21844 if (!SWIG_IsOK(res1
)) {
21845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21849 arg2
= wxString_in_helper(obj1
);
21850 if (arg2
== NULL
) SWIG_fail
;
21854 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21855 if (!SWIG_IsOK(res6
)) {
21856 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21858 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_Py_Void();
21867 if (SWIG_IsTmpObj(res3
)) {
21868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21870 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21873 if (SWIG_IsTmpObj(res4
)) {
21874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21876 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21879 if (SWIG_IsTmpObj(res5
)) {
21880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21882 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21899 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
= 0;
21901 wxDC
*arg1
= (wxDC
*) 0 ;
21902 wxString
*arg2
= 0 ;
21906 bool temp2
= false ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char * kwnames
[] = {
21910 (char *) "self",(char *) "text", NULL
21913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21920 arg2
= wxString_in_helper(obj1
);
21921 if (arg2
== NULL
) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= wxArrayInt2PyList_helper(result
);
21947 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21948 PyObject
*resultobj
= 0;
21949 wxDC
*arg1
= (wxDC
*) 0 ;
21953 PyObject
*swig_obj
[1] ;
21955 if (!args
) SWIG_fail
;
21956 swig_obj
[0] = args
;
21957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (arg1
)->GetSize();
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21975 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21976 PyObject
*resultobj
= 0;
21977 wxDC
*arg1
= (wxDC
*) 0 ;
21978 int *arg2
= (int *) 0 ;
21979 int *arg3
= (int *) 0 ;
21983 int res2
= SWIG_TMPOBJ
;
21985 int res3
= SWIG_TMPOBJ
;
21986 PyObject
*swig_obj
[1] ;
21990 if (!args
) SWIG_fail
;
21991 swig_obj
[0] = args
;
21992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21993 if (!SWIG_IsOK(res1
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 (arg1
)->GetSize(arg2
,arg3
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= SWIG_Py_Void();
22004 if (SWIG_IsTmpObj(res2
)) {
22005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22007 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22010 if (SWIG_IsTmpObj(res3
)) {
22011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22022 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22023 PyObject
*resultobj
= 0;
22024 wxDC
*arg1
= (wxDC
*) 0 ;
22028 PyObject
*swig_obj
[1] ;
22030 if (!args
) SWIG_fail
;
22031 swig_obj
[0] = args
;
22032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22033 if (!SWIG_IsOK(res1
)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22050 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 PyObject
*resultobj
= 0;
22052 wxDC
*arg1
= (wxDC
*) 0 ;
22053 int *arg2
= (int *) 0 ;
22054 int *arg3
= (int *) 0 ;
22058 int res2
= SWIG_TMPOBJ
;
22060 int res3
= SWIG_TMPOBJ
;
22061 PyObject
*swig_obj
[1] ;
22065 if (!args
) SWIG_fail
;
22066 swig_obj
[0] = args
;
22067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22068 if (!SWIG_IsOK(res1
)) {
22069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_Py_Void();
22079 if (SWIG_IsTmpObj(res2
)) {
22080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22082 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22085 if (SWIG_IsTmpObj(res3
)) {
22086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22088 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22097 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
= 0;
22099 wxDC
*arg1
= (wxDC
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char * kwnames
[] = {
22109 (char *) "self",(char *) "x", NULL
22112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22114 if (!SWIG_IsOK(res1
)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22119 if (!SWIG_IsOK(ecode2
)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22122 arg2
= static_cast< int >(val2
);
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_From_int(static_cast< int >(result
));
22136 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
= 0;
22138 wxDC
*arg1
= (wxDC
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 char * kwnames
[] = {
22148 (char *) "self",(char *) "y", NULL
22151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22153 if (!SWIG_IsOK(res1
)) {
22154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22158 if (!SWIG_IsOK(ecode2
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22161 arg2
= static_cast< int >(val2
);
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_From_int(static_cast< int >(result
));
22175 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= 0;
22177 wxDC
*arg1
= (wxDC
*) 0 ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 char * kwnames
[] = {
22187 (char *) "self",(char *) "x", NULL
22190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22192 if (!SWIG_IsOK(res1
)) {
22193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22197 if (!SWIG_IsOK(ecode2
)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22200 arg2
= static_cast< int >(val2
);
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= SWIG_From_int(static_cast< int >(result
));
22214 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
= 0;
22216 wxDC
*arg1
= (wxDC
*) 0 ;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 char * kwnames
[] = {
22226 (char *) "self",(char *) "y", NULL
22229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22231 if (!SWIG_IsOK(res1
)) {
22232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22234 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22236 if (!SWIG_IsOK(ecode2
)) {
22237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22239 arg2
= static_cast< int >(val2
);
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_From_int(static_cast< int >(result
));
22253 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
= 0;
22255 wxDC
*arg1
= (wxDC
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char * kwnames
[] = {
22265 (char *) "self",(char *) "x", NULL
22268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22270 if (!SWIG_IsOK(res1
)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22275 if (!SWIG_IsOK(ecode2
)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22278 arg2
= static_cast< int >(val2
);
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_From_int(static_cast< int >(result
));
22292 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
= 0;
22294 wxDC
*arg1
= (wxDC
*) 0 ;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 char * kwnames
[] = {
22304 (char *) "self",(char *) "y", NULL
22307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22309 if (!SWIG_IsOK(res1
)) {
22310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22314 if (!SWIG_IsOK(ecode2
)) {
22315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22317 arg2
= static_cast< int >(val2
);
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_From_int(static_cast< int >(result
));
22331 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
= 0;
22333 wxDC
*arg1
= (wxDC
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char * kwnames
[] = {
22343 (char *) "self",(char *) "x", NULL
22346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22353 if (!SWIG_IsOK(ecode2
)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22356 arg2
= static_cast< int >(val2
);
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 resultobj
= SWIG_From_int(static_cast< int >(result
));
22370 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
= 0;
22372 wxDC
*arg1
= (wxDC
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 char * kwnames
[] = {
22382 (char *) "self",(char *) "y", NULL
22385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22387 if (!SWIG_IsOK(res1
)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22392 if (!SWIG_IsOK(ecode2
)) {
22393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22395 arg2
= static_cast< int >(val2
);
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= SWIG_From_int(static_cast< int >(result
));
22409 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 PyObject
*resultobj
= 0;
22411 wxDC
*arg1
= (wxDC
*) 0 ;
22415 PyObject
*swig_obj
[1] ;
22417 if (!args
) SWIG_fail
;
22418 swig_obj
[0] = args
;
22419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22420 if (!SWIG_IsOK(res1
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22439 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22440 PyObject
*resultobj
= 0;
22441 wxDC
*arg1
= (wxDC
*) 0 ;
22445 PyObject
*swig_obj
[1] ;
22447 if (!args
) SWIG_fail
;
22448 swig_obj
[0] = args
;
22449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22450 if (!SWIG_IsOK(res1
)) {
22451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22469 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22470 PyObject
*resultobj
= 0;
22471 wxDC
*arg1
= (wxDC
*) 0 ;
22475 PyObject
*swig_obj
[1] ;
22477 if (!args
) SWIG_fail
;
22478 swig_obj
[0] = args
;
22479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_From_int(static_cast< int >(result
));
22497 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxDC
*arg1
= (wxDC
*) 0 ;
22503 PyObject
*swig_obj
[1] ;
22505 if (!args
) SWIG_fail
;
22506 swig_obj
[0] = args
;
22507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= ((wxDC
const *)arg1
)->GetPPI();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22525 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22526 PyObject
*resultobj
= 0;
22527 wxDC
*arg1
= (wxDC
*) 0 ;
22531 PyObject
*swig_obj
[1] ;
22533 if (!args
) SWIG_fail
;
22534 swig_obj
[0] = args
;
22535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22536 if (!SWIG_IsOK(res1
)) {
22537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22555 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22556 PyObject
*resultobj
= 0;
22557 wxDC
*arg1
= (wxDC
*) 0 ;
22561 PyObject
*swig_obj
[1] ;
22563 if (!args
) SWIG_fail
;
22564 swig_obj
[0] = args
;
22565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_From_int(static_cast< int >(result
));
22583 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22584 PyObject
*resultobj
= 0;
22585 wxDC
*arg1
= (wxDC
*) 0 ;
22586 wxBrush
*result
= 0 ;
22589 PyObject
*swig_obj
[1] ;
22591 if (!args
) SWIG_fail
;
22592 swig_obj
[0] = args
;
22593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22594 if (!SWIG_IsOK(res1
)) {
22595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22602 result
= (wxBrush
*) &_result_ref
;
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22608 wxBrush
* resultptr
= new wxBrush(*result
);
22609 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22617 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22618 PyObject
*resultobj
= 0;
22619 wxDC
*arg1
= (wxDC
*) 0 ;
22620 wxBrush
*result
= 0 ;
22623 PyObject
*swig_obj
[1] ;
22625 if (!args
) SWIG_fail
;
22626 swig_obj
[0] = args
;
22627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22628 if (!SWIG_IsOK(res1
)) {
22629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22636 result
= (wxBrush
*) &_result_ref
;
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22642 wxBrush
* resultptr
= new wxBrush(*result
);
22643 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22651 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxDC
*arg1
= (wxDC
*) 0 ;
22654 wxFont
*result
= 0 ;
22657 PyObject
*swig_obj
[1] ;
22659 if (!args
) SWIG_fail
;
22660 swig_obj
[0] = args
;
22661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22670 result
= (wxFont
*) &_result_ref
;
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 wxFont
* resultptr
= new wxFont(*result
);
22677 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22685 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22686 PyObject
*resultobj
= 0;
22687 wxDC
*arg1
= (wxDC
*) 0 ;
22688 wxPen
*result
= 0 ;
22691 PyObject
*swig_obj
[1] ;
22693 if (!args
) SWIG_fail
;
22694 swig_obj
[0] = args
;
22695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22696 if (!SWIG_IsOK(res1
)) {
22697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22704 result
= (wxPen
*) &_result_ref
;
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 wxPen
* resultptr
= new wxPen(*result
);
22711 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22719 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22720 PyObject
*resultobj
= 0;
22721 wxDC
*arg1
= (wxDC
*) 0 ;
22722 wxColour
*result
= 0 ;
22725 PyObject
*swig_obj
[1] ;
22727 if (!args
) SWIG_fail
;
22728 swig_obj
[0] = args
;
22729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22730 if (!SWIG_IsOK(res1
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22738 result
= (wxColour
*) &_result_ref
;
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22750 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22751 PyObject
*resultobj
= 0;
22752 wxDC
*arg1
= (wxDC
*) 0 ;
22753 wxColour
*result
= 0 ;
22756 PyObject
*swig_obj
[1] ;
22758 if (!args
) SWIG_fail
;
22759 swig_obj
[0] = args
;
22760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22769 result
= (wxColour
*) &_result_ref
;
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22781 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
= 0;
22783 wxDC
*arg1
= (wxDC
*) 0 ;
22784 wxColour
*arg2
= 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char * kwnames
[] = {
22791 (char *) "self",(char *) "colour", NULL
22794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22796 if (!SWIG_IsOK(res1
)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_Py_Void();
22817 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
= 0;
22819 wxDC
*arg1
= (wxDC
*) 0 ;
22820 wxColour
*arg2
= 0 ;
22824 PyObject
* obj0
= 0 ;
22825 PyObject
* obj1
= 0 ;
22826 char * kwnames
[] = {
22827 (char *) "self",(char *) "colour", NULL
22830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22832 if (!SWIG_IsOK(res1
)) {
22833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22838 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_Py_Void();
22853 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22854 PyObject
*resultobj
= 0;
22855 wxDC
*arg1
= (wxDC
*) 0 ;
22859 PyObject
*swig_obj
[1] ;
22861 if (!args
) SWIG_fail
;
22862 swig_obj
[0] = args
;
22863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22864 if (!SWIG_IsOK(res1
)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_From_int(static_cast< int >(result
));
22881 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
= 0;
22883 wxDC
*arg1
= (wxDC
*) 0 ;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 char * kwnames
[] = {
22892 (char *) "self",(char *) "mode", NULL
22895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22897 if (!SWIG_IsOK(res1
)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22902 if (!SWIG_IsOK(ecode2
)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22905 arg2
= static_cast< int >(val2
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->SetMapMode(arg2
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_Py_Void();
22919 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22920 PyObject
*resultobj
= 0;
22921 wxDC
*arg1
= (wxDC
*) 0 ;
22922 double *arg2
= (double *) 0 ;
22923 double *arg3
= (double *) 0 ;
22927 int res2
= SWIG_TMPOBJ
;
22929 int res3
= SWIG_TMPOBJ
;
22930 PyObject
*swig_obj
[1] ;
22934 if (!args
) SWIG_fail
;
22935 swig_obj
[0] = args
;
22936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22937 if (!SWIG_IsOK(res1
)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_Py_Void();
22948 if (SWIG_IsTmpObj(res2
)) {
22949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22951 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22954 if (SWIG_IsTmpObj(res3
)) {
22955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22957 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22966 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
= 0;
22968 wxDC
*arg1
= (wxDC
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 PyObject
* obj2
= 0 ;
22980 char * kwnames
[] = {
22981 (char *) "self",(char *) "x",(char *) "y", NULL
22984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22990 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22991 if (!SWIG_IsOK(ecode2
)) {
22992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22994 arg2
= static_cast< double >(val2
);
22995 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22996 if (!SWIG_IsOK(ecode3
)) {
22997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22999 arg3
= static_cast< double >(val3
);
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 (arg1
)->SetUserScale(arg2
,arg3
);
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_Py_Void();
23013 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23014 PyObject
*resultobj
= 0;
23015 wxDC
*arg1
= (wxDC
*) 0 ;
23016 double *arg2
= (double *) 0 ;
23017 double *arg3
= (double *) 0 ;
23021 int res2
= SWIG_TMPOBJ
;
23023 int res3
= SWIG_TMPOBJ
;
23024 PyObject
*swig_obj
[1] ;
23028 if (!args
) SWIG_fail
;
23029 swig_obj
[0] = args
;
23030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23031 if (!SWIG_IsOK(res1
)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 (arg1
)->GetLogicalScale(arg2
,arg3
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_Py_Void();
23042 if (SWIG_IsTmpObj(res2
)) {
23043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23045 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23048 if (SWIG_IsTmpObj(res3
)) {
23049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23060 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
= 0;
23062 wxDC
*arg1
= (wxDC
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 PyObject
* obj2
= 0 ;
23074 char * kwnames
[] = {
23075 (char *) "self",(char *) "x",(char *) "y", NULL
23078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23084 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23085 if (!SWIG_IsOK(ecode2
)) {
23086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23088 arg2
= static_cast< double >(val2
);
23089 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23090 if (!SWIG_IsOK(ecode3
)) {
23091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23093 arg3
= static_cast< double >(val3
);
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->SetLogicalScale(arg2
,arg3
);
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_Py_Void();
23107 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23108 PyObject
*resultobj
= 0;
23109 wxDC
*arg1
= (wxDC
*) 0 ;
23113 PyObject
*swig_obj
[1] ;
23115 if (!args
) SWIG_fail
;
23116 swig_obj
[0] = args
;
23117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23135 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23136 PyObject
*resultobj
= 0;
23137 wxDC
*arg1
= (wxDC
*) 0 ;
23138 int *arg2
= (int *) 0 ;
23139 int *arg3
= (int *) 0 ;
23143 int res2
= SWIG_TMPOBJ
;
23145 int res3
= SWIG_TMPOBJ
;
23146 PyObject
*swig_obj
[1] ;
23150 if (!args
) SWIG_fail
;
23151 swig_obj
[0] = args
;
23152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23153 if (!SWIG_IsOK(res1
)) {
23154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_Py_Void();
23164 if (SWIG_IsTmpObj(res2
)) {
23165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23167 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23170 if (SWIG_IsTmpObj(res3
)) {
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23173 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23182 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
= 0;
23184 wxDC
*arg1
= (wxDC
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 PyObject
* obj2
= 0 ;
23196 char * kwnames
[] = {
23197 (char *) "self",(char *) "x",(char *) "y", NULL
23200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23202 if (!SWIG_IsOK(res1
)) {
23203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23207 if (!SWIG_IsOK(ecode2
)) {
23208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23210 arg2
= static_cast< int >(val2
);
23211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23212 if (!SWIG_IsOK(ecode3
)) {
23213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23215 arg3
= static_cast< int >(val3
);
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= SWIG_Py_Void();
23229 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
= 0;
23231 wxDC
*arg1
= (wxDC
*) 0 ;
23232 wxPoint
*arg2
= 0 ;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 char * kwnames
[] = {
23239 (char *) "self",(char *) "point", NULL
23242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23244 if (!SWIG_IsOK(res1
)) {
23245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= SWIG_Py_Void();
23265 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23266 PyObject
*resultobj
= 0;
23267 wxDC
*arg1
= (wxDC
*) 0 ;
23271 PyObject
*swig_obj
[1] ;
23273 if (!args
) SWIG_fail
;
23274 swig_obj
[0] = args
;
23275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23293 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23294 PyObject
*resultobj
= 0;
23295 wxDC
*arg1
= (wxDC
*) 0 ;
23296 int *arg2
= (int *) 0 ;
23297 int *arg3
= (int *) 0 ;
23301 int res2
= SWIG_TMPOBJ
;
23303 int res3
= SWIG_TMPOBJ
;
23304 PyObject
*swig_obj
[1] ;
23308 if (!args
) SWIG_fail
;
23309 swig_obj
[0] = args
;
23310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23311 if (!SWIG_IsOK(res1
)) {
23312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_Py_Void();
23322 if (SWIG_IsTmpObj(res2
)) {
23323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23325 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23328 if (SWIG_IsTmpObj(res3
)) {
23329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23331 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23340 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
= 0;
23342 wxDC
*arg1
= (wxDC
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 PyObject
* obj2
= 0 ;
23354 char * kwnames
[] = {
23355 (char *) "self",(char *) "x",(char *) "y", NULL
23358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23360 if (!SWIG_IsOK(res1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23365 if (!SWIG_IsOK(ecode2
)) {
23366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23368 arg2
= static_cast< int >(val2
);
23369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23370 if (!SWIG_IsOK(ecode3
)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23373 arg3
= static_cast< int >(val3
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_Py_Void();
23387 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
= 0;
23389 wxDC
*arg1
= (wxDC
*) 0 ;
23390 wxPoint
*arg2
= 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 char * kwnames
[] = {
23397 (char *) "self",(char *) "point", NULL
23400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_Py_Void();
23423 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
= 0;
23425 wxDC
*arg1
= (wxDC
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 PyObject
* obj2
= 0 ;
23437 char * kwnames
[] = {
23438 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23443 if (!SWIG_IsOK(res1
)) {
23444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23447 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23448 if (!SWIG_IsOK(ecode2
)) {
23449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23451 arg2
= static_cast< bool >(val2
);
23452 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23453 if (!SWIG_IsOK(ecode3
)) {
23454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23456 arg3
= static_cast< bool >(val3
);
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_Py_Void();
23470 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23471 PyObject
*resultobj
= 0;
23472 wxDC
*arg1
= (wxDC
*) 0 ;
23476 PyObject
*swig_obj
[1] ;
23478 if (!args
) SWIG_fail
;
23479 swig_obj
[0] = args
;
23480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23481 if (!SWIG_IsOK(res1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_From_int(static_cast< int >(result
));
23498 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
= 0;
23500 wxDC
*arg1
= (wxDC
*) 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 char * kwnames
[] = {
23509 (char *) "self",(char *) "function", NULL
23512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23514 if (!SWIG_IsOK(res1
)) {
23515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23519 if (!SWIG_IsOK(ecode2
)) {
23520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23522 arg2
= static_cast< int >(val2
);
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 (arg1
)->SetLogicalFunction(arg2
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_Py_Void();
23536 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23537 PyObject
*resultobj
= 0;
23538 wxDC
*arg1
= (wxDC
*) 0 ;
23541 PyObject
*swig_obj
[1] ;
23543 if (!args
) SWIG_fail
;
23544 swig_obj
[0] = args
;
23545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 (arg1
)->ComputeScaleAndOrigin();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_Py_Void();
23563 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
= 0;
23565 wxDC
*arg1
= (wxDC
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 PyObject
* obj2
= 0 ;
23577 char * kwnames
[] = {
23578 (char *) "self",(char *) "x",(char *) "y", NULL
23581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23583 if (!SWIG_IsOK(res1
)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23588 if (!SWIG_IsOK(ecode2
)) {
23589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23591 arg2
= static_cast< int >(val2
);
23592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23593 if (!SWIG_IsOK(ecode3
)) {
23594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23596 arg3
= static_cast< int >(val3
);
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= SWIG_Py_Void();
23610 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
= 0;
23612 wxDC
*arg1
= (wxDC
*) 0 ;
23613 wxPoint
*arg2
= 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char * kwnames
[] = {
23620 (char *) "self",(char *) "point", NULL
23623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23625 if (!SWIG_IsOK(res1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_Py_Void();
23646 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23647 PyObject
*resultobj
= 0;
23648 wxDC
*arg1
= (wxDC
*) 0 ;
23651 PyObject
*swig_obj
[1] ;
23653 if (!args
) SWIG_fail
;
23654 swig_obj
[0] = args
;
23655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23656 if (!SWIG_IsOK(res1
)) {
23657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->ResetBoundingBox();
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_Py_Void();
23673 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 PyObject
*resultobj
= 0;
23675 wxDC
*arg1
= (wxDC
*) 0 ;
23679 PyObject
*swig_obj
[1] ;
23681 if (!args
) SWIG_fail
;
23682 swig_obj
[0] = args
;
23683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (int)((wxDC
const *)arg1
)->MinX();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_From_int(static_cast< int >(result
));
23701 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23702 PyObject
*resultobj
= 0;
23703 wxDC
*arg1
= (wxDC
*) 0 ;
23707 PyObject
*swig_obj
[1] ;
23709 if (!args
) SWIG_fail
;
23710 swig_obj
[0] = args
;
23711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (int)((wxDC
const *)arg1
)->MaxX();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_From_int(static_cast< int >(result
));
23729 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 PyObject
*resultobj
= 0;
23731 wxDC
*arg1
= (wxDC
*) 0 ;
23735 PyObject
*swig_obj
[1] ;
23737 if (!args
) SWIG_fail
;
23738 swig_obj
[0] = args
;
23739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (int)((wxDC
const *)arg1
)->MinY();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_From_int(static_cast< int >(result
));
23757 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23758 PyObject
*resultobj
= 0;
23759 wxDC
*arg1
= (wxDC
*) 0 ;
23763 PyObject
*swig_obj
[1] ;
23765 if (!args
) SWIG_fail
;
23766 swig_obj
[0] = args
;
23767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23768 if (!SWIG_IsOK(res1
)) {
23769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (int)((wxDC
const *)arg1
)->MaxY();
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_From_int(static_cast< int >(result
));
23785 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23786 PyObject
*resultobj
= 0;
23787 wxDC
*arg1
= (wxDC
*) 0 ;
23788 int *arg2
= (int *) 0 ;
23789 int *arg3
= (int *) 0 ;
23790 int *arg4
= (int *) 0 ;
23791 int *arg5
= (int *) 0 ;
23795 int res2
= SWIG_TMPOBJ
;
23797 int res3
= SWIG_TMPOBJ
;
23799 int res4
= SWIG_TMPOBJ
;
23801 int res5
= SWIG_TMPOBJ
;
23802 PyObject
*swig_obj
[1] ;
23808 if (!args
) SWIG_fail
;
23809 swig_obj
[0] = args
;
23810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23811 if (!SWIG_IsOK(res1
)) {
23812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_Py_Void();
23822 if (SWIG_IsTmpObj(res2
)) {
23823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23825 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23828 if (SWIG_IsTmpObj(res3
)) {
23829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23831 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23834 if (SWIG_IsTmpObj(res4
)) {
23835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23837 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23840 if (SWIG_IsTmpObj(res5
)) {
23841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23843 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23852 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23853 PyObject
*resultobj
= 0;
23854 wxDC
*arg1
= (wxDC
*) 0 ;
23855 wxLayoutDirection result
;
23858 PyObject
*swig_obj
[1] ;
23860 if (!args
) SWIG_fail
;
23861 swig_obj
[0] = args
;
23862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23863 if (!SWIG_IsOK(res1
)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_From_int(static_cast< int >(result
));
23880 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
= 0;
23882 wxDC
*arg1
= (wxDC
*) 0 ;
23883 wxLayoutDirection arg2
;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 char * kwnames
[] = {
23891 (char *) "self",(char *) "dir", NULL
23894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23896 if (!SWIG_IsOK(res1
)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23901 if (!SWIG_IsOK(ecode2
)) {
23902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23904 arg2
= static_cast< wxLayoutDirection
>(val2
);
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 (arg1
)->SetLayoutDirection(arg2
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= SWIG_Py_Void();
23918 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23919 PyObject
*resultobj
= 0;
23920 wxDC
*arg1
= (wxDC
*) 0 ;
23924 PyObject
*swig_obj
[1] ;
23926 if (!args
) SWIG_fail
;
23927 swig_obj
[0] = args
;
23928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23929 if (!SWIG_IsOK(res1
)) {
23930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (long)(arg1
)->GetHDC();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_From_long(static_cast< long >(result
));
23946 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
= 0;
23948 wxDC
*arg1
= (wxDC
*) 0 ;
23949 PyObject
*arg2
= (PyObject
*) 0 ;
23950 PyObject
*arg3
= (PyObject
*) 0 ;
23951 PyObject
*arg4
= (PyObject
*) 0 ;
23952 PyObject
*result
= 0 ;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 PyObject
* obj2
= 0 ;
23958 PyObject
* obj3
= 0 ;
23959 char * kwnames
[] = {
23960 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23965 if (!SWIG_IsOK(res1
)) {
23966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= result
;
23985 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
= 0;
23987 wxDC
*arg1
= (wxDC
*) 0 ;
23988 PyObject
*arg2
= (PyObject
*) 0 ;
23989 PyObject
*arg3
= (PyObject
*) 0 ;
23990 PyObject
*arg4
= (PyObject
*) 0 ;
23991 PyObject
*result
= 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 PyObject
* obj2
= 0 ;
23997 PyObject
* obj3
= 0 ;
23998 char * kwnames
[] = {
23999 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24004 if (!SWIG_IsOK(res1
)) {
24005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24017 resultobj
= result
;
24024 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
= 0;
24026 wxDC
*arg1
= (wxDC
*) 0 ;
24027 PyObject
*arg2
= (PyObject
*) 0 ;
24028 PyObject
*arg3
= (PyObject
*) 0 ;
24029 PyObject
*arg4
= (PyObject
*) 0 ;
24030 PyObject
*result
= 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 PyObject
* obj2
= 0 ;
24036 PyObject
* obj3
= 0 ;
24037 char * kwnames
[] = {
24038 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24056 resultobj
= result
;
24063 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
= 0;
24065 wxDC
*arg1
= (wxDC
*) 0 ;
24066 PyObject
*arg2
= (PyObject
*) 0 ;
24067 PyObject
*arg3
= (PyObject
*) 0 ;
24068 PyObject
*arg4
= (PyObject
*) 0 ;
24069 PyObject
*result
= 0 ;
24072 PyObject
* obj0
= 0 ;
24073 PyObject
* obj1
= 0 ;
24074 PyObject
* obj2
= 0 ;
24075 PyObject
* obj3
= 0 ;
24076 char * kwnames
[] = {
24077 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24082 if (!SWIG_IsOK(res1
)) {
24083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= result
;
24102 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
= 0;
24104 wxDC
*arg1
= (wxDC
*) 0 ;
24105 PyObject
*arg2
= (PyObject
*) 0 ;
24106 PyObject
*arg3
= (PyObject
*) 0 ;
24107 PyObject
*arg4
= (PyObject
*) 0 ;
24108 PyObject
*result
= 0 ;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 PyObject
* obj2
= 0 ;
24114 PyObject
* obj3
= 0 ;
24115 char * kwnames
[] = {
24116 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24121 if (!SWIG_IsOK(res1
)) {
24122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= result
;
24141 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
= 0;
24143 wxDC
*arg1
= (wxDC
*) 0 ;
24144 PyObject
*arg2
= (PyObject
*) 0 ;
24145 PyObject
*arg3
= (PyObject
*) 0 ;
24146 PyObject
*arg4
= (PyObject
*) 0 ;
24147 PyObject
*arg5
= (PyObject
*) 0 ;
24148 PyObject
*result
= 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 PyObject
* obj2
= 0 ;
24154 PyObject
* obj3
= 0 ;
24155 PyObject
* obj4
= 0 ;
24156 char * kwnames
[] = {
24157 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24162 if (!SWIG_IsOK(res1
)) {
24163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= result
;
24183 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24186 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24187 return SWIG_Py_Void();
24190 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
= 0;
24193 wxColour
*arg2
= 0 ;
24194 wxDCTextColourChanger
*result
= 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char * kwnames
[] = {
24201 (char *) "dc",(char *) "col", NULL
24204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24205 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24215 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24230 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24231 PyObject
*resultobj
= 0;
24232 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24235 PyObject
*swig_obj
[1] ;
24237 if (!args
) SWIG_fail
;
24238 swig_obj
[0] = args
;
24239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24243 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_Py_Void();
24258 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24261 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24262 return SWIG_Py_Void();
24265 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 return SWIG_Python_InitShadowInstance(args
);
24269 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
= 0;
24273 wxDCPenChanger
*result
= 0 ;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 char * kwnames
[] = {
24281 (char *) "dc",(char *) "pen", NULL
24284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24285 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24286 if (!SWIG_IsOK(res1
)) {
24287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24294 if (!SWIG_IsOK(res2
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24300 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24314 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24315 PyObject
*resultobj
= 0;
24316 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24319 PyObject
*swig_obj
[1] ;
24321 if (!args
) SWIG_fail
;
24322 swig_obj
[0] = args
;
24323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24324 if (!SWIG_IsOK(res1
)) {
24325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24327 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_Py_Void();
24342 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24345 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24346 return SWIG_Py_Void();
24349 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24350 return SWIG_Python_InitShadowInstance(args
);
24353 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
= 0;
24356 wxBrush
*arg2
= 0 ;
24357 wxDCBrushChanger
*result
= 0 ;
24362 PyObject
* obj0
= 0 ;
24363 PyObject
* obj1
= 0 ;
24364 char * kwnames
[] = {
24365 (char *) "dc",(char *) "brush", NULL
24368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24369 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24378 if (!SWIG_IsOK(res2
)) {
24379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24384 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24398 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24399 PyObject
*resultobj
= 0;
24400 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24403 PyObject
*swig_obj
[1] ;
24405 if (!args
) SWIG_fail
;
24406 swig_obj
[0] = args
;
24407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24411 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_Py_Void();
24426 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24429 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24430 return SWIG_Py_Void();
24433 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24434 return SWIG_Python_InitShadowInstance(args
);
24437 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24438 PyObject
*resultobj
= 0;
24440 wxRegion
*arg2
= 0 ;
24441 wxDCClipper
*result
= 0 ;
24447 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24449 if (!SWIG_IsOK(res1
)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24456 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24457 if (!SWIG_IsOK(res2
)) {
24458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24463 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24477 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24478 PyObject
*resultobj
= 0;
24481 wxDCClipper
*result
= 0 ;
24486 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24488 if (!SWIG_IsOK(res1
)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24497 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24512 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24513 PyObject
*resultobj
= 0;
24519 wxDCClipper
*result
= 0 ;
24531 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24533 if (!SWIG_IsOK(res1
)) {
24534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24540 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24541 if (!SWIG_IsOK(ecode2
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24544 arg2
= static_cast< int >(val2
);
24545 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24546 if (!SWIG_IsOK(ecode3
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24549 arg3
= static_cast< int >(val3
);
24550 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24551 if (!SWIG_IsOK(ecode4
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24554 arg4
= static_cast< int >(val4
);
24555 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24556 if (!SWIG_IsOK(ecode5
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24559 arg5
= static_cast< int >(val5
);
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24573 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24577 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24582 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24583 _v
= SWIG_CheckState(res
);
24585 if (!_v
) goto check_1
;
24586 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24591 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24594 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24598 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24603 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24604 PyObject
*resultobj
= 0;
24605 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24608 PyObject
*swig_obj
[1] ;
24610 if (!args
) SWIG_fail
;
24611 swig_obj
[0] = args
;
24612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24616 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_Py_Void();
24631 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24634 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24635 return SWIG_Py_Void();
24638 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24639 return SWIG_Python_InitShadowInstance(args
);
24642 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 PyObject
*resultobj
= 0;
24644 wxScreenDC
*result
= 0 ;
24646 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24648 if (!wxPyCheckForApp()) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (wxScreenDC
*)new wxScreenDC();
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24661 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
= 0;
24663 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24664 wxWindow
*arg2
= (wxWindow
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char * kwnames
[] = {
24673 (char *) "self",(char *) "window", NULL
24676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24678 if (!SWIG_IsOK(res1
)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24681 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24683 if (!SWIG_IsOK(res2
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24702 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
= 0;
24704 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24705 wxRect
*arg2
= (wxRect
*) NULL
;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char * kwnames
[] = {
24714 (char *) "self",(char *) "rect", NULL
24717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24722 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24725 if (!SWIG_IsOK(res2
)) {
24726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24728 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24745 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24746 PyObject
*resultobj
= 0;
24747 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24751 PyObject
*swig_obj
[1] ;
24753 if (!args
) SWIG_fail
;
24754 swig_obj
[0] = args
;
24755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24756 if (!SWIG_IsOK(res1
)) {
24757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24759 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (bool)(arg1
)->EndDrawingOnTop();
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24775 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24778 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24779 return SWIG_Py_Void();
24782 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24783 return SWIG_Python_InitShadowInstance(args
);
24786 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
= 0;
24788 wxWindow
*arg1
= (wxWindow
*) 0 ;
24789 wxWindowDC
*result
= 0 ;
24792 PyObject
* obj0
= 0 ;
24793 char * kwnames
[] = {
24794 (char *) "win", NULL
24797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24804 if (!wxPyCheckForApp()) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24817 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24820 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24821 return SWIG_Py_Void();
24824 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 return SWIG_Python_InitShadowInstance(args
);
24828 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
= 0;
24830 wxWindow
*arg1
= (wxWindow
*) 0 ;
24831 wxClientDC
*result
= 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char * kwnames
[] = {
24836 (char *) "win", NULL
24839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24846 if (!wxPyCheckForApp()) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (wxClientDC
*)new wxClientDC(arg1
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24859 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24862 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24863 return SWIG_Py_Void();
24866 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24867 return SWIG_Python_InitShadowInstance(args
);
24870 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
= 0;
24872 wxWindow
*arg1
= (wxWindow
*) 0 ;
24873 wxPaintDC
*result
= 0 ;
24876 PyObject
* obj0
= 0 ;
24877 char * kwnames
[] = {
24878 (char *) "win", NULL
24881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24888 if (!wxPyCheckForApp()) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24901 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24904 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24905 return SWIG_Py_Void();
24908 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24909 return SWIG_Python_InitShadowInstance(args
);
24912 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
= 0;
24914 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24915 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24916 wxMemoryDC
*result
= 0 ;
24919 PyObject
* obj0
= 0 ;
24920 char * kwnames
[] = {
24921 (char *) "bitmap", NULL
24924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24926 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24927 if (!SWIG_IsOK(res1
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24933 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24936 if (!wxPyCheckForApp()) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24949 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
= 0;
24951 wxDC
*arg1
= (wxDC
*) 0 ;
24952 wxMemoryDC
*result
= 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char * kwnames
[] = {
24957 (char *) "oldDC", NULL
24960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24962 if (!SWIG_IsOK(res1
)) {
24963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24967 if (!wxPyCheckForApp()) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24980 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
= 0;
24982 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24983 wxBitmap
*arg2
= 0 ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 char * kwnames
[] = {
24991 (char *) "self",(char *) "bitmap", NULL
24994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24996 if (!SWIG_IsOK(res1
)) {
24997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24999 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25001 if (!SWIG_IsOK(res2
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25007 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 (arg1
)->SelectObject(*arg2
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= SWIG_Py_Void();
25021 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
= 0;
25023 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25024 wxBitmap
*arg2
= 0 ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 char * kwnames
[] = {
25032 (char *) "self",(char *) "bmp", NULL
25035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25037 if (!SWIG_IsOK(res1
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25040 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25042 if (!SWIG_IsOK(res2
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25048 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_Py_Void();
25062 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25065 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25066 return SWIG_Py_Void();
25069 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25070 return SWIG_Python_InitShadowInstance(args
);
25073 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25074 PyObject
*resultobj
= 0;
25075 wxDC
*arg1
= (wxDC
*) 0 ;
25076 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25077 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25078 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25079 wxBufferedDC
*result
= 0 ;
25087 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25089 if (!SWIG_IsOK(res1
)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25094 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25095 if (!SWIG_IsOK(res2
)) {
25096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25101 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25104 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25105 if (!SWIG_IsOK(ecode3
)) {
25106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25108 arg3
= static_cast< int >(val3
);
25111 if (!wxPyCheckForApp()) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25124 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25125 PyObject
*resultobj
= 0;
25126 wxDC
*arg1
= (wxDC
*) 0 ;
25128 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25129 wxBufferedDC
*result
= 0 ;
25136 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25138 if (!SWIG_IsOK(res1
)) {
25139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25144 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25147 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25148 if (!SWIG_IsOK(ecode3
)) {
25149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25151 arg3
= static_cast< int >(val3
);
25154 if (!wxPyCheckForApp()) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25167 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25171 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25173 if ((argc
>= 1) && (argc
<= 3)) {
25178 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25179 _v
= SWIG_CheckState(res
);
25181 if (!_v
) goto check_1
;
25183 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25187 if ((argc
>= 2) && (argc
<= 3)) {
25188 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25192 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25197 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 PyObject
*resultobj
= 0;
25199 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25202 PyObject
*swig_obj
[1] ;
25204 if (!args
) SWIG_fail
;
25205 swig_obj
[0] = args
;
25206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25210 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_Py_Void();
25225 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25230 PyObject
*swig_obj
[1] ;
25232 if (!args
) SWIG_fail
;
25233 swig_obj
[0] = args
;
25234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25238 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= SWIG_Py_Void();
25252 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
= 0;
25254 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char * kwnames
[] = {
25263 (char *) "self",(char *) "style", NULL
25266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25268 if (!SWIG_IsOK(res1
)) {
25269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25271 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25273 if (!SWIG_IsOK(ecode2
)) {
25274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25276 arg2
= static_cast< int >(val2
);
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 (arg1
)->SetStyle(arg2
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= SWIG_Py_Void();
25290 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25291 PyObject
*resultobj
= 0;
25292 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25296 PyObject
*swig_obj
[1] ;
25298 if (!args
) SWIG_fail
;
25299 swig_obj
[0] = args
;
25300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25301 if (!SWIG_IsOK(res1
)) {
25302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25304 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= SWIG_From_int(static_cast< int >(result
));
25318 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25321 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25322 return SWIG_Py_Void();
25325 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25326 return SWIG_Python_InitShadowInstance(args
);
25329 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
= 0;
25331 wxWindow
*arg1
= (wxWindow
*) 0 ;
25332 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25333 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25334 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25335 wxBufferedPaintDC
*result
= 0 ;
25342 PyObject
* obj0
= 0 ;
25343 PyObject
* obj1
= 0 ;
25344 PyObject
* obj2
= 0 ;
25345 char * kwnames
[] = {
25346 (char *) "window",(char *) "buffer",(char *) "style", NULL
25349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25351 if (!SWIG_IsOK(res1
)) {
25352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25357 if (!SWIG_IsOK(res2
)) {
25358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25363 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25367 if (!SWIG_IsOK(ecode3
)) {
25368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25370 arg3
= static_cast< int >(val3
);
25373 if (!wxPyCheckForApp()) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25386 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25389 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25390 return SWIG_Py_Void();
25393 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 return SWIG_Python_InitShadowInstance(args
);
25397 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
= 0;
25399 wxWindow
*arg1
= (wxWindow
*) 0 ;
25400 wxAutoBufferedPaintDC
*result
= 0 ;
25403 PyObject
* obj0
= 0 ;
25404 char * kwnames
[] = {
25405 (char *) "win", NULL
25408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25427 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25430 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25431 return SWIG_Py_Void();
25434 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25435 return SWIG_Python_InitShadowInstance(args
);
25438 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
= 0;
25440 wxWindow
*arg1
= (wxWindow
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 char * kwnames
[] = {
25446 (char *) "window", NULL
25449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25470 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
= 0;
25474 wxMirrorDC
*result
= 0 ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char * kwnames
[] = {
25482 (char *) "dc",(char *) "mirror", NULL
25485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25486 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25494 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25495 if (!SWIG_IsOK(ecode2
)) {
25496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25498 arg2
= static_cast< bool >(val2
);
25500 if (!wxPyCheckForApp()) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25513 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25516 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25517 return SWIG_Py_Void();
25520 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 return SWIG_Python_InitShadowInstance(args
);
25524 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
= 0;
25526 wxPrintData
*arg1
= 0 ;
25527 wxPostScriptDC
*result
= 0 ;
25530 PyObject
* obj0
= 0 ;
25531 char * kwnames
[] = {
25532 (char *) "printData", NULL
25535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25537 if (!SWIG_IsOK(res1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25543 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25545 if (!wxPyCheckForApp()) SWIG_fail
;
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25547 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25558 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25559 PyObject
*resultobj
= 0;
25560 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25561 wxPrintData
*result
= 0 ;
25564 PyObject
*swig_obj
[1] ;
25566 if (!args
) SWIG_fail
;
25567 swig_obj
[0] = args
;
25568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25569 if (!SWIG_IsOK(res1
)) {
25570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25572 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25577 result
= (wxPrintData
*) &_result_ref
;
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25589 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
= 0;
25591 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25592 wxPrintData
*arg2
= 0 ;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 char * kwnames
[] = {
25600 (char *) "self",(char *) "data", NULL
25603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25608 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25610 if (!SWIG_IsOK(res2
)) {
25611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25616 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= SWIG_Py_Void();
25630 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
= 0;
25635 PyObject
* obj0
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "ppi", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25642 if (!SWIG_IsOK(ecode1
)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25645 arg1
= static_cast< int >(val1
);
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 wxPostScriptDC::SetResolution(arg1
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= SWIG_Py_Void();
25659 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25660 PyObject
*resultobj
= 0;
25663 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (int)wxPostScriptDC::GetResolution();
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_From_int(static_cast< int >(result
));
25677 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25680 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25681 return SWIG_Py_Void();
25684 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 return SWIG_Python_InitShadowInstance(args
);
25688 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
= 0;
25690 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25691 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25692 wxMetaFile
*result
= 0 ;
25693 bool temp1
= false ;
25694 PyObject
* obj0
= 0 ;
25695 char * kwnames
[] = {
25696 (char *) "filename", NULL
25699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25702 arg1
= wxString_in_helper(obj0
);
25703 if (arg1
== NULL
) SWIG_fail
;
25708 if (!wxPyCheckForApp()) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25729 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25730 PyObject
*resultobj
= 0;
25731 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25734 PyObject
*swig_obj
[1] ;
25736 if (!args
) SWIG_fail
;
25737 swig_obj
[0] = args
;
25738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25742 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= SWIG_Py_Void();
25757 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25758 PyObject
*resultobj
= 0;
25759 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25763 PyObject
*swig_obj
[1] ;
25765 if (!args
) SWIG_fail
;
25766 swig_obj
[0] = args
;
25767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25771 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 result
= (bool)(arg1
)->IsOk();
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25787 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
= 0;
25789 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25790 int arg2
= (int) 0 ;
25791 int arg3
= (int) 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 PyObject
* obj2
= 0 ;
25802 char * kwnames
[] = {
25803 (char *) "self",(char *) "width",(char *) "height", NULL
25806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25811 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25814 if (!SWIG_IsOK(ecode2
)) {
25815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25817 arg2
= static_cast< int >(val2
);
25820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25821 if (!SWIG_IsOK(ecode3
)) {
25822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25824 arg3
= static_cast< int >(val3
);
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25841 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25842 PyObject
*resultobj
= 0;
25843 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25847 PyObject
*swig_obj
[1] ;
25849 if (!args
) SWIG_fail
;
25850 swig_obj
[0] = args
;
25851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25852 if (!SWIG_IsOK(res1
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25855 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 result
= (arg1
)->GetSize();
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25869 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25870 PyObject
*resultobj
= 0;
25871 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25875 PyObject
*swig_obj
[1] ;
25877 if (!args
) SWIG_fail
;
25878 swig_obj
[0] = args
;
25879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25880 if (!SWIG_IsOK(res1
)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25883 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (int)(arg1
)->GetWidth();
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_From_int(static_cast< int >(result
));
25897 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25898 PyObject
*resultobj
= 0;
25899 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25903 PyObject
*swig_obj
[1] ;
25905 if (!args
) SWIG_fail
;
25906 swig_obj
[0] = args
;
25907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25908 if (!SWIG_IsOK(res1
)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25911 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (int)(arg1
)->GetHeight();
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= SWIG_From_int(static_cast< int >(result
));
25925 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25926 PyObject
*resultobj
= 0;
25927 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25928 wxString
*result
= 0 ;
25931 PyObject
*swig_obj
[1] ;
25933 if (!args
) SWIG_fail
;
25934 swig_obj
[0] = args
;
25935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25936 if (!SWIG_IsOK(res1
)) {
25937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25939 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25944 result
= (wxString
*) &_result_ref
;
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25953 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25962 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25965 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25966 return SWIG_Py_Void();
25969 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25970 return SWIG_Python_InitShadowInstance(args
);
25973 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
= 0;
25975 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25976 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25977 int arg2
= (int) 0 ;
25978 int arg3
= (int) 0 ;
25979 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25980 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25981 wxMetaFileDC
*result
= 0 ;
25982 bool temp1
= false ;
25987 bool temp4
= false ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 PyObject
* obj2
= 0 ;
25991 PyObject
* obj3
= 0 ;
25992 char * kwnames
[] = {
25993 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25999 arg1
= wxString_in_helper(obj0
);
26000 if (arg1
== NULL
) SWIG_fail
;
26005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26006 if (!SWIG_IsOK(ecode2
)) {
26007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26009 arg2
= static_cast< int >(val2
);
26012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26013 if (!SWIG_IsOK(ecode3
)) {
26014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26016 arg3
= static_cast< int >(val3
);
26020 arg4
= wxString_in_helper(obj3
);
26021 if (arg4
== NULL
) SWIG_fail
;
26026 if (!wxPyCheckForApp()) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26055 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26056 PyObject
*resultobj
= 0;
26057 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26058 wxMetaFile
*result
= 0 ;
26061 PyObject
*swig_obj
[1] ;
26063 if (!args
) SWIG_fail
;
26064 swig_obj
[0] = args
;
26065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26066 if (!SWIG_IsOK(res1
)) {
26067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26069 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (wxMetaFile
*)(arg1
)->Close();
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26083 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26086 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26087 return SWIG_Py_Void();
26090 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26091 return SWIG_Python_InitShadowInstance(args
);
26094 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
= 0;
26096 wxPrintData
*arg1
= 0 ;
26097 wxPrinterDC
*result
= 0 ;
26100 PyObject
* obj0
= 0 ;
26101 char * kwnames
[] = {
26102 (char *) "printData", NULL
26105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26106 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26107 if (!SWIG_IsOK(res1
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26113 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26115 if (!wxPyCheckForApp()) SWIG_fail
;
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26128 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26132 return SWIG_Py_Void();
26135 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26136 return SWIG_Python_InitShadowInstance(args
);
26139 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
= 0;
26141 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26142 wxGraphicsObject
*result
= 0 ;
26145 PyObject
* obj0
= 0 ;
26146 char * kwnames
[] = {
26147 (char *) "renderer", NULL
26150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26156 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26159 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26169 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26170 PyObject
*resultobj
= 0;
26171 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26174 PyObject
*swig_obj
[1] ;
26176 if (!args
) SWIG_fail
;
26177 swig_obj
[0] = args
;
26178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26182 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_Py_Void();
26195 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26201 PyObject
*swig_obj
[1] ;
26203 if (!args
) SWIG_fail
;
26204 swig_obj
[0] = args
;
26205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26209 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26211 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26223 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26224 PyObject
*resultobj
= 0;
26225 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26226 wxGraphicsRenderer
*result
= 0 ;
26229 PyObject
*swig_obj
[1] ;
26231 if (!args
) SWIG_fail
;
26232 swig_obj
[0] = args
;
26233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26237 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26239 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26249 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26252 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26253 return SWIG_Py_Void();
26256 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26257 return SWIG_Python_InitShadowInstance(args
);
26260 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 PyObject
*resultobj
= 0;
26262 wxGraphicsPen
*result
= 0 ;
26264 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26266 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26276 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26277 PyObject
*resultobj
= 0;
26278 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26281 PyObject
*swig_obj
[1] ;
26283 if (!args
) SWIG_fail
;
26284 swig_obj
[0] = args
;
26285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26289 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_Py_Void();
26302 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26305 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26306 return SWIG_Py_Void();
26309 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26310 return SWIG_Python_InitShadowInstance(args
);
26313 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26314 PyObject
*resultobj
= 0;
26315 wxGraphicsBrush
*result
= 0 ;
26317 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26319 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26329 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26330 PyObject
*resultobj
= 0;
26331 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26334 PyObject
*swig_obj
[1] ;
26336 if (!args
) SWIG_fail
;
26337 swig_obj
[0] = args
;
26338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26339 if (!SWIG_IsOK(res1
)) {
26340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26342 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_Py_Void();
26355 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26358 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26359 return SWIG_Py_Void();
26362 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26363 return SWIG_Python_InitShadowInstance(args
);
26366 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26367 PyObject
*resultobj
= 0;
26368 wxGraphicsFont
*result
= 0 ;
26370 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26372 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26382 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26383 PyObject
*resultobj
= 0;
26384 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26387 PyObject
*swig_obj
[1] ;
26389 if (!args
) SWIG_fail
;
26390 swig_obj
[0] = args
;
26391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26392 if (!SWIG_IsOK(res1
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26395 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_Py_Void();
26408 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26411 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26412 return SWIG_Py_Void();
26415 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26416 return SWIG_Python_InitShadowInstance(args
);
26419 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26420 PyObject
*resultobj
= 0;
26421 wxGraphicsMatrix
*result
= 0 ;
26423 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26425 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26435 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 PyObject
*resultobj
= 0;
26437 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26440 PyObject
*swig_obj
[1] ;
26442 if (!args
) SWIG_fail
;
26443 swig_obj
[0] = args
;
26444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26445 if (!SWIG_IsOK(res1
)) {
26446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26448 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= SWIG_Py_Void();
26461 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
= 0;
26463 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26464 wxGraphicsMatrix
*arg2
= 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 char * kwnames
[] = {
26472 (char *) "self",(char *) "t", NULL
26475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26477 if (!SWIG_IsOK(res1
)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26480 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26482 if (!SWIG_IsOK(res2
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26488 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26490 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 resultobj
= SWIG_Py_Void();
26500 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
= 0;
26502 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26503 wxDouble arg2
= (wxDouble
) 1.0 ;
26504 wxDouble arg3
= (wxDouble
) 0.0 ;
26505 wxDouble arg4
= (wxDouble
) 0.0 ;
26506 wxDouble arg5
= (wxDouble
) 1.0 ;
26507 wxDouble arg6
= (wxDouble
) 0.0 ;
26508 wxDouble arg7
= (wxDouble
) 0.0 ;
26523 PyObject
* obj0
= 0 ;
26524 PyObject
* obj1
= 0 ;
26525 PyObject
* obj2
= 0 ;
26526 PyObject
* obj3
= 0 ;
26527 PyObject
* obj4
= 0 ;
26528 PyObject
* obj5
= 0 ;
26529 PyObject
* obj6
= 0 ;
26530 char * kwnames
[] = {
26531 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26536 if (!SWIG_IsOK(res1
)) {
26537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26539 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26541 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26542 if (!SWIG_IsOK(ecode2
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26545 arg2
= static_cast< wxDouble
>(val2
);
26548 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26549 if (!SWIG_IsOK(ecode3
)) {
26550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26552 arg3
= static_cast< wxDouble
>(val3
);
26555 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26556 if (!SWIG_IsOK(ecode4
)) {
26557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26559 arg4
= static_cast< wxDouble
>(val4
);
26562 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26563 if (!SWIG_IsOK(ecode5
)) {
26564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26566 arg5
= static_cast< wxDouble
>(val5
);
26569 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26570 if (!SWIG_IsOK(ecode6
)) {
26571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26573 arg6
= static_cast< wxDouble
>(val6
);
26576 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26577 if (!SWIG_IsOK(ecode7
)) {
26578 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26580 arg7
= static_cast< wxDouble
>(val7
);
26583 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_Py_Void();
26593 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26594 PyObject
*resultobj
= 0;
26595 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26598 PyObject
*swig_obj
[1] ;
26600 if (!args
) SWIG_fail
;
26601 swig_obj
[0] = args
;
26602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26603 if (!SWIG_IsOK(res1
)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26606 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 resultobj
= SWIG_Py_Void();
26618 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
= 0;
26620 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26621 wxGraphicsMatrix
*arg2
= 0 ;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 char * kwnames
[] = {
26630 (char *) "self",(char *) "t", NULL
26633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26635 if (!SWIG_IsOK(res1
)) {
26636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26638 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26640 if (!SWIG_IsOK(res2
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26646 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26648 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26660 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26661 PyObject
*resultobj
= 0;
26662 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26666 PyObject
*swig_obj
[1] ;
26668 if (!args
) SWIG_fail
;
26669 swig_obj
[0] = args
;
26670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26671 if (!SWIG_IsOK(res1
)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26674 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26676 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
= 0;
26690 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 PyObject
* obj1
= 0 ;
26701 PyObject
* obj2
= 0 ;
26702 char * kwnames
[] = {
26703 (char *) "self",(char *) "dx",(char *) "dy", NULL
26706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26708 if (!SWIG_IsOK(res1
)) {
26709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26711 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26712 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26713 if (!SWIG_IsOK(ecode2
)) {
26714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26716 arg2
= static_cast< wxDouble
>(val2
);
26717 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26718 if (!SWIG_IsOK(ecode3
)) {
26719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26721 arg3
= static_cast< wxDouble
>(val3
);
26723 (arg1
)->Translate(arg2
,arg3
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_Py_Void();
26733 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
= 0;
26735 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 char * kwnames
[] = {
26748 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26753 if (!SWIG_IsOK(res1
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26756 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26757 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26758 if (!SWIG_IsOK(ecode2
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26761 arg2
= static_cast< wxDouble
>(val2
);
26762 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26763 if (!SWIG_IsOK(ecode3
)) {
26764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26766 arg3
= static_cast< wxDouble
>(val3
);
26768 (arg1
)->Scale(arg2
,arg3
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= SWIG_Py_Void();
26778 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
= 0;
26780 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26786 PyObject
* obj0
= 0 ;
26787 PyObject
* obj1
= 0 ;
26788 char * kwnames
[] = {
26789 (char *) "self",(char *) "angle", NULL
26792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26794 if (!SWIG_IsOK(res1
)) {
26795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26797 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26798 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26799 if (!SWIG_IsOK(ecode2
)) {
26800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26802 arg2
= static_cast< wxDouble
>(val2
);
26804 (arg1
)->Rotate(arg2
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26807 resultobj
= SWIG_Py_Void();
26814 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
= 0;
26816 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26817 wxDouble
*arg2
= (wxDouble
*) 0 ;
26818 wxDouble
*arg3
= (wxDouble
*) 0 ;
26825 PyObject
* obj0
= 0 ;
26826 PyObject
* obj1
= 0 ;
26827 PyObject
* obj2
= 0 ;
26828 char * kwnames
[] = {
26829 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26834 if (!SWIG_IsOK(res1
)) {
26835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26837 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26838 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26840 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26841 if (!SWIG_IsOK(ecode
)) {
26842 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26844 temp2
= static_cast< wxDouble
>(val
);
26846 res2
= SWIG_AddTmpMask(ecode
);
26848 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26850 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26851 if (!SWIG_IsOK(ecode
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26854 temp3
= static_cast< wxDouble
>(val
);
26856 res3
= SWIG_AddTmpMask(ecode
);
26859 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_Py_Void();
26863 if (SWIG_IsTmpObj(res2
)) {
26864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26866 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26869 if (SWIG_IsTmpObj(res3
)) {
26870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26872 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26881 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
= 0;
26883 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26884 wxDouble
*arg2
= (wxDouble
*) 0 ;
26885 wxDouble
*arg3
= (wxDouble
*) 0 ;
26892 PyObject
* obj0
= 0 ;
26893 PyObject
* obj1
= 0 ;
26894 PyObject
* obj2
= 0 ;
26895 char * kwnames
[] = {
26896 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26901 if (!SWIG_IsOK(res1
)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26904 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26905 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26907 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26908 if (!SWIG_IsOK(ecode
)) {
26909 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26911 temp2
= static_cast< wxDouble
>(val
);
26913 res2
= SWIG_AddTmpMask(ecode
);
26915 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26917 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26918 if (!SWIG_IsOK(ecode
)) {
26919 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26921 temp3
= static_cast< wxDouble
>(val
);
26923 res3
= SWIG_AddTmpMask(ecode
);
26926 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= SWIG_Py_Void();
26930 if (SWIG_IsTmpObj(res2
)) {
26931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26933 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26936 if (SWIG_IsTmpObj(res3
)) {
26937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26939 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26948 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26949 PyObject
*resultobj
= 0;
26950 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26954 PyObject
*swig_obj
[1] ;
26956 if (!args
) SWIG_fail
;
26957 swig_obj
[0] = args
;
26958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26959 if (!SWIG_IsOK(res1
)) {
26960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26962 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26964 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26974 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26977 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26978 return SWIG_Py_Void();
26981 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26982 return SWIG_Python_InitShadowInstance(args
);
26985 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26986 PyObject
*resultobj
= 0;
26987 wxGraphicsPath
*result
= 0 ;
26989 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26991 if (!wxPyCheckForApp()) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27004 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27005 PyObject
*resultobj
= 0;
27006 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27009 PyObject
*swig_obj
[1] ;
27011 if (!args
) SWIG_fail
;
27012 swig_obj
[0] = args
;
27013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27017 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= SWIG_Py_Void();
27030 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27031 PyObject
*resultobj
= 0;
27032 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27042 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27044 if (!SWIG_IsOK(res1
)) {
27045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27047 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27048 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27049 if (!SWIG_IsOK(ecode2
)) {
27050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27052 arg2
= static_cast< wxDouble
>(val2
);
27053 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27054 if (!SWIG_IsOK(ecode3
)) {
27055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27057 arg3
= static_cast< wxDouble
>(val3
);
27059 (arg1
)->MoveToPoint(arg2
,arg3
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_Py_Void();
27069 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27070 PyObject
*resultobj
= 0;
27071 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27072 wxPoint2D
*arg2
= 0 ;
27077 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27079 if (!SWIG_IsOK(res1
)) {
27080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27082 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27085 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27088 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= SWIG_Py_Void();
27098 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27102 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27105 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27108 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27112 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27117 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27118 PyObject
*resultobj
= 0;
27119 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27129 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27134 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27135 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27136 if (!SWIG_IsOK(ecode2
)) {
27137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27139 arg2
= static_cast< wxDouble
>(val2
);
27140 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27141 if (!SWIG_IsOK(ecode3
)) {
27142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27144 arg3
= static_cast< wxDouble
>(val3
);
27146 (arg1
)->AddLineToPoint(arg2
,arg3
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= SWIG_Py_Void();
27156 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27157 PyObject
*resultobj
= 0;
27158 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27159 wxPoint2D
*arg2
= 0 ;
27164 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27166 if (!SWIG_IsOK(res1
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27169 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27172 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27175 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= SWIG_Py_Void();
27185 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27189 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27192 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27195 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27199 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27204 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27205 PyObject
*resultobj
= 0;
27206 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27228 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27230 if (!SWIG_IsOK(res1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27233 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27234 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27235 if (!SWIG_IsOK(ecode2
)) {
27236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27238 arg2
= static_cast< wxDouble
>(val2
);
27239 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27240 if (!SWIG_IsOK(ecode3
)) {
27241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27243 arg3
= static_cast< wxDouble
>(val3
);
27244 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27245 if (!SWIG_IsOK(ecode4
)) {
27246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27248 arg4
= static_cast< wxDouble
>(val4
);
27249 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27250 if (!SWIG_IsOK(ecode5
)) {
27251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27253 arg5
= static_cast< wxDouble
>(val5
);
27254 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27255 if (!SWIG_IsOK(ecode6
)) {
27256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27258 arg6
= static_cast< wxDouble
>(val6
);
27259 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27260 if (!SWIG_IsOK(ecode7
)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27263 arg7
= static_cast< wxDouble
>(val7
);
27265 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27276 PyObject
*resultobj
= 0;
27277 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27278 wxPoint2D
*arg2
= 0 ;
27279 wxPoint2D
*arg3
= 0 ;
27280 wxPoint2D
*arg4
= 0 ;
27287 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27289 if (!SWIG_IsOK(res1
)) {
27290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27292 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27295 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27299 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27303 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27306 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_Py_Void();
27316 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27320 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27323 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27326 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27330 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27335 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
= 0;
27337 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27338 wxGraphicsPath
*arg2
= 0 ;
27343 PyObject
* obj0
= 0 ;
27344 PyObject
* obj1
= 0 ;
27345 char * kwnames
[] = {
27346 (char *) "self",(char *) "path", NULL
27349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27351 if (!SWIG_IsOK(res1
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27354 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27356 if (!SWIG_IsOK(res2
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27362 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27364 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_Py_Void();
27374 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27375 PyObject
*resultobj
= 0;
27376 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27379 PyObject
*swig_obj
[1] ;
27381 if (!args
) SWIG_fail
;
27382 swig_obj
[0] = args
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27387 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27389 (arg1
)->CloseSubpath();
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_Py_Void();
27399 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27400 PyObject
*resultobj
= 0;
27401 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27405 PyObject
*swig_obj
[1] ;
27407 if (!args
) SWIG_fail
;
27408 swig_obj
[0] = args
;
27409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27410 if (!SWIG_IsOK(res1
)) {
27411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27413 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27415 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27425 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27426 PyObject
*resultobj
= 0;
27427 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27449 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27451 if (!SWIG_IsOK(res1
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27454 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27455 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27456 if (!SWIG_IsOK(ecode2
)) {
27457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27459 arg2
= static_cast< wxDouble
>(val2
);
27460 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27461 if (!SWIG_IsOK(ecode3
)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27464 arg3
= static_cast< wxDouble
>(val3
);
27465 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27466 if (!SWIG_IsOK(ecode4
)) {
27467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27469 arg4
= static_cast< wxDouble
>(val4
);
27470 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27471 if (!SWIG_IsOK(ecode5
)) {
27472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27474 arg5
= static_cast< wxDouble
>(val5
);
27475 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27476 if (!SWIG_IsOK(ecode6
)) {
27477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27479 arg6
= static_cast< wxDouble
>(val6
);
27480 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27481 if (!SWIG_IsOK(ecode7
)) {
27482 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27484 arg7
= static_cast< bool >(val7
);
27486 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= SWIG_Py_Void();
27496 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27497 PyObject
*resultobj
= 0;
27498 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27499 wxPoint2D
*arg2
= 0 ;
27516 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27518 if (!SWIG_IsOK(res1
)) {
27519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27521 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27524 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27526 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27527 if (!SWIG_IsOK(ecode3
)) {
27528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27530 arg3
= static_cast< wxDouble
>(val3
);
27531 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27532 if (!SWIG_IsOK(ecode4
)) {
27533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27535 arg4
= static_cast< wxDouble
>(val4
);
27536 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27537 if (!SWIG_IsOK(ecode5
)) {
27538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27540 arg5
= static_cast< wxDouble
>(val5
);
27541 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27542 if (!SWIG_IsOK(ecode6
)) {
27543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27545 arg6
= static_cast< bool >(val6
);
27547 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= SWIG_Py_Void();
27557 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27561 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27564 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27567 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27571 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27576 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
= 0;
27578 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 PyObject
* obj2
= 0 ;
27596 PyObject
* obj3
= 0 ;
27597 PyObject
* obj4
= 0 ;
27598 char * kwnames
[] = {
27599 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27604 if (!SWIG_IsOK(res1
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27607 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27608 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27609 if (!SWIG_IsOK(ecode2
)) {
27610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27612 arg2
= static_cast< wxDouble
>(val2
);
27613 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27614 if (!SWIG_IsOK(ecode3
)) {
27615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27617 arg3
= static_cast< wxDouble
>(val3
);
27618 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27619 if (!SWIG_IsOK(ecode4
)) {
27620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27622 arg4
= static_cast< wxDouble
>(val4
);
27623 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27624 if (!SWIG_IsOK(ecode5
)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27627 arg5
= static_cast< wxDouble
>(val5
);
27629 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 resultobj
= SWIG_Py_Void();
27639 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
= 0;
27641 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 PyObject
* obj3
= 0 ;
27660 PyObject
* obj4
= 0 ;
27661 char * kwnames
[] = {
27662 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27670 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27671 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27672 if (!SWIG_IsOK(ecode2
)) {
27673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27675 arg2
= static_cast< wxDouble
>(val2
);
27676 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27677 if (!SWIG_IsOK(ecode3
)) {
27678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27680 arg3
= static_cast< wxDouble
>(val3
);
27681 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27682 if (!SWIG_IsOK(ecode4
)) {
27683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27685 arg4
= static_cast< wxDouble
>(val4
);
27686 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27687 if (!SWIG_IsOK(ecode5
)) {
27688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27690 arg5
= static_cast< wxDouble
>(val5
);
27692 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
= 0;
27704 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27716 PyObject
* obj0
= 0 ;
27717 PyObject
* obj1
= 0 ;
27718 PyObject
* obj2
= 0 ;
27719 PyObject
* obj3
= 0 ;
27720 char * kwnames
[] = {
27721 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27726 if (!SWIG_IsOK(res1
)) {
27727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27729 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27730 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27731 if (!SWIG_IsOK(ecode2
)) {
27732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27734 arg2
= static_cast< wxDouble
>(val2
);
27735 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27736 if (!SWIG_IsOK(ecode3
)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27739 arg3
= static_cast< wxDouble
>(val3
);
27740 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27741 if (!SWIG_IsOK(ecode4
)) {
27742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27744 arg4
= static_cast< wxDouble
>(val4
);
27746 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_Py_Void();
27756 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
= 0;
27758 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 PyObject
* obj2
= 0 ;
27779 PyObject
* obj3
= 0 ;
27780 PyObject
* obj4
= 0 ;
27781 PyObject
* obj5
= 0 ;
27782 char * kwnames
[] = {
27783 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27788 if (!SWIG_IsOK(res1
)) {
27789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27791 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27792 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27793 if (!SWIG_IsOK(ecode2
)) {
27794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27796 arg2
= static_cast< wxDouble
>(val2
);
27797 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27798 if (!SWIG_IsOK(ecode3
)) {
27799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27801 arg3
= static_cast< wxDouble
>(val3
);
27802 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27803 if (!SWIG_IsOK(ecode4
)) {
27804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27806 arg4
= static_cast< wxDouble
>(val4
);
27807 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27808 if (!SWIG_IsOK(ecode5
)) {
27809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27811 arg5
= static_cast< wxDouble
>(val5
);
27812 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27813 if (!SWIG_IsOK(ecode6
)) {
27814 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27816 arg6
= static_cast< wxDouble
>(val6
);
27818 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_Py_Void();
27828 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27829 PyObject
*resultobj
= 0;
27830 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 PyObject
* obj2
= 0 ;
27848 PyObject
* obj3
= 0 ;
27849 PyObject
* obj4
= 0 ;
27850 char * kwnames
[] = {
27851 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27859 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27860 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27861 if (!SWIG_IsOK(ecode2
)) {
27862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27864 arg2
= static_cast< wxDouble
>(val2
);
27865 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27866 if (!SWIG_IsOK(ecode3
)) {
27867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27869 arg3
= static_cast< wxDouble
>(val3
);
27870 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27871 if (!SWIG_IsOK(ecode4
)) {
27872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27874 arg4
= static_cast< wxDouble
>(val4
);
27875 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27876 if (!SWIG_IsOK(ecode5
)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27879 arg5
= static_cast< wxDouble
>(val5
);
27881 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= SWIG_Py_Void();
27891 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27892 PyObject
*resultobj
= 0;
27893 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 PyObject
* obj1
= 0 ;
27913 PyObject
* obj2
= 0 ;
27914 PyObject
* obj3
= 0 ;
27915 PyObject
* obj4
= 0 ;
27916 PyObject
* obj5
= 0 ;
27917 char * kwnames
[] = {
27918 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27926 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27927 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27928 if (!SWIG_IsOK(ecode2
)) {
27929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27931 arg2
= static_cast< wxDouble
>(val2
);
27932 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27933 if (!SWIG_IsOK(ecode3
)) {
27934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27936 arg3
= static_cast< wxDouble
>(val3
);
27937 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27938 if (!SWIG_IsOK(ecode4
)) {
27939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27941 arg4
= static_cast< wxDouble
>(val4
);
27942 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27943 if (!SWIG_IsOK(ecode5
)) {
27944 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27946 arg5
= static_cast< wxDouble
>(val5
);
27947 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27948 if (!SWIG_IsOK(ecode6
)) {
27949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27951 arg6
= static_cast< wxDouble
>(val6
);
27953 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= SWIG_Py_Void();
27963 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27964 PyObject
*resultobj
= 0;
27965 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27969 PyObject
*swig_obj
[1] ;
27971 if (!args
) SWIG_fail
;
27972 swig_obj
[0] = args
;
27973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27977 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27979 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27980 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27989 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27990 PyObject
*resultobj
= 0;
27991 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27992 void *arg2
= (void *) 0 ;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 char * kwnames
[] = {
27999 (char *) "self",(char *) "p", NULL
28002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28004 if (!SWIG_IsOK(res1
)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28007 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28008 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28009 if (!SWIG_IsOK(res2
)) {
28010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28013 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_Py_Void();
28023 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
= 0;
28025 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28026 wxGraphicsMatrix
*arg2
= 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 char * kwnames
[] = {
28034 (char *) "self",(char *) "matrix", NULL
28037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28039 if (!SWIG_IsOK(res1
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28042 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28044 if (!SWIG_IsOK(res2
)) {
28045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28050 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28052 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 resultobj
= SWIG_Py_Void();
28062 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28063 PyObject
*resultobj
= 0;
28064 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28065 wxRect2DDouble result
;
28068 PyObject
*swig_obj
[1] ;
28070 if (!args
) SWIG_fail
;
28071 swig_obj
[0] = args
;
28072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28073 if (!SWIG_IsOK(res1
)) {
28074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28076 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28078 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28088 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28089 PyObject
*resultobj
= 0;
28090 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28093 int arg4
= (int) wxODDEVEN_RULE
;
28104 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28106 if (!SWIG_IsOK(res1
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28109 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28110 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28111 if (!SWIG_IsOK(ecode2
)) {
28112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28114 arg2
= static_cast< wxDouble
>(val2
);
28115 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28116 if (!SWIG_IsOK(ecode3
)) {
28117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28119 arg3
= static_cast< wxDouble
>(val3
);
28121 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28122 if (!SWIG_IsOK(ecode4
)) {
28123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28125 arg4
= static_cast< int >(val4
);
28128 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28140 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28141 PyObject
*resultobj
= 0;
28142 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28143 wxPoint2DDouble
*arg2
= 0 ;
28144 int arg3
= (int) wxODDEVEN_RULE
;
28153 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28155 if (!SWIG_IsOK(res1
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28158 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28159 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28160 if (!SWIG_IsOK(res2
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28166 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28168 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28169 if (!SWIG_IsOK(ecode3
)) {
28170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28172 arg3
= static_cast< int >(val3
);
28175 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28187 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28191 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28193 if ((argc
>= 2) && (argc
<= 3)) {
28196 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28197 _v
= SWIG_CheckState(res
);
28199 if (!_v
) goto check_1
;
28203 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28204 _v
= SWIG_CheckState(res
);
28207 if (!_v
) goto check_1
;
28209 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28213 if ((argc
>= 3) && (argc
<= 4)) {
28214 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28218 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28223 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28226 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28227 return SWIG_Py_Void();
28230 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28231 return SWIG_Python_InitShadowInstance(args
);
28234 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28235 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28240 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28241 PyObject
*pyobj
= 0;
28243 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28248 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28249 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28254 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28255 PyObject
*pyobj
= 0;
28257 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28262 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28263 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28268 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28269 PyObject
*pyobj
= 0;
28271 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28276 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28277 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28282 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28283 PyObject
*pyobj
= 0;
28285 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28290 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28291 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28296 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28297 PyObject
*pyobj
= 0;
28299 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28304 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28305 PyObject
*resultobj
= 0;
28306 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28309 PyObject
*swig_obj
[1] ;
28311 if (!args
) SWIG_fail
;
28312 swig_obj
[0] = args
;
28313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28314 if (!SWIG_IsOK(res1
)) {
28315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28317 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_Py_Void();
28330 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28331 PyObject
*resultobj
= 0;
28332 wxWindowDC
*arg1
= 0 ;
28333 wxGraphicsContext
*result
= 0 ;
28337 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28339 if (!SWIG_IsOK(res1
)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28345 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28347 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28357 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28358 PyObject
*resultobj
= 0;
28359 wxWindow
*arg1
= (wxWindow
*) 0 ;
28360 wxGraphicsContext
*result
= 0 ;
28364 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28366 if (!SWIG_IsOK(res1
)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28371 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28381 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28385 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28390 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28391 _v
= SWIG_CheckState(res
);
28393 if (!_v
) goto check_1
;
28394 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28399 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28403 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28408 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28409 PyObject
*resultobj
= 0;
28410 wxGraphicsContext
*result
= 0 ;
28412 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28414 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28424 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
= 0;
28426 void *arg1
= (void *) 0 ;
28427 wxGraphicsContext
*result
= 0 ;
28429 PyObject
* obj0
= 0 ;
28430 char * kwnames
[] = {
28431 (char *) "context", NULL
28434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28435 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28440 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28450 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
= 0;
28452 void *arg1
= (void *) 0 ;
28453 wxGraphicsContext
*result
= 0 ;
28455 PyObject
* obj0
= 0 ;
28456 char * kwnames
[] = {
28457 (char *) "window", NULL
28460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28461 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28462 if (!SWIG_IsOK(res1
)) {
28463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28466 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28476 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28477 PyObject
*resultobj
= 0;
28478 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28479 wxGraphicsPath result
;
28482 PyObject
*swig_obj
[1] ;
28484 if (!args
) SWIG_fail
;
28485 swig_obj
[0] = args
;
28486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28487 if (!SWIG_IsOK(res1
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28490 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28492 result
= (arg1
)->CreatePath();
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28502 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
= 0;
28504 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28506 wxGraphicsPen result
;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 char * kwnames
[] = {
28514 (char *) "self",(char *) "pen", NULL
28517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28519 if (!SWIG_IsOK(res1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28522 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28524 if (!SWIG_IsOK(res2
)) {
28525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28530 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28532 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28542 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
= 0;
28544 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28545 wxBrush
*arg2
= 0 ;
28546 wxGraphicsBrush result
;
28551 PyObject
* obj0
= 0 ;
28552 PyObject
* obj1
= 0 ;
28553 char * kwnames
[] = {
28554 (char *) "self",(char *) "brush", NULL
28557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28559 if (!SWIG_IsOK(res1
)) {
28560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28562 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28564 if (!SWIG_IsOK(res2
)) {
28565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28570 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28572 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28582 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
= 0;
28584 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28589 wxColour
*arg6
= 0 ;
28590 wxColour
*arg7
= 0 ;
28591 wxGraphicsBrush result
;
28604 PyObject
* obj0
= 0 ;
28605 PyObject
* obj1
= 0 ;
28606 PyObject
* obj2
= 0 ;
28607 PyObject
* obj3
= 0 ;
28608 PyObject
* obj4
= 0 ;
28609 PyObject
* obj5
= 0 ;
28610 PyObject
* obj6
= 0 ;
28611 char * kwnames
[] = {
28612 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28617 if (!SWIG_IsOK(res1
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28620 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28621 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28622 if (!SWIG_IsOK(ecode2
)) {
28623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28625 arg2
= static_cast< wxDouble
>(val2
);
28626 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28627 if (!SWIG_IsOK(ecode3
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28630 arg3
= static_cast< wxDouble
>(val3
);
28631 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28632 if (!SWIG_IsOK(ecode4
)) {
28633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28635 arg4
= static_cast< wxDouble
>(val4
);
28636 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28637 if (!SWIG_IsOK(ecode5
)) {
28638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28640 arg5
= static_cast< wxDouble
>(val5
);
28643 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28647 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28650 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28660 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
= 0;
28662 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28668 wxColour
*arg7
= 0 ;
28669 wxColour
*arg8
= 0 ;
28670 wxGraphicsBrush result
;
28685 PyObject
* obj0
= 0 ;
28686 PyObject
* obj1
= 0 ;
28687 PyObject
* obj2
= 0 ;
28688 PyObject
* obj3
= 0 ;
28689 PyObject
* obj4
= 0 ;
28690 PyObject
* obj5
= 0 ;
28691 PyObject
* obj6
= 0 ;
28692 PyObject
* obj7
= 0 ;
28693 char * kwnames
[] = {
28694 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28699 if (!SWIG_IsOK(res1
)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28702 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28703 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28704 if (!SWIG_IsOK(ecode2
)) {
28705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28707 arg2
= static_cast< wxDouble
>(val2
);
28708 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28709 if (!SWIG_IsOK(ecode3
)) {
28710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28712 arg3
= static_cast< wxDouble
>(val3
);
28713 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28714 if (!SWIG_IsOK(ecode4
)) {
28715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28717 arg4
= static_cast< wxDouble
>(val4
);
28718 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28719 if (!SWIG_IsOK(ecode5
)) {
28720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28722 arg5
= static_cast< wxDouble
>(val5
);
28723 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28724 if (!SWIG_IsOK(ecode6
)) {
28725 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28727 arg6
= static_cast< wxDouble
>(val6
);
28730 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28734 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28737 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28747 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28748 PyObject
*resultobj
= 0;
28749 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28751 wxColour
const &arg3_defvalue
= *wxBLACK
;
28752 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28753 wxGraphicsFont result
;
28759 PyObject
* obj0
= 0 ;
28760 PyObject
* obj1
= 0 ;
28761 PyObject
* obj2
= 0 ;
28762 char * kwnames
[] = {
28763 (char *) "self",(char *) "font",(char *) "col", NULL
28766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28768 if (!SWIG_IsOK(res1
)) {
28769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28771 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28773 if (!SWIG_IsOK(res2
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28779 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28783 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28787 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28797 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
= 0;
28799 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28800 wxDouble arg2
= (wxDouble
) 1.0 ;
28801 wxDouble arg3
= (wxDouble
) 0.0 ;
28802 wxDouble arg4
= (wxDouble
) 0.0 ;
28803 wxDouble arg5
= (wxDouble
) 1.0 ;
28804 wxDouble arg6
= (wxDouble
) 0.0 ;
28805 wxDouble arg7
= (wxDouble
) 0.0 ;
28806 wxGraphicsMatrix result
;
28821 PyObject
* obj0
= 0 ;
28822 PyObject
* obj1
= 0 ;
28823 PyObject
* obj2
= 0 ;
28824 PyObject
* obj3
= 0 ;
28825 PyObject
* obj4
= 0 ;
28826 PyObject
* obj5
= 0 ;
28827 PyObject
* obj6
= 0 ;
28828 char * kwnames
[] = {
28829 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28834 if (!SWIG_IsOK(res1
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28837 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28839 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28840 if (!SWIG_IsOK(ecode2
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28843 arg2
= static_cast< wxDouble
>(val2
);
28846 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28847 if (!SWIG_IsOK(ecode3
)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28850 arg3
= static_cast< wxDouble
>(val3
);
28853 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28854 if (!SWIG_IsOK(ecode4
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28857 arg4
= static_cast< wxDouble
>(val4
);
28860 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28861 if (!SWIG_IsOK(ecode5
)) {
28862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28864 arg5
= static_cast< wxDouble
>(val5
);
28867 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28868 if (!SWIG_IsOK(ecode6
)) {
28869 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28871 arg6
= static_cast< wxDouble
>(val6
);
28874 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28875 if (!SWIG_IsOK(ecode7
)) {
28876 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28878 arg7
= static_cast< wxDouble
>(val7
);
28881 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28891 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28892 PyObject
*resultobj
= 0;
28893 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28896 PyObject
*swig_obj
[1] ;
28898 if (!args
) SWIG_fail
;
28899 swig_obj
[0] = args
;
28900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28904 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28906 (arg1
)->PushState();
28907 if (PyErr_Occurred()) SWIG_fail
;
28909 resultobj
= SWIG_Py_Void();
28916 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28917 PyObject
*resultobj
= 0;
28918 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28921 PyObject
*swig_obj
[1] ;
28923 if (!args
) SWIG_fail
;
28924 swig_obj
[0] = args
;
28925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28926 if (!SWIG_IsOK(res1
)) {
28927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28929 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28931 (arg1
)->PopState();
28932 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= SWIG_Py_Void();
28941 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
= 0;
28943 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28944 wxRegion
*arg2
= 0 ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 char * kwnames
[] = {
28952 (char *) "self",(char *) "region", NULL
28955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28960 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28962 if (!SWIG_IsOK(res2
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28968 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28970 (arg1
)->Clip((wxRegion
const &)*arg2
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= SWIG_Py_Void();
28980 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
= 0;
28982 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 PyObject
* obj3
= 0 ;
29001 PyObject
* obj4
= 0 ;
29002 char * kwnames
[] = {
29003 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29008 if (!SWIG_IsOK(res1
)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29011 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29012 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29013 if (!SWIG_IsOK(ecode2
)) {
29014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29016 arg2
= static_cast< wxDouble
>(val2
);
29017 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29018 if (!SWIG_IsOK(ecode3
)) {
29019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29021 arg3
= static_cast< wxDouble
>(val3
);
29022 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29023 if (!SWIG_IsOK(ecode4
)) {
29024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29026 arg4
= static_cast< wxDouble
>(val4
);
29027 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29028 if (!SWIG_IsOK(ecode5
)) {
29029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29031 arg5
= static_cast< wxDouble
>(val5
);
29033 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 resultobj
= SWIG_Py_Void();
29043 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29044 PyObject
*resultobj
= 0;
29045 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29048 PyObject
*swig_obj
[1] ;
29050 if (!args
) SWIG_fail
;
29051 swig_obj
[0] = args
;
29052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29053 if (!SWIG_IsOK(res1
)) {
29054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29056 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29058 (arg1
)->ResetClip();
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= SWIG_Py_Void();
29068 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29069 PyObject
*resultobj
= 0;
29070 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29074 PyObject
*swig_obj
[1] ;
29076 if (!args
) SWIG_fail
;
29077 swig_obj
[0] = args
;
29078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29079 if (!SWIG_IsOK(res1
)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29082 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29084 result
= (void *)(arg1
)->GetNativeContext();
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29094 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
= 0;
29096 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 PyObject
* obj2
= 0 ;
29108 char * kwnames
[] = {
29109 (char *) "self",(char *) "dx",(char *) "dy", NULL
29112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29114 if (!SWIG_IsOK(res1
)) {
29115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29117 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29118 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29119 if (!SWIG_IsOK(ecode2
)) {
29120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29122 arg2
= static_cast< wxDouble
>(val2
);
29123 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29124 if (!SWIG_IsOK(ecode3
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29127 arg3
= static_cast< wxDouble
>(val3
);
29129 (arg1
)->Translate(arg2
,arg3
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29132 resultobj
= SWIG_Py_Void();
29139 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29140 PyObject
*resultobj
= 0;
29141 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 PyObject
* obj2
= 0 ;
29153 char * kwnames
[] = {
29154 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29159 if (!SWIG_IsOK(res1
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29162 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29163 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29164 if (!SWIG_IsOK(ecode2
)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29167 arg2
= static_cast< wxDouble
>(val2
);
29168 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29169 if (!SWIG_IsOK(ecode3
)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29172 arg3
= static_cast< wxDouble
>(val3
);
29174 (arg1
)->Scale(arg2
,arg3
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= SWIG_Py_Void();
29184 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29185 PyObject
*resultobj
= 0;
29186 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29192 PyObject
* obj0
= 0 ;
29193 PyObject
* obj1
= 0 ;
29194 char * kwnames
[] = {
29195 (char *) "self",(char *) "angle", NULL
29198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29200 if (!SWIG_IsOK(res1
)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29203 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29204 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29205 if (!SWIG_IsOK(ecode2
)) {
29206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29208 arg2
= static_cast< wxDouble
>(val2
);
29210 (arg1
)->Rotate(arg2
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 resultobj
= SWIG_Py_Void();
29220 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
= 0;
29222 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29223 wxGraphicsMatrix
*arg2
= 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 char * kwnames
[] = {
29231 (char *) "self",(char *) "matrix", NULL
29234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29236 if (!SWIG_IsOK(res1
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29239 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29241 if (!SWIG_IsOK(res2
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29247 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29249 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= SWIG_Py_Void();
29259 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29260 PyObject
*resultobj
= 0;
29261 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29262 wxGraphicsMatrix
*arg2
= 0 ;
29267 PyObject
* obj0
= 0 ;
29268 PyObject
* obj1
= 0 ;
29269 char * kwnames
[] = {
29270 (char *) "self",(char *) "matrix", NULL
29273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29275 if (!SWIG_IsOK(res1
)) {
29276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29278 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29280 if (!SWIG_IsOK(res2
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29286 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29288 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= SWIG_Py_Void();
29298 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29299 PyObject
*resultobj
= 0;
29300 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29301 wxGraphicsMatrix result
;
29304 PyObject
*swig_obj
[1] ;
29306 if (!args
) SWIG_fail
;
29307 swig_obj
[0] = args
;
29308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29309 if (!SWIG_IsOK(res1
)) {
29310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29312 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29314 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29324 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29325 PyObject
*resultobj
= 0;
29326 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29327 wxGraphicsPen
*arg2
= 0 ;
29333 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29335 if (!SWIG_IsOK(res1
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29338 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29339 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29340 if (!SWIG_IsOK(res2
)) {
29341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29346 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29348 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29351 resultobj
= SWIG_Py_Void();
29358 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29359 PyObject
*resultobj
= 0;
29360 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29367 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29369 if (!SWIG_IsOK(res1
)) {
29370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29372 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29373 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29374 if (!SWIG_IsOK(res2
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29380 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29382 (arg1
)->SetPen((wxPen
const &)*arg2
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= SWIG_Py_Void();
29392 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29396 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29401 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29402 _v
= SWIG_CheckState(res
);
29404 if (!_v
) goto check_1
;
29405 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29410 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29414 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29419 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29420 PyObject
*resultobj
= 0;
29421 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29422 wxGraphicsBrush
*arg2
= 0 ;
29428 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29430 if (!SWIG_IsOK(res1
)) {
29431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29433 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29434 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29435 if (!SWIG_IsOK(res2
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29441 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29443 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_Py_Void();
29453 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29454 PyObject
*resultobj
= 0;
29455 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29456 wxBrush
*arg2
= 0 ;
29462 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29464 if (!SWIG_IsOK(res1
)) {
29465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29467 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29468 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29469 if (!SWIG_IsOK(res2
)) {
29470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29475 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29477 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= SWIG_Py_Void();
29487 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29491 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29496 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29497 _v
= SWIG_CheckState(res
);
29499 if (!_v
) goto check_1
;
29500 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29505 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29509 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29514 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29515 PyObject
*resultobj
= 0;
29516 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29517 wxGraphicsFont
*arg2
= 0 ;
29523 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29528 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29529 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29530 if (!SWIG_IsOK(res2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29536 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29538 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_Py_Void();
29548 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29549 PyObject
*resultobj
= 0;
29550 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29552 wxColour
const &arg3_defvalue
= *wxBLACK
;
29553 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29560 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29565 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29566 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29567 if (!SWIG_IsOK(res2
)) {
29568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29573 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29577 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29581 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29584 resultobj
= SWIG_Py_Void();
29591 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29595 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29600 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29601 _v
= SWIG_CheckState(res
);
29603 if (!_v
) goto check_1
;
29604 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29608 if ((argc
>= 2) && (argc
<= 3)) {
29609 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29613 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29618 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
= 0;
29620 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29621 wxGraphicsPath
*arg2
= 0 ;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 char * kwnames
[] = {
29629 (char *) "self",(char *) "path", NULL
29632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29634 if (!SWIG_IsOK(res1
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29637 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29639 if (!SWIG_IsOK(res2
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29645 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29647 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 resultobj
= SWIG_Py_Void();
29657 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
= 0;
29659 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29660 wxGraphicsPath
*arg2
= 0 ;
29661 int arg3
= (int) wxODDEVEN_RULE
;
29668 PyObject
* obj0
= 0 ;
29669 PyObject
* obj1
= 0 ;
29670 PyObject
* obj2
= 0 ;
29671 char * kwnames
[] = {
29672 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29677 if (!SWIG_IsOK(res1
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29680 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29682 if (!SWIG_IsOK(res2
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29688 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29691 if (!SWIG_IsOK(ecode3
)) {
29692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29694 arg3
= static_cast< int >(val3
);
29697 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29700 resultobj
= SWIG_Py_Void();
29707 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29708 PyObject
*resultobj
= 0;
29709 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29710 wxGraphicsPath
*arg2
= 0 ;
29711 int arg3
= (int) wxODDEVEN_RULE
;
29718 PyObject
* obj0
= 0 ;
29719 PyObject
* obj1
= 0 ;
29720 PyObject
* obj2
= 0 ;
29721 char * kwnames
[] = {
29722 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29730 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29732 if (!SWIG_IsOK(res2
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29738 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29741 if (!SWIG_IsOK(ecode3
)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29744 arg3
= static_cast< int >(val3
);
29747 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29750 resultobj
= SWIG_Py_Void();
29757 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29758 PyObject
*resultobj
= 0;
29759 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29760 wxString
*arg2
= 0 ;
29763 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29764 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29767 bool temp2
= false ;
29774 PyObject
* obj0
= 0 ;
29775 PyObject
* obj1
= 0 ;
29776 PyObject
* obj2
= 0 ;
29777 PyObject
* obj3
= 0 ;
29778 PyObject
* obj4
= 0 ;
29779 char * kwnames
[] = {
29780 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29788 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29790 arg2
= wxString_in_helper(obj1
);
29791 if (arg2
== NULL
) SWIG_fail
;
29794 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29795 if (!SWIG_IsOK(ecode3
)) {
29796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29798 arg3
= static_cast< wxDouble
>(val3
);
29799 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29800 if (!SWIG_IsOK(ecode4
)) {
29801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29803 arg4
= static_cast< wxDouble
>(val4
);
29805 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29806 if (!SWIG_IsOK(res5
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29812 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29815 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= SWIG_Py_Void();
29833 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
= 0;
29835 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29836 wxString
*arg2
= 0 ;
29840 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29841 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29844 bool temp2
= false ;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 PyObject
* obj2
= 0 ;
29856 PyObject
* obj3
= 0 ;
29857 PyObject
* obj4
= 0 ;
29858 PyObject
* obj5
= 0 ;
29859 char * kwnames
[] = {
29860 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29865 if (!SWIG_IsOK(res1
)) {
29866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29868 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29870 arg2
= wxString_in_helper(obj1
);
29871 if (arg2
== NULL
) SWIG_fail
;
29874 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29875 if (!SWIG_IsOK(ecode3
)) {
29876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29878 arg3
= static_cast< wxDouble
>(val3
);
29879 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29880 if (!SWIG_IsOK(ecode4
)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29883 arg4
= static_cast< wxDouble
>(val4
);
29884 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29885 if (!SWIG_IsOK(ecode5
)) {
29886 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29888 arg5
= static_cast< wxDouble
>(val5
);
29890 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29891 if (!SWIG_IsOK(res6
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29897 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29900 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= SWIG_Py_Void();
29918 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
= 0;
29920 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29921 wxString
*arg2
= 0 ;
29922 wxDouble
*arg3
= (wxDouble
*) 0 ;
29923 wxDouble
*arg4
= (wxDouble
*) 0 ;
29924 wxDouble
*arg5
= (wxDouble
*) 0 ;
29925 wxDouble
*arg6
= (wxDouble
*) 0 ;
29928 bool temp2
= false ;
29930 int res3
= SWIG_TMPOBJ
;
29932 int res4
= SWIG_TMPOBJ
;
29934 int res5
= SWIG_TMPOBJ
;
29936 int res6
= SWIG_TMPOBJ
;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 char * kwnames
[] = {
29940 (char *) "self",(char *) "text", NULL
29947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29949 if (!SWIG_IsOK(res1
)) {
29950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29952 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29954 arg2
= wxString_in_helper(obj1
);
29955 if (arg2
== NULL
) SWIG_fail
;
29959 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29962 resultobj
= SWIG_Py_Void();
29963 if (SWIG_IsTmpObj(res3
)) {
29964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29966 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29969 if (SWIG_IsTmpObj(res4
)) {
29970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29972 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29975 if (SWIG_IsTmpObj(res5
)) {
29976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29978 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29981 if (SWIG_IsTmpObj(res6
)) {
29982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29984 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30001 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
= 0;
30003 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30004 wxString
*arg2
= 0 ;
30005 PyObject
*result
= 0 ;
30008 bool temp2
= false ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 char * kwnames
[] = {
30012 (char *) "self",(char *) "text", NULL
30015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30020 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30022 arg2
= wxString_in_helper(obj1
);
30023 if (arg2
== NULL
) SWIG_fail
;
30027 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= result
;
30045 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
= 0;
30047 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30048 wxString
*arg2
= 0 ;
30049 wxArrayDouble result
;
30052 bool temp2
= false ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 char * kwnames
[] = {
30056 (char *) "self",(char *) "text", NULL
30059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30061 if (!SWIG_IsOK(res1
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30064 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30066 arg2
= wxString_in_helper(obj1
);
30067 if (arg2
== NULL
) SWIG_fail
;
30071 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= wxArrayDouble2PyList_helper(result
);
30091 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
= 0;
30093 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30094 wxBitmap
*arg2
= 0 ;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 PyObject
* obj2
= 0 ;
30114 PyObject
* obj3
= 0 ;
30115 PyObject
* obj4
= 0 ;
30116 PyObject
* obj5
= 0 ;
30117 char * kwnames
[] = {
30118 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30123 if (!SWIG_IsOK(res1
)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30126 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30128 if (!SWIG_IsOK(res2
)) {
30129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30134 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30135 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30136 if (!SWIG_IsOK(ecode3
)) {
30137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30139 arg3
= static_cast< wxDouble
>(val3
);
30140 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30141 if (!SWIG_IsOK(ecode4
)) {
30142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30144 arg4
= static_cast< wxDouble
>(val4
);
30145 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30146 if (!SWIG_IsOK(ecode5
)) {
30147 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30149 arg5
= static_cast< wxDouble
>(val5
);
30150 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30151 if (!SWIG_IsOK(ecode6
)) {
30152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30154 arg6
= static_cast< wxDouble
>(val6
);
30156 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= SWIG_Py_Void();
30166 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
= 0;
30168 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 PyObject
* obj2
= 0 ;
30189 PyObject
* obj3
= 0 ;
30190 PyObject
* obj4
= 0 ;
30191 PyObject
* obj5
= 0 ;
30192 char * kwnames
[] = {
30193 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30198 if (!SWIG_IsOK(res1
)) {
30199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30201 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30203 if (!SWIG_IsOK(res2
)) {
30204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30209 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30210 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30211 if (!SWIG_IsOK(ecode3
)) {
30212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30214 arg3
= static_cast< wxDouble
>(val3
);
30215 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30216 if (!SWIG_IsOK(ecode4
)) {
30217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30219 arg4
= static_cast< wxDouble
>(val4
);
30220 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30221 if (!SWIG_IsOK(ecode5
)) {
30222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30224 arg5
= static_cast< wxDouble
>(val5
);
30225 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30226 if (!SWIG_IsOK(ecode6
)) {
30227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30229 arg6
= static_cast< wxDouble
>(val6
);
30231 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= SWIG_Py_Void();
30241 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
= 0;
30243 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 PyObject
* obj2
= 0 ;
30261 PyObject
* obj3
= 0 ;
30262 PyObject
* obj4
= 0 ;
30263 char * kwnames
[] = {
30264 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30269 if (!SWIG_IsOK(res1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30272 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30273 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30274 if (!SWIG_IsOK(ecode2
)) {
30275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30277 arg2
= static_cast< wxDouble
>(val2
);
30278 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30279 if (!SWIG_IsOK(ecode3
)) {
30280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30282 arg3
= static_cast< wxDouble
>(val3
);
30283 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30284 if (!SWIG_IsOK(ecode4
)) {
30285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30287 arg4
= static_cast< wxDouble
>(val4
);
30288 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30289 if (!SWIG_IsOK(ecode5
)) {
30290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30292 arg5
= static_cast< wxDouble
>(val5
);
30294 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_Py_Void();
30304 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
= 0;
30306 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30308 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30311 PyObject
* obj0
= 0 ;
30312 PyObject
* obj1
= 0 ;
30313 char * kwnames
[] = {
30314 (char *) "self",(char *) "points", NULL
30317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30319 if (!SWIG_IsOK(res1
)) {
30320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30322 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30324 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30325 if (arg3
== NULL
) SWIG_fail
;
30328 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_Py_Void();
30333 if (arg3
) delete [] arg3
;
30338 if (arg3
) delete [] arg3
;
30344 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
= 0;
30346 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30347 PyObject
*arg2
= (PyObject
*) 0 ;
30348 PyObject
*arg3
= (PyObject
*) 0 ;
30351 PyObject
* obj0
= 0 ;
30352 PyObject
* obj1
= 0 ;
30353 PyObject
* obj2
= 0 ;
30354 char * kwnames
[] = {
30355 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30363 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30367 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_Py_Void();
30377 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= 0;
30379 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30381 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30382 int arg4
= (int) wxODDEVEN_RULE
;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 PyObject
* obj2
= 0 ;
30390 char * kwnames
[] = {
30391 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30396 if (!SWIG_IsOK(res1
)) {
30397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30399 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30401 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30402 if (arg3
== NULL
) SWIG_fail
;
30405 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30406 if (!SWIG_IsOK(ecode4
)) {
30407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30409 arg4
= static_cast< int >(val4
);
30412 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_Py_Void();
30417 if (arg3
) delete [] arg3
;
30422 if (arg3
) delete [] arg3
;
30428 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
= 0;
30430 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30445 PyObject
* obj0
= 0 ;
30446 PyObject
* obj1
= 0 ;
30447 PyObject
* obj2
= 0 ;
30448 PyObject
* obj3
= 0 ;
30449 PyObject
* obj4
= 0 ;
30450 char * kwnames
[] = {
30451 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30456 if (!SWIG_IsOK(res1
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30459 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30460 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30461 if (!SWIG_IsOK(ecode2
)) {
30462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30464 arg2
= static_cast< wxDouble
>(val2
);
30465 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30466 if (!SWIG_IsOK(ecode3
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30469 arg3
= static_cast< wxDouble
>(val3
);
30470 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30471 if (!SWIG_IsOK(ecode4
)) {
30472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30474 arg4
= static_cast< wxDouble
>(val4
);
30475 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30476 if (!SWIG_IsOK(ecode5
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30479 arg5
= static_cast< wxDouble
>(val5
);
30481 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= SWIG_Py_Void();
30491 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30492 PyObject
*resultobj
= 0;
30493 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 PyObject
* obj1
= 0 ;
30510 PyObject
* obj2
= 0 ;
30511 PyObject
* obj3
= 0 ;
30512 PyObject
* obj4
= 0 ;
30513 char * kwnames
[] = {
30514 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30519 if (!SWIG_IsOK(res1
)) {
30520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30522 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30523 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30524 if (!SWIG_IsOK(ecode2
)) {
30525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30527 arg2
= static_cast< wxDouble
>(val2
);
30528 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30529 if (!SWIG_IsOK(ecode3
)) {
30530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30532 arg3
= static_cast< wxDouble
>(val3
);
30533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30534 if (!SWIG_IsOK(ecode4
)) {
30535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30537 arg4
= static_cast< wxDouble
>(val4
);
30538 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30539 if (!SWIG_IsOK(ecode5
)) {
30540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30542 arg5
= static_cast< wxDouble
>(val5
);
30544 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_Py_Void();
30554 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
= 0;
30556 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 PyObject
* obj2
= 0 ;
30577 PyObject
* obj3
= 0 ;
30578 PyObject
* obj4
= 0 ;
30579 PyObject
* obj5
= 0 ;
30580 char * kwnames
[] = {
30581 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30586 if (!SWIG_IsOK(res1
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30589 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30590 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30591 if (!SWIG_IsOK(ecode2
)) {
30592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30594 arg2
= static_cast< wxDouble
>(val2
);
30595 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30596 if (!SWIG_IsOK(ecode3
)) {
30597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30599 arg3
= static_cast< wxDouble
>(val3
);
30600 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30601 if (!SWIG_IsOK(ecode4
)) {
30602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30604 arg4
= static_cast< wxDouble
>(val4
);
30605 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30606 if (!SWIG_IsOK(ecode5
)) {
30607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30609 arg5
= static_cast< wxDouble
>(val5
);
30610 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30611 if (!SWIG_IsOK(ecode6
)) {
30612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30614 arg6
= static_cast< wxDouble
>(val6
);
30616 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_Py_Void();
30626 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30627 PyObject
*resultobj
= 0;
30628 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30632 PyObject
*swig_obj
[1] ;
30634 if (!args
) SWIG_fail
;
30635 swig_obj
[0] = args
;
30636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30637 if (!SWIG_IsOK(res1
)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30640 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30642 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30643 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30654 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30657 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30658 return SWIG_Py_Void();
30661 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30662 PyObject
*resultobj
= 0;
30663 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30666 PyObject
*swig_obj
[1] ;
30668 if (!args
) SWIG_fail
;
30669 swig_obj
[0] = args
;
30670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30671 if (!SWIG_IsOK(res1
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30674 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= SWIG_Py_Void();
30687 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30688 PyObject
*resultobj
= 0;
30689 wxGraphicsRenderer
*result
= 0 ;
30691 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30693 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30703 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30704 PyObject
*resultobj
= 0;
30705 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30706 wxWindowDC
*arg2
= 0 ;
30707 wxGraphicsContext
*result
= 0 ;
30713 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30715 if (!SWIG_IsOK(res1
)) {
30716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30718 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30719 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30720 if (!SWIG_IsOK(res2
)) {
30721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30726 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30728 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30738 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30739 PyObject
*resultobj
= 0;
30740 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30741 wxWindow
*arg2
= (wxWindow
*) 0 ;
30742 wxGraphicsContext
*result
= 0 ;
30748 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30750 if (!SWIG_IsOK(res1
)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30753 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30754 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30755 if (!SWIG_IsOK(res2
)) {
30756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30758 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30760 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30770 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30774 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30779 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30780 _v
= SWIG_CheckState(res
);
30782 if (!_v
) goto check_1
;
30783 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30788 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30792 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30797 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30798 PyObject
*resultobj
= 0;
30799 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30800 wxGraphicsContext
*result
= 0 ;
30803 PyObject
*swig_obj
[1] ;
30805 if (!args
) SWIG_fail
;
30806 swig_obj
[0] = args
;
30807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30811 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30813 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30814 if (PyErr_Occurred()) SWIG_fail
;
30816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30823 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30824 PyObject
*resultobj
= 0;
30825 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30826 void *arg2
= (void *) 0 ;
30827 wxGraphicsContext
*result
= 0 ;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 char * kwnames
[] = {
30834 (char *) "self",(char *) "context", NULL
30837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30839 if (!SWIG_IsOK(res1
)) {
30840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30842 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30843 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30844 if (!SWIG_IsOK(res2
)) {
30845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30848 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30858 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
= 0;
30860 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30861 void *arg2
= (void *) 0 ;
30862 wxGraphicsContext
*result
= 0 ;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 char * kwnames
[] = {
30869 (char *) "self",(char *) "window", NULL
30872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30877 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30878 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30879 if (!SWIG_IsOK(res2
)) {
30880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30883 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30893 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30894 PyObject
*resultobj
= 0;
30895 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30896 wxGraphicsPath result
;
30899 PyObject
*swig_obj
[1] ;
30901 if (!args
) SWIG_fail
;
30902 swig_obj
[0] = args
;
30903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30904 if (!SWIG_IsOK(res1
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30907 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30909 result
= (arg1
)->CreatePath();
30910 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30919 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30920 PyObject
*resultobj
= 0;
30921 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30922 wxDouble arg2
= (wxDouble
) 1.0 ;
30923 wxDouble arg3
= (wxDouble
) 0.0 ;
30924 wxDouble arg4
= (wxDouble
) 0.0 ;
30925 wxDouble arg5
= (wxDouble
) 1.0 ;
30926 wxDouble arg6
= (wxDouble
) 0.0 ;
30927 wxDouble arg7
= (wxDouble
) 0.0 ;
30928 wxGraphicsMatrix result
;
30943 PyObject
* obj0
= 0 ;
30944 PyObject
* obj1
= 0 ;
30945 PyObject
* obj2
= 0 ;
30946 PyObject
* obj3
= 0 ;
30947 PyObject
* obj4
= 0 ;
30948 PyObject
* obj5
= 0 ;
30949 PyObject
* obj6
= 0 ;
30950 char * kwnames
[] = {
30951 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30959 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30961 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30962 if (!SWIG_IsOK(ecode2
)) {
30963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30965 arg2
= static_cast< wxDouble
>(val2
);
30968 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30969 if (!SWIG_IsOK(ecode3
)) {
30970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30972 arg3
= static_cast< wxDouble
>(val3
);
30975 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30976 if (!SWIG_IsOK(ecode4
)) {
30977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30979 arg4
= static_cast< wxDouble
>(val4
);
30982 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30983 if (!SWIG_IsOK(ecode5
)) {
30984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30986 arg5
= static_cast< wxDouble
>(val5
);
30989 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30990 if (!SWIG_IsOK(ecode6
)) {
30991 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30993 arg6
= static_cast< wxDouble
>(val6
);
30996 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30997 if (!SWIG_IsOK(ecode7
)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31000 arg7
= static_cast< wxDouble
>(val7
);
31003 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31013 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
= 0;
31015 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31017 wxGraphicsPen result
;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char * kwnames
[] = {
31025 (char *) "self",(char *) "pen", NULL
31028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31033 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31035 if (!SWIG_IsOK(res2
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31041 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31043 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31053 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
= 0;
31055 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31056 wxBrush
*arg2
= 0 ;
31057 wxGraphicsBrush result
;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 char * kwnames
[] = {
31065 (char *) "self",(char *) "brush", NULL
31068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31070 if (!SWIG_IsOK(res1
)) {
31071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31073 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31075 if (!SWIG_IsOK(res2
)) {
31076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31081 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31083 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31093 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
= 0;
31095 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31100 wxColour
*arg6
= 0 ;
31101 wxColour
*arg7
= 0 ;
31102 wxGraphicsBrush result
;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 PyObject
* obj2
= 0 ;
31118 PyObject
* obj3
= 0 ;
31119 PyObject
* obj4
= 0 ;
31120 PyObject
* obj5
= 0 ;
31121 PyObject
* obj6
= 0 ;
31122 char * kwnames
[] = {
31123 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31128 if (!SWIG_IsOK(res1
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31131 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31132 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31133 if (!SWIG_IsOK(ecode2
)) {
31134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31136 arg2
= static_cast< wxDouble
>(val2
);
31137 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31138 if (!SWIG_IsOK(ecode3
)) {
31139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31141 arg3
= static_cast< wxDouble
>(val3
);
31142 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31143 if (!SWIG_IsOK(ecode4
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31146 arg4
= static_cast< wxDouble
>(val4
);
31147 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31148 if (!SWIG_IsOK(ecode5
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31151 arg5
= static_cast< wxDouble
>(val5
);
31154 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31158 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31161 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31171 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
= 0;
31173 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31179 wxColour
*arg7
= 0 ;
31180 wxColour
*arg8
= 0 ;
31181 wxGraphicsBrush result
;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 PyObject
* obj2
= 0 ;
31199 PyObject
* obj3
= 0 ;
31200 PyObject
* obj4
= 0 ;
31201 PyObject
* obj5
= 0 ;
31202 PyObject
* obj6
= 0 ;
31203 PyObject
* obj7
= 0 ;
31204 char * kwnames
[] = {
31205 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31210 if (!SWIG_IsOK(res1
)) {
31211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31213 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31214 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31215 if (!SWIG_IsOK(ecode2
)) {
31216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31218 arg2
= static_cast< wxDouble
>(val2
);
31219 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31220 if (!SWIG_IsOK(ecode3
)) {
31221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31223 arg3
= static_cast< wxDouble
>(val3
);
31224 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31225 if (!SWIG_IsOK(ecode4
)) {
31226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31228 arg4
= static_cast< wxDouble
>(val4
);
31229 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31230 if (!SWIG_IsOK(ecode5
)) {
31231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31233 arg5
= static_cast< wxDouble
>(val5
);
31234 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31235 if (!SWIG_IsOK(ecode6
)) {
31236 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31238 arg6
= static_cast< wxDouble
>(val6
);
31241 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31245 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31248 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31258 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31259 PyObject
*resultobj
= 0;
31260 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31262 wxColour
const &arg3_defvalue
= *wxBLACK
;
31263 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31264 wxGraphicsFont result
;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 PyObject
* obj2
= 0 ;
31273 char * kwnames
[] = {
31274 (char *) "self",(char *) "font",(char *) "col", NULL
31277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31279 if (!SWIG_IsOK(res1
)) {
31280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31282 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31284 if (!SWIG_IsOK(res2
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31290 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31294 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31298 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31308 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31311 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31312 return SWIG_Py_Void();
31315 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31316 PyObject
*resultobj
= 0;
31317 wxWindowDC
*arg1
= 0 ;
31318 wxGCDC
*result
= 0 ;
31322 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31324 if (!SWIG_IsOK(res1
)) {
31325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31330 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31332 if (!wxPyCheckForApp()) SWIG_fail
;
31333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31334 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31345 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31346 PyObject
*resultobj
= 0;
31347 wxWindow
*arg1
= (wxWindow
*) 0 ;
31348 wxGCDC
*result
= 0 ;
31352 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31354 if (!SWIG_IsOK(res1
)) {
31355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31359 if (!wxPyCheckForApp()) SWIG_fail
;
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31361 result
= (wxGCDC
*)new wxGCDC(arg1
);
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31372 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31376 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31381 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31382 _v
= SWIG_CheckState(res
);
31384 if (!_v
) goto check_1
;
31385 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31390 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31394 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31399 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31400 PyObject
*resultobj
= 0;
31401 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31404 PyObject
*swig_obj
[1] ;
31406 if (!args
) SWIG_fail
;
31407 swig_obj
[0] = args
;
31408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31409 if (!SWIG_IsOK(res1
)) {
31410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31412 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_Py_Void();
31425 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31426 PyObject
*resultobj
= 0;
31427 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31428 wxGraphicsContext
*result
= 0 ;
31431 PyObject
*swig_obj
[1] ;
31433 if (!args
) SWIG_fail
;
31434 swig_obj
[0] = args
;
31435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31436 if (!SWIG_IsOK(res1
)) {
31437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31439 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31441 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31451 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
= 0;
31453 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31454 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31459 PyObject
* obj0
= 0 ;
31460 PyObject
* obj1
= 0 ;
31461 char * kwnames
[] = {
31462 (char *) "self",(char *) "ctx", NULL
31465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31467 if (!SWIG_IsOK(res1
)) {
31468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31470 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31472 if (!SWIG_IsOK(res2
)) {
31473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31475 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31477 (arg1
)->SetGraphicsContext(arg2
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= SWIG_Py_Void();
31487 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31490 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31491 return SWIG_Py_Void();
31494 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31495 return SWIG_Python_InitShadowInstance(args
);
31498 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31499 PyObject
*resultobj
= 0;
31500 wxOverlay
*result
= 0 ;
31502 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 result
= (wxOverlay
*)new wxOverlay();
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31516 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31517 PyObject
*resultobj
= 0;
31518 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31521 PyObject
*swig_obj
[1] ;
31523 if (!args
) SWIG_fail
;
31524 swig_obj
[0] = args
;
31525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31526 if (!SWIG_IsOK(res1
)) {
31527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31529 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= SWIG_Py_Void();
31544 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31545 PyObject
*resultobj
= 0;
31546 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31549 PyObject
*swig_obj
[1] ;
31551 if (!args
) SWIG_fail
;
31552 swig_obj
[0] = args
;
31553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31554 if (!SWIG_IsOK(res1
)) {
31555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31557 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31561 wxPyEndAllowThreads(__tstate
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31564 resultobj
= SWIG_Py_Void();
31571 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31574 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31575 return SWIG_Py_Void();
31578 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31579 return SWIG_Python_InitShadowInstance(args
);
31582 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31583 PyObject
*resultobj
= 0;
31584 wxOverlay
*arg1
= 0 ;
31585 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31590 wxDCOverlay
*result
= 0 ;
31604 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31606 if (!SWIG_IsOK(res1
)) {
31607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31612 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31613 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31614 if (!SWIG_IsOK(res2
)) {
31615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31617 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31618 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31619 if (!SWIG_IsOK(ecode3
)) {
31620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31622 arg3
= static_cast< int >(val3
);
31623 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31624 if (!SWIG_IsOK(ecode4
)) {
31625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31627 arg4
= static_cast< int >(val4
);
31628 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31629 if (!SWIG_IsOK(ecode5
)) {
31630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31632 arg5
= static_cast< int >(val5
);
31633 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31634 if (!SWIG_IsOK(ecode6
)) {
31635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31637 arg6
= static_cast< int >(val6
);
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31651 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31652 PyObject
*resultobj
= 0;
31653 wxOverlay
*arg1
= 0 ;
31654 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31655 wxDCOverlay
*result
= 0 ;
31661 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31663 if (!SWIG_IsOK(res1
)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31669 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31670 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31671 if (!SWIG_IsOK(res2
)) {
31672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31674 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31688 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31692 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31695 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31698 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31702 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31707 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31708 PyObject
*resultobj
= 0;
31709 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31712 PyObject
*swig_obj
[1] ;
31714 if (!args
) SWIG_fail
;
31715 swig_obj
[0] = args
;
31716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31717 if (!SWIG_IsOK(res1
)) {
31718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31720 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 wxPyEndAllowThreads(__tstate
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= SWIG_Py_Void();
31735 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31736 PyObject
*resultobj
= 0;
31737 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31740 PyObject
*swig_obj
[1] ;
31742 if (!args
) SWIG_fail
;
31743 swig_obj
[0] = args
;
31744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31745 if (!SWIG_IsOK(res1
)) {
31746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31748 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= SWIG_Py_Void();
31762 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31765 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31766 return SWIG_Py_Void();
31769 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31770 return SWIG_Python_InitShadowInstance(args
);
31773 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31774 PyObject
*resultobj
= 0;
31777 int arg3
= (int) true ;
31778 int arg4
= (int) 1 ;
31779 wxImageList
*result
= 0 ;
31788 PyObject
* obj0
= 0 ;
31789 PyObject
* obj1
= 0 ;
31790 PyObject
* obj2
= 0 ;
31791 PyObject
* obj3
= 0 ;
31792 char * kwnames
[] = {
31793 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31798 if (!SWIG_IsOK(ecode1
)) {
31799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31801 arg1
= static_cast< int >(val1
);
31802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31803 if (!SWIG_IsOK(ecode2
)) {
31804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31806 arg2
= static_cast< int >(val2
);
31808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31809 if (!SWIG_IsOK(ecode3
)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31812 arg3
= static_cast< int >(val3
);
31815 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31816 if (!SWIG_IsOK(ecode4
)) {
31817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31819 arg4
= static_cast< int >(val4
);
31822 if (!wxPyCheckForApp()) SWIG_fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31825 wxPyEndAllowThreads(__tstate
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31835 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31836 PyObject
*resultobj
= 0;
31837 wxImageList
*arg1
= (wxImageList
*) 0 ;
31840 PyObject
*swig_obj
[1] ;
31842 if (!args
) SWIG_fail
;
31843 swig_obj
[0] = args
;
31844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31845 if (!SWIG_IsOK(res1
)) {
31846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31848 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= SWIG_Py_Void();
31863 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
= 0;
31865 wxImageList
*arg1
= (wxImageList
*) 0 ;
31866 wxBitmap
*arg2
= 0 ;
31867 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31868 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31876 PyObject
* obj0
= 0 ;
31877 PyObject
* obj1
= 0 ;
31878 PyObject
* obj2
= 0 ;
31879 char * kwnames
[] = {
31880 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31885 if (!SWIG_IsOK(res1
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31888 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31890 if (!SWIG_IsOK(res2
)) {
31891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31896 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31898 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31899 if (!SWIG_IsOK(res3
)) {
31900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31905 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= SWIG_From_int(static_cast< int >(result
));
31920 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
= 0;
31922 wxImageList
*arg1
= (wxImageList
*) 0 ;
31923 wxBitmap
*arg2
= 0 ;
31924 wxColour
*arg3
= 0 ;
31931 PyObject
* obj0
= 0 ;
31932 PyObject
* obj1
= 0 ;
31933 PyObject
* obj2
= 0 ;
31934 char * kwnames
[] = {
31935 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31940 if (!SWIG_IsOK(res1
)) {
31941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31943 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31945 if (!SWIG_IsOK(res2
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31951 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31954 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= SWIG_From_int(static_cast< int >(result
));
31969 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= 0;
31971 wxImageList
*arg1
= (wxImageList
*) 0 ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 char * kwnames
[] = {
31981 (char *) "self",(char *) "icon", NULL
31984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31986 if (!SWIG_IsOK(res1
)) {
31987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31989 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31991 if (!SWIG_IsOK(res2
)) {
31992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31997 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= SWIG_From_int(static_cast< int >(result
));
32011 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
= 0;
32013 wxImageList
*arg1
= (wxImageList
*) 0 ;
32015 SwigValueWrapper
<wxBitmap
> result
;
32020 PyObject
* obj0
= 0 ;
32021 PyObject
* obj1
= 0 ;
32022 char * kwnames
[] = {
32023 (char *) "self",(char *) "index", NULL
32026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32028 if (!SWIG_IsOK(res1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32031 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32033 if (!SWIG_IsOK(ecode2
)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32036 arg2
= static_cast< int >(val2
);
32038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32039 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32043 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32050 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32051 PyObject
*resultobj
= 0;
32052 wxImageList
*arg1
= (wxImageList
*) 0 ;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 char * kwnames
[] = {
32062 (char *) "self",(char *) "index", NULL
32065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32067 if (!SWIG_IsOK(res1
)) {
32068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32070 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32072 if (!SWIG_IsOK(ecode2
)) {
32073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32075 arg2
= static_cast< int >(val2
);
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32082 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32089 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32090 PyObject
*resultobj
= 0;
32091 wxImageList
*arg1
= (wxImageList
*) 0 ;
32093 wxBitmap
*arg3
= 0 ;
32094 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32095 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32105 PyObject
* obj0
= 0 ;
32106 PyObject
* obj1
= 0 ;
32107 PyObject
* obj2
= 0 ;
32108 PyObject
* obj3
= 0 ;
32109 char * kwnames
[] = {
32110 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32115 if (!SWIG_IsOK(res1
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32118 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32120 if (!SWIG_IsOK(ecode2
)) {
32121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32123 arg2
= static_cast< int >(val2
);
32124 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32125 if (!SWIG_IsOK(res3
)) {
32126 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32131 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32133 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32134 if (!SWIG_IsOK(res4
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32140 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32157 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32158 PyObject
*resultobj
= 0;
32159 wxImageList
*arg1
= (wxImageList
*) 0 ;
32164 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32165 bool arg7
= (bool) (bool)false ;
32181 PyObject
* obj0
= 0 ;
32182 PyObject
* obj1
= 0 ;
32183 PyObject
* obj2
= 0 ;
32184 PyObject
* obj3
= 0 ;
32185 PyObject
* obj4
= 0 ;
32186 PyObject
* obj5
= 0 ;
32187 PyObject
* obj6
= 0 ;
32188 char * kwnames
[] = {
32189 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32194 if (!SWIG_IsOK(res1
)) {
32195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32197 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32199 if (!SWIG_IsOK(ecode2
)) {
32200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32202 arg2
= static_cast< int >(val2
);
32203 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32204 if (!SWIG_IsOK(res3
)) {
32205 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32210 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32212 if (!SWIG_IsOK(ecode4
)) {
32213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32215 arg4
= static_cast< int >(val4
);
32216 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32217 if (!SWIG_IsOK(ecode5
)) {
32218 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32220 arg5
= static_cast< int >(val5
);
32222 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32223 if (!SWIG_IsOK(ecode6
)) {
32224 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32226 arg6
= static_cast< int >(val6
);
32229 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32230 if (!SWIG_IsOK(ecode7
)) {
32231 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32233 arg7
= static_cast< bool >(val7
);
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32250 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32251 PyObject
*resultobj
= 0;
32252 wxImageList
*arg1
= (wxImageList
*) 0 ;
32256 PyObject
*swig_obj
[1] ;
32258 if (!args
) SWIG_fail
;
32259 swig_obj
[0] = args
;
32260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32261 if (!SWIG_IsOK(res1
)) {
32262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32264 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 result
= (int)(arg1
)->GetImageCount();
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32271 resultobj
= SWIG_From_int(static_cast< int >(result
));
32278 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32279 PyObject
*resultobj
= 0;
32280 wxImageList
*arg1
= (wxImageList
*) 0 ;
32287 PyObject
* obj0
= 0 ;
32288 PyObject
* obj1
= 0 ;
32289 char * kwnames
[] = {
32290 (char *) "self",(char *) "index", NULL
32293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32295 if (!SWIG_IsOK(res1
)) {
32296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32298 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32300 if (!SWIG_IsOK(ecode2
)) {
32301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32303 arg2
= static_cast< int >(val2
);
32305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32306 result
= (bool)(arg1
)->Remove(arg2
);
32307 wxPyEndAllowThreads(__tstate
);
32308 if (PyErr_Occurred()) SWIG_fail
;
32311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32319 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32320 PyObject
*resultobj
= 0;
32321 wxImageList
*arg1
= (wxImageList
*) 0 ;
32325 PyObject
*swig_obj
[1] ;
32327 if (!args
) SWIG_fail
;
32328 swig_obj
[0] = args
;
32329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32330 if (!SWIG_IsOK(res1
)) {
32331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32333 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 result
= (bool)(arg1
)->RemoveAll();
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32349 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= 0;
32351 wxImageList
*arg1
= (wxImageList
*) 0 ;
32360 int res3
= SWIG_TMPOBJ
;
32362 int res4
= SWIG_TMPOBJ
;
32363 PyObject
* obj0
= 0 ;
32364 PyObject
* obj1
= 0 ;
32365 char * kwnames
[] = {
32366 (char *) "self",(char *) "index", NULL
32371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32373 if (!SWIG_IsOK(res1
)) {
32374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32376 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32378 if (!SWIG_IsOK(ecode2
)) {
32379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32381 arg2
= static_cast< int >(val2
);
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32388 resultobj
= SWIG_Py_Void();
32389 if (SWIG_IsTmpObj(res3
)) {
32390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32392 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32395 if (SWIG_IsTmpObj(res4
)) {
32396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32398 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32407 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32410 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32411 return SWIG_Py_Void();
32414 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32415 return SWIG_Python_InitShadowInstance(args
);
32418 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32419 PyObject
*resultobj
= 0;
32420 wxStockGDI
*result
= 0 ;
32422 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32425 result
= (wxStockGDI
*)new wxStockGDI();
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32436 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32437 PyObject
*resultobj
= 0;
32438 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32441 PyObject
*swig_obj
[1] ;
32443 if (!args
) SWIG_fail
;
32444 swig_obj
[0] = args
;
32445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32449 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 wxPyEndAllowThreads(__tstate
);
32455 if (PyErr_Occurred()) SWIG_fail
;
32457 resultobj
= SWIG_Py_Void();
32464 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32465 PyObject
*resultobj
= 0;
32467 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32470 wxStockGDI::DeleteAll();
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 resultobj
= SWIG_Py_Void();
32481 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32482 PyObject
*resultobj
= 0;
32483 wxStockGDI
*result
= 0 ;
32485 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32490 result
= (wxStockGDI
*) &_result_ref
;
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32502 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
= 0;
32504 wxStockGDI::Item arg1
;
32505 wxBrush
*result
= 0 ;
32508 PyObject
* obj0
= 0 ;
32509 char * kwnames
[] = {
32510 (char *) "item", NULL
32513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32515 if (!SWIG_IsOK(ecode1
)) {
32516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32518 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32532 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
= 0;
32534 wxStockGDI::Item arg1
;
32535 wxColour
*result
= 0 ;
32538 PyObject
* obj0
= 0 ;
32539 char * kwnames
[] = {
32540 (char *) "item", NULL
32543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32545 if (!SWIG_IsOK(ecode1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32548 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32552 wxPyEndAllowThreads(__tstate
);
32553 if (PyErr_Occurred()) SWIG_fail
;
32555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32562 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32563 PyObject
*resultobj
= 0;
32564 wxStockGDI::Item arg1
;
32565 wxCursor
*result
= 0 ;
32568 PyObject
* obj0
= 0 ;
32569 char * kwnames
[] = {
32570 (char *) "item", NULL
32573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32575 if (!SWIG_IsOK(ecode1
)) {
32576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32578 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32592 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
= 0;
32594 wxStockGDI::Item arg1
;
32595 wxPen
*result
= 0 ;
32598 PyObject
* obj0
= 0 ;
32599 char * kwnames
[] = {
32600 (char *) "item", NULL
32603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32604 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32605 if (!SWIG_IsOK(ecode1
)) {
32606 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32608 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32622 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32623 PyObject
*resultobj
= 0;
32624 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32625 wxStockGDI::Item arg2
;
32626 wxFont
*result
= 0 ;
32631 PyObject
* obj0
= 0 ;
32632 PyObject
* obj1
= 0 ;
32633 char * kwnames
[] = {
32634 (char *) "self",(char *) "item", NULL
32637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32639 if (!SWIG_IsOK(res1
)) {
32640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32642 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32644 if (!SWIG_IsOK(ecode2
)) {
32645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32647 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32650 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32661 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32664 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32665 return SWIG_Py_Void();
32668 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32669 return SWIG_Python_InitShadowInstance(args
);
32672 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32673 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32678 SWIGINTERN PyObject
*NullBitmap_get(void) {
32679 PyObject
*pyobj
= 0;
32681 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32686 SWIGINTERN
int NullIcon_set(PyObject
*) {
32687 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32692 SWIGINTERN PyObject
*NullIcon_get(void) {
32693 PyObject
*pyobj
= 0;
32695 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32700 SWIGINTERN
int NullCursor_set(PyObject
*) {
32701 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32706 SWIGINTERN PyObject
*NullCursor_get(void) {
32707 PyObject
*pyobj
= 0;
32709 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32714 SWIGINTERN
int NullPen_set(PyObject
*) {
32715 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32720 SWIGINTERN PyObject
*NullPen_get(void) {
32721 PyObject
*pyobj
= 0;
32723 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32728 SWIGINTERN
int NullBrush_set(PyObject
*) {
32729 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32734 SWIGINTERN PyObject
*NullBrush_get(void) {
32735 PyObject
*pyobj
= 0;
32737 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32742 SWIGINTERN
int NullPalette_set(PyObject
*) {
32743 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32748 SWIGINTERN PyObject
*NullPalette_get(void) {
32749 PyObject
*pyobj
= 0;
32751 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32756 SWIGINTERN
int NullFont_set(PyObject
*) {
32757 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32762 SWIGINTERN PyObject
*NullFont_get(void) {
32763 PyObject
*pyobj
= 0;
32765 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32770 SWIGINTERN
int NullColour_set(PyObject
*) {
32771 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32776 SWIGINTERN PyObject
*NullColour_get(void) {
32777 PyObject
*pyobj
= 0;
32779 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32784 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32785 PyObject
*resultobj
= 0;
32786 wxGDIObjListBase
*result
= 0 ;
32788 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32802 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32803 PyObject
*resultobj
= 0;
32804 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32807 PyObject
*swig_obj
[1] ;
32809 if (!args
) SWIG_fail
;
32810 swig_obj
[0] = args
;
32811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32812 if (!SWIG_IsOK(res1
)) {
32813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32815 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_Py_Void();
32830 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32833 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32834 return SWIG_Py_Void();
32837 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32838 return SWIG_Python_InitShadowInstance(args
);
32841 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
= 0;
32843 wxPenList
*arg1
= (wxPenList
*) 0 ;
32844 wxColour
*arg2
= 0 ;
32847 wxPen
*result
= 0 ;
32855 PyObject
* obj0
= 0 ;
32856 PyObject
* obj1
= 0 ;
32857 PyObject
* obj2
= 0 ;
32858 PyObject
* obj3
= 0 ;
32859 char * kwnames
[] = {
32860 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32865 if (!SWIG_IsOK(res1
)) {
32866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32868 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32874 if (!SWIG_IsOK(ecode3
)) {
32875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32877 arg3
= static_cast< int >(val3
);
32878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32879 if (!SWIG_IsOK(ecode4
)) {
32880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32882 arg4
= static_cast< int >(val4
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32896 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32897 PyObject
*resultobj
= 0;
32898 wxPenList
*arg1
= (wxPenList
*) 0 ;
32899 wxPen
*arg2
= (wxPen
*) 0 ;
32904 PyObject
* obj0
= 0 ;
32905 PyObject
* obj1
= 0 ;
32906 char * kwnames
[] = {
32907 (char *) "self",(char *) "pen", NULL
32910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32912 if (!SWIG_IsOK(res1
)) {
32913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32915 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32916 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32917 if (!SWIG_IsOK(res2
)) {
32918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32920 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 (arg1
)->AddPen(arg2
);
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= SWIG_Py_Void();
32934 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
= 0;
32936 wxPenList
*arg1
= (wxPenList
*) 0 ;
32937 wxPen
*arg2
= (wxPen
*) 0 ;
32942 PyObject
* obj0
= 0 ;
32943 PyObject
* obj1
= 0 ;
32944 char * kwnames
[] = {
32945 (char *) "self",(char *) "pen", NULL
32948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32950 if (!SWIG_IsOK(res1
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32953 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32955 if (!SWIG_IsOK(res2
)) {
32956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32958 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32961 (arg1
)->RemovePen(arg2
);
32962 wxPyEndAllowThreads(__tstate
);
32963 if (PyErr_Occurred()) SWIG_fail
;
32965 resultobj
= SWIG_Py_Void();
32972 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32976 return SWIG_Py_Void();
32979 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32980 PyObject
*resultobj
= 0;
32981 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32982 wxColour
*arg2
= 0 ;
32983 int arg3
= (int) wxSOLID
;
32984 wxBrush
*result
= 0 ;
32990 PyObject
* obj0
= 0 ;
32991 PyObject
* obj1
= 0 ;
32992 PyObject
* obj2
= 0 ;
32993 char * kwnames
[] = {
32994 (char *) "self",(char *) "colour",(char *) "style", NULL
32997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32999 if (!SWIG_IsOK(res1
)) {
33000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33002 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33005 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33009 if (!SWIG_IsOK(ecode3
)) {
33010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33012 arg3
= static_cast< int >(val3
);
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33016 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33027 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
= 0;
33029 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33030 wxBrush
*arg2
= (wxBrush
*) 0 ;
33035 PyObject
* obj0
= 0 ;
33036 PyObject
* obj1
= 0 ;
33037 char * kwnames
[] = {
33038 (char *) "self",(char *) "brush", NULL
33041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33043 if (!SWIG_IsOK(res1
)) {
33044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33046 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33048 if (!SWIG_IsOK(res2
)) {
33049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33051 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 (arg1
)->AddBrush(arg2
);
33055 wxPyEndAllowThreads(__tstate
);
33056 if (PyErr_Occurred()) SWIG_fail
;
33058 resultobj
= SWIG_Py_Void();
33065 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33066 PyObject
*resultobj
= 0;
33067 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33068 wxBrush
*arg2
= (wxBrush
*) 0 ;
33073 PyObject
* obj0
= 0 ;
33074 PyObject
* obj1
= 0 ;
33075 char * kwnames
[] = {
33076 (char *) "self",(char *) "brush", NULL
33079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33081 if (!SWIG_IsOK(res1
)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33084 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33086 if (!SWIG_IsOK(res2
)) {
33087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33089 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 (arg1
)->RemoveBrush(arg2
);
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= SWIG_Py_Void();
33103 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33106 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33107 return SWIG_Py_Void();
33110 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33111 PyObject
*resultobj
= 0;
33112 wxFontList
*arg1
= (wxFontList
*) 0 ;
33117 bool arg6
= (bool) false ;
33118 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33120 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33121 wxFont
*result
= 0 ;
33134 bool temp7
= false ;
33137 PyObject
* obj0
= 0 ;
33138 PyObject
* obj1
= 0 ;
33139 PyObject
* obj2
= 0 ;
33140 PyObject
* obj3
= 0 ;
33141 PyObject
* obj4
= 0 ;
33142 PyObject
* obj5
= 0 ;
33143 PyObject
* obj6
= 0 ;
33144 PyObject
* obj7
= 0 ;
33145 char * kwnames
[] = {
33146 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33154 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33156 if (!SWIG_IsOK(ecode2
)) {
33157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33159 arg2
= static_cast< int >(val2
);
33160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33161 if (!SWIG_IsOK(ecode3
)) {
33162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33164 arg3
= static_cast< int >(val3
);
33165 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33166 if (!SWIG_IsOK(ecode4
)) {
33167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33169 arg4
= static_cast< int >(val4
);
33170 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33171 if (!SWIG_IsOK(ecode5
)) {
33172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33174 arg5
= static_cast< int >(val5
);
33176 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33177 if (!SWIG_IsOK(ecode6
)) {
33178 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33180 arg6
= static_cast< bool >(val6
);
33184 arg7
= wxString_in_helper(obj6
);
33185 if (arg7
== NULL
) SWIG_fail
;
33190 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33191 if (!SWIG_IsOK(ecode8
)) {
33192 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33194 arg8
= static_cast< wxFontEncoding
>(val8
);
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33217 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
= 0;
33219 wxFontList
*arg1
= (wxFontList
*) 0 ;
33220 wxFont
*arg2
= (wxFont
*) 0 ;
33225 PyObject
* obj0
= 0 ;
33226 PyObject
* obj1
= 0 ;
33227 char * kwnames
[] = {
33228 (char *) "self",(char *) "font", NULL
33231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33233 if (!SWIG_IsOK(res1
)) {
33234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33236 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33238 if (!SWIG_IsOK(res2
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33241 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33244 (arg1
)->AddFont(arg2
);
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33248 resultobj
= SWIG_Py_Void();
33255 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33256 PyObject
*resultobj
= 0;
33257 wxFontList
*arg1
= (wxFontList
*) 0 ;
33258 wxFont
*arg2
= (wxFont
*) 0 ;
33263 PyObject
* obj0
= 0 ;
33264 PyObject
* obj1
= 0 ;
33265 char * kwnames
[] = {
33266 (char *) "self",(char *) "font", NULL
33269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33271 if (!SWIG_IsOK(res1
)) {
33272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33274 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33276 if (!SWIG_IsOK(res2
)) {
33277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33279 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 (arg1
)->RemoveFont(arg2
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 resultobj
= SWIG_Py_Void();
33293 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33296 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33297 return SWIG_Py_Void();
33300 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33301 PyObject
*resultobj
= 0;
33302 wxColourDatabase
*result
= 0 ;
33304 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33306 if (!wxPyCheckForApp()) SWIG_fail
;
33307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33308 result
= (wxColourDatabase
*)new wxColourDatabase();
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33319 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33320 PyObject
*resultobj
= 0;
33321 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33324 PyObject
*swig_obj
[1] ;
33326 if (!args
) SWIG_fail
;
33327 swig_obj
[0] = args
;
33328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33329 if (!SWIG_IsOK(res1
)) {
33330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33332 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= SWIG_Py_Void();
33347 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
= 0;
33349 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33350 wxString
*arg2
= 0 ;
33354 bool temp2
= false ;
33355 PyObject
* obj0
= 0 ;
33356 PyObject
* obj1
= 0 ;
33357 char * kwnames
[] = {
33358 (char *) "self",(char *) "name", NULL
33361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33363 if (!SWIG_IsOK(res1
)) {
33364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33366 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33368 arg2
= wxString_in_helper(obj1
);
33369 if (arg2
== NULL
) SWIG_fail
;
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33393 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33394 PyObject
*resultobj
= 0;
33395 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33396 wxColour
*arg2
= 0 ;
33401 PyObject
* obj0
= 0 ;
33402 PyObject
* obj1
= 0 ;
33403 char * kwnames
[] = {
33404 (char *) "self",(char *) "colour", NULL
33407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33409 if (!SWIG_IsOK(res1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33412 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33436 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
= 0;
33438 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33439 wxString
*arg2
= 0 ;
33440 wxColour
*arg3
= 0 ;
33443 bool temp2
= false ;
33445 PyObject
* obj0
= 0 ;
33446 PyObject
* obj1
= 0 ;
33447 PyObject
* obj2
= 0 ;
33448 char * kwnames
[] = {
33449 (char *) "self",(char *) "name",(char *) "colour", NULL
33452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33454 if (!SWIG_IsOK(res1
)) {
33455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33457 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33459 arg2
= wxString_in_helper(obj1
);
33460 if (arg2
== NULL
) SWIG_fail
;
33465 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33470 wxPyEndAllowThreads(__tstate
);
33471 if (PyErr_Occurred()) SWIG_fail
;
33473 resultobj
= SWIG_Py_Void();
33488 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33489 PyObject
*resultobj
= 0;
33490 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33491 wxString
*arg2
= 0 ;
33497 bool temp2
= false ;
33504 PyObject
* obj0
= 0 ;
33505 PyObject
* obj1
= 0 ;
33506 PyObject
* obj2
= 0 ;
33507 PyObject
* obj3
= 0 ;
33508 PyObject
* obj4
= 0 ;
33509 char * kwnames
[] = {
33510 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33515 if (!SWIG_IsOK(res1
)) {
33516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33518 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33520 arg2
= wxString_in_helper(obj1
);
33521 if (arg2
== NULL
) SWIG_fail
;
33524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33525 if (!SWIG_IsOK(ecode3
)) {
33526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33528 arg3
= static_cast< int >(val3
);
33529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33530 if (!SWIG_IsOK(ecode4
)) {
33531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33533 arg4
= static_cast< int >(val4
);
33534 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33535 if (!SWIG_IsOK(ecode5
)) {
33536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33538 arg5
= static_cast< int >(val5
);
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33542 wxPyEndAllowThreads(__tstate
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33545 resultobj
= SWIG_Py_Void();
33560 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33563 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33564 return SWIG_Py_Void();
33567 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33568 return SWIG_Python_InitShadowInstance(args
);
33571 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33572 PyObject
*resultobj
= 0;
33573 wxFontList
*result
= 0 ;
33575 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33578 result
= (wxFontList
*)_wxPyInitTheFontList();
33579 wxPyEndAllowThreads(__tstate
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33589 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33590 PyObject
*resultobj
= 0;
33591 wxPenList
*result
= 0 ;
33593 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 result
= (wxPenList
*)_wxPyInitThePenList();
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33607 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33608 PyObject
*resultobj
= 0;
33609 wxBrushList
*result
= 0 ;
33611 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33625 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33626 PyObject
*resultobj
= 0;
33627 wxColourDatabase
*result
= 0 ;
33629 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33643 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33644 PyObject
*resultobj
= 0;
33645 wxEffects
*result
= 0 ;
33647 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 result
= (wxEffects
*)new wxEffects();
33651 wxPyEndAllowThreads(__tstate
);
33652 if (PyErr_Occurred()) SWIG_fail
;
33654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33661 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33662 PyObject
*resultobj
= 0;
33663 wxEffects
*arg1
= (wxEffects
*) 0 ;
33667 PyObject
*swig_obj
[1] ;
33669 if (!args
) SWIG_fail
;
33670 swig_obj
[0] = args
;
33671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33672 if (!SWIG_IsOK(res1
)) {
33673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33675 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33679 wxPyEndAllowThreads(__tstate
);
33680 if (PyErr_Occurred()) SWIG_fail
;
33682 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33689 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33690 PyObject
*resultobj
= 0;
33691 wxEffects
*arg1
= (wxEffects
*) 0 ;
33695 PyObject
*swig_obj
[1] ;
33697 if (!args
) SWIG_fail
;
33698 swig_obj
[0] = args
;
33699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33703 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33717 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33718 PyObject
*resultobj
= 0;
33719 wxEffects
*arg1
= (wxEffects
*) 0 ;
33723 PyObject
*swig_obj
[1] ;
33725 if (!args
) SWIG_fail
;
33726 swig_obj
[0] = args
;
33727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33728 if (!SWIG_IsOK(res1
)) {
33729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33731 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33745 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33746 PyObject
*resultobj
= 0;
33747 wxEffects
*arg1
= (wxEffects
*) 0 ;
33751 PyObject
*swig_obj
[1] ;
33753 if (!args
) SWIG_fail
;
33754 swig_obj
[0] = args
;
33755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33756 if (!SWIG_IsOK(res1
)) {
33757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33759 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33762 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33763 wxPyEndAllowThreads(__tstate
);
33764 if (PyErr_Occurred()) SWIG_fail
;
33766 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33773 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33774 PyObject
*resultobj
= 0;
33775 wxEffects
*arg1
= (wxEffects
*) 0 ;
33779 PyObject
*swig_obj
[1] ;
33781 if (!args
) SWIG_fail
;
33782 swig_obj
[0] = args
;
33783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33784 if (!SWIG_IsOK(res1
)) {
33785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33787 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33790 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33794 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33801 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
= 0;
33803 wxEffects
*arg1
= (wxEffects
*) 0 ;
33804 wxColour
*arg2
= 0 ;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 char * kwnames
[] = {
33811 (char *) "self",(char *) "c", NULL
33814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33816 if (!SWIG_IsOK(res1
)) {
33817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33819 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33826 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33830 resultobj
= SWIG_Py_Void();
33837 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33838 PyObject
*resultobj
= 0;
33839 wxEffects
*arg1
= (wxEffects
*) 0 ;
33840 wxColour
*arg2
= 0 ;
33844 PyObject
* obj0
= 0 ;
33845 PyObject
* obj1
= 0 ;
33846 char * kwnames
[] = {
33847 (char *) "self",(char *) "c", NULL
33850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33852 if (!SWIG_IsOK(res1
)) {
33853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33855 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33858 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33862 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= SWIG_Py_Void();
33873 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33874 PyObject
*resultobj
= 0;
33875 wxEffects
*arg1
= (wxEffects
*) 0 ;
33876 wxColour
*arg2
= 0 ;
33880 PyObject
* obj0
= 0 ;
33881 PyObject
* obj1
= 0 ;
33882 char * kwnames
[] = {
33883 (char *) "self",(char *) "c", NULL
33886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33888 if (!SWIG_IsOK(res1
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33891 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33899 wxPyEndAllowThreads(__tstate
);
33900 if (PyErr_Occurred()) SWIG_fail
;
33902 resultobj
= SWIG_Py_Void();
33909 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
= 0;
33911 wxEffects
*arg1
= (wxEffects
*) 0 ;
33912 wxColour
*arg2
= 0 ;
33916 PyObject
* obj0
= 0 ;
33917 PyObject
* obj1
= 0 ;
33918 char * kwnames
[] = {
33919 (char *) "self",(char *) "c", NULL
33922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33927 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33938 resultobj
= SWIG_Py_Void();
33945 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33946 PyObject
*resultobj
= 0;
33947 wxEffects
*arg1
= (wxEffects
*) 0 ;
33948 wxColour
*arg2
= 0 ;
33952 PyObject
* obj0
= 0 ;
33953 PyObject
* obj1
= 0 ;
33954 char * kwnames
[] = {
33955 (char *) "self",(char *) "c", NULL
33958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33960 if (!SWIG_IsOK(res1
)) {
33961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33963 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33966 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 resultobj
= SWIG_Py_Void();
33981 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
= 0;
33983 wxEffects
*arg1
= (wxEffects
*) 0 ;
33984 wxColour
*arg2
= 0 ;
33985 wxColour
*arg3
= 0 ;
33986 wxColour
*arg4
= 0 ;
33987 wxColour
*arg5
= 0 ;
33988 wxColour
*arg6
= 0 ;
33996 PyObject
* obj0
= 0 ;
33997 PyObject
* obj1
= 0 ;
33998 PyObject
* obj2
= 0 ;
33999 PyObject
* obj3
= 0 ;
34000 PyObject
* obj4
= 0 ;
34001 PyObject
* obj5
= 0 ;
34002 char * kwnames
[] = {
34003 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34008 if (!SWIG_IsOK(res1
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34011 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34018 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34022 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34026 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34030 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= SWIG_Py_Void();
34045 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34046 PyObject
*resultobj
= 0;
34047 wxEffects
*arg1
= (wxEffects
*) 0 ;
34050 int arg4
= (int) 1 ;
34058 PyObject
* obj0
= 0 ;
34059 PyObject
* obj1
= 0 ;
34060 PyObject
* obj2
= 0 ;
34061 PyObject
* obj3
= 0 ;
34062 char * kwnames
[] = {
34063 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34071 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34073 if (!SWIG_IsOK(res2
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34079 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34082 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34086 if (!SWIG_IsOK(ecode4
)) {
34087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34089 arg4
= static_cast< int >(val4
);
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34097 resultobj
= SWIG_Py_Void();
34104 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
= 0;
34106 wxEffects
*arg1
= (wxEffects
*) 0 ;
34109 wxBitmap
*arg4
= 0 ;
34118 PyObject
* obj0
= 0 ;
34119 PyObject
* obj1
= 0 ;
34120 PyObject
* obj2
= 0 ;
34121 PyObject
* obj3
= 0 ;
34122 char * kwnames
[] = {
34123 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34128 if (!SWIG_IsOK(res1
)) {
34129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34131 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34134 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34136 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34137 if (!SWIG_IsOK(res3
)) {
34138 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34143 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34144 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34145 if (!SWIG_IsOK(res4
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34151 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34167 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34170 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34171 return SWIG_Py_Void();
34174 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34175 return SWIG_Python_InitShadowInstance(args
);
34178 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34179 PyObject
*resultobj
= 0;
34183 wxSplitterRenderParams
*result
= 0 ;
34190 PyObject
* obj0
= 0 ;
34191 PyObject
* obj1
= 0 ;
34192 PyObject
* obj2
= 0 ;
34193 char * kwnames
[] = {
34194 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34199 if (!SWIG_IsOK(ecode1
)) {
34200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34202 arg1
= static_cast< int >(val1
);
34203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34204 if (!SWIG_IsOK(ecode2
)) {
34205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34207 arg2
= static_cast< int >(val2
);
34208 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34209 if (!SWIG_IsOK(ecode3
)) {
34210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34212 arg3
= static_cast< bool >(val3
);
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34226 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34227 PyObject
*resultobj
= 0;
34228 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34231 PyObject
*swig_obj
[1] ;
34233 if (!args
) SWIG_fail
;
34234 swig_obj
[0] = args
;
34235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34236 if (!SWIG_IsOK(res1
)) {
34237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34239 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= SWIG_Py_Void();
34254 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34255 PyObject
*resultobj
= 0;
34256 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34260 PyObject
*swig_obj
[1] ;
34262 if (!args
) SWIG_fail
;
34263 swig_obj
[0] = args
;
34264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34265 if (!SWIG_IsOK(res1
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34268 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34269 result
= (int)(int) ((arg1
)->widthSash
);
34270 resultobj
= SWIG_From_int(static_cast< int >(result
));
34277 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34278 PyObject
*resultobj
= 0;
34279 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34283 PyObject
*swig_obj
[1] ;
34285 if (!args
) SWIG_fail
;
34286 swig_obj
[0] = args
;
34287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34288 if (!SWIG_IsOK(res1
)) {
34289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34291 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34292 result
= (int)(int) ((arg1
)->border
);
34293 resultobj
= SWIG_From_int(static_cast< int >(result
));
34300 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34301 PyObject
*resultobj
= 0;
34302 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34306 PyObject
*swig_obj
[1] ;
34308 if (!args
) SWIG_fail
;
34309 swig_obj
[0] = args
;
34310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34311 if (!SWIG_IsOK(res1
)) {
34312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34314 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34315 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34316 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34323 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34326 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34327 return SWIG_Py_Void();
34330 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34331 return SWIG_Python_InitShadowInstance(args
);
34334 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34335 PyObject
*resultobj
= 0;
34336 wxHeaderButtonParams
*result
= 0 ;
34338 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34352 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34353 PyObject
*resultobj
= 0;
34354 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34357 PyObject
*swig_obj
[1] ;
34359 if (!args
) SWIG_fail
;
34360 swig_obj
[0] = args
;
34361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34362 if (!SWIG_IsOK(res1
)) {
34363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34365 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= SWIG_Py_Void();
34380 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34381 PyObject
*resultobj
= 0;
34382 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34383 wxColour
*arg2
= (wxColour
*) 0 ;
34387 PyObject
*swig_obj
[2] ;
34389 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34391 if (!SWIG_IsOK(res1
)) {
34392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34394 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34397 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34399 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34401 resultobj
= SWIG_Py_Void();
34408 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34409 PyObject
*resultobj
= 0;
34410 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34411 wxColour
*result
= 0 ;
34414 PyObject
*swig_obj
[1] ;
34416 if (!args
) SWIG_fail
;
34417 swig_obj
[0] = args
;
34418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34419 if (!SWIG_IsOK(res1
)) {
34420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34422 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34423 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34431 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34432 PyObject
*resultobj
= 0;
34433 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34434 wxColour
*arg2
= (wxColour
*) 0 ;
34438 PyObject
*swig_obj
[2] ;
34440 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34442 if (!SWIG_IsOK(res1
)) {
34443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34445 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34448 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34450 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34452 resultobj
= SWIG_Py_Void();
34459 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34460 PyObject
*resultobj
= 0;
34461 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34462 wxColour
*result
= 0 ;
34465 PyObject
*swig_obj
[1] ;
34467 if (!args
) SWIG_fail
;
34468 swig_obj
[0] = args
;
34469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34470 if (!SWIG_IsOK(res1
)) {
34471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34473 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34474 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34482 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34483 PyObject
*resultobj
= 0;
34484 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34485 wxString
*arg2
= (wxString
*) 0 ;
34488 bool temp2
= false ;
34489 PyObject
*swig_obj
[2] ;
34491 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34493 if (!SWIG_IsOK(res1
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34496 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34498 arg2
= wxString_in_helper(swig_obj
[1]);
34499 if (arg2
== NULL
) SWIG_fail
;
34502 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34504 resultobj
= SWIG_Py_Void();
34519 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34520 PyObject
*resultobj
= 0;
34521 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34522 wxString
*result
= 0 ;
34525 PyObject
*swig_obj
[1] ;
34527 if (!args
) SWIG_fail
;
34528 swig_obj
[0] = args
;
34529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34530 if (!SWIG_IsOK(res1
)) {
34531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34533 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34534 result
= (wxString
*)& ((arg1
)->m_labelText
);
34537 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34539 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34548 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34549 PyObject
*resultobj
= 0;
34550 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34551 wxFont
*arg2
= (wxFont
*) 0 ;
34556 PyObject
*swig_obj
[2] ;
34558 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34560 if (!SWIG_IsOK(res1
)) {
34561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34563 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34564 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34565 if (!SWIG_IsOK(res2
)) {
34566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34568 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34569 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34571 resultobj
= SWIG_Py_Void();
34578 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34579 PyObject
*resultobj
= 0;
34580 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34581 wxFont
*result
= 0 ;
34584 PyObject
*swig_obj
[1] ;
34586 if (!args
) SWIG_fail
;
34587 swig_obj
[0] = args
;
34588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34589 if (!SWIG_IsOK(res1
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34592 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34593 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34601 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34602 PyObject
*resultobj
= 0;
34603 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34604 wxColour
*arg2
= (wxColour
*) 0 ;
34608 PyObject
*swig_obj
[2] ;
34610 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34612 if (!SWIG_IsOK(res1
)) {
34613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34615 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34618 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34620 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34622 resultobj
= SWIG_Py_Void();
34629 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34630 PyObject
*resultobj
= 0;
34631 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34632 wxColour
*result
= 0 ;
34635 PyObject
*swig_obj
[1] ;
34637 if (!args
) SWIG_fail
;
34638 swig_obj
[0] = args
;
34639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34640 if (!SWIG_IsOK(res1
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34643 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34644 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34652 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34653 PyObject
*resultobj
= 0;
34654 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34655 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34660 PyObject
*swig_obj
[2] ;
34662 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34664 if (!SWIG_IsOK(res1
)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34667 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34668 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34669 if (!SWIG_IsOK(res2
)) {
34670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34672 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34673 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34675 resultobj
= SWIG_Py_Void();
34682 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34683 PyObject
*resultobj
= 0;
34684 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34685 wxBitmap
*result
= 0 ;
34688 PyObject
*swig_obj
[1] ;
34690 if (!args
) SWIG_fail
;
34691 swig_obj
[0] = args
;
34692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34693 if (!SWIG_IsOK(res1
)) {
34694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34696 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34697 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34705 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34706 PyObject
*resultobj
= 0;
34707 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34713 PyObject
*swig_obj
[2] ;
34715 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34717 if (!SWIG_IsOK(res1
)) {
34718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34720 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34721 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34722 if (!SWIG_IsOK(ecode2
)) {
34723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34725 arg2
= static_cast< int >(val2
);
34726 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34728 resultobj
= SWIG_Py_Void();
34735 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34736 PyObject
*resultobj
= 0;
34737 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34741 PyObject
*swig_obj
[1] ;
34743 if (!args
) SWIG_fail
;
34744 swig_obj
[0] = args
;
34745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34746 if (!SWIG_IsOK(res1
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34749 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34750 result
= (int) ((arg1
)->m_labelAlignment
);
34751 resultobj
= SWIG_From_int(static_cast< int >(result
));
34758 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34761 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34762 return SWIG_Py_Void();
34765 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34766 return SWIG_Python_InitShadowInstance(args
);
34769 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
= 0;
34773 wxRendererVersion
*result
= 0 ;
34778 PyObject
* obj0
= 0 ;
34779 PyObject
* obj1
= 0 ;
34780 char * kwnames
[] = {
34781 (char *) "version_",(char *) "age_", NULL
34784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34785 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34786 if (!SWIG_IsOK(ecode1
)) {
34787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34789 arg1
= static_cast< int >(val1
);
34790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34791 if (!SWIG_IsOK(ecode2
)) {
34792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34794 arg2
= static_cast< int >(val2
);
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34798 wxPyEndAllowThreads(__tstate
);
34799 if (PyErr_Occurred()) SWIG_fail
;
34801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34808 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34809 PyObject
*resultobj
= 0;
34810 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34813 PyObject
*swig_obj
[1] ;
34815 if (!args
) SWIG_fail
;
34816 swig_obj
[0] = args
;
34817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34818 if (!SWIG_IsOK(res1
)) {
34819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34821 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 wxPyEndAllowThreads(__tstate
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34829 resultobj
= SWIG_Py_Void();
34836 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34837 PyObject
*resultobj
= 0;
34838 wxRendererVersion
*arg1
= 0 ;
34842 PyObject
* obj0
= 0 ;
34843 char * kwnames
[] = {
34844 (char *) "ver", NULL
34847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34848 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34849 if (!SWIG_IsOK(res1
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34855 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34871 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34872 PyObject
*resultobj
= 0;
34873 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34877 PyObject
*swig_obj
[1] ;
34879 if (!args
) SWIG_fail
;
34880 swig_obj
[0] = args
;
34881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34882 if (!SWIG_IsOK(res1
)) {
34883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34885 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34886 result
= (int)(int) ((arg1
)->version
);
34887 resultobj
= SWIG_From_int(static_cast< int >(result
));
34894 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34895 PyObject
*resultobj
= 0;
34896 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34900 PyObject
*swig_obj
[1] ;
34902 if (!args
) SWIG_fail
;
34903 swig_obj
[0] = args
;
34904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34905 if (!SWIG_IsOK(res1
)) {
34906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34908 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34909 result
= (int)(int) ((arg1
)->age
);
34910 resultobj
= SWIG_From_int(static_cast< int >(result
));
34917 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34920 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34921 return SWIG_Py_Void();
34924 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34925 return SWIG_Python_InitShadowInstance(args
);
34928 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34929 PyObject
*resultobj
= 0;
34930 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34931 wxWindow
*arg2
= (wxWindow
*) 0 ;
34934 int arg5
= (int) 0 ;
34935 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34936 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34950 PyObject
* obj0
= 0 ;
34951 PyObject
* obj1
= 0 ;
34952 PyObject
* obj2
= 0 ;
34953 PyObject
* obj3
= 0 ;
34954 PyObject
* obj4
= 0 ;
34955 PyObject
* obj5
= 0 ;
34956 PyObject
* obj6
= 0 ;
34957 char * kwnames
[] = {
34958 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34963 if (!SWIG_IsOK(res1
)) {
34964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34966 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34968 if (!SWIG_IsOK(res2
)) {
34969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34971 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34972 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34973 if (!SWIG_IsOK(res3
)) {
34974 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34979 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34982 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34985 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34986 if (!SWIG_IsOK(ecode5
)) {
34987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34989 arg5
= static_cast< int >(val5
);
34992 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34993 if (!SWIG_IsOK(ecode6
)) {
34994 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34996 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34999 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35000 if (!SWIG_IsOK(res7
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35003 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35007 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35011 resultobj
= SWIG_Py_Void();
35018 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35019 PyObject
*resultobj
= 0;
35020 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35021 wxWindow
*arg2
= (wxWindow
*) 0 ;
35024 int arg5
= (int) 0 ;
35025 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35026 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35040 PyObject
* obj0
= 0 ;
35041 PyObject
* obj1
= 0 ;
35042 PyObject
* obj2
= 0 ;
35043 PyObject
* obj3
= 0 ;
35044 PyObject
* obj4
= 0 ;
35045 PyObject
* obj5
= 0 ;
35046 PyObject
* obj6
= 0 ;
35047 char * kwnames
[] = {
35048 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35056 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35058 if (!SWIG_IsOK(res2
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35062 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35063 if (!SWIG_IsOK(res3
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35069 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35072 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35076 if (!SWIG_IsOK(ecode5
)) {
35077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35079 arg5
= static_cast< int >(val5
);
35082 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35083 if (!SWIG_IsOK(ecode6
)) {
35084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35086 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35089 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35090 if (!SWIG_IsOK(res7
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35093 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35101 resultobj
= SWIG_Py_Void();
35108 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35109 PyObject
*resultobj
= 0;
35110 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35111 wxWindow
*arg2
= (wxWindow
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 PyObject
* obj1
= 0 ;
35119 char * kwnames
[] = {
35120 (char *) "self",(char *) "win", NULL
35123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35125 if (!SWIG_IsOK(res1
)) {
35126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35128 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35130 if (!SWIG_IsOK(res2
)) {
35131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35133 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35136 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35137 wxPyEndAllowThreads(__tstate
);
35138 if (PyErr_Occurred()) SWIG_fail
;
35140 resultobj
= SWIG_From_int(static_cast< int >(result
));
35147 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35148 PyObject
*resultobj
= 0;
35149 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35150 wxWindow
*arg2
= (wxWindow
*) 0 ;
35153 int arg5
= (int) 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 PyObject
* obj2
= 0 ;
35166 PyObject
* obj3
= 0 ;
35167 PyObject
* obj4
= 0 ;
35168 char * kwnames
[] = {
35169 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35174 if (!SWIG_IsOK(res1
)) {
35175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35177 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35179 if (!SWIG_IsOK(res2
)) {
35180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35182 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35183 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35184 if (!SWIG_IsOK(res3
)) {
35185 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35190 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35193 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35196 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35197 if (!SWIG_IsOK(ecode5
)) {
35198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35200 arg5
= static_cast< int >(val5
);
35203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35204 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35205 wxPyEndAllowThreads(__tstate
);
35206 if (PyErr_Occurred()) SWIG_fail
;
35208 resultobj
= SWIG_Py_Void();
35215 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35216 PyObject
*resultobj
= 0;
35217 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35218 wxWindow
*arg2
= (wxWindow
*) 0 ;
35221 int arg5
= (int) 0 ;
35231 PyObject
* obj0
= 0 ;
35232 PyObject
* obj1
= 0 ;
35233 PyObject
* obj2
= 0 ;
35234 PyObject
* obj3
= 0 ;
35235 PyObject
* obj4
= 0 ;
35236 char * kwnames
[] = {
35237 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35242 if (!SWIG_IsOK(res1
)) {
35243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35245 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35247 if (!SWIG_IsOK(res2
)) {
35248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35250 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35251 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35252 if (!SWIG_IsOK(res3
)) {
35253 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35258 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35261 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35265 if (!SWIG_IsOK(ecode5
)) {
35266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35268 arg5
= static_cast< int >(val5
);
35271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35272 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 resultobj
= SWIG_Py_Void();
35283 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35284 PyObject
*resultobj
= 0;
35285 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35286 wxWindow
*arg2
= (wxWindow
*) 0 ;
35290 wxOrientation arg6
;
35291 int arg7
= (int) 0 ;
35305 PyObject
* obj0
= 0 ;
35306 PyObject
* obj1
= 0 ;
35307 PyObject
* obj2
= 0 ;
35308 PyObject
* obj3
= 0 ;
35309 PyObject
* obj4
= 0 ;
35310 PyObject
* obj5
= 0 ;
35311 PyObject
* obj6
= 0 ;
35312 char * kwnames
[] = {
35313 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35318 if (!SWIG_IsOK(res1
)) {
35319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35321 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35323 if (!SWIG_IsOK(res2
)) {
35324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35326 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35328 if (!SWIG_IsOK(res3
)) {
35329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35334 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35340 if (!SWIG_IsOK(ecode5
)) {
35341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35343 arg5
= static_cast< int >(val5
);
35344 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35345 if (!SWIG_IsOK(ecode6
)) {
35346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35348 arg6
= static_cast< wxOrientation
>(val6
);
35350 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35351 if (!SWIG_IsOK(ecode7
)) {
35352 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35354 arg7
= static_cast< int >(val7
);
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35358 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35359 wxPyEndAllowThreads(__tstate
);
35360 if (PyErr_Occurred()) SWIG_fail
;
35362 resultobj
= SWIG_Py_Void();
35369 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35370 PyObject
*resultobj
= 0;
35371 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35372 wxWindow
*arg2
= (wxWindow
*) 0 ;
35375 int arg5
= (int) 0 ;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 PyObject
* obj2
= 0 ;
35388 PyObject
* obj3
= 0 ;
35389 PyObject
* obj4
= 0 ;
35390 char * kwnames
[] = {
35391 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35396 if (!SWIG_IsOK(res1
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35399 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35401 if (!SWIG_IsOK(res2
)) {
35402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35404 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35405 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35406 if (!SWIG_IsOK(res3
)) {
35407 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35412 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35415 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35418 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35419 if (!SWIG_IsOK(ecode5
)) {
35420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35422 arg5
= static_cast< int >(val5
);
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35430 resultobj
= SWIG_Py_Void();
35437 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35438 PyObject
*resultobj
= 0;
35439 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35440 wxWindow
*arg2
= (wxWindow
*) 0 ;
35443 int arg5
= (int) 0 ;
35453 PyObject
* obj0
= 0 ;
35454 PyObject
* obj1
= 0 ;
35455 PyObject
* obj2
= 0 ;
35456 PyObject
* obj3
= 0 ;
35457 PyObject
* obj4
= 0 ;
35458 char * kwnames
[] = {
35459 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35464 if (!SWIG_IsOK(res1
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35467 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35469 if (!SWIG_IsOK(res2
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35472 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35473 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35474 if (!SWIG_IsOK(res3
)) {
35475 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35480 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35483 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35486 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35487 if (!SWIG_IsOK(ecode5
)) {
35488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35490 arg5
= static_cast< int >(val5
);
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= SWIG_Py_Void();
35505 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35506 PyObject
*resultobj
= 0;
35507 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35508 wxWindow
*arg2
= (wxWindow
*) 0 ;
35511 int arg5
= (int) 0 ;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 PyObject
* obj2
= 0 ;
35524 PyObject
* obj3
= 0 ;
35525 PyObject
* obj4
= 0 ;
35526 char * kwnames
[] = {
35527 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35532 if (!SWIG_IsOK(res1
)) {
35533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35535 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35537 if (!SWIG_IsOK(res2
)) {
35538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35541 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35542 if (!SWIG_IsOK(res3
)) {
35543 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35548 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35551 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35554 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35555 if (!SWIG_IsOK(ecode5
)) {
35556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35558 arg5
= static_cast< int >(val5
);
35561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35562 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35563 wxPyEndAllowThreads(__tstate
);
35564 if (PyErr_Occurred()) SWIG_fail
;
35566 resultobj
= SWIG_Py_Void();
35573 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35574 PyObject
*resultobj
= 0;
35575 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35576 wxWindow
*arg2
= (wxWindow
*) 0 ;
35579 int arg5
= (int) 0 ;
35589 PyObject
* obj0
= 0 ;
35590 PyObject
* obj1
= 0 ;
35591 PyObject
* obj2
= 0 ;
35592 PyObject
* obj3
= 0 ;
35593 PyObject
* obj4
= 0 ;
35594 char * kwnames
[] = {
35595 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35600 if (!SWIG_IsOK(res1
)) {
35601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35603 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35605 if (!SWIG_IsOK(res2
)) {
35606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35608 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35609 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35610 if (!SWIG_IsOK(res3
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35616 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35619 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35623 if (!SWIG_IsOK(ecode5
)) {
35624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35626 arg5
= static_cast< int >(val5
);
35629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35630 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35631 wxPyEndAllowThreads(__tstate
);
35632 if (PyErr_Occurred()) SWIG_fail
;
35634 resultobj
= SWIG_Py_Void();
35641 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35642 PyObject
*resultobj
= 0;
35643 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35644 wxWindow
*arg2
= (wxWindow
*) 0 ;
35647 int arg5
= (int) 0 ;
35657 PyObject
* obj0
= 0 ;
35658 PyObject
* obj1
= 0 ;
35659 PyObject
* obj2
= 0 ;
35660 PyObject
* obj3
= 0 ;
35661 PyObject
* obj4
= 0 ;
35662 char * kwnames
[] = {
35663 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35668 if (!SWIG_IsOK(res1
)) {
35669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35671 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35673 if (!SWIG_IsOK(res2
)) {
35674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35677 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35678 if (!SWIG_IsOK(res3
)) {
35679 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35684 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35687 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35690 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35691 if (!SWIG_IsOK(ecode5
)) {
35692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35694 arg5
= static_cast< int >(val5
);
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= SWIG_Py_Void();
35709 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
= 0;
35711 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35712 wxWindow
*arg2
= (wxWindow
*) 0 ;
35713 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 char * kwnames
[] = {
35721 (char *) "self",(char *) "win", NULL
35724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35726 if (!SWIG_IsOK(res1
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35729 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35731 if (!SWIG_IsOK(res2
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35748 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35749 PyObject
*resultobj
= 0;
35750 wxRendererNative
*result
= 0 ;
35752 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35754 if (!wxPyCheckForApp()) SWIG_fail
;
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35758 result
= (wxRendererNative
*) &_result_ref
;
35760 wxPyEndAllowThreads(__tstate
);
35761 if (PyErr_Occurred()) SWIG_fail
;
35763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35770 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35771 PyObject
*resultobj
= 0;
35772 wxRendererNative
*result
= 0 ;
35774 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35776 if (!wxPyCheckForApp()) SWIG_fail
;
35777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35780 result
= (wxRendererNative
*) &_result_ref
;
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35792 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35793 PyObject
*resultobj
= 0;
35794 wxRendererNative
*result
= 0 ;
35796 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35798 if (!wxPyCheckForApp()) SWIG_fail
;
35799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35801 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35802 result
= (wxRendererNative
*) &_result_ref
;
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35814 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
= 0;
35816 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35817 wxRendererNative
*result
= 0 ;
35820 PyObject
* obj0
= 0 ;
35821 char * kwnames
[] = {
35822 (char *) "renderer", NULL
35825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35827 if (!SWIG_IsOK(res1
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35830 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35832 if (!wxPyCheckForApp()) SWIG_fail
;
35833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35834 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35835 wxPyEndAllowThreads(__tstate
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35845 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35846 PyObject
*resultobj
= 0;
35847 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35848 SwigValueWrapper
<wxRendererVersion
> result
;
35851 PyObject
*swig_obj
[1] ;
35853 if (!args
) SWIG_fail
;
35854 swig_obj
[0] = args
;
35855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35856 if (!SWIG_IsOK(res1
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35859 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35862 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35873 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35876 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35877 return SWIG_Py_Void();
35880 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35881 PyObject
*resultobj
= 0;
35882 wxPseudoDC
*result
= 0 ;
35884 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35887 result
= (wxPseudoDC
*)new wxPseudoDC();
35888 wxPyEndAllowThreads(__tstate
);
35889 if (PyErr_Occurred()) SWIG_fail
;
35891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35898 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35899 PyObject
*resultobj
= 0;
35900 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35903 PyObject
*swig_obj
[1] ;
35905 if (!args
) SWIG_fail
;
35906 swig_obj
[0] = args
;
35907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35908 if (!SWIG_IsOK(res1
)) {
35909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->BeginDrawing();
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35918 resultobj
= SWIG_Py_Void();
35925 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35926 PyObject
*resultobj
= 0;
35927 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35930 PyObject
*swig_obj
[1] ;
35932 if (!args
) SWIG_fail
;
35933 swig_obj
[0] = args
;
35934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35935 if (!SWIG_IsOK(res1
)) {
35936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35938 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35941 (arg1
)->EndDrawing();
35942 wxPyEndAllowThreads(__tstate
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35945 resultobj
= SWIG_Py_Void();
35952 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35953 PyObject
*resultobj
= 0;
35954 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35957 PyObject
*swig_obj
[1] ;
35959 if (!args
) SWIG_fail
;
35960 swig_obj
[0] = args
;
35961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35962 if (!SWIG_IsOK(res1
)) {
35963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 wxPyEndAllowThreads(__tstate
);
35971 if (PyErr_Occurred()) SWIG_fail
;
35973 resultobj
= SWIG_Py_Void();
35980 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35981 PyObject
*resultobj
= 0;
35982 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35985 PyObject
*swig_obj
[1] ;
35987 if (!args
) SWIG_fail
;
35988 swig_obj
[0] = args
;
35989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35990 if (!SWIG_IsOK(res1
)) {
35991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35993 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 (arg1
)->RemoveAll();
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 resultobj
= SWIG_Py_Void();
36007 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36008 PyObject
*resultobj
= 0;
36009 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36013 PyObject
*swig_obj
[1] ;
36015 if (!args
) SWIG_fail
;
36016 swig_obj
[0] = args
;
36017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36018 if (!SWIG_IsOK(res1
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36021 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= (int)(arg1
)->GetLen();
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 resultobj
= SWIG_From_int(static_cast< int >(result
));
36035 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36036 PyObject
*resultobj
= 0;
36037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36043 PyObject
* obj0
= 0 ;
36044 PyObject
* obj1
= 0 ;
36045 char * kwnames
[] = {
36046 (char *) "self",(char *) "id", NULL
36049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36051 if (!SWIG_IsOK(res1
)) {
36052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36056 if (!SWIG_IsOK(ecode2
)) {
36057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36059 arg2
= static_cast< int >(val2
);
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36062 (arg1
)->SetId(arg2
);
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36066 resultobj
= SWIG_Py_Void();
36073 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
= 0;
36075 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36081 PyObject
* obj0
= 0 ;
36082 PyObject
* obj1
= 0 ;
36083 char * kwnames
[] = {
36084 (char *) "self",(char *) "id", NULL
36087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36089 if (!SWIG_IsOK(res1
)) {
36090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36094 if (!SWIG_IsOK(ecode2
)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36097 arg2
= static_cast< int >(val2
);
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 (arg1
)->ClearId(arg2
);
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_Py_Void();
36111 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36119 PyObject
* obj0
= 0 ;
36120 PyObject
* obj1
= 0 ;
36121 char * kwnames
[] = {
36122 (char *) "self",(char *) "id", NULL
36125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36127 if (!SWIG_IsOK(res1
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36132 if (!SWIG_IsOK(ecode2
)) {
36133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36135 arg2
= static_cast< int >(val2
);
36137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36138 (arg1
)->RemoveId(arg2
);
36139 wxPyEndAllowThreads(__tstate
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36142 resultobj
= SWIG_Py_Void();
36149 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36150 PyObject
*resultobj
= 0;
36151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36163 PyObject
* obj0
= 0 ;
36164 PyObject
* obj1
= 0 ;
36165 PyObject
* obj2
= 0 ;
36166 PyObject
* obj3
= 0 ;
36167 char * kwnames
[] = {
36168 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36173 if (!SWIG_IsOK(res1
)) {
36174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36178 if (!SWIG_IsOK(ecode2
)) {
36179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36181 arg2
= static_cast< int >(val2
);
36182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36183 if (!SWIG_IsOK(ecode3
)) {
36184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36186 arg3
= static_cast< int >(val3
);
36187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36188 if (!SWIG_IsOK(ecode4
)) {
36189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36191 arg4
= static_cast< int >(val4
);
36193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36194 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36195 wxPyEndAllowThreads(__tstate
);
36196 if (PyErr_Occurred()) SWIG_fail
;
36198 resultobj
= SWIG_Py_Void();
36205 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36206 PyObject
*resultobj
= 0;
36207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36209 bool arg3
= (bool) true ;
36216 PyObject
* obj0
= 0 ;
36217 PyObject
* obj1
= 0 ;
36218 PyObject
* obj2
= 0 ;
36219 char * kwnames
[] = {
36220 (char *) "self",(char *) "id",(char *) "greyout", NULL
36223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36225 if (!SWIG_IsOK(res1
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36230 if (!SWIG_IsOK(ecode2
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36233 arg2
= static_cast< int >(val2
);
36235 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36236 if (!SWIG_IsOK(ecode3
)) {
36237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36239 arg3
= static_cast< bool >(val3
);
36242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36243 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36244 wxPyEndAllowThreads(__tstate
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36247 resultobj
= SWIG_Py_Void();
36254 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36255 PyObject
*resultobj
= 0;
36256 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36263 PyObject
* obj0
= 0 ;
36264 PyObject
* obj1
= 0 ;
36265 char * kwnames
[] = {
36266 (char *) "self",(char *) "id", NULL
36269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36271 if (!SWIG_IsOK(res1
)) {
36272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36276 if (!SWIG_IsOK(ecode2
)) {
36277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36279 arg2
= static_cast< int >(val2
);
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36283 wxPyEndAllowThreads(__tstate
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36295 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36296 PyObject
*resultobj
= 0;
36297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36300 int arg4
= (int) 1 ;
36301 wxColor
const &arg5_defvalue
= *wxWHITE
;
36302 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36303 PyObject
*result
= 0 ;
36314 PyObject
* obj0
= 0 ;
36315 PyObject
* obj1
= 0 ;
36316 PyObject
* obj2
= 0 ;
36317 PyObject
* obj3
= 0 ;
36318 PyObject
* obj4
= 0 ;
36319 char * kwnames
[] = {
36320 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36325 if (!SWIG_IsOK(res1
)) {
36326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36328 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36330 if (!SWIG_IsOK(ecode2
)) {
36331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36333 arg2
= static_cast< int >(val2
);
36334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36335 if (!SWIG_IsOK(ecode3
)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36338 arg3
= static_cast< int >(val3
);
36340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36341 if (!SWIG_IsOK(ecode4
)) {
36342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36344 arg4
= static_cast< int >(val4
);
36347 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36348 if (!SWIG_IsOK(res5
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36354 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36357 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= result
;
36367 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
= 0;
36369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36372 PyObject
*result
= 0 ;
36379 PyObject
* obj0
= 0 ;
36380 PyObject
* obj1
= 0 ;
36381 PyObject
* obj2
= 0 ;
36382 char * kwnames
[] = {
36383 (char *) "self",(char *) "x",(char *) "y", NULL
36386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36388 if (!SWIG_IsOK(res1
)) {
36389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36391 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36393 if (!SWIG_IsOK(ecode2
)) {
36394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36396 arg2
= static_cast< int >(val2
);
36397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36398 if (!SWIG_IsOK(ecode3
)) {
36399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36401 arg3
= static_cast< int >(val3
);
36403 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36404 if (PyErr_Occurred()) SWIG_fail
;
36406 resultobj
= result
;
36413 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
= 0;
36415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36417 wxDC
*arg3
= (wxDC
*) 0 ;
36424 PyObject
* obj0
= 0 ;
36425 PyObject
* obj1
= 0 ;
36426 PyObject
* obj2
= 0 ;
36427 char * kwnames
[] = {
36428 (char *) "self",(char *) "id",(char *) "dc", NULL
36431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36433 if (!SWIG_IsOK(res1
)) {
36434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36436 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36438 if (!SWIG_IsOK(ecode2
)) {
36439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36441 arg2
= static_cast< int >(val2
);
36442 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36443 if (!SWIG_IsOK(res3
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36446 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36449 (arg1
)->DrawIdToDC(arg2
,arg3
);
36450 wxPyEndAllowThreads(__tstate
);
36451 if (PyErr_Occurred()) SWIG_fail
;
36453 resultobj
= SWIG_Py_Void();
36460 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36461 PyObject
*resultobj
= 0;
36462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36470 PyObject
* obj0
= 0 ;
36471 PyObject
* obj1
= 0 ;
36472 PyObject
* obj2
= 0 ;
36473 char * kwnames
[] = {
36474 (char *) "self",(char *) "id",(char *) "rect", NULL
36477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36479 if (!SWIG_IsOK(res1
)) {
36480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36482 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36484 if (!SWIG_IsOK(ecode2
)) {
36485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36487 arg2
= static_cast< int >(val2
);
36490 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36494 (arg1
)->SetIdBounds(arg2
,*arg3
);
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= SWIG_Py_Void();
36505 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
= 0;
36507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36514 PyObject
* obj0
= 0 ;
36515 PyObject
* obj1
= 0 ;
36516 char * kwnames
[] = {
36517 (char *) "self",(char *) "id", NULL
36520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36522 if (!SWIG_IsOK(res1
)) {
36523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36527 if (!SWIG_IsOK(ecode2
)) {
36528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36530 arg2
= static_cast< int >(val2
);
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36534 wxPyEndAllowThreads(__tstate
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36544 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36545 PyObject
*resultobj
= 0;
36546 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36547 wxDC
*arg2
= (wxDC
*) 0 ;
36554 PyObject
* obj0
= 0 ;
36555 PyObject
* obj1
= 0 ;
36556 PyObject
* obj2
= 0 ;
36557 char * kwnames
[] = {
36558 (char *) "self",(char *) "dc",(char *) "rect", NULL
36561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36563 if (!SWIG_IsOK(res1
)) {
36564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36566 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36568 if (!SWIG_IsOK(res2
)) {
36569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36571 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36574 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36578 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36579 wxPyEndAllowThreads(__tstate
);
36580 if (PyErr_Occurred()) SWIG_fail
;
36582 resultobj
= SWIG_Py_Void();
36589 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36590 PyObject
*resultobj
= 0;
36591 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36592 wxDC
*arg2
= (wxDC
*) 0 ;
36593 wxRegion
*arg3
= 0 ;
36600 PyObject
* obj0
= 0 ;
36601 PyObject
* obj1
= 0 ;
36602 PyObject
* obj2
= 0 ;
36603 char * kwnames
[] = {
36604 (char *) "self",(char *) "dc",(char *) "region", NULL
36607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36609 if (!SWIG_IsOK(res1
)) {
36610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36612 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36614 if (!SWIG_IsOK(res2
)) {
36615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36617 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36618 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36619 if (!SWIG_IsOK(res3
)) {
36620 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36625 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= SWIG_Py_Void();
36639 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
= 0;
36641 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36642 wxDC
*arg2
= (wxDC
*) 0 ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 char * kwnames
[] = {
36650 (char *) "self",(char *) "dc", NULL
36653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36655 if (!SWIG_IsOK(res1
)) {
36656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36660 if (!SWIG_IsOK(res2
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36663 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36666 (arg1
)->DrawToDC(arg2
);
36667 wxPyEndAllowThreads(__tstate
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36670 resultobj
= SWIG_Py_Void();
36677 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36678 PyObject
*resultobj
= 0;
36679 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36682 wxColour
*arg4
= 0 ;
36683 int arg5
= (int) wxFLOOD_SURFACE
;
36693 PyObject
* obj0
= 0 ;
36694 PyObject
* obj1
= 0 ;
36695 PyObject
* obj2
= 0 ;
36696 PyObject
* obj3
= 0 ;
36697 PyObject
* obj4
= 0 ;
36698 char * kwnames
[] = {
36699 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36704 if (!SWIG_IsOK(res1
)) {
36705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36707 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36709 if (!SWIG_IsOK(ecode2
)) {
36710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36712 arg2
= static_cast< int >(val2
);
36713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36714 if (!SWIG_IsOK(ecode3
)) {
36715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36717 arg3
= static_cast< int >(val3
);
36720 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36724 if (!SWIG_IsOK(ecode5
)) {
36725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36727 arg5
= static_cast< int >(val5
);
36730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36731 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= SWIG_Py_Void();
36742 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36743 PyObject
*resultobj
= 0;
36744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36745 wxPoint
*arg2
= 0 ;
36746 wxColour
*arg3
= 0 ;
36747 int arg4
= (int) wxFLOOD_SURFACE
;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 PyObject
* obj2
= 0 ;
36757 PyObject
* obj3
= 0 ;
36758 char * kwnames
[] = {
36759 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36764 if (!SWIG_IsOK(res1
)) {
36765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36767 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36774 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36777 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36778 if (!SWIG_IsOK(ecode4
)) {
36779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36781 arg4
= static_cast< int >(val4
);
36784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36785 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36786 wxPyEndAllowThreads(__tstate
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36789 resultobj
= SWIG_Py_Void();
36796 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
= 0;
36798 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36813 PyObject
* obj0
= 0 ;
36814 PyObject
* obj1
= 0 ;
36815 PyObject
* obj2
= 0 ;
36816 PyObject
* obj3
= 0 ;
36817 PyObject
* obj4
= 0 ;
36818 char * kwnames
[] = {
36819 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36824 if (!SWIG_IsOK(res1
)) {
36825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36827 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36829 if (!SWIG_IsOK(ecode2
)) {
36830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36832 arg2
= static_cast< int >(val2
);
36833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36834 if (!SWIG_IsOK(ecode3
)) {
36835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36837 arg3
= static_cast< int >(val3
);
36838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36839 if (!SWIG_IsOK(ecode4
)) {
36840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36842 arg4
= static_cast< int >(val4
);
36843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36844 if (!SWIG_IsOK(ecode5
)) {
36845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36847 arg5
= static_cast< int >(val5
);
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36850 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36851 wxPyEndAllowThreads(__tstate
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36854 resultobj
= SWIG_Py_Void();
36861 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36862 PyObject
*resultobj
= 0;
36863 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36864 wxPoint
*arg2
= 0 ;
36865 wxPoint
*arg3
= 0 ;
36870 PyObject
* obj0
= 0 ;
36871 PyObject
* obj1
= 0 ;
36872 PyObject
* obj2
= 0 ;
36873 char * kwnames
[] = {
36874 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36879 if (!SWIG_IsOK(res1
)) {
36880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36893 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36897 resultobj
= SWIG_Py_Void();
36904 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36905 PyObject
*resultobj
= 0;
36906 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36915 PyObject
* obj0
= 0 ;
36916 PyObject
* obj1
= 0 ;
36917 PyObject
* obj2
= 0 ;
36918 char * kwnames
[] = {
36919 (char *) "self",(char *) "x",(char *) "y", NULL
36922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36924 if (!SWIG_IsOK(res1
)) {
36925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36927 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36929 if (!SWIG_IsOK(ecode2
)) {
36930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36932 arg2
= static_cast< int >(val2
);
36933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36934 if (!SWIG_IsOK(ecode3
)) {
36935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36937 arg3
= static_cast< int >(val3
);
36939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36940 (arg1
)->CrossHair(arg2
,arg3
);
36941 wxPyEndAllowThreads(__tstate
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36944 resultobj
= SWIG_Py_Void();
36951 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36952 PyObject
*resultobj
= 0;
36953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36954 wxPoint
*arg2
= 0 ;
36958 PyObject
* obj0
= 0 ;
36959 PyObject
* obj1
= 0 ;
36960 char * kwnames
[] = {
36961 (char *) "self",(char *) "pt", NULL
36964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36966 if (!SWIG_IsOK(res1
)) {
36967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36969 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36976 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36980 resultobj
= SWIG_Py_Void();
36987 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36988 PyObject
*resultobj
= 0;
36989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37010 PyObject
* obj0
= 0 ;
37011 PyObject
* obj1
= 0 ;
37012 PyObject
* obj2
= 0 ;
37013 PyObject
* obj3
= 0 ;
37014 PyObject
* obj4
= 0 ;
37015 PyObject
* obj5
= 0 ;
37016 PyObject
* obj6
= 0 ;
37017 char * kwnames
[] = {
37018 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37023 if (!SWIG_IsOK(res1
)) {
37024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37026 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37028 if (!SWIG_IsOK(ecode2
)) {
37029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37031 arg2
= static_cast< int >(val2
);
37032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37033 if (!SWIG_IsOK(ecode3
)) {
37034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37036 arg3
= static_cast< int >(val3
);
37037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37038 if (!SWIG_IsOK(ecode4
)) {
37039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37041 arg4
= static_cast< int >(val4
);
37042 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37043 if (!SWIG_IsOK(ecode5
)) {
37044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37046 arg5
= static_cast< int >(val5
);
37047 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37048 if (!SWIG_IsOK(ecode6
)) {
37049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37051 arg6
= static_cast< int >(val6
);
37052 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37053 if (!SWIG_IsOK(ecode7
)) {
37054 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37056 arg7
= static_cast< int >(val7
);
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37059 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37060 wxPyEndAllowThreads(__tstate
);
37061 if (PyErr_Occurred()) SWIG_fail
;
37063 resultobj
= SWIG_Py_Void();
37070 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
= 0;
37072 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37073 wxPoint
*arg2
= 0 ;
37074 wxPoint
*arg3
= 0 ;
37075 wxPoint
*arg4
= 0 ;
37081 PyObject
* obj0
= 0 ;
37082 PyObject
* obj1
= 0 ;
37083 PyObject
* obj2
= 0 ;
37084 PyObject
* obj3
= 0 ;
37085 char * kwnames
[] = {
37086 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37091 if (!SWIG_IsOK(res1
)) {
37092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37094 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= SWIG_Py_Void();
37120 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
= 0;
37122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37137 PyObject
* obj0
= 0 ;
37138 PyObject
* obj1
= 0 ;
37139 PyObject
* obj2
= 0 ;
37140 PyObject
* obj3
= 0 ;
37141 PyObject
* obj4
= 0 ;
37142 char * kwnames
[] = {
37143 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37148 if (!SWIG_IsOK(res1
)) {
37149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37151 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37153 if (!SWIG_IsOK(ecode2
)) {
37154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37156 arg2
= static_cast< int >(val2
);
37157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37158 if (!SWIG_IsOK(ecode3
)) {
37159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37161 arg3
= static_cast< int >(val3
);
37162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37163 if (!SWIG_IsOK(ecode4
)) {
37164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37166 arg4
= static_cast< int >(val4
);
37167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37168 if (!SWIG_IsOK(ecode5
)) {
37169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37171 arg5
= static_cast< int >(val5
);
37173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37174 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37175 wxPyEndAllowThreads(__tstate
);
37176 if (PyErr_Occurred()) SWIG_fail
;
37178 resultobj
= SWIG_Py_Void();
37185 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37186 PyObject
*resultobj
= 0;
37187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37192 PyObject
* obj0
= 0 ;
37193 PyObject
* obj1
= 0 ;
37194 char * kwnames
[] = {
37195 (char *) "self",(char *) "rect", NULL
37198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37200 if (!SWIG_IsOK(res1
)) {
37201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37206 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37210 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37211 wxPyEndAllowThreads(__tstate
);
37212 if (PyErr_Occurred()) SWIG_fail
;
37214 resultobj
= SWIG_Py_Void();
37221 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37222 PyObject
*resultobj
= 0;
37223 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37244 PyObject
* obj0
= 0 ;
37245 PyObject
* obj1
= 0 ;
37246 PyObject
* obj2
= 0 ;
37247 PyObject
* obj3
= 0 ;
37248 PyObject
* obj4
= 0 ;
37249 PyObject
* obj5
= 0 ;
37250 PyObject
* obj6
= 0 ;
37251 char * kwnames
[] = {
37252 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37257 if (!SWIG_IsOK(res1
)) {
37258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37260 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37262 if (!SWIG_IsOK(ecode2
)) {
37263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37265 arg2
= static_cast< int >(val2
);
37266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37267 if (!SWIG_IsOK(ecode3
)) {
37268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37270 arg3
= static_cast< int >(val3
);
37271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37272 if (!SWIG_IsOK(ecode4
)) {
37273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37275 arg4
= static_cast< int >(val4
);
37276 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37277 if (!SWIG_IsOK(ecode5
)) {
37278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37280 arg5
= static_cast< int >(val5
);
37281 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37282 if (!SWIG_IsOK(ecode6
)) {
37283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37285 arg6
= static_cast< double >(val6
);
37286 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37287 if (!SWIG_IsOK(ecode7
)) {
37288 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37290 arg7
= static_cast< double >(val7
);
37292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37293 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= SWIG_Py_Void();
37304 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37305 PyObject
*resultobj
= 0;
37306 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37307 wxPoint
*arg2
= 0 ;
37319 PyObject
* obj0
= 0 ;
37320 PyObject
* obj1
= 0 ;
37321 PyObject
* obj2
= 0 ;
37322 PyObject
* obj3
= 0 ;
37323 PyObject
* obj4
= 0 ;
37324 char * kwnames
[] = {
37325 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37330 if (!SWIG_IsOK(res1
)) {
37331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37333 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37340 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37342 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37343 if (!SWIG_IsOK(ecode4
)) {
37344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37346 arg4
= static_cast< double >(val4
);
37347 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37348 if (!SWIG_IsOK(ecode5
)) {
37349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37351 arg5
= static_cast< double >(val5
);
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37355 wxPyEndAllowThreads(__tstate
);
37356 if (PyErr_Occurred()) SWIG_fail
;
37358 resultobj
= SWIG_Py_Void();
37365 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37366 PyObject
*resultobj
= 0;
37367 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37376 PyObject
* obj0
= 0 ;
37377 PyObject
* obj1
= 0 ;
37378 PyObject
* obj2
= 0 ;
37379 char * kwnames
[] = {
37380 (char *) "self",(char *) "x",(char *) "y", NULL
37383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37385 if (!SWIG_IsOK(res1
)) {
37386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37388 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37390 if (!SWIG_IsOK(ecode2
)) {
37391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37393 arg2
= static_cast< int >(val2
);
37394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37395 if (!SWIG_IsOK(ecode3
)) {
37396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37398 arg3
= static_cast< int >(val3
);
37400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37401 (arg1
)->DrawPoint(arg2
,arg3
);
37402 wxPyEndAllowThreads(__tstate
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37405 resultobj
= SWIG_Py_Void();
37412 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37413 PyObject
*resultobj
= 0;
37414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37415 wxPoint
*arg2
= 0 ;
37419 PyObject
* obj0
= 0 ;
37420 PyObject
* obj1
= 0 ;
37421 char * kwnames
[] = {
37422 (char *) "self",(char *) "pt", NULL
37425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37427 if (!SWIG_IsOK(res1
)) {
37428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37437 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37438 wxPyEndAllowThreads(__tstate
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37441 resultobj
= SWIG_Py_Void();
37448 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37449 PyObject
*resultobj
= 0;
37450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37465 PyObject
* obj0
= 0 ;
37466 PyObject
* obj1
= 0 ;
37467 PyObject
* obj2
= 0 ;
37468 PyObject
* obj3
= 0 ;
37469 PyObject
* obj4
= 0 ;
37470 char * kwnames
[] = {
37471 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37481 if (!SWIG_IsOK(ecode2
)) {
37482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37484 arg2
= static_cast< int >(val2
);
37485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37486 if (!SWIG_IsOK(ecode3
)) {
37487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', 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_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37494 arg4
= static_cast< int >(val4
);
37495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37496 if (!SWIG_IsOK(ecode5
)) {
37497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37499 arg5
= static_cast< int >(val5
);
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37503 wxPyEndAllowThreads(__tstate
);
37504 if (PyErr_Occurred()) SWIG_fail
;
37506 resultobj
= SWIG_Py_Void();
37513 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37514 PyObject
*resultobj
= 0;
37515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37520 PyObject
* obj0
= 0 ;
37521 PyObject
* obj1
= 0 ;
37522 char * kwnames
[] = {
37523 (char *) "self",(char *) "rect", NULL
37526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37528 if (!SWIG_IsOK(res1
)) {
37529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37538 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37539 wxPyEndAllowThreads(__tstate
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= SWIG_Py_Void();
37549 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
= 0;
37551 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37552 wxPoint
*arg2
= 0 ;
37558 PyObject
* obj0
= 0 ;
37559 PyObject
* obj1
= 0 ;
37560 PyObject
* obj2
= 0 ;
37561 char * kwnames
[] = {
37562 (char *) "self",(char *) "pt",(char *) "sz", NULL
37565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37567 if (!SWIG_IsOK(res1
)) {
37568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37577 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37582 wxPyEndAllowThreads(__tstate
);
37583 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= SWIG_Py_Void();
37592 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37593 PyObject
*resultobj
= 0;
37594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37612 PyObject
* obj0
= 0 ;
37613 PyObject
* obj1
= 0 ;
37614 PyObject
* obj2
= 0 ;
37615 PyObject
* obj3
= 0 ;
37616 PyObject
* obj4
= 0 ;
37617 PyObject
* obj5
= 0 ;
37618 char * kwnames
[] = {
37619 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37624 if (!SWIG_IsOK(res1
)) {
37625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37627 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37629 if (!SWIG_IsOK(ecode2
)) {
37630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37632 arg2
= static_cast< int >(val2
);
37633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37634 if (!SWIG_IsOK(ecode3
)) {
37635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37637 arg3
= static_cast< int >(val3
);
37638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37639 if (!SWIG_IsOK(ecode4
)) {
37640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37642 arg4
= static_cast< int >(val4
);
37643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37644 if (!SWIG_IsOK(ecode5
)) {
37645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37647 arg5
= static_cast< int >(val5
);
37648 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37649 if (!SWIG_IsOK(ecode6
)) {
37650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37652 arg6
= static_cast< double >(val6
);
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 resultobj
= SWIG_Py_Void();
37666 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
= 0;
37668 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37676 PyObject
* obj0
= 0 ;
37677 PyObject
* obj1
= 0 ;
37678 PyObject
* obj2
= 0 ;
37679 char * kwnames
[] = {
37680 (char *) "self",(char *) "r",(char *) "radius", NULL
37683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37685 if (!SWIG_IsOK(res1
)) {
37686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37693 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37694 if (!SWIG_IsOK(ecode3
)) {
37695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37697 arg3
= static_cast< double >(val3
);
37699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37700 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37701 wxPyEndAllowThreads(__tstate
);
37702 if (PyErr_Occurred()) SWIG_fail
;
37704 resultobj
= SWIG_Py_Void();
37711 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37712 PyObject
*resultobj
= 0;
37713 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37714 wxPoint
*arg2
= 0 ;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 PyObject
* obj2
= 0 ;
37726 PyObject
* obj3
= 0 ;
37727 char * kwnames
[] = {
37728 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37733 if (!SWIG_IsOK(res1
)) {
37734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37736 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37743 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37745 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37746 if (!SWIG_IsOK(ecode4
)) {
37747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37749 arg4
= static_cast< double >(val4
);
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37753 wxPyEndAllowThreads(__tstate
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37756 resultobj
= SWIG_Py_Void();
37763 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
= 0;
37765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37777 PyObject
* obj0
= 0 ;
37778 PyObject
* obj1
= 0 ;
37779 PyObject
* obj2
= 0 ;
37780 PyObject
* obj3
= 0 ;
37781 char * kwnames
[] = {
37782 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37787 if (!SWIG_IsOK(res1
)) {
37788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37790 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37792 if (!SWIG_IsOK(ecode2
)) {
37793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37795 arg2
= static_cast< int >(val2
);
37796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37797 if (!SWIG_IsOK(ecode3
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37800 arg3
= static_cast< int >(val3
);
37801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37802 if (!SWIG_IsOK(ecode4
)) {
37803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37805 arg4
= static_cast< int >(val4
);
37807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37808 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 resultobj
= SWIG_Py_Void();
37819 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37820 PyObject
*resultobj
= 0;
37821 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37822 wxPoint
*arg2
= 0 ;
37829 PyObject
* obj0
= 0 ;
37830 PyObject
* obj1
= 0 ;
37831 PyObject
* obj2
= 0 ;
37832 char * kwnames
[] = {
37833 (char *) "self",(char *) "pt",(char *) "radius", NULL
37836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37838 if (!SWIG_IsOK(res1
)) {
37839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37844 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37847 if (!SWIG_IsOK(ecode3
)) {
37848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37850 arg3
= static_cast< int >(val3
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37857 resultobj
= SWIG_Py_Void();
37864 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37865 PyObject
*resultobj
= 0;
37866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 PyObject
* obj2
= 0 ;
37884 PyObject
* obj3
= 0 ;
37885 PyObject
* obj4
= 0 ;
37886 char * kwnames
[] = {
37887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37892 if (!SWIG_IsOK(res1
)) {
37893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37897 if (!SWIG_IsOK(ecode2
)) {
37898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37900 arg2
= static_cast< int >(val2
);
37901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37902 if (!SWIG_IsOK(ecode3
)) {
37903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37905 arg3
= static_cast< int >(val3
);
37906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37907 if (!SWIG_IsOK(ecode4
)) {
37908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37910 arg4
= static_cast< int >(val4
);
37911 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37912 if (!SWIG_IsOK(ecode5
)) {
37913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37915 arg5
= static_cast< int >(val5
);
37917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37918 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37922 resultobj
= SWIG_Py_Void();
37929 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37930 PyObject
*resultobj
= 0;
37931 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37938 char * kwnames
[] = {
37939 (char *) "self",(char *) "rect", NULL
37942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) 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_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37947 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37950 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37954 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37955 wxPyEndAllowThreads(__tstate
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37958 resultobj
= SWIG_Py_Void();
37965 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
= 0;
37967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37968 wxPoint
*arg2
= 0 ;
37974 PyObject
* obj0
= 0 ;
37975 PyObject
* obj1
= 0 ;
37976 PyObject
* obj2
= 0 ;
37977 char * kwnames
[] = {
37978 (char *) "self",(char *) "pt",(char *) "sz", NULL
37981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37983 if (!SWIG_IsOK(res1
)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37986 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37993 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37997 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37998 wxPyEndAllowThreads(__tstate
);
37999 if (PyErr_Occurred()) SWIG_fail
;
38001 resultobj
= SWIG_Py_Void();
38008 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38009 PyObject
*resultobj
= 0;
38010 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38022 PyObject
* obj0
= 0 ;
38023 PyObject
* obj1
= 0 ;
38024 PyObject
* obj2
= 0 ;
38025 PyObject
* obj3
= 0 ;
38026 char * kwnames
[] = {
38027 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38032 if (!SWIG_IsOK(res1
)) {
38033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38037 if (!SWIG_IsOK(res2
)) {
38038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38043 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38045 if (!SWIG_IsOK(ecode3
)) {
38046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38048 arg3
= static_cast< int >(val3
);
38049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38050 if (!SWIG_IsOK(ecode4
)) {
38051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38053 arg4
= static_cast< int >(val4
);
38055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38056 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38060 resultobj
= SWIG_Py_Void();
38067 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38068 PyObject
*resultobj
= 0;
38069 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38071 wxPoint
*arg3
= 0 ;
38077 PyObject
* obj0
= 0 ;
38078 PyObject
* obj1
= 0 ;
38079 PyObject
* obj2
= 0 ;
38080 char * kwnames
[] = {
38081 (char *) "self",(char *) "icon",(char *) "pt", NULL
38084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38086 if (!SWIG_IsOK(res1
)) {
38087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38091 if (!SWIG_IsOK(res2
)) {
38092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38097 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_Py_Void();
38115 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38116 PyObject
*resultobj
= 0;
38117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38118 wxBitmap
*arg2
= 0 ;
38121 bool arg5
= (bool) false ;
38132 PyObject
* obj0
= 0 ;
38133 PyObject
* obj1
= 0 ;
38134 PyObject
* obj2
= 0 ;
38135 PyObject
* obj3
= 0 ;
38136 PyObject
* obj4
= 0 ;
38137 char * kwnames
[] = {
38138 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38143 if (!SWIG_IsOK(res1
)) {
38144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38148 if (!SWIG_IsOK(res2
)) {
38149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38154 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38156 if (!SWIG_IsOK(ecode3
)) {
38157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38159 arg3
= static_cast< int >(val3
);
38160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38161 if (!SWIG_IsOK(ecode4
)) {
38162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38164 arg4
= static_cast< int >(val4
);
38166 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38167 if (!SWIG_IsOK(ecode5
)) {
38168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38170 arg5
= static_cast< bool >(val5
);
38173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38174 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38178 resultobj
= SWIG_Py_Void();
38185 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38186 PyObject
*resultobj
= 0;
38187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38188 wxBitmap
*arg2
= 0 ;
38189 wxPoint
*arg3
= 0 ;
38190 bool arg4
= (bool) false ;
38198 PyObject
* obj0
= 0 ;
38199 PyObject
* obj1
= 0 ;
38200 PyObject
* obj2
= 0 ;
38201 PyObject
* obj3
= 0 ;
38202 char * kwnames
[] = {
38203 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38213 if (!SWIG_IsOK(res2
)) {
38214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38219 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38225 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38226 if (!SWIG_IsOK(ecode4
)) {
38227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38229 arg4
= static_cast< bool >(val4
);
38232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38233 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38234 wxPyEndAllowThreads(__tstate
);
38235 if (PyErr_Occurred()) SWIG_fail
;
38237 resultobj
= SWIG_Py_Void();
38244 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38245 PyObject
*resultobj
= 0;
38246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38247 wxString
*arg2
= 0 ;
38252 bool temp2
= false ;
38257 PyObject
* obj0
= 0 ;
38258 PyObject
* obj1
= 0 ;
38259 PyObject
* obj2
= 0 ;
38260 PyObject
* obj3
= 0 ;
38261 char * kwnames
[] = {
38262 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38267 if (!SWIG_IsOK(res1
)) {
38268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38270 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38272 arg2
= wxString_in_helper(obj1
);
38273 if (arg2
== NULL
) SWIG_fail
;
38276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38277 if (!SWIG_IsOK(ecode3
)) {
38278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38280 arg3
= static_cast< int >(val3
);
38281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38282 if (!SWIG_IsOK(ecode4
)) {
38283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38285 arg4
= static_cast< int >(val4
);
38287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38288 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38289 wxPyEndAllowThreads(__tstate
);
38290 if (PyErr_Occurred()) SWIG_fail
;
38292 resultobj
= SWIG_Py_Void();
38307 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38308 PyObject
*resultobj
= 0;
38309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38310 wxString
*arg2
= 0 ;
38311 wxPoint
*arg3
= 0 ;
38314 bool temp2
= false ;
38316 PyObject
* obj0
= 0 ;
38317 PyObject
* obj1
= 0 ;
38318 PyObject
* obj2
= 0 ;
38319 char * kwnames
[] = {
38320 (char *) "self",(char *) "text",(char *) "pt", NULL
38323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38325 if (!SWIG_IsOK(res1
)) {
38326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38328 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38330 arg2
= wxString_in_helper(obj1
);
38331 if (arg2
== NULL
) SWIG_fail
;
38336 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38340 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38341 wxPyEndAllowThreads(__tstate
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38344 resultobj
= SWIG_Py_Void();
38359 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38360 PyObject
*resultobj
= 0;
38361 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38362 wxString
*arg2
= 0 ;
38368 bool temp2
= false ;
38375 PyObject
* obj0
= 0 ;
38376 PyObject
* obj1
= 0 ;
38377 PyObject
* obj2
= 0 ;
38378 PyObject
* obj3
= 0 ;
38379 PyObject
* obj4
= 0 ;
38380 char * kwnames
[] = {
38381 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38386 if (!SWIG_IsOK(res1
)) {
38387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38391 arg2
= wxString_in_helper(obj1
);
38392 if (arg2
== NULL
) SWIG_fail
;
38395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38396 if (!SWIG_IsOK(ecode3
)) {
38397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38399 arg3
= static_cast< int >(val3
);
38400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38401 if (!SWIG_IsOK(ecode4
)) {
38402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38404 arg4
= static_cast< int >(val4
);
38405 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38406 if (!SWIG_IsOK(ecode5
)) {
38407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38409 arg5
= static_cast< double >(val5
);
38411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38412 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38413 wxPyEndAllowThreads(__tstate
);
38414 if (PyErr_Occurred()) SWIG_fail
;
38416 resultobj
= SWIG_Py_Void();
38431 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38432 PyObject
*resultobj
= 0;
38433 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38434 wxString
*arg2
= 0 ;
38435 wxPoint
*arg3
= 0 ;
38439 bool temp2
= false ;
38443 PyObject
* obj0
= 0 ;
38444 PyObject
* obj1
= 0 ;
38445 PyObject
* obj2
= 0 ;
38446 PyObject
* obj3
= 0 ;
38447 char * kwnames
[] = {
38448 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38453 if (!SWIG_IsOK(res1
)) {
38454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38458 arg2
= wxString_in_helper(obj1
);
38459 if (arg2
== NULL
) SWIG_fail
;
38464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38466 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38467 if (!SWIG_IsOK(ecode4
)) {
38468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38470 arg4
= static_cast< double >(val4
);
38472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38473 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38474 wxPyEndAllowThreads(__tstate
);
38475 if (PyErr_Occurred()) SWIG_fail
;
38477 resultobj
= SWIG_Py_Void();
38492 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38493 PyObject
*resultobj
= 0;
38494 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38496 wxPoint
*arg3
= (wxPoint
*) 0 ;
38497 int arg4
= (int) 0 ;
38498 int arg5
= (int) 0 ;
38505 PyObject
* obj0
= 0 ;
38506 PyObject
* obj1
= 0 ;
38507 PyObject
* obj2
= 0 ;
38508 PyObject
* obj3
= 0 ;
38509 char * kwnames
[] = {
38510 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38515 if (!SWIG_IsOK(res1
)) {
38516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38518 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38520 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38521 if (arg3
== NULL
) SWIG_fail
;
38524 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38525 if (!SWIG_IsOK(ecode4
)) {
38526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38528 arg4
= static_cast< int >(val4
);
38531 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38532 if (!SWIG_IsOK(ecode5
)) {
38533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38535 arg5
= static_cast< int >(val5
);
38538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38539 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38540 wxPyEndAllowThreads(__tstate
);
38541 if (PyErr_Occurred()) SWIG_fail
;
38543 resultobj
= SWIG_Py_Void();
38545 if (arg3
) delete [] arg3
;
38550 if (arg3
) delete [] arg3
;
38556 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38557 PyObject
*resultobj
= 0;
38558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38560 wxPoint
*arg3
= (wxPoint
*) 0 ;
38561 int arg4
= (int) 0 ;
38562 int arg5
= (int) 0 ;
38563 int arg6
= (int) wxODDEVEN_RULE
;
38572 PyObject
* obj0
= 0 ;
38573 PyObject
* obj1
= 0 ;
38574 PyObject
* obj2
= 0 ;
38575 PyObject
* obj3
= 0 ;
38576 PyObject
* obj4
= 0 ;
38577 char * kwnames
[] = {
38578 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38583 if (!SWIG_IsOK(res1
)) {
38584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38586 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38588 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38589 if (arg3
== NULL
) SWIG_fail
;
38592 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38593 if (!SWIG_IsOK(ecode4
)) {
38594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38596 arg4
= static_cast< int >(val4
);
38599 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38600 if (!SWIG_IsOK(ecode5
)) {
38601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38603 arg5
= static_cast< int >(val5
);
38606 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38607 if (!SWIG_IsOK(ecode6
)) {
38608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38610 arg6
= static_cast< int >(val6
);
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38618 resultobj
= SWIG_Py_Void();
38620 if (arg3
) delete [] arg3
;
38625 if (arg3
) delete [] arg3
;
38631 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38632 PyObject
*resultobj
= 0;
38633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38634 wxString
*arg2
= 0 ;
38636 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38637 int arg5
= (int) -1 ;
38640 bool temp2
= false ;
38646 PyObject
* obj0
= 0 ;
38647 PyObject
* obj1
= 0 ;
38648 PyObject
* obj2
= 0 ;
38649 PyObject
* obj3
= 0 ;
38650 PyObject
* obj4
= 0 ;
38651 char * kwnames
[] = {
38652 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38657 if (!SWIG_IsOK(res1
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38660 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38662 arg2
= wxString_in_helper(obj1
);
38663 if (arg2
== NULL
) SWIG_fail
;
38668 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38672 if (!SWIG_IsOK(ecode4
)) {
38673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38675 arg4
= static_cast< int >(val4
);
38678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38679 if (!SWIG_IsOK(ecode5
)) {
38680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38682 arg5
= static_cast< int >(val5
);
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38686 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= SWIG_Py_Void();
38705 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38706 PyObject
*resultobj
= 0;
38707 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38708 wxString
*arg2
= 0 ;
38709 wxBitmap
*arg3
= 0 ;
38711 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38712 int arg6
= (int) -1 ;
38715 bool temp2
= false ;
38723 PyObject
* obj0
= 0 ;
38724 PyObject
* obj1
= 0 ;
38725 PyObject
* obj2
= 0 ;
38726 PyObject
* obj3
= 0 ;
38727 PyObject
* obj4
= 0 ;
38728 PyObject
* obj5
= 0 ;
38729 char * kwnames
[] = {
38730 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38735 if (!SWIG_IsOK(res1
)) {
38736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38740 arg2
= wxString_in_helper(obj1
);
38741 if (arg2
== NULL
) SWIG_fail
;
38744 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38745 if (!SWIG_IsOK(res3
)) {
38746 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38751 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38754 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38757 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38758 if (!SWIG_IsOK(ecode5
)) {
38759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38761 arg5
= static_cast< int >(val5
);
38764 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38765 if (!SWIG_IsOK(ecode6
)) {
38766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38768 arg6
= static_cast< int >(val6
);
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38773 wxPyEndAllowThreads(__tstate
);
38774 if (PyErr_Occurred()) SWIG_fail
;
38776 resultobj
= SWIG_Py_Void();
38791 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38792 PyObject
*resultobj
= 0;
38793 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38795 wxPoint
*arg3
= (wxPoint
*) 0 ;
38798 PyObject
* obj0
= 0 ;
38799 PyObject
* obj1
= 0 ;
38800 char * kwnames
[] = {
38801 (char *) "self",(char *) "points", NULL
38804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38806 if (!SWIG_IsOK(res1
)) {
38807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38811 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38812 if (arg3
== NULL
) SWIG_fail
;
38815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38816 (arg1
)->DrawSpline(arg2
,arg3
);
38817 wxPyEndAllowThreads(__tstate
);
38818 if (PyErr_Occurred()) SWIG_fail
;
38820 resultobj
= SWIG_Py_Void();
38822 if (arg3
) delete [] arg3
;
38827 if (arg3
) delete [] arg3
;
38833 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38834 PyObject
*resultobj
= 0;
38835 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38838 PyObject
*swig_obj
[1] ;
38840 if (!args
) SWIG_fail
;
38841 swig_obj
[0] = args
;
38842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38843 if (!SWIG_IsOK(res1
)) {
38844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38846 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38850 wxPyEndAllowThreads(__tstate
);
38851 if (PyErr_Occurred()) SWIG_fail
;
38853 resultobj
= SWIG_Py_Void();
38860 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38861 PyObject
*resultobj
= 0;
38862 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38868 PyObject
* obj0
= 0 ;
38869 PyObject
* obj1
= 0 ;
38870 char * kwnames
[] = {
38871 (char *) "self",(char *) "font", NULL
38874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38876 if (!SWIG_IsOK(res1
)) {
38877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38879 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38881 if (!SWIG_IsOK(res2
)) {
38882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38887 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38890 (arg1
)->SetFont((wxFont
const &)*arg2
);
38891 wxPyEndAllowThreads(__tstate
);
38892 if (PyErr_Occurred()) SWIG_fail
;
38894 resultobj
= SWIG_Py_Void();
38901 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38902 PyObject
*resultobj
= 0;
38903 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38909 PyObject
* obj0
= 0 ;
38910 PyObject
* obj1
= 0 ;
38911 char * kwnames
[] = {
38912 (char *) "self",(char *) "pen", NULL
38915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38917 if (!SWIG_IsOK(res1
)) {
38918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38922 if (!SWIG_IsOK(res2
)) {
38923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38928 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38931 (arg1
)->SetPen((wxPen
const &)*arg2
);
38932 wxPyEndAllowThreads(__tstate
);
38933 if (PyErr_Occurred()) SWIG_fail
;
38935 resultobj
= SWIG_Py_Void();
38942 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38943 PyObject
*resultobj
= 0;
38944 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38945 wxBrush
*arg2
= 0 ;
38950 PyObject
* obj0
= 0 ;
38951 PyObject
* obj1
= 0 ;
38952 char * kwnames
[] = {
38953 (char *) "self",(char *) "brush", NULL
38956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38958 if (!SWIG_IsOK(res1
)) {
38959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38961 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38963 if (!SWIG_IsOK(res2
)) {
38964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38969 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38972 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38973 wxPyEndAllowThreads(__tstate
);
38974 if (PyErr_Occurred()) SWIG_fail
;
38976 resultobj
= SWIG_Py_Void();
38983 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38984 PyObject
*resultobj
= 0;
38985 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38986 wxBrush
*arg2
= 0 ;
38991 PyObject
* obj0
= 0 ;
38992 PyObject
* obj1
= 0 ;
38993 char * kwnames
[] = {
38994 (char *) "self",(char *) "brush", NULL
38997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38999 if (!SWIG_IsOK(res1
)) {
39000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39002 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39004 if (!SWIG_IsOK(res2
)) {
39005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39010 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39013 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39014 wxPyEndAllowThreads(__tstate
);
39015 if (PyErr_Occurred()) SWIG_fail
;
39017 resultobj
= SWIG_Py_Void();
39024 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39025 PyObject
*resultobj
= 0;
39026 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39032 PyObject
* obj0
= 0 ;
39033 PyObject
* obj1
= 0 ;
39034 char * kwnames
[] = {
39035 (char *) "self",(char *) "mode", NULL
39038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39040 if (!SWIG_IsOK(res1
)) {
39041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39043 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39045 if (!SWIG_IsOK(ecode2
)) {
39046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39048 arg2
= static_cast< int >(val2
);
39050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39051 (arg1
)->SetBackgroundMode(arg2
);
39052 wxPyEndAllowThreads(__tstate
);
39053 if (PyErr_Occurred()) SWIG_fail
;
39055 resultobj
= SWIG_Py_Void();
39062 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39063 PyObject
*resultobj
= 0;
39064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39065 wxPalette
*arg2
= 0 ;
39070 PyObject
* obj0
= 0 ;
39071 PyObject
* obj1
= 0 ;
39072 char * kwnames
[] = {
39073 (char *) "self",(char *) "palette", NULL
39076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39078 if (!SWIG_IsOK(res1
)) {
39079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39081 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39083 if (!SWIG_IsOK(res2
)) {
39084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39089 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39093 wxPyEndAllowThreads(__tstate
);
39094 if (PyErr_Occurred()) SWIG_fail
;
39096 resultobj
= SWIG_Py_Void();
39103 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39104 PyObject
*resultobj
= 0;
39105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39106 wxColour
*arg2
= 0 ;
39110 PyObject
* obj0
= 0 ;
39111 PyObject
* obj1
= 0 ;
39112 char * kwnames
[] = {
39113 (char *) "self",(char *) "colour", NULL
39116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39118 if (!SWIG_IsOK(res1
)) {
39119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39121 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39128 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39132 resultobj
= SWIG_Py_Void();
39139 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39140 PyObject
*resultobj
= 0;
39141 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39142 wxColour
*arg2
= 0 ;
39146 PyObject
* obj0
= 0 ;
39147 PyObject
* obj1
= 0 ;
39148 char * kwnames
[] = {
39149 (char *) "self",(char *) "colour", NULL
39152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39154 if (!SWIG_IsOK(res1
)) {
39155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39157 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39160 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39164 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39165 wxPyEndAllowThreads(__tstate
);
39166 if (PyErr_Occurred()) SWIG_fail
;
39168 resultobj
= SWIG_Py_Void();
39175 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39176 PyObject
*resultobj
= 0;
39177 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39183 PyObject
* obj0
= 0 ;
39184 PyObject
* obj1
= 0 ;
39185 char * kwnames
[] = {
39186 (char *) "self",(char *) "function", NULL
39189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39191 if (!SWIG_IsOK(res1
)) {
39192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39196 if (!SWIG_IsOK(ecode2
)) {
39197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39199 arg2
= static_cast< int >(val2
);
39201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39202 (arg1
)->SetLogicalFunction(arg2
);
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39206 resultobj
= SWIG_Py_Void();
39213 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39216 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39217 return SWIG_Py_Void();
39220 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39221 return SWIG_Python_InitShadowInstance(args
);
39224 static PyMethodDef SwigMethods
[] = {
39225 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39226 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39227 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39228 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39229 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39230 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39234 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39235 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39236 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39237 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39238 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39239 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39244 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39248 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39249 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39250 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39252 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39255 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39256 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39257 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39258 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39260 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39261 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39262 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39263 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39264 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39265 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39266 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39273 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39275 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39276 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39280 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39281 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39284 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39288 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39289 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39290 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39291 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39292 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39293 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39294 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39296 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39302 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39304 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39305 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39306 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39307 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39308 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39309 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39310 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39316 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39328 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39329 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39333 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39334 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39335 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39336 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39337 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39338 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39339 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39340 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39341 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39342 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39343 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39344 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39345 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39346 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39347 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39349 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39350 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39356 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39357 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39358 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39359 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39360 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39361 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39362 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39363 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39364 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39365 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39366 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39367 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39369 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39370 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39376 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39377 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39378 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39380 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39381 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39382 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39384 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39385 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39390 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39392 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39393 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39394 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39395 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39401 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39402 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39404 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39405 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39407 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39409 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39411 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39412 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39415 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39419 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39420 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39422 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39425 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39427 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39428 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39429 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39430 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39436 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39441 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39442 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39448 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39452 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39463 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39466 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39467 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39469 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39470 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39471 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39472 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39473 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39474 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39475 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39476 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39477 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39478 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39479 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39480 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39481 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39482 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39483 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39484 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39485 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39487 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39488 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39489 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39490 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39491 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39492 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39493 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39494 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39504 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39505 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39507 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39508 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39509 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39510 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39511 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39512 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39513 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39514 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39515 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39517 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39518 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39519 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39522 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39523 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39524 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39527 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39533 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39538 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39539 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39541 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39547 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39550 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39551 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39552 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39553 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39554 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39555 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39556 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39557 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39558 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39559 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39560 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39561 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39562 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39574 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39575 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39576 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39578 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39579 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39581 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39582 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39583 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39584 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39588 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39589 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39591 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39592 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39593 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39594 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39595 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39596 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39597 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39598 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39599 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39601 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39604 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39605 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39606 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39607 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39608 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39609 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39610 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39611 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39621 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39622 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39623 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39625 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39629 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39630 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39631 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39632 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39633 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39634 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39640 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39641 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39642 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39692 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39694 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39695 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39696 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39703 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39704 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39705 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39706 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39707 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39712 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39713 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39714 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39715 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39724 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39725 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39726 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39727 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39728 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39729 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39730 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39731 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39732 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39733 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39734 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39735 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39738 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39740 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39742 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39744 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39745 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39748 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39749 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39753 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39755 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39758 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39759 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39760 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39761 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39762 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39763 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39764 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39766 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39773 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39775 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39776 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39777 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39779 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39780 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39781 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39783 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39784 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39785 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39786 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39787 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39788 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39789 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39790 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39793 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39794 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39795 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39797 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39798 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39800 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39801 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39803 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39804 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39809 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39810 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39811 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39812 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39813 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39815 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39816 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39817 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39819 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39820 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39822 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39823 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39826 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39827 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39829 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39832 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39833 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39834 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39836 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39837 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39839 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39840 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39841 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39842 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39843 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39844 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39846 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39847 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39848 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39850 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39851 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39853 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39854 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39855 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39856 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39857 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39858 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39859 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39860 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39861 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39862 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39863 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39864 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39865 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39866 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39867 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39868 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39869 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39870 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39871 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39874 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39876 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39882 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39883 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39884 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39885 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39886 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39887 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39888 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39889 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39891 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39892 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39893 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39900 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39903 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39904 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39905 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39906 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39907 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39908 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39909 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39912 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39919 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39920 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39923 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39924 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39930 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39931 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39932 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39933 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39951 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39952 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39953 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39954 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39955 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39956 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39959 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39966 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39967 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39968 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39969 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39971 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39972 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39973 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39974 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39975 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39976 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39977 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39978 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39979 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39980 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39981 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39982 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39984 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39992 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39994 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39996 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39997 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39998 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39999 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40000 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40001 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40007 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40008 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40009 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40010 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40011 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40012 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40016 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40020 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40024 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40025 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40026 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40028 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40031 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40032 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40033 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40034 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40035 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40036 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40037 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40038 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40039 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40040 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40041 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40042 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40051 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40052 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40054 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40055 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40056 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40057 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40058 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40059 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40060 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40061 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40062 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40063 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40064 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40065 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40066 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40067 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40068 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40069 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40070 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40071 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40072 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40073 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40074 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40075 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40076 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40077 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40079 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40081 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40082 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40083 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40084 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40097 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40098 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40099 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40101 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40102 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40103 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40104 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40105 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40106 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40107 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40108 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40161 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40168 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40171 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40172 { NULL
, NULL
, 0, NULL
}
40176 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40178 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40179 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40181 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40182 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40184 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40185 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40187 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40188 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40190 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40191 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40193 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40194 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40196 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40197 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40199 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40200 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40202 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40203 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40205 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40206 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40208 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40209 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40211 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40212 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40214 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40215 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40217 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40218 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40220 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40221 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40223 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40224 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40226 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40227 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40229 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40230 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40232 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40233 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40235 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40236 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40238 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40239 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40241 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40242 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40244 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40245 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40247 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40248 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40250 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40251 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40253 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40254 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40256 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40257 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40259 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40260 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40262 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40263 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40265 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40266 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40268 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40269 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40271 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40272 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40274 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40275 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40277 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40278 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40280 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40281 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40283 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40284 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40286 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40287 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40289 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40290 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40292 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40293 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40295 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40296 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40298 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40299 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40301 static void *_p_wxPenTo_p_wxObject(void *x
) {
40302 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40304 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40305 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40307 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40308 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40310 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40311 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40313 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40316 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40317 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40319 static void *_p_wxIconTo_p_wxObject(void *x
) {
40320 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40322 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40323 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40325 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40326 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40328 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40329 return (void *)((wxObject
*) ((wxSizer
*) x
));
40331 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40332 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40334 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40337 static void *_p_wxEventTo_p_wxObject(void *x
) {
40338 return (void *)((wxObject
*) ((wxEvent
*) x
));
40340 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40341 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40343 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40344 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40346 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40347 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40349 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40350 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40352 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40355 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40356 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40358 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40359 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40361 static void *_p_wxDCTo_p_wxObject(void *x
) {
40362 return (void *)((wxObject
*) ((wxDC
*) x
));
40364 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40365 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40367 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40368 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40370 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40371 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40373 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40374 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40376 static void *_p_wxControlTo_p_wxObject(void *x
) {
40377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40379 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40380 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40382 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40383 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40385 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40386 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40388 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40389 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40391 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40392 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40394 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40395 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40397 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40398 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40400 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40401 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40403 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40404 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40406 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40407 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40409 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40410 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40412 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40413 return (void *)((wxObject
*) ((wxEffects
*) x
));
40415 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40416 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40418 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40419 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40421 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40422 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40424 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40425 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40427 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40428 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40430 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40431 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40433 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40436 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40437 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40439 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40442 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40443 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40445 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40446 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40448 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40449 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40451 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40452 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40454 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40455 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40457 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40458 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40460 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40463 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40466 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40469 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40472 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40475 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40478 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40481 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40484 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40487 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40490 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40493 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40496 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40499 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40502 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40505 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40508 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40511 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40514 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40517 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40520 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40523 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40526 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40529 static void *_p_wxImageTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) ((wxImage
*) x
));
40532 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40535 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40538 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40541 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40544 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40547 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) ((wxImageList
*) x
));
40550 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40553 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40556 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40559 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40562 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40565 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40568 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40571 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40574 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40575 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40577 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40578 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40580 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40583 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40584 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40586 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40587 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40589 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40590 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40592 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40593 return (void *)((wxObject
*) ((wxMask
*) x
));
40595 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40596 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40598 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40601 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40602 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40604 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40605 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40607 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40608 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40610 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40611 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40613 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40614 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40616 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40619 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40620 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40622 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40623 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40625 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40626 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40628 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40629 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40631 static void *_p_wxFontTo_p_wxObject(void *x
) {
40632 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40634 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40635 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40637 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40638 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40640 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40643 static void *_p_wxColourTo_p_wxObject(void *x
) {
40644 return (void *)((wxObject
*) ((wxColour
*) x
));
40646 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40649 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40650 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40652 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40653 return (void *)((wxWindow
*) ((wxControl
*) x
));
40655 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40656 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40658 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40659 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40661 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40662 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40664 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40665 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40667 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40668 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40669 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40670 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};
40671 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40672 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40673 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40674 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40675 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40676 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40677 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40678 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40679 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40680 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40681 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40682 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40683 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40684 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40685 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40686 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40687 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40688 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40689 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40690 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40691 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40692 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40693 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40694 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40695 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40696 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40697 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40698 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40699 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40700 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40701 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40702 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40703 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40704 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40705 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40706 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40707 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40708 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40709 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40710 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40711 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40712 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40713 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40714 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40715 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40716 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40717 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40718 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40719 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40720 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40721 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40722 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40723 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40724 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40725 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40726 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40727 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40728 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40729 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40730 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40731 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40733 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40734 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40735 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40736 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40737 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40738 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40739 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40740 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40741 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40742 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40743 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40744 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40745 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40746 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40747 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40748 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40749 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40750 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40751 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40752 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40753 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40754 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40755 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40756 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40757 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40758 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40759 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40760 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40761 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40762 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40773 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40774 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40787 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40788 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40789 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40790 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40791 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40792 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40793 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40794 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40795 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40796 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40797 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40798 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40799 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40800 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40801 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40802 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40803 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40804 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40805 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40806 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40807 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40808 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40809 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40810 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40818 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40819 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40820 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40821 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40822 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40823 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40826 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40827 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40828 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40829 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40830 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40831 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40832 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40833 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40834 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40835 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40836 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40837 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40839 static swig_type_info
*swig_type_initial
[] = {
40843 &_swigt__p_form_ops_t
,
40845 &_swigt__p_unsigned_char
,
40846 &_swigt__p_unsigned_int
,
40847 &_swigt__p_unsigned_long
,
40849 &_swigt__p_wxANIHandler
,
40850 &_swigt__p_wxAcceleratorTable
,
40851 &_swigt__p_wxActivateEvent
,
40852 &_swigt__p_wxAlphaPixelData
,
40853 &_swigt__p_wxAlphaPixelData_Accessor
,
40854 &_swigt__p_wxAutoBufferedPaintDC
,
40855 &_swigt__p_wxBMPHandler
,
40856 &_swigt__p_wxBitmap
,
40857 &_swigt__p_wxBoxSizer
,
40858 &_swigt__p_wxBrush
,
40859 &_swigt__p_wxBrushList
,
40860 &_swigt__p_wxBufferedDC
,
40861 &_swigt__p_wxBufferedPaintDC
,
40862 &_swigt__p_wxCURHandler
,
40864 &_swigt__p_wxChildFocusEvent
,
40865 &_swigt__p_wxClientDC
,
40866 &_swigt__p_wxClipboardTextEvent
,
40867 &_swigt__p_wxCloseEvent
,
40868 &_swigt__p_wxColor
,
40869 &_swigt__p_wxColour
,
40870 &_swigt__p_wxColourDatabase
,
40871 &_swigt__p_wxCommandEvent
,
40872 &_swigt__p_wxContextMenuEvent
,
40873 &_swigt__p_wxControl
,
40874 &_swigt__p_wxControlWithItems
,
40875 &_swigt__p_wxCursor
,
40877 &_swigt__p_wxDCBrushChanger
,
40878 &_swigt__p_wxDCClipper
,
40879 &_swigt__p_wxDCOverlay
,
40880 &_swigt__p_wxDCPenChanger
,
40881 &_swigt__p_wxDCTextColourChanger
,
40883 &_swigt__p_wxDateEvent
,
40884 &_swigt__p_wxDisplayChangedEvent
,
40885 &_swigt__p_wxDropFilesEvent
,
40886 &_swigt__p_wxDuplexMode
,
40887 &_swigt__p_wxEffects
,
40888 &_swigt__p_wxEncodingConverter
,
40889 &_swigt__p_wxEraseEvent
,
40890 &_swigt__p_wxEvent
,
40891 &_swigt__p_wxEvtHandler
,
40892 &_swigt__p_wxFSFile
,
40893 &_swigt__p_wxFileSystem
,
40894 &_swigt__p_wxFlexGridSizer
,
40895 &_swigt__p_wxFocusEvent
,
40897 &_swigt__p_wxFontList
,
40898 &_swigt__p_wxFontMapper
,
40899 &_swigt__p_wxGBSizerItem
,
40901 &_swigt__p_wxGDIObjListBase
,
40902 &_swigt__p_wxGDIObject
,
40903 &_swigt__p_wxGIFHandler
,
40904 &_swigt__p_wxGraphicsBrush
,
40905 &_swigt__p_wxGraphicsContext
,
40906 &_swigt__p_wxGraphicsFont
,
40907 &_swigt__p_wxGraphicsMatrix
,
40908 &_swigt__p_wxGraphicsObject
,
40909 &_swigt__p_wxGraphicsPath
,
40910 &_swigt__p_wxGraphicsPen
,
40911 &_swigt__p_wxGraphicsRenderer
,
40912 &_swigt__p_wxGridBagSizer
,
40913 &_swigt__p_wxGridSizer
,
40914 &_swigt__p_wxHeaderButtonParams
,
40915 &_swigt__p_wxICOHandler
,
40917 &_swigt__p_wxIconBundle
,
40918 &_swigt__p_wxIconLocation
,
40919 &_swigt__p_wxIconizeEvent
,
40920 &_swigt__p_wxIdleEvent
,
40921 &_swigt__p_wxImage
,
40922 &_swigt__p_wxImageHandler
,
40923 &_swigt__p_wxImageList
,
40924 &_swigt__p_wxIndividualLayoutConstraint
,
40925 &_swigt__p_wxInitDialogEvent
,
40926 &_swigt__p_wxJPEGHandler
,
40927 &_swigt__p_wxKeyEvent
,
40928 &_swigt__p_wxLanguageInfo
,
40929 &_swigt__p_wxLayoutConstraints
,
40930 &_swigt__p_wxLocale
,
40932 &_swigt__p_wxMaximizeEvent
,
40933 &_swigt__p_wxMemoryDC
,
40935 &_swigt__p_wxMenuBar
,
40936 &_swigt__p_wxMenuEvent
,
40937 &_swigt__p_wxMenuItem
,
40938 &_swigt__p_wxMetaFile
,
40939 &_swigt__p_wxMetaFileDC
,
40940 &_swigt__p_wxMirrorDC
,
40941 &_swigt__p_wxMouseCaptureChangedEvent
,
40942 &_swigt__p_wxMouseCaptureLostEvent
,
40943 &_swigt__p_wxMouseEvent
,
40944 &_swigt__p_wxMoveEvent
,
40945 &_swigt__p_wxNativeEncodingInfo
,
40946 &_swigt__p_wxNativeFontInfo
,
40947 &_swigt__p_wxNativePixelData
,
40948 &_swigt__p_wxNativePixelData_Accessor
,
40949 &_swigt__p_wxNavigationKeyEvent
,
40950 &_swigt__p_wxNcPaintEvent
,
40951 &_swigt__p_wxNotifyEvent
,
40952 &_swigt__p_wxObject
,
40953 &_swigt__p_wxOverlay
,
40954 &_swigt__p_wxPCXHandler
,
40955 &_swigt__p_wxPNGHandler
,
40956 &_swigt__p_wxPNMHandler
,
40957 &_swigt__p_wxPaintDC
,
40958 &_swigt__p_wxPaintEvent
,
40959 &_swigt__p_wxPalette
,
40960 &_swigt__p_wxPaletteChangedEvent
,
40961 &_swigt__p_wxPaperSize
,
40963 &_swigt__p_wxPenList
,
40964 &_swigt__p_wxPixelDataBase
,
40965 &_swigt__p_wxPoint
,
40966 &_swigt__p_wxPoint2D
,
40967 &_swigt__p_wxPoint2DDouble
,
40968 &_swigt__p_wxPostScriptDC
,
40969 &_swigt__p_wxPrintData
,
40970 &_swigt__p_wxPrinterDC
,
40971 &_swigt__p_wxPseudoDC
,
40972 &_swigt__p_wxPyApp
,
40973 &_swigt__p_wxPyCommandEvent
,
40974 &_swigt__p_wxPyEvent
,
40975 &_swigt__p_wxPyFontEnumerator
,
40976 &_swigt__p_wxPyImageHandler
,
40977 &_swigt__p_wxPyLocale
,
40978 &_swigt__p_wxPySizer
,
40979 &_swigt__p_wxPyValidator
,
40980 &_swigt__p_wxQueryNewPaletteEvent
,
40982 &_swigt__p_wxRect2DDouble
,
40983 &_swigt__p_wxRegion
,
40984 &_swigt__p_wxRegionIterator
,
40985 &_swigt__p_wxRendererNative
,
40986 &_swigt__p_wxRendererVersion
,
40987 &_swigt__p_wxScreenDC
,
40988 &_swigt__p_wxScrollEvent
,
40989 &_swigt__p_wxScrollWinEvent
,
40990 &_swigt__p_wxSetCursorEvent
,
40991 &_swigt__p_wxShowEvent
,
40993 &_swigt__p_wxSizeEvent
,
40994 &_swigt__p_wxSizer
,
40995 &_swigt__p_wxSizerItem
,
40996 &_swigt__p_wxSplitterRenderParams
,
40997 &_swigt__p_wxStaticBoxSizer
,
40998 &_swigt__p_wxStdDialogButtonSizer
,
40999 &_swigt__p_wxStockGDI
,
41000 &_swigt__p_wxString
,
41001 &_swigt__p_wxSysColourChangedEvent
,
41002 &_swigt__p_wxTGAHandler
,
41003 &_swigt__p_wxTIFFHandler
,
41004 &_swigt__p_wxUpdateUIEvent
,
41005 &_swigt__p_wxValidator
,
41006 &_swigt__p_wxWindow
,
41007 &_swigt__p_wxWindowCreateEvent
,
41008 &_swigt__p_wxWindowDC
,
41009 &_swigt__p_wxWindowDestroyEvent
,
41010 &_swigt__p_wxXPMHandler
,
41013 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41014 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41015 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41016 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41017 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41018 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41019 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41020 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41021 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41022 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41023 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41024 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41025 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41026 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41027 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41028 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}};
41029 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41030 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41031 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}};
41032 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
41033 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41034 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41035 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41036 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}};
41037 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41038 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41039 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41040 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41041 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41042 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41043 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41044 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41045 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41046 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41047 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41048 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41049 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41050 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}};
41051 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}};
41052 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41053 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41054 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41055 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41056 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}};
41057 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41058 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41059 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41064 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41065 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41066 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41067 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}};
41068 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41069 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}};
41070 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41071 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41072 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41073 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41074 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41075 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41076 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41080 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41081 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41082 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41083 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41126 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41154 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}};
41155 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41161 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}};
41162 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41182 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}};
41183 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}};
41185 static swig_cast_info
*swig_cast_initial
[] = {
41189 _swigc__p_form_ops_t
,
41191 _swigc__p_unsigned_char
,
41192 _swigc__p_unsigned_int
,
41193 _swigc__p_unsigned_long
,
41195 _swigc__p_wxANIHandler
,
41196 _swigc__p_wxAcceleratorTable
,
41197 _swigc__p_wxActivateEvent
,
41198 _swigc__p_wxAlphaPixelData
,
41199 _swigc__p_wxAlphaPixelData_Accessor
,
41200 _swigc__p_wxAutoBufferedPaintDC
,
41201 _swigc__p_wxBMPHandler
,
41202 _swigc__p_wxBitmap
,
41203 _swigc__p_wxBoxSizer
,
41205 _swigc__p_wxBrushList
,
41206 _swigc__p_wxBufferedDC
,
41207 _swigc__p_wxBufferedPaintDC
,
41208 _swigc__p_wxCURHandler
,
41210 _swigc__p_wxChildFocusEvent
,
41211 _swigc__p_wxClientDC
,
41212 _swigc__p_wxClipboardTextEvent
,
41213 _swigc__p_wxCloseEvent
,
41215 _swigc__p_wxColour
,
41216 _swigc__p_wxColourDatabase
,
41217 _swigc__p_wxCommandEvent
,
41218 _swigc__p_wxContextMenuEvent
,
41219 _swigc__p_wxControl
,
41220 _swigc__p_wxControlWithItems
,
41221 _swigc__p_wxCursor
,
41223 _swigc__p_wxDCBrushChanger
,
41224 _swigc__p_wxDCClipper
,
41225 _swigc__p_wxDCOverlay
,
41226 _swigc__p_wxDCPenChanger
,
41227 _swigc__p_wxDCTextColourChanger
,
41229 _swigc__p_wxDateEvent
,
41230 _swigc__p_wxDisplayChangedEvent
,
41231 _swigc__p_wxDropFilesEvent
,
41232 _swigc__p_wxDuplexMode
,
41233 _swigc__p_wxEffects
,
41234 _swigc__p_wxEncodingConverter
,
41235 _swigc__p_wxEraseEvent
,
41237 _swigc__p_wxEvtHandler
,
41238 _swigc__p_wxFSFile
,
41239 _swigc__p_wxFileSystem
,
41240 _swigc__p_wxFlexGridSizer
,
41241 _swigc__p_wxFocusEvent
,
41243 _swigc__p_wxFontList
,
41244 _swigc__p_wxFontMapper
,
41245 _swigc__p_wxGBSizerItem
,
41247 _swigc__p_wxGDIObjListBase
,
41248 _swigc__p_wxGDIObject
,
41249 _swigc__p_wxGIFHandler
,
41250 _swigc__p_wxGraphicsBrush
,
41251 _swigc__p_wxGraphicsContext
,
41252 _swigc__p_wxGraphicsFont
,
41253 _swigc__p_wxGraphicsMatrix
,
41254 _swigc__p_wxGraphicsObject
,
41255 _swigc__p_wxGraphicsPath
,
41256 _swigc__p_wxGraphicsPen
,
41257 _swigc__p_wxGraphicsRenderer
,
41258 _swigc__p_wxGridBagSizer
,
41259 _swigc__p_wxGridSizer
,
41260 _swigc__p_wxHeaderButtonParams
,
41261 _swigc__p_wxICOHandler
,
41263 _swigc__p_wxIconBundle
,
41264 _swigc__p_wxIconLocation
,
41265 _swigc__p_wxIconizeEvent
,
41266 _swigc__p_wxIdleEvent
,
41268 _swigc__p_wxImageHandler
,
41269 _swigc__p_wxImageList
,
41270 _swigc__p_wxIndividualLayoutConstraint
,
41271 _swigc__p_wxInitDialogEvent
,
41272 _swigc__p_wxJPEGHandler
,
41273 _swigc__p_wxKeyEvent
,
41274 _swigc__p_wxLanguageInfo
,
41275 _swigc__p_wxLayoutConstraints
,
41276 _swigc__p_wxLocale
,
41278 _swigc__p_wxMaximizeEvent
,
41279 _swigc__p_wxMemoryDC
,
41281 _swigc__p_wxMenuBar
,
41282 _swigc__p_wxMenuEvent
,
41283 _swigc__p_wxMenuItem
,
41284 _swigc__p_wxMetaFile
,
41285 _swigc__p_wxMetaFileDC
,
41286 _swigc__p_wxMirrorDC
,
41287 _swigc__p_wxMouseCaptureChangedEvent
,
41288 _swigc__p_wxMouseCaptureLostEvent
,
41289 _swigc__p_wxMouseEvent
,
41290 _swigc__p_wxMoveEvent
,
41291 _swigc__p_wxNativeEncodingInfo
,
41292 _swigc__p_wxNativeFontInfo
,
41293 _swigc__p_wxNativePixelData
,
41294 _swigc__p_wxNativePixelData_Accessor
,
41295 _swigc__p_wxNavigationKeyEvent
,
41296 _swigc__p_wxNcPaintEvent
,
41297 _swigc__p_wxNotifyEvent
,
41298 _swigc__p_wxObject
,
41299 _swigc__p_wxOverlay
,
41300 _swigc__p_wxPCXHandler
,
41301 _swigc__p_wxPNGHandler
,
41302 _swigc__p_wxPNMHandler
,
41303 _swigc__p_wxPaintDC
,
41304 _swigc__p_wxPaintEvent
,
41305 _swigc__p_wxPalette
,
41306 _swigc__p_wxPaletteChangedEvent
,
41307 _swigc__p_wxPaperSize
,
41309 _swigc__p_wxPenList
,
41310 _swigc__p_wxPixelDataBase
,
41312 _swigc__p_wxPoint2D
,
41313 _swigc__p_wxPoint2DDouble
,
41314 _swigc__p_wxPostScriptDC
,
41315 _swigc__p_wxPrintData
,
41316 _swigc__p_wxPrinterDC
,
41317 _swigc__p_wxPseudoDC
,
41319 _swigc__p_wxPyCommandEvent
,
41320 _swigc__p_wxPyEvent
,
41321 _swigc__p_wxPyFontEnumerator
,
41322 _swigc__p_wxPyImageHandler
,
41323 _swigc__p_wxPyLocale
,
41324 _swigc__p_wxPySizer
,
41325 _swigc__p_wxPyValidator
,
41326 _swigc__p_wxQueryNewPaletteEvent
,
41328 _swigc__p_wxRect2DDouble
,
41329 _swigc__p_wxRegion
,
41330 _swigc__p_wxRegionIterator
,
41331 _swigc__p_wxRendererNative
,
41332 _swigc__p_wxRendererVersion
,
41333 _swigc__p_wxScreenDC
,
41334 _swigc__p_wxScrollEvent
,
41335 _swigc__p_wxScrollWinEvent
,
41336 _swigc__p_wxSetCursorEvent
,
41337 _swigc__p_wxShowEvent
,
41339 _swigc__p_wxSizeEvent
,
41341 _swigc__p_wxSizerItem
,
41342 _swigc__p_wxSplitterRenderParams
,
41343 _swigc__p_wxStaticBoxSizer
,
41344 _swigc__p_wxStdDialogButtonSizer
,
41345 _swigc__p_wxStockGDI
,
41346 _swigc__p_wxString
,
41347 _swigc__p_wxSysColourChangedEvent
,
41348 _swigc__p_wxTGAHandler
,
41349 _swigc__p_wxTIFFHandler
,
41350 _swigc__p_wxUpdateUIEvent
,
41351 _swigc__p_wxValidator
,
41352 _swigc__p_wxWindow
,
41353 _swigc__p_wxWindowCreateEvent
,
41354 _swigc__p_wxWindowDC
,
41355 _swigc__p_wxWindowDestroyEvent
,
41356 _swigc__p_wxXPMHandler
,
41360 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41362 static swig_const_info swig_const_table
[] = {
41363 {0, 0, 0, 0.0, 0, 0}};
41368 /* -----------------------------------------------------------------------------
41369 * Type initialization:
41370 * This problem is tough by the requirement that no dynamic
41371 * memory is used. Also, since swig_type_info structures store pointers to
41372 * swig_cast_info structures and swig_cast_info structures store pointers back
41373 * to swig_type_info structures, we need some lookup code at initialization.
41374 * The idea is that swig generates all the structures that are needed.
41375 * The runtime then collects these partially filled structures.
41376 * The SWIG_InitializeModule function takes these initial arrays out of
41377 * swig_module, and does all the lookup, filling in the swig_module.types
41378 * array with the correct data and linking the correct swig_cast_info
41379 * structures together.
41381 * The generated swig_type_info structures are assigned staticly to an initial
41382 * array. We just loop though that array, and handle each type individually.
41383 * First we lookup if this type has been already loaded, and if so, use the
41384 * loaded structure instead of the generated one. Then we have to fill in the
41385 * cast linked list. The cast data is initially stored in something like a
41386 * two-dimensional array. Each row corresponds to a type (there are the same
41387 * number of rows as there are in the swig_type_initial array). Each entry in
41388 * a column is one of the swig_cast_info structures for that type.
41389 * The cast_initial array is actually an array of arrays, because each row has
41390 * a variable number of columns. So to actually build the cast linked list,
41391 * we find the array of casts associated with the type, and loop through it
41392 * adding the casts to the list. The one last trick we need to do is making
41393 * sure the type pointer in the swig_cast_info struct is correct.
41395 * First off, we lookup the cast->type name to see if it is already loaded.
41396 * There are three cases to handle:
41397 * 1) If the cast->type has already been loaded AND the type we are adding
41398 * casting info to has not been loaded (it is in this module), THEN we
41399 * replace the cast->type pointer with the type pointer that has already
41401 * 2) If BOTH types (the one we are adding casting info to, and the
41402 * cast->type) are loaded, THEN the cast info has already been loaded by
41403 * the previous module so we just ignore it.
41404 * 3) Finally, if cast->type has not already been loaded, then we add that
41405 * swig_cast_info to the linked list (because the cast->type) pointer will
41407 * ----------------------------------------------------------------------------- */
41417 #define SWIGRUNTIME_DEBUG
41421 SWIG_InitializeModule(void *clientdata
) {
41423 swig_module_info
*module_head
;
41424 static int init_run
= 0;
41426 clientdata
= clientdata
;
41428 if (init_run
) return;
41431 /* Initialize the swig_module */
41432 swig_module
.type_initial
= swig_type_initial
;
41433 swig_module
.cast_initial
= swig_cast_initial
;
41435 /* Try and load any already created modules */
41436 module_head
= SWIG_GetModule(clientdata
);
41438 swig_module
.next
= module_head
->next
;
41439 module_head
->next
= &swig_module
;
41441 /* This is the first module loaded */
41442 swig_module
.next
= &swig_module
;
41443 SWIG_SetModule(clientdata
, &swig_module
);
41446 /* Now work on filling in swig_module.types */
41447 #ifdef SWIGRUNTIME_DEBUG
41448 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41450 for (i
= 0; i
< swig_module
.size
; ++i
) {
41451 swig_type_info
*type
= 0;
41452 swig_type_info
*ret
;
41453 swig_cast_info
*cast
;
41455 #ifdef SWIGRUNTIME_DEBUG
41456 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41459 /* if there is another module already loaded */
41460 if (swig_module
.next
!= &swig_module
) {
41461 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41464 /* Overwrite clientdata field */
41465 #ifdef SWIGRUNTIME_DEBUG
41466 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41468 if (swig_module
.type_initial
[i
]->clientdata
) {
41469 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41470 #ifdef SWIGRUNTIME_DEBUG
41471 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41475 type
= swig_module
.type_initial
[i
];
41478 /* Insert casting types */
41479 cast
= swig_module
.cast_initial
[i
];
41480 while (cast
->type
) {
41481 /* Don't need to add information already in the list */
41483 #ifdef SWIGRUNTIME_DEBUG
41484 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41486 if (swig_module
.next
!= &swig_module
) {
41487 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41488 #ifdef SWIGRUNTIME_DEBUG
41489 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41493 if (type
== swig_module
.type_initial
[i
]) {
41494 #ifdef SWIGRUNTIME_DEBUG
41495 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41500 /* Check for casting already in the list */
41501 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41502 #ifdef SWIGRUNTIME_DEBUG
41503 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41505 if (!ocast
) ret
= 0;
41510 #ifdef SWIGRUNTIME_DEBUG
41511 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41514 type
->cast
->prev
= cast
;
41515 cast
->next
= type
->cast
;
41521 /* Set entry in modules->types array equal to the type */
41522 swig_module
.types
[i
] = type
;
41524 swig_module
.types
[i
] = 0;
41526 #ifdef SWIGRUNTIME_DEBUG
41527 printf("**** SWIG_InitializeModule: Cast List ******\n");
41528 for (i
= 0; i
< swig_module
.size
; ++i
) {
41530 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41531 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41532 while (cast
->type
) {
41533 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41537 printf("---- Total casts: %d\n",j
);
41539 printf("**** SWIG_InitializeModule: Cast List ******\n");
41543 /* This function will propagate the clientdata field of type to
41544 * any new swig_type_info structures that have been added into the list
41545 * of equivalent types. It is like calling
41546 * SWIG_TypeClientData(type, clientdata) a second time.
41549 SWIG_PropagateClientData(void) {
41551 swig_cast_info
*equiv
;
41552 static int init_run
= 0;
41554 if (init_run
) return;
41557 for (i
= 0; i
< swig_module
.size
; i
++) {
41558 if (swig_module
.types
[i
]->clientdata
) {
41559 equiv
= swig_module
.types
[i
]->cast
;
41561 if (!equiv
->converter
) {
41562 if (equiv
->type
&& !equiv
->type
->clientdata
)
41563 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41565 equiv
= equiv
->next
;
41585 /* Python-specific SWIG API */
41586 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41587 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41588 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41590 /* -----------------------------------------------------------------------------
41591 * global variable support code.
41592 * ----------------------------------------------------------------------------- */
41594 typedef struct swig_globalvar
{
41595 char *name
; /* Name of global variable */
41596 PyObject
*(*get_attr
)(void); /* Return the current value */
41597 int (*set_attr
)(PyObject
*); /* Set the value */
41598 struct swig_globalvar
*next
;
41601 typedef struct swig_varlinkobject
{
41603 swig_globalvar
*vars
;
41604 } swig_varlinkobject
;
41606 SWIGINTERN PyObject
*
41607 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41608 return PyString_FromString("<Swig global variables>");
41611 SWIGINTERN PyObject
*
41612 swig_varlink_str(swig_varlinkobject
*v
) {
41613 PyObject
*str
= PyString_FromString("(");
41614 swig_globalvar
*var
;
41615 for (var
= v
->vars
; var
; var
=var
->next
) {
41616 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41617 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41619 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41624 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41625 PyObject
*str
= swig_varlink_str(v
);
41626 fprintf(fp
,"Swig global variables ");
41627 fprintf(fp
,"%s\n", PyString_AsString(str
));
41633 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41634 swig_globalvar
*var
= v
->vars
;
41636 swig_globalvar
*n
= var
->next
;
41643 SWIGINTERN PyObject
*
41644 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41645 PyObject
*res
= NULL
;
41646 swig_globalvar
*var
= v
->vars
;
41648 if (strcmp(var
->name
,n
) == 0) {
41649 res
= (*var
->get_attr
)();
41654 if (res
== NULL
&& !PyErr_Occurred()) {
41655 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41661 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41663 swig_globalvar
*var
= v
->vars
;
41665 if (strcmp(var
->name
,n
) == 0) {
41666 res
= (*var
->set_attr
)(p
);
41671 if (res
== 1 && !PyErr_Occurred()) {
41672 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41677 SWIGINTERN PyTypeObject
*
41678 swig_varlink_type(void) {
41679 static char varlink__doc__
[] = "Swig var link object";
41680 static PyTypeObject varlink_type
;
41681 static int type_init
= 0;
41683 const PyTypeObject tmp
41685 PyObject_HEAD_INIT(NULL
)
41686 0, /* Number of items in variable part (ob_size) */
41687 (char *)"swigvarlink", /* Type name (tp_name) */
41688 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41689 0, /* Itemsize (tp_itemsize) */
41690 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41691 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41692 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41693 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41694 0, /* tp_compare */
41695 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41696 0, /* tp_as_number */
41697 0, /* tp_as_sequence */
41698 0, /* tp_as_mapping */
41701 (reprfunc
)swig_varlink_str
, /* tp_str */
41702 0, /* tp_getattro */
41703 0, /* tp_setattro */
41704 0, /* tp_as_buffer */
41706 varlink__doc__
, /* tp_doc */
41707 0, /* tp_traverse */
41709 0, /* tp_richcompare */
41710 0, /* tp_weaklistoffset */
41711 #if PY_VERSION_HEX >= 0x02020000
41712 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41714 #if PY_VERSION_HEX >= 0x02030000
41717 #ifdef COUNT_ALLOCS
41718 0,0,0,0 /* tp_alloc -> tp_next */
41721 varlink_type
= tmp
;
41722 varlink_type
.ob_type
= &PyType_Type
;
41725 return &varlink_type
;
41728 /* Create a variable linking object for use later */
41729 SWIGINTERN PyObject
*
41730 SWIG_Python_newvarlink(void) {
41731 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41735 return ((PyObject
*) result
);
41739 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41740 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41741 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41743 size_t size
= strlen(name
)+1;
41744 gv
->name
= (char *)malloc(size
);
41746 strncpy(gv
->name
,name
,size
);
41747 gv
->get_attr
= get_attr
;
41748 gv
->set_attr
= set_attr
;
41749 gv
->next
= v
->vars
;
41755 SWIGINTERN PyObject
*
41757 static PyObject
*_SWIG_globals
= 0;
41758 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41759 return _SWIG_globals
;
41762 /* -----------------------------------------------------------------------------
41763 * constants/methods manipulation
41764 * ----------------------------------------------------------------------------- */
41766 /* Install Constants */
41768 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41771 for (i
= 0; constants
[i
].type
; ++i
) {
41772 switch(constants
[i
].type
) {
41773 case SWIG_PY_POINTER
:
41774 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41776 case SWIG_PY_BINARY
:
41777 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41784 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41790 /* -----------------------------------------------------------------------------*/
41791 /* Fix SwigMethods to carry the callback ptrs when needed */
41792 /* -----------------------------------------------------------------------------*/
41795 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41796 swig_const_info
*const_table
,
41797 swig_type_info
**types
,
41798 swig_type_info
**types_initial
) {
41800 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41801 const char *c
= methods
[i
].ml_doc
;
41802 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41804 swig_const_info
*ci
= 0;
41805 const char *name
= c
+ 10;
41806 for (j
= 0; const_table
[j
].type
; ++j
) {
41807 if (strncmp(const_table
[j
].name
, name
,
41808 strlen(const_table
[j
].name
)) == 0) {
41809 ci
= &(const_table
[j
]);
41814 size_t shift
= (ci
->ptype
) - types
;
41815 swig_type_info
*ty
= types_initial
[shift
];
41816 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41817 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41818 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41821 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41823 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41825 strncpy(buff
, "swig_ptr: ", 10);
41827 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41828 methods
[i
].ml_doc
= ndoc
;
41840 /* -----------------------------------------------------------------------------*
41841 * Partial Init method
41842 * -----------------------------------------------------------------------------*/
41847 SWIGEXPORT
void SWIG_init(void) {
41850 /* Fix SwigMethods to carry the callback ptrs when needed */
41851 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41853 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41854 d
= PyModule_GetDict(m
);
41856 SWIG_InitializeModule(0);
41857 SWIG_InstallConstants(d
,swig_const_table
);
41860 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41861 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41862 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41863 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41864 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41865 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41866 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41867 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41868 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41869 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41870 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41871 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41872 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41873 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41874 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41875 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41876 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41877 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41878 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41879 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41880 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41881 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41882 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41883 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41884 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41885 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41886 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41887 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41888 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41889 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41890 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41891 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41892 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41893 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41894 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41895 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41896 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41897 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41898 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41899 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41900 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41901 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41902 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41903 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41904 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41905 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41906 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41907 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41908 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41909 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41910 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41911 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41912 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41913 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41914 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41915 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41916 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41917 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41918 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41919 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41920 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41921 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41922 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41923 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41924 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41925 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41926 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41927 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41928 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41929 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41930 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41931 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41932 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41933 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41934 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41935 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41936 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41937 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41938 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41939 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41940 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41941 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41942 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41943 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41944 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41945 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41946 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41947 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41948 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41949 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41950 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41951 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41952 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41953 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41954 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41955 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41956 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41957 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41958 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41959 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41960 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41961 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41962 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41963 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41964 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41965 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41966 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41967 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41968 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41969 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41970 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41971 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41972 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41973 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41985 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41986 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41987 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41988 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41989 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41990 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41991 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41993 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41995 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41996 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42019 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42020 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42021 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42022 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42023 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42024 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42025 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42026 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42027 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42028 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42029 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42030 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42031 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42032 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42033 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42034 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42035 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42036 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42037 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42038 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42039 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42040 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42041 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42042 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42043 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42044 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42045 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42046 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42047 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42048 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42049 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42050 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42051 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42052 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42053 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42054 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42055 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42056 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42057 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42058 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42059 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42060 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42061 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42062 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42063 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42064 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42065 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42066 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42067 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42068 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42069 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42070 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42071 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42072 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42073 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42074 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42075 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42076 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42077 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42078 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42079 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42080 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42081 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42082 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42083 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42084 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42085 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42086 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42087 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42088 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42089 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42090 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42091 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42092 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42093 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42094 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42095 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42096 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42097 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42098 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42099 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42100 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42101 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42102 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42103 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42104 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42105 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42106 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42107 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42108 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42109 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42110 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42111 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42112 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42113 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42114 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42115 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42116 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42117 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42118 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42119 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42120 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42121 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42122 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42123 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42124 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42125 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42126 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42127 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42128 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42129 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42130 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42131 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42132 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42133 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42134 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42135 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42136 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42137 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42138 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42139 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42140 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42141 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42142 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42143 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42144 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42145 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42146 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42147 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42148 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42149 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42150 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42151 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42152 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42153 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42154 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42155 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42156 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42157 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42158 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42159 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42160 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42161 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42162 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42163 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42164 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42165 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42166 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42167 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42168 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42226 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42227 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42228 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42229 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42230 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42231 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42232 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42233 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42234 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42235 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42236 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42237 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42238 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42239 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42240 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42241 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42242 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42243 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42244 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42245 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42246 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42247 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42248 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42249 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42250 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42251 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42252 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42253 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42254 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42255 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42256 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42257 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42258 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42259 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42260 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42261 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42262 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42263 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42264 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42265 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42266 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42267 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42268 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42269 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42270 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42271 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42272 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42273 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42274 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42275 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42276 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42277 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42278 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42279 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42280 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42281 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42282 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42283 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42284 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42285 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42286 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42287 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42288 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42289 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42290 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42291 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42292 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42293 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42294 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42295 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42296 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42297 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42298 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42299 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42300 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42301 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42302 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42303 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42304 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42305 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42306 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42307 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42308 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42309 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42310 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42311 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42312 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42313 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42314 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42315 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42316 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42317 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42318 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42320 // Work around a chicken/egg problem in drawlist.cpp
42321 wxPyDrawList_SetAPIPtr();