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 ;
16123 int arg4
= (int) 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 *)"OOO|O: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
);
16145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16146 if (!SWIG_IsOK(ecode4
)) {
16147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16149 arg4
= static_cast< int >(val4
);
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= SWIG_Py_Void();
16164 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
= 0;
16166 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16167 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16168 bool arg3
= (bool) false ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 PyObject
* obj2
= 0 ;
16179 char * kwnames
[] = {
16180 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16185 if (!SWIG_IsOK(res1
)) {
16186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16188 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16191 if (!SWIG_IsOK(ecode2
)) {
16192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16194 arg2
= static_cast< wxFontEncoding
>(val2
);
16197 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16198 if (!SWIG_IsOK(ecode3
)) {
16199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16201 arg3
= static_cast< bool >(val3
);
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16218 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
= 0;
16220 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16221 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16222 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16226 bool temp2
= false ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 char * kwnames
[] = {
16230 (char *) "self",(char *) "facename", NULL
16233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16238 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16241 arg2
= wxString_in_helper(obj1
);
16242 if (arg2
== NULL
) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16269 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16270 PyObject
*resultobj
= 0;
16271 PyObject
*result
= 0 ;
16273 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= result
;
16287 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16288 PyObject
*resultobj
= 0;
16289 PyObject
*result
= 0 ;
16291 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
;
16305 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
= 0;
16307 wxString
*arg1
= 0 ;
16309 bool temp1
= false ;
16310 PyObject
* obj0
= 0 ;
16311 char * kwnames
[] = {
16312 (char *) "str", NULL
16315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16317 arg1
= wxString_in_helper(obj0
);
16318 if (arg1
== NULL
) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16344 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16348 return SWIG_Py_Void();
16351 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16352 return SWIG_Python_InitShadowInstance(args
);
16355 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16356 PyObject
*resultobj
= 0;
16357 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16363 PyObject
*swig_obj
[2] ;
16365 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16367 if (!SWIG_IsOK(res1
)) {
16368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16370 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16371 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16372 if (!SWIG_IsOK(ecode2
)) {
16373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16375 arg2
= static_cast< int >(val2
);
16376 if (arg1
) (arg1
)->Language
= arg2
;
16378 resultobj
= SWIG_Py_Void();
16385 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16386 PyObject
*resultobj
= 0;
16387 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16391 PyObject
*swig_obj
[1] ;
16393 if (!args
) SWIG_fail
;
16394 swig_obj
[0] = args
;
16395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16396 if (!SWIG_IsOK(res1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16399 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16400 result
= (int) ((arg1
)->Language
);
16401 resultobj
= SWIG_From_int(static_cast< int >(result
));
16408 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16409 PyObject
*resultobj
= 0;
16410 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16411 wxString
*arg2
= (wxString
*) 0 ;
16414 bool temp2
= false ;
16415 PyObject
*swig_obj
[2] ;
16417 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16419 if (!SWIG_IsOK(res1
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16422 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16424 arg2
= wxString_in_helper(swig_obj
[1]);
16425 if (arg2
== NULL
) SWIG_fail
;
16428 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16430 resultobj
= SWIG_Py_Void();
16445 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16446 PyObject
*resultobj
= 0;
16447 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16448 wxString
*result
= 0 ;
16451 PyObject
*swig_obj
[1] ;
16453 if (!args
) SWIG_fail
;
16454 swig_obj
[0] = args
;
16455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16456 if (!SWIG_IsOK(res1
)) {
16457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16459 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16460 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16463 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16465 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16474 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16475 PyObject
*resultobj
= 0;
16476 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16477 wxString
*arg2
= (wxString
*) 0 ;
16480 bool temp2
= false ;
16481 PyObject
*swig_obj
[2] ;
16483 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16485 if (!SWIG_IsOK(res1
)) {
16486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16488 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16490 arg2
= wxString_in_helper(swig_obj
[1]);
16491 if (arg2
== NULL
) SWIG_fail
;
16494 if (arg1
) (arg1
)->Description
= *arg2
;
16496 resultobj
= SWIG_Py_Void();
16511 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16512 PyObject
*resultobj
= 0;
16513 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16514 wxString
*result
= 0 ;
16517 PyObject
*swig_obj
[1] ;
16519 if (!args
) SWIG_fail
;
16520 swig_obj
[0] = args
;
16521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16522 if (!SWIG_IsOK(res1
)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16525 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16526 result
= (wxString
*)& ((arg1
)->Description
);
16529 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16531 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16540 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16543 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16544 return SWIG_Py_Void();
16547 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
= 0;
16549 int arg1
= (int) -1 ;
16550 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16551 wxLocale
*result
= 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 char * kwnames
[] = {
16559 (char *) "language",(char *) "flags", NULL
16562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16565 if (!SWIG_IsOK(ecode1
)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16568 arg1
= static_cast< int >(val1
);
16571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16572 if (!SWIG_IsOK(ecode2
)) {
16573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16575 arg2
= static_cast< int >(val2
);
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16590 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16591 PyObject
*resultobj
= 0;
16592 wxLocale
*arg1
= (wxLocale
*) 0 ;
16595 PyObject
*swig_obj
[1] ;
16597 if (!args
) SWIG_fail
;
16598 swig_obj
[0] = args
;
16599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16603 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= SWIG_Py_Void();
16618 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
= 0;
16620 wxLocale
*arg1
= (wxLocale
*) 0 ;
16621 wxString
*arg2
= 0 ;
16622 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16623 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16626 bool arg5
= (bool) true ;
16627 bool arg6
= (bool) false ;
16631 bool temp2
= false ;
16632 bool temp3
= false ;
16633 bool temp4
= false ;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 PyObject
* obj2
= 0 ;
16641 PyObject
* obj3
= 0 ;
16642 PyObject
* obj4
= 0 ;
16643 PyObject
* obj5
= 0 ;
16644 char * kwnames
[] = {
16645 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16650 if (!SWIG_IsOK(res1
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16653 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16655 arg2
= wxString_in_helper(obj1
);
16656 if (arg2
== NULL
) SWIG_fail
;
16661 arg3
= wxString_in_helper(obj2
);
16662 if (arg3
== NULL
) SWIG_fail
;
16668 arg4
= wxString_in_helper(obj3
);
16669 if (arg4
== NULL
) SWIG_fail
;
16674 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16675 if (!SWIG_IsOK(ecode5
)) {
16676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16678 arg5
= static_cast< bool >(val5
);
16681 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16682 if (!SWIG_IsOK(ecode6
)) {
16683 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16685 arg6
= static_cast< bool >(val6
);
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16726 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
= 0;
16728 wxLocale
*arg1
= (wxLocale
*) 0 ;
16729 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16730 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16738 PyObject
* obj0
= 0 ;
16739 PyObject
* obj1
= 0 ;
16740 PyObject
* obj2
= 0 ;
16741 char * kwnames
[] = {
16742 (char *) "self",(char *) "language",(char *) "flags", NULL
16745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16747 if (!SWIG_IsOK(res1
)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16750 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16753 if (!SWIG_IsOK(ecode2
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16756 arg2
= static_cast< int >(val2
);
16759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16760 if (!SWIG_IsOK(ecode3
)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16763 arg3
= static_cast< int >(val3
);
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16780 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16781 PyObject
*resultobj
= 0;
16784 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (int)wxLocale::GetSystemLanguage();
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_From_int(static_cast< int >(result
));
16798 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16799 PyObject
*resultobj
= 0;
16800 wxFontEncoding result
;
16802 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_From_int(static_cast< int >(result
));
16816 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16817 PyObject
*resultobj
= 0;
16820 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= wxLocale::GetSystemEncodingName();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16840 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16841 PyObject
*resultobj
= 0;
16842 wxLocale
*arg1
= (wxLocale
*) 0 ;
16846 PyObject
*swig_obj
[1] ;
16848 if (!args
) SWIG_fail
;
16849 swig_obj
[0] = args
;
16850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16851 if (!SWIG_IsOK(res1
)) {
16852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16854 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16870 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16871 PyObject
*resultobj
= 0;
16872 wxLocale
*arg1
= (wxLocale
*) 0 ;
16876 PyObject
*swig_obj
[1] ;
16878 if (!args
) SWIG_fail
;
16879 swig_obj
[0] = args
;
16880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16881 if (!SWIG_IsOK(res1
)) {
16882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16884 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= ((wxLocale
const *)arg1
)->GetLocale();
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16904 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16905 PyObject
*resultobj
= 0;
16906 wxLocale
*arg1
= (wxLocale
*) 0 ;
16910 PyObject
*swig_obj
[1] ;
16912 if (!args
) SWIG_fail
;
16913 swig_obj
[0] = args
;
16914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16915 if (!SWIG_IsOK(res1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16918 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_From_int(static_cast< int >(result
));
16932 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16933 PyObject
*resultobj
= 0;
16934 wxLocale
*arg1
= (wxLocale
*) 0 ;
16938 PyObject
*swig_obj
[1] ;
16940 if (!args
) SWIG_fail
;
16941 swig_obj
[0] = args
;
16942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16943 if (!SWIG_IsOK(res1
)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16946 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= ((wxLocale
const *)arg1
)->GetSysName();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16966 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16967 PyObject
*resultobj
= 0;
16968 wxLocale
*arg1
= (wxLocale
*) 0 ;
16972 PyObject
*swig_obj
[1] ;
16974 if (!args
) SWIG_fail
;
16975 swig_obj
[0] = args
;
16976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16977 if (!SWIG_IsOK(res1
)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16980 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17000 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
= 0;
17002 wxString
*arg1
= 0 ;
17003 bool temp1
= false ;
17004 PyObject
* obj0
= 0 ;
17005 char * kwnames
[] = {
17006 (char *) "prefix", NULL
17009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17011 arg1
= wxString_in_helper(obj0
);
17012 if (arg1
== NULL
) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_Py_Void();
17036 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
= 0;
17038 wxLocale
*arg1
= (wxLocale
*) 0 ;
17039 wxString
*arg2
= 0 ;
17043 bool temp2
= false ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 char * kwnames
[] = {
17047 (char *) "self",(char *) "szDomain", NULL
17050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17052 if (!SWIG_IsOK(res1
)) {
17053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17055 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17057 arg2
= wxString_in_helper(obj1
);
17058 if (arg2
== NULL
) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17084 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
= 0;
17090 PyObject
* obj0
= 0 ;
17091 char * kwnames
[] = {
17092 (char *) "lang", NULL
17095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17096 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17097 if (!SWIG_IsOK(ecode1
)) {
17098 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17100 arg1
= static_cast< int >(val1
);
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (bool)wxLocale::IsAvailable(arg1
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17116 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
= 0;
17118 wxLocale
*arg1
= (wxLocale
*) 0 ;
17119 wxString
*arg2
= 0 ;
17123 bool temp2
= false ;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 char * kwnames
[] = {
17127 (char *) "self",(char *) "szDomain", NULL
17130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17132 if (!SWIG_IsOK(res1
)) {
17133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17135 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17137 arg2
= wxString_in_helper(obj1
);
17138 if (arg2
== NULL
) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17164 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
= 0;
17167 wxLanguageInfo
*result
= 0 ;
17170 PyObject
* obj0
= 0 ;
17171 char * kwnames
[] = {
17172 (char *) "lang", NULL
17175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17176 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17177 if (!SWIG_IsOK(ecode1
)) {
17178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17180 arg1
= static_cast< int >(val1
);
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17194 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
= 0;
17200 PyObject
* obj0
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "lang", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17206 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17207 if (!SWIG_IsOK(ecode1
)) {
17208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17210 arg1
= static_cast< int >(val1
);
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= wxLocale::GetLanguageName(arg1
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17230 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
= 0;
17232 wxString
*arg1
= 0 ;
17233 wxLanguageInfo
*result
= 0 ;
17234 bool temp1
= false ;
17235 PyObject
* obj0
= 0 ;
17236 char * kwnames
[] = {
17237 (char *) "locale", NULL
17240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17242 arg1
= wxString_in_helper(obj0
);
17243 if (arg1
== NULL
) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17267 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
= 0;
17269 wxLanguageInfo
*arg1
= 0 ;
17272 PyObject
* obj0
= 0 ;
17273 char * kwnames
[] = {
17274 (char *) "info", NULL
17277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17278 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17279 if (!SWIG_IsOK(res1
)) {
17280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17285 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= SWIG_Py_Void();
17299 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= 0;
17301 wxLocale
*arg1
= (wxLocale
*) 0 ;
17302 wxString
*arg2
= 0 ;
17303 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17304 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17308 bool temp2
= false ;
17309 bool temp3
= false ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 PyObject
* obj2
= 0 ;
17313 char * kwnames
[] = {
17314 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17319 if (!SWIG_IsOK(res1
)) {
17320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17322 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17324 arg2
= wxString_in_helper(obj1
);
17325 if (arg2
== NULL
) SWIG_fail
;
17330 arg3
= wxString_in_helper(obj2
);
17331 if (arg3
== NULL
) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17370 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17371 PyObject
*resultobj
= 0;
17372 wxLocale
*arg1
= (wxLocale
*) 0 ;
17373 wxString
*result
= 0 ;
17376 PyObject
*swig_obj
[1] ;
17378 if (!args
) SWIG_fail
;
17379 swig_obj
[0] = args
;
17380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17381 if (!SWIG_IsOK(res1
)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17384 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17389 result
= (wxString
*) &_result_ref
;
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17398 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17407 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17410 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17411 return SWIG_Py_Void();
17414 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17415 return SWIG_Python_InitShadowInstance(args
);
17418 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 int arg1
= (int) -1 ;
17421 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17422 wxPyLocale
*result
= 0 ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 char * kwnames
[] = {
17430 (char *) "language",(char *) "flags", NULL
17433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17435 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17436 if (!SWIG_IsOK(ecode1
)) {
17437 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17439 arg1
= static_cast< int >(val1
);
17442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17443 if (!SWIG_IsOK(ecode2
)) {
17444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17446 arg2
= static_cast< int >(val2
);
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17461 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17462 PyObject
*resultobj
= 0;
17463 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17466 PyObject
*swig_obj
[1] ;
17468 if (!args
) SWIG_fail
;
17469 swig_obj
[0] = args
;
17470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17471 if (!SWIG_IsOK(res1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17474 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_Py_Void();
17489 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
= 0;
17491 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17492 PyObject
*arg2
= (PyObject
*) 0 ;
17493 PyObject
*arg3
= (PyObject
*) 0 ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 PyObject
* obj2
= 0 ;
17499 char * kwnames
[] = {
17500 (char *) "self",(char *) "self",(char *) "_class", NULL
17503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17505 if (!SWIG_IsOK(res1
)) {
17506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17508 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_Py_Void();
17524 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
= 0;
17526 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17527 wxChar
*arg2
= (wxChar
*) 0 ;
17528 wxChar
*arg3
= (wxChar
*) NULL
;
17529 wxChar
*result
= 0 ;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 PyObject
* obj2
= 0 ;
17539 char * kwnames
[] = {
17540 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17545 if (!SWIG_IsOK(res1
)) {
17546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17548 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17549 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17550 if (!SWIG_IsOK(res2
)) {
17551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17553 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17555 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17556 if (!SWIG_IsOK(res3
)) {
17557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17559 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17574 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
= 0;
17576 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17577 wxChar
*arg2
= (wxChar
*) 0 ;
17578 wxChar
*arg3
= (wxChar
*) 0 ;
17580 wxChar
*arg5
= (wxChar
*) NULL
;
17581 wxChar
*result
= 0 ;
17592 PyObject
* obj0
= 0 ;
17593 PyObject
* obj1
= 0 ;
17594 PyObject
* obj2
= 0 ;
17595 PyObject
* obj3
= 0 ;
17596 PyObject
* obj4
= 0 ;
17597 char * kwnames
[] = {
17598 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17603 if (!SWIG_IsOK(res1
)) {
17604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17606 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17608 if (!SWIG_IsOK(res2
)) {
17609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17611 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17612 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17613 if (!SWIG_IsOK(res3
)) {
17614 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17616 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17617 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17618 if (!SWIG_IsOK(ecode4
)) {
17619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17621 arg4
= static_cast< size_t >(val4
);
17623 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17624 if (!SWIG_IsOK(res5
)) {
17625 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17627 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17642 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17645 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17646 return SWIG_Py_Void();
17649 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17650 return SWIG_Python_InitShadowInstance(args
);
17653 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 PyObject
*resultobj
= 0;
17655 wxLocale
*result
= 0 ;
17657 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (wxLocale
*)wxGetLocale();
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17671 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17672 PyObject
*resultobj
= 0;
17673 wxString
*arg1
= 0 ;
17675 bool temp1
= false ;
17677 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17679 arg1
= wxString_in_helper(swig_obj
[0]);
17680 if (arg1
== NULL
) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= wxGetTranslation((wxString
const &)*arg1
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17710 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17711 PyObject
*resultobj
= 0;
17712 wxString
*arg1
= 0 ;
17713 wxString
*arg2
= 0 ;
17715 bool temp1
= false ;
17716 bool temp2
= false ;
17718 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17720 arg1
= wxString_in_helper(swig_obj
[0]);
17721 if (arg1
== NULL
) SWIG_fail
;
17725 arg2
= wxString_in_helper(swig_obj
[1]);
17726 if (arg2
== NULL
) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17764 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17765 PyObject
*resultobj
= 0;
17766 wxString
*arg1
= 0 ;
17767 wxString
*arg2
= 0 ;
17770 bool temp1
= false ;
17771 bool temp2
= false ;
17775 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17777 arg1
= wxString_in_helper(swig_obj
[0]);
17778 if (arg1
== NULL
) SWIG_fail
;
17782 arg2
= wxString_in_helper(swig_obj
[1]);
17783 if (arg2
== NULL
) SWIG_fail
;
17786 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17787 if (!SWIG_IsOK(ecode3
)) {
17788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17790 arg3
= static_cast< size_t >(val3
);
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17826 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17827 PyObject
*resultobj
= 0;
17828 wxString
*arg1
= 0 ;
17829 wxString
*arg2
= 0 ;
17831 wxString
*arg4
= 0 ;
17833 bool temp1
= false ;
17834 bool temp2
= false ;
17837 bool temp4
= false ;
17839 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17841 arg1
= wxString_in_helper(swig_obj
[0]);
17842 if (arg1
== NULL
) SWIG_fail
;
17846 arg2
= wxString_in_helper(swig_obj
[1]);
17847 if (arg2
== NULL
) SWIG_fail
;
17850 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17851 if (!SWIG_IsOK(ecode3
)) {
17852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17854 arg3
= static_cast< size_t >(val3
);
17856 arg4
= wxString_in_helper(swig_obj
[3]);
17857 if (arg4
== NULL
) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17903 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17907 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17910 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17913 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17916 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17919 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17923 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17928 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17929 PyObject
*resultobj
= 0;
17930 wxEncodingConverter
*result
= 0 ;
17932 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17946 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17947 PyObject
*resultobj
= 0;
17948 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17951 PyObject
*swig_obj
[1] ;
17953 if (!args
) SWIG_fail
;
17954 swig_obj
[0] = args
;
17955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17956 if (!SWIG_IsOK(res1
)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17959 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_Py_Void();
17974 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
= 0;
17976 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17977 wxFontEncoding arg2
;
17978 wxFontEncoding arg3
;
17979 int arg4
= (int) wxCONVERT_STRICT
;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 PyObject
* obj3
= 0 ;
17993 char * kwnames
[] = {
17994 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17999 if (!SWIG_IsOK(res1
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18002 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18004 if (!SWIG_IsOK(ecode2
)) {
18005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18007 arg2
= static_cast< wxFontEncoding
>(val2
);
18008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18009 if (!SWIG_IsOK(ecode3
)) {
18010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18012 arg3
= static_cast< wxFontEncoding
>(val3
);
18014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18015 if (!SWIG_IsOK(ecode4
)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18018 arg4
= static_cast< int >(val4
);
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18035 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
= 0;
18037 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18038 wxString
*arg2
= 0 ;
18042 bool temp2
= false ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 char * kwnames
[] = {
18046 (char *) "self",(char *) "input", NULL
18049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18051 if (!SWIG_IsOK(res1
)) {
18052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18054 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18056 arg2
= wxString_in_helper(obj1
);
18057 if (arg2
== NULL
) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18087 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
= 0;
18089 wxFontEncoding arg1
;
18090 int arg2
= (int) wxPLATFORM_CURRENT
;
18091 wxFontEncodingArray result
;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char * kwnames
[] = {
18099 (char *) "enc",(char *) "platform", NULL
18102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18103 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18104 if (!SWIG_IsOK(ecode1
)) {
18105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18107 arg1
= static_cast< wxFontEncoding
>(val1
);
18109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18110 if (!SWIG_IsOK(ecode2
)) {
18111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18113 arg2
= static_cast< int >(val2
);
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= PyList_New(0);
18123 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18124 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18125 PyList_Append(resultobj
, number
);
18135 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
= 0;
18137 wxFontEncoding arg1
;
18138 wxFontEncodingArray result
;
18141 PyObject
* obj0
= 0 ;
18142 char * kwnames
[] = {
18143 (char *) "enc", NULL
18146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18148 if (!SWIG_IsOK(ecode1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18151 arg1
= static_cast< wxFontEncoding
>(val1
);
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= PyList_New(0);
18160 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18161 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18162 PyList_Append(resultobj
, number
);
18172 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
= 0;
18174 wxFontEncoding arg1
;
18175 wxFontEncoding arg2
;
18181 PyObject
* obj0
= 0 ;
18182 PyObject
* obj1
= 0 ;
18183 char * kwnames
[] = {
18184 (char *) "encIn",(char *) "encOut", NULL
18187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18189 if (!SWIG_IsOK(ecode1
)) {
18190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18192 arg1
= static_cast< wxFontEncoding
>(val1
);
18193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18194 if (!SWIG_IsOK(ecode2
)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18197 arg2
= static_cast< wxFontEncoding
>(val2
);
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18213 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18216 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18217 return SWIG_Py_Void();
18220 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18221 return SWIG_Python_InitShadowInstance(args
);
18224 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18225 PyObject
*resultobj
= 0;
18226 wxDC
*arg1
= (wxDC
*) 0 ;
18229 PyObject
*swig_obj
[1] ;
18231 if (!args
) SWIG_fail
;
18232 swig_obj
[0] = args
;
18233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18234 if (!SWIG_IsOK(res1
)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_Py_Void();
18252 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
= 0;
18254 wxDC
*arg1
= (wxDC
*) 0 ;
18257 wxColour
*arg4
= 0 ;
18258 int arg5
= (int) wxFLOOD_SURFACE
;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 PyObject
* obj2
= 0 ;
18272 PyObject
* obj3
= 0 ;
18273 PyObject
* obj4
= 0 ;
18274 char * kwnames
[] = {
18275 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18280 if (!SWIG_IsOK(res1
)) {
18281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18285 if (!SWIG_IsOK(ecode2
)) {
18286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18288 arg2
= static_cast< int >(val2
);
18289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18290 if (!SWIG_IsOK(ecode3
)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18293 arg3
= static_cast< int >(val3
);
18296 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18300 if (!SWIG_IsOK(ecode5
)) {
18301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18303 arg5
= static_cast< int >(val5
);
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18320 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
= 0;
18322 wxDC
*arg1
= (wxDC
*) 0 ;
18323 wxPoint
*arg2
= 0 ;
18324 wxColour
*arg3
= 0 ;
18325 int arg4
= (int) wxFLOOD_SURFACE
;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 PyObject
* obj2
= 0 ;
18336 PyObject
* obj3
= 0 ;
18337 char * kwnames
[] = {
18338 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18343 if (!SWIG_IsOK(res1
)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18353 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18357 if (!SWIG_IsOK(ecode4
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18360 arg4
= static_cast< int >(val4
);
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18377 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
= 0;
18379 wxDC
*arg1
= (wxDC
*) 0 ;
18381 wxColour
*arg3
= 0 ;
18382 wxColour
*arg4
= 0 ;
18383 wxPoint
*arg5
= 0 ;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 PyObject
* obj2
= 0 ;
18393 PyObject
* obj3
= 0 ;
18394 PyObject
* obj4
= 0 ;
18395 char * kwnames
[] = {
18396 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18401 if (!SWIG_IsOK(res1
)) {
18402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18407 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18411 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18415 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18419 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_Py_Void();
18434 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
= 0;
18436 wxDC
*arg1
= (wxDC
*) 0 ;
18438 wxColour
*arg3
= 0 ;
18439 wxColour
*arg4
= 0 ;
18440 wxDirection arg5
= (wxDirection
) wxEAST
;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 PyObject
* obj2
= 0 ;
18451 PyObject
* obj3
= 0 ;
18452 PyObject
* obj4
= 0 ;
18453 char * kwnames
[] = {
18454 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18459 if (!SWIG_IsOK(res1
)) {
18460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18465 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18469 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18473 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18476 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18477 if (!SWIG_IsOK(ecode5
)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18480 arg5
= static_cast< wxDirection
>(val5
);
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= SWIG_Py_Void();
18495 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
= 0;
18497 wxDC
*arg1
= (wxDC
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 PyObject
* obj2
= 0 ;
18510 char * kwnames
[] = {
18511 (char *) "self",(char *) "x",(char *) "y", NULL
18514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18516 if (!SWIG_IsOK(res1
)) {
18517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18521 if (!SWIG_IsOK(ecode2
)) {
18522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18524 arg2
= static_cast< int >(val2
);
18525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18526 if (!SWIG_IsOK(ecode3
)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18529 arg3
= static_cast< int >(val3
);
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18543 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxDC
*arg1
= (wxDC
*) 0 ;
18546 wxPoint
*arg2
= 0 ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 char * kwnames
[] = {
18554 (char *) "self",(char *) "pt", NULL
18557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18559 if (!SWIG_IsOK(res1
)) {
18560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18580 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxDC
*arg1
= (wxDC
*) 0 ;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 PyObject
* obj2
= 0 ;
18600 PyObject
* obj3
= 0 ;
18601 PyObject
* obj4
= 0 ;
18602 char * kwnames
[] = {
18603 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18608 if (!SWIG_IsOK(res1
)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18613 if (!SWIG_IsOK(ecode2
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18616 arg2
= static_cast< int >(val2
);
18617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18618 if (!SWIG_IsOK(ecode3
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18621 arg3
= static_cast< int >(val3
);
18622 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18623 if (!SWIG_IsOK(ecode4
)) {
18624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18626 arg4
= static_cast< int >(val4
);
18627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18628 if (!SWIG_IsOK(ecode5
)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18631 arg5
= static_cast< int >(val5
);
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_Py_Void();
18645 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
= 0;
18647 wxDC
*arg1
= (wxDC
*) 0 ;
18648 wxPoint
*arg2
= 0 ;
18649 wxPoint
*arg3
= 0 ;
18654 PyObject
* obj0
= 0 ;
18655 PyObject
* obj1
= 0 ;
18656 PyObject
* obj2
= 0 ;
18657 char * kwnames
[] = {
18658 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18663 if (!SWIG_IsOK(res1
)) {
18664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18673 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_Py_Void();
18688 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
= 0;
18690 wxDC
*arg1
= (wxDC
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 PyObject
* obj1
= 0 ;
18701 PyObject
* obj2
= 0 ;
18702 char * kwnames
[] = {
18703 (char *) "self",(char *) "x",(char *) "y", NULL
18706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18708 if (!SWIG_IsOK(res1
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18713 if (!SWIG_IsOK(ecode2
)) {
18714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18716 arg2
= static_cast< int >(val2
);
18717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18718 if (!SWIG_IsOK(ecode3
)) {
18719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18721 arg3
= static_cast< int >(val3
);
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->CrossHair(arg2
,arg3
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= SWIG_Py_Void();
18735 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
= 0;
18737 wxDC
*arg1
= (wxDC
*) 0 ;
18738 wxPoint
*arg2
= 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char * kwnames
[] = {
18745 (char *) "self",(char *) "pt", NULL
18748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18756 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= SWIG_Py_Void();
18771 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
= 0;
18773 wxDC
*arg1
= (wxDC
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 PyObject
* obj2
= 0 ;
18797 PyObject
* obj3
= 0 ;
18798 PyObject
* obj4
= 0 ;
18799 PyObject
* obj5
= 0 ;
18800 PyObject
* obj6
= 0 ;
18801 char * kwnames
[] = {
18802 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18807 if (!SWIG_IsOK(res1
)) {
18808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18812 if (!SWIG_IsOK(ecode2
)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18815 arg2
= static_cast< int >(val2
);
18816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18817 if (!SWIG_IsOK(ecode3
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18820 arg3
= static_cast< int >(val3
);
18821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18822 if (!SWIG_IsOK(ecode4
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18825 arg4
= static_cast< int >(val4
);
18826 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18827 if (!SWIG_IsOK(ecode5
)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18830 arg5
= static_cast< int >(val5
);
18831 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18832 if (!SWIG_IsOK(ecode6
)) {
18833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18835 arg6
= static_cast< int >(val6
);
18836 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18837 if (!SWIG_IsOK(ecode7
)) {
18838 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18840 arg7
= static_cast< int >(val7
);
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_Py_Void();
18854 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
= 0;
18856 wxDC
*arg1
= (wxDC
*) 0 ;
18857 wxPoint
*arg2
= 0 ;
18858 wxPoint
*arg3
= 0 ;
18859 wxPoint
*arg4
= 0 ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 PyObject
* obj2
= 0 ;
18868 PyObject
* obj3
= 0 ;
18869 char * kwnames
[] = {
18870 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18875 if (!SWIG_IsOK(res1
)) {
18876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_Py_Void();
18904 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= 0;
18906 wxDC
*arg1
= (wxDC
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 PyObject
* obj1
= 0 ;
18923 PyObject
* obj2
= 0 ;
18924 PyObject
* obj3
= 0 ;
18925 PyObject
* obj4
= 0 ;
18926 char * kwnames
[] = {
18927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18937 if (!SWIG_IsOK(ecode2
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18940 arg2
= static_cast< int >(val2
);
18941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18942 if (!SWIG_IsOK(ecode3
)) {
18943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18945 arg3
= static_cast< int >(val3
);
18946 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18947 if (!SWIG_IsOK(ecode4
)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18950 arg4
= static_cast< int >(val4
);
18951 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18952 if (!SWIG_IsOK(ecode5
)) {
18953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18955 arg5
= static_cast< int >(val5
);
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= SWIG_Py_Void();
18969 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
= 0;
18971 wxDC
*arg1
= (wxDC
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 PyObject
* obj1
= 0 ;
18978 char * kwnames
[] = {
18979 (char *) "self",(char *) "rect", NULL
18982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18984 if (!SWIG_IsOK(res1
)) {
18985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18990 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= SWIG_Py_Void();
19005 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
= 0;
19007 wxDC
*arg1
= (wxDC
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 PyObject
* obj2
= 0 ;
19031 PyObject
* obj3
= 0 ;
19032 PyObject
* obj4
= 0 ;
19033 PyObject
* obj5
= 0 ;
19034 PyObject
* obj6
= 0 ;
19035 char * kwnames
[] = {
19036 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19041 if (!SWIG_IsOK(res1
)) {
19042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19046 if (!SWIG_IsOK(ecode2
)) {
19047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19049 arg2
= static_cast< int >(val2
);
19050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19051 if (!SWIG_IsOK(ecode3
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19054 arg3
= static_cast< int >(val3
);
19055 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19056 if (!SWIG_IsOK(ecode4
)) {
19057 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19059 arg4
= static_cast< int >(val4
);
19060 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19061 if (!SWIG_IsOK(ecode5
)) {
19062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19064 arg5
= static_cast< int >(val5
);
19065 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19066 if (!SWIG_IsOK(ecode6
)) {
19067 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19069 arg6
= static_cast< double >(val6
);
19070 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19071 if (!SWIG_IsOK(ecode7
)) {
19072 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19074 arg7
= static_cast< double >(val7
);
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= SWIG_Py_Void();
19088 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
= 0;
19090 wxDC
*arg1
= (wxDC
*) 0 ;
19091 wxPoint
*arg2
= 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 PyObject
* obj2
= 0 ;
19106 PyObject
* obj3
= 0 ;
19107 PyObject
* obj4
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19114 if (!SWIG_IsOK(res1
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19124 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19126 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19127 if (!SWIG_IsOK(ecode4
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19130 arg4
= static_cast< double >(val4
);
19131 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19132 if (!SWIG_IsOK(ecode5
)) {
19133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19135 arg5
= static_cast< double >(val5
);
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= SWIG_Py_Void();
19149 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
= 0;
19151 wxDC
*arg1
= (wxDC
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 PyObject
* obj2
= 0 ;
19163 char * kwnames
[] = {
19164 (char *) "self",(char *) "x",(char *) "y", NULL
19167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19169 if (!SWIG_IsOK(res1
)) {
19170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19174 if (!SWIG_IsOK(ecode2
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19177 arg2
= static_cast< int >(val2
);
19178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19179 if (!SWIG_IsOK(ecode3
)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19182 arg3
= static_cast< int >(val3
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 (arg1
)->DrawPoint(arg2
,arg3
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_Py_Void();
19196 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
= 0;
19198 wxDC
*arg1
= (wxDC
*) 0 ;
19199 wxPoint
*arg2
= 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "pt", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_Py_Void();
19232 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
= 0;
19234 wxDC
*arg1
= (wxDC
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 PyObject
* obj2
= 0 ;
19252 PyObject
* obj3
= 0 ;
19253 PyObject
* obj4
= 0 ;
19254 char * kwnames
[] = {
19255 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19260 if (!SWIG_IsOK(res1
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19265 if (!SWIG_IsOK(ecode2
)) {
19266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19268 arg2
= static_cast< int >(val2
);
19269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19270 if (!SWIG_IsOK(ecode3
)) {
19271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19273 arg3
= static_cast< int >(val3
);
19274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19275 if (!SWIG_IsOK(ecode4
)) {
19276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19278 arg4
= static_cast< int >(val4
);
19279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19280 if (!SWIG_IsOK(ecode5
)) {
19281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19283 arg5
= static_cast< int >(val5
);
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_Py_Void();
19297 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
= 0;
19299 wxDC
*arg1
= (wxDC
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "self",(char *) "rect", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_Py_Void();
19333 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxDC
*arg1
= (wxDC
*) 0 ;
19336 wxPoint
*arg2
= 0 ;
19342 PyObject
* obj0
= 0 ;
19343 PyObject
* obj1
= 0 ;
19344 PyObject
* obj2
= 0 ;
19345 char * kwnames
[] = {
19346 (char *) "self",(char *) "pt",(char *) "sz", NULL
19349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19351 if (!SWIG_IsOK(res1
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19357 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19361 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= SWIG_Py_Void();
19376 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
= 0;
19378 wxDC
*arg1
= (wxDC
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 PyObject
* obj2
= 0 ;
19399 PyObject
* obj3
= 0 ;
19400 PyObject
* obj4
= 0 ;
19401 PyObject
* obj5
= 0 ;
19402 char * kwnames
[] = {
19403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19408 if (!SWIG_IsOK(res1
)) {
19409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19413 if (!SWIG_IsOK(ecode2
)) {
19414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19416 arg2
= static_cast< int >(val2
);
19417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19418 if (!SWIG_IsOK(ecode3
)) {
19419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19421 arg3
= static_cast< int >(val3
);
19422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19423 if (!SWIG_IsOK(ecode4
)) {
19424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19426 arg4
= static_cast< int >(val4
);
19427 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19428 if (!SWIG_IsOK(ecode5
)) {
19429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19431 arg5
= static_cast< int >(val5
);
19432 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19433 if (!SWIG_IsOK(ecode6
)) {
19434 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19436 arg6
= static_cast< double >(val6
);
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= SWIG_Py_Void();
19450 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
= 0;
19452 wxDC
*arg1
= (wxDC
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 PyObject
* obj2
= 0 ;
19463 char * kwnames
[] = {
19464 (char *) "self",(char *) "r",(char *) "radius", NULL
19467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19469 if (!SWIG_IsOK(res1
)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19475 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19477 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19478 if (!SWIG_IsOK(ecode3
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19481 arg3
= static_cast< double >(val3
);
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_Py_Void();
19495 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxDC
*arg1
= (wxDC
*) 0 ;
19498 wxPoint
*arg2
= 0 ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 PyObject
* obj2
= 0 ;
19510 PyObject
* obj3
= 0 ;
19511 char * kwnames
[] = {
19512 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19517 if (!SWIG_IsOK(res1
)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19527 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19529 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19530 if (!SWIG_IsOK(ecode4
)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19533 arg4
= static_cast< double >(val4
);
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_Py_Void();
19547 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
= 0;
19549 wxDC
*arg1
= (wxDC
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 PyObject
* obj2
= 0 ;
19564 PyObject
* obj3
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19576 if (!SWIG_IsOK(ecode2
)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19579 arg2
= static_cast< int >(val2
);
19580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19581 if (!SWIG_IsOK(ecode3
)) {
19582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19584 arg3
= static_cast< int >(val3
);
19585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19586 if (!SWIG_IsOK(ecode4
)) {
19587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19589 arg4
= static_cast< int >(val4
);
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_Py_Void();
19603 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
= 0;
19605 wxDC
*arg1
= (wxDC
*) 0 ;
19606 wxPoint
*arg2
= 0 ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 PyObject
* obj2
= 0 ;
19616 char * kwnames
[] = {
19617 (char *) "self",(char *) "pt",(char *) "radius", NULL
19620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19622 if (!SWIG_IsOK(res1
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19631 if (!SWIG_IsOK(ecode3
)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19634 arg3
= static_cast< int >(val3
);
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_Py_Void();
19648 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= 0;
19650 wxDC
*arg1
= (wxDC
*) 0 ;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 PyObject
* obj2
= 0 ;
19668 PyObject
* obj3
= 0 ;
19669 PyObject
* obj4
= 0 ;
19670 char * kwnames
[] = {
19671 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19681 if (!SWIG_IsOK(ecode2
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19684 arg2
= static_cast< int >(val2
);
19685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19686 if (!SWIG_IsOK(ecode3
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19689 arg3
= static_cast< int >(val3
);
19690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19691 if (!SWIG_IsOK(ecode4
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19694 arg4
= static_cast< int >(val4
);
19695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19696 if (!SWIG_IsOK(ecode5
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19699 arg5
= static_cast< int >(val5
);
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_Py_Void();
19713 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
= 0;
19715 wxDC
*arg1
= (wxDC
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 char * kwnames
[] = {
19723 (char *) "self",(char *) "rect", NULL
19726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19728 if (!SWIG_IsOK(res1
)) {
19729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_Py_Void();
19749 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
= 0;
19751 wxDC
*arg1
= (wxDC
*) 0 ;
19752 wxPoint
*arg2
= 0 ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 PyObject
* obj2
= 0 ;
19761 char * kwnames
[] = {
19762 (char *) "self",(char *) "pt",(char *) "sz", NULL
19765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19767 if (!SWIG_IsOK(res1
)) {
19768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19773 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19777 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= SWIG_Py_Void();
19792 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
= 0;
19794 wxDC
*arg1
= (wxDC
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 PyObject
* obj2
= 0 ;
19809 PyObject
* obj3
= 0 ;
19810 char * kwnames
[] = {
19811 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19816 if (!SWIG_IsOK(res1
)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19821 if (!SWIG_IsOK(res2
)) {
19822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19827 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19829 if (!SWIG_IsOK(ecode3
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19832 arg3
= static_cast< int >(val3
);
19833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19834 if (!SWIG_IsOK(ecode4
)) {
19835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19837 arg4
= static_cast< int >(val4
);
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_Py_Void();
19851 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
= 0;
19853 wxDC
*arg1
= (wxDC
*) 0 ;
19855 wxPoint
*arg3
= 0 ;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 PyObject
* obj2
= 0 ;
19864 char * kwnames
[] = {
19865 (char *) "self",(char *) "icon",(char *) "pt", NULL
19868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19870 if (!SWIG_IsOK(res1
)) {
19871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19875 if (!SWIG_IsOK(res2
)) {
19876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19881 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= SWIG_Py_Void();
19899 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
= 0;
19901 wxDC
*arg1
= (wxDC
*) 0 ;
19902 wxBitmap
*arg2
= 0 ;
19905 bool arg5
= (bool) false ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 PyObject
* obj2
= 0 ;
19919 PyObject
* obj3
= 0 ;
19920 PyObject
* obj4
= 0 ;
19921 char * kwnames
[] = {
19922 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19927 if (!SWIG_IsOK(res1
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19932 if (!SWIG_IsOK(res2
)) {
19933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19938 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19940 if (!SWIG_IsOK(ecode3
)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19943 arg3
= static_cast< int >(val3
);
19944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19945 if (!SWIG_IsOK(ecode4
)) {
19946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19948 arg4
= static_cast< int >(val4
);
19950 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19951 if (!SWIG_IsOK(ecode5
)) {
19952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19954 arg5
= static_cast< bool >(val5
);
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_Py_Void();
19969 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
= 0;
19971 wxDC
*arg1
= (wxDC
*) 0 ;
19972 wxBitmap
*arg2
= 0 ;
19973 wxPoint
*arg3
= 0 ;
19974 bool arg4
= (bool) false ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 PyObject
* obj2
= 0 ;
19985 PyObject
* obj3
= 0 ;
19986 char * kwnames
[] = {
19987 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19992 if (!SWIG_IsOK(res1
)) {
19993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19997 if (!SWIG_IsOK(res2
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20003 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20009 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20010 if (!SWIG_IsOK(ecode4
)) {
20011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20013 arg4
= static_cast< bool >(val4
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_Py_Void();
20028 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= 0;
20030 wxDC
*arg1
= (wxDC
*) 0 ;
20031 wxString
*arg2
= 0 ;
20036 bool temp2
= false ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 PyObject
* obj2
= 0 ;
20044 PyObject
* obj3
= 0 ;
20045 char * kwnames
[] = {
20046 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20056 arg2
= wxString_in_helper(obj1
);
20057 if (arg2
== NULL
) SWIG_fail
;
20060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20061 if (!SWIG_IsOK(ecode3
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20064 arg3
= static_cast< int >(val3
);
20065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20066 if (!SWIG_IsOK(ecode4
)) {
20067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20069 arg4
= static_cast< int >(val4
);
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= SWIG_Py_Void();
20091 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
= 0;
20093 wxDC
*arg1
= (wxDC
*) 0 ;
20094 wxString
*arg2
= 0 ;
20095 wxPoint
*arg3
= 0 ;
20098 bool temp2
= false ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 PyObject
* obj2
= 0 ;
20103 char * kwnames
[] = {
20104 (char *) "self",(char *) "text",(char *) "pt", NULL
20107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20114 arg2
= wxString_in_helper(obj1
);
20115 if (arg2
== NULL
) SWIG_fail
;
20120 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= SWIG_Py_Void();
20143 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
= 0;
20145 wxDC
*arg1
= (wxDC
*) 0 ;
20146 wxString
*arg2
= 0 ;
20152 bool temp2
= false ;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 PyObject
* obj2
= 0 ;
20162 PyObject
* obj3
= 0 ;
20163 PyObject
* obj4
= 0 ;
20164 char * kwnames
[] = {
20165 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20170 if (!SWIG_IsOK(res1
)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20175 arg2
= wxString_in_helper(obj1
);
20176 if (arg2
== NULL
) SWIG_fail
;
20179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20180 if (!SWIG_IsOK(ecode3
)) {
20181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20183 arg3
= static_cast< int >(val3
);
20184 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20185 if (!SWIG_IsOK(ecode4
)) {
20186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20188 arg4
= static_cast< int >(val4
);
20189 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20190 if (!SWIG_IsOK(ecode5
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20193 arg5
= static_cast< double >(val5
);
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_Py_Void();
20215 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
= 0;
20217 wxDC
*arg1
= (wxDC
*) 0 ;
20218 wxString
*arg2
= 0 ;
20219 wxPoint
*arg3
= 0 ;
20223 bool temp2
= false ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 PyObject
* obj2
= 0 ;
20230 PyObject
* obj3
= 0 ;
20231 char * kwnames
[] = {
20232 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20237 if (!SWIG_IsOK(res1
)) {
20238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20242 arg2
= wxString_in_helper(obj1
);
20243 if (arg2
== NULL
) SWIG_fail
;
20248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20250 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20251 if (!SWIG_IsOK(ecode4
)) {
20252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20254 arg4
= static_cast< double >(val4
);
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_Py_Void();
20276 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
= 0;
20278 wxDC
*arg1
= (wxDC
*) 0 ;
20283 wxDC
*arg6
= (wxDC
*) 0 ;
20286 int arg9
= (int) wxCOPY
;
20287 bool arg10
= (bool) false ;
20288 int arg11
= (int) -1 ;
20289 int arg12
= (int) -1 ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 PyObject
* obj2
= 0 ;
20318 PyObject
* obj3
= 0 ;
20319 PyObject
* obj4
= 0 ;
20320 PyObject
* obj5
= 0 ;
20321 PyObject
* obj6
= 0 ;
20322 PyObject
* obj7
= 0 ;
20323 PyObject
* obj8
= 0 ;
20324 PyObject
* obj9
= 0 ;
20325 PyObject
* obj10
= 0 ;
20326 PyObject
* obj11
= 0 ;
20327 char * kwnames
[] = {
20328 (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
20331 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
;
20332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20333 if (!SWIG_IsOK(res1
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20338 if (!SWIG_IsOK(ecode2
)) {
20339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20341 arg2
= static_cast< int >(val2
);
20342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20343 if (!SWIG_IsOK(ecode3
)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20346 arg3
= static_cast< int >(val3
);
20347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20348 if (!SWIG_IsOK(ecode4
)) {
20349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20351 arg4
= static_cast< int >(val4
);
20352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20353 if (!SWIG_IsOK(ecode5
)) {
20354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20356 arg5
= static_cast< int >(val5
);
20357 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20358 if (!SWIG_IsOK(res6
)) {
20359 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20361 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20362 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20363 if (!SWIG_IsOK(ecode7
)) {
20364 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20366 arg7
= static_cast< int >(val7
);
20367 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20368 if (!SWIG_IsOK(ecode8
)) {
20369 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20371 arg8
= static_cast< int >(val8
);
20373 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20374 if (!SWIG_IsOK(ecode9
)) {
20375 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20377 arg9
= static_cast< int >(val9
);
20380 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20381 if (!SWIG_IsOK(ecode10
)) {
20382 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20384 arg10
= static_cast< bool >(val10
);
20387 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20388 if (!SWIG_IsOK(ecode11
)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20391 arg11
= static_cast< int >(val11
);
20394 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20395 if (!SWIG_IsOK(ecode12
)) {
20396 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20398 arg12
= static_cast< int >(val12
);
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20415 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
= 0;
20417 wxDC
*arg1
= (wxDC
*) 0 ;
20418 wxPoint
*arg2
= 0 ;
20420 wxDC
*arg4
= (wxDC
*) 0 ;
20421 wxPoint
*arg5
= 0 ;
20422 int arg6
= (int) wxCOPY
;
20423 bool arg7
= (bool) false ;
20424 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20425 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 PyObject
* obj2
= 0 ;
20442 PyObject
* obj3
= 0 ;
20443 PyObject
* obj4
= 0 ;
20444 PyObject
* obj5
= 0 ;
20445 PyObject
* obj6
= 0 ;
20446 PyObject
* obj7
= 0 ;
20447 char * kwnames
[] = {
20448 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20453 if (!SWIG_IsOK(res1
)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20463 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20465 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20466 if (!SWIG_IsOK(res4
)) {
20467 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20469 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20472 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20475 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20476 if (!SWIG_IsOK(ecode6
)) {
20477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20479 arg6
= static_cast< int >(val6
);
20482 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20483 if (!SWIG_IsOK(ecode7
)) {
20484 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20486 arg7
= static_cast< bool >(val7
);
20491 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20509 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= 0;
20511 wxDC
*arg1
= (wxDC
*) 0 ;
20512 wxRect
*arg2
= (wxRect
*) NULL
;
20513 SwigValueWrapper
<wxBitmap
> result
;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 char * kwnames
[] = {
20521 (char *) "self",(char *) "subrect", NULL
20524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20532 if (!SWIG_IsOK(res2
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20535 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20550 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
= 0;
20552 wxDC
*arg1
= (wxDC
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 PyObject
* obj2
= 0 ;
20570 PyObject
* obj3
= 0 ;
20571 PyObject
* obj4
= 0 ;
20572 char * kwnames
[] = {
20573 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20578 if (!SWIG_IsOK(res1
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20583 if (!SWIG_IsOK(ecode2
)) {
20584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20586 arg2
= static_cast< int >(val2
);
20587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20588 if (!SWIG_IsOK(ecode3
)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20591 arg3
= static_cast< int >(val3
);
20592 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20593 if (!SWIG_IsOK(ecode4
)) {
20594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20596 arg4
= static_cast< int >(val4
);
20597 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20598 if (!SWIG_IsOK(ecode5
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20601 arg5
= static_cast< int >(val5
);
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_Py_Void();
20615 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= 0;
20617 wxDC
*arg1
= (wxDC
*) 0 ;
20618 wxPoint
*arg2
= 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 PyObject
* obj2
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "self",(char *) "pt",(char *) "sz", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20639 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20643 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_Py_Void();
20658 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= 0;
20660 wxDC
*arg1
= (wxDC
*) 0 ;
20661 wxRegion
*arg2
= 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "region", NULL
20672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20679 if (!SWIG_IsOK(res2
)) {
20680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20685 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_Py_Void();
20699 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= 0;
20701 wxDC
*arg1
= (wxDC
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "rect", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20714 if (!SWIG_IsOK(res1
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20720 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_Py_Void();
20735 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= 0;
20737 wxDC
*arg1
= (wxDC
*) 0 ;
20739 wxPoint
*arg3
= (wxPoint
*) 0 ;
20740 int arg4
= (int) 0 ;
20741 int arg5
= (int) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 PyObject
* obj2
= 0 ;
20751 PyObject
* obj3
= 0 ;
20752 char * kwnames
[] = {
20753 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20758 if (!SWIG_IsOK(res1
)) {
20759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20763 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20764 if (arg3
== NULL
) SWIG_fail
;
20767 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20768 if (!SWIG_IsOK(ecode4
)) {
20769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20771 arg4
= static_cast< int >(val4
);
20774 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20775 if (!SWIG_IsOK(ecode5
)) {
20776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20778 arg5
= static_cast< int >(val5
);
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20783 wxPyEndAllowThreads(__tstate
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= SWIG_Py_Void();
20788 if (arg3
) delete [] arg3
;
20793 if (arg3
) delete [] arg3
;
20799 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
= 0;
20801 wxDC
*arg1
= (wxDC
*) 0 ;
20803 wxPoint
*arg3
= (wxPoint
*) 0 ;
20804 int arg4
= (int) 0 ;
20805 int arg5
= (int) 0 ;
20806 int arg6
= (int) wxODDEVEN_RULE
;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 PyObject
* obj2
= 0 ;
20818 PyObject
* obj3
= 0 ;
20819 PyObject
* obj4
= 0 ;
20820 char * kwnames
[] = {
20821 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20826 if (!SWIG_IsOK(res1
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20831 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20832 if (arg3
== NULL
) SWIG_fail
;
20835 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20836 if (!SWIG_IsOK(ecode4
)) {
20837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20839 arg4
= static_cast< int >(val4
);
20842 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20843 if (!SWIG_IsOK(ecode5
)) {
20844 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20846 arg5
= static_cast< int >(val5
);
20849 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20850 if (!SWIG_IsOK(ecode6
)) {
20851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20853 arg6
= static_cast< int >(val6
);
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= SWIG_Py_Void();
20863 if (arg3
) delete [] arg3
;
20868 if (arg3
) delete [] arg3
;
20874 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
= 0;
20876 wxDC
*arg1
= (wxDC
*) 0 ;
20877 wxString
*arg2
= 0 ;
20879 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20880 int arg5
= (int) -1 ;
20883 bool temp2
= false ;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 PyObject
* obj2
= 0 ;
20892 PyObject
* obj3
= 0 ;
20893 PyObject
* obj4
= 0 ;
20894 char * kwnames
[] = {
20895 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20900 if (!SWIG_IsOK(res1
)) {
20901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20905 arg2
= wxString_in_helper(obj1
);
20906 if (arg2
== NULL
) SWIG_fail
;
20911 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20915 if (!SWIG_IsOK(ecode4
)) {
20916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20918 arg4
= static_cast< int >(val4
);
20921 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20922 if (!SWIG_IsOK(ecode5
)) {
20923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20925 arg5
= static_cast< int >(val5
);
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_Py_Void();
20948 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
= 0;
20950 wxDC
*arg1
= (wxDC
*) 0 ;
20951 wxString
*arg2
= 0 ;
20952 wxBitmap
*arg3
= 0 ;
20954 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20955 int arg6
= (int) -1 ;
20959 bool temp2
= false ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 PyObject
* obj2
= 0 ;
20970 PyObject
* obj3
= 0 ;
20971 PyObject
* obj4
= 0 ;
20972 PyObject
* obj5
= 0 ;
20973 char * kwnames
[] = {
20974 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20979 if (!SWIG_IsOK(res1
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20984 arg2
= wxString_in_helper(obj1
);
20985 if (arg2
== NULL
) SWIG_fail
;
20988 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20989 if (!SWIG_IsOK(res3
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20995 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20998 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21001 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21002 if (!SWIG_IsOK(ecode5
)) {
21003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21005 arg5
= static_cast< int >(val5
);
21008 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21009 if (!SWIG_IsOK(ecode6
)) {
21010 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21012 arg6
= static_cast< int >(val6
);
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21035 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
= 0;
21037 wxDC
*arg1
= (wxDC
*) 0 ;
21039 wxPoint
*arg3
= (wxPoint
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 char * kwnames
[] = {
21045 (char *) "self",(char *) "points", NULL
21048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21055 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21056 if (arg3
== NULL
) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 (arg1
)->DrawSpline(arg2
,arg3
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_Py_Void();
21066 if (arg3
) delete [] arg3
;
21071 if (arg3
) delete [] arg3
;
21077 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21078 PyObject
*resultobj
= 0;
21079 wxDC
*arg1
= (wxDC
*) 0 ;
21082 PyObject
*swig_obj
[1] ;
21084 if (!args
) SWIG_fail
;
21085 swig_obj
[0] = args
;
21086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21087 if (!SWIG_IsOK(res1
)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_Py_Void();
21104 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= 0;
21106 wxDC
*arg1
= (wxDC
*) 0 ;
21107 wxString
*arg2
= 0 ;
21111 bool temp2
= false ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char * kwnames
[] = {
21115 (char *) "self",(char *) "message", NULL
21118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21120 if (!SWIG_IsOK(res1
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21125 arg2
= wxString_in_helper(obj1
);
21126 if (arg2
== NULL
) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21152 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 PyObject
*resultobj
= 0;
21154 wxDC
*arg1
= (wxDC
*) 0 ;
21157 PyObject
*swig_obj
[1] ;
21159 if (!args
) SWIG_fail
;
21160 swig_obj
[0] = args
;
21161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21162 if (!SWIG_IsOK(res1
)) {
21163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= SWIG_Py_Void();
21179 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21180 PyObject
*resultobj
= 0;
21181 wxDC
*arg1
= (wxDC
*) 0 ;
21184 PyObject
*swig_obj
[1] ;
21186 if (!args
) SWIG_fail
;
21187 swig_obj
[0] = args
;
21188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21189 if (!SWIG_IsOK(res1
)) {
21190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 (arg1
)->StartPage();
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= SWIG_Py_Void();
21206 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21207 PyObject
*resultobj
= 0;
21208 wxDC
*arg1
= (wxDC
*) 0 ;
21211 PyObject
*swig_obj
[1] ;
21213 if (!args
) SWIG_fail
;
21214 swig_obj
[0] = args
;
21215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21216 if (!SWIG_IsOK(res1
)) {
21217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_Py_Void();
21233 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
= 0;
21235 wxDC
*arg1
= (wxDC
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char * kwnames
[] = {
21244 (char *) "self",(char *) "font", NULL
21247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21249 if (!SWIG_IsOK(res1
)) {
21250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21254 if (!SWIG_IsOK(res2
)) {
21255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21260 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 (arg1
)->SetFont((wxFont
const &)*arg2
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_Py_Void();
21274 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
= 0;
21276 wxDC
*arg1
= (wxDC
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 char * kwnames
[] = {
21285 (char *) "self",(char *) "pen", NULL
21288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21290 if (!SWIG_IsOK(res1
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21295 if (!SWIG_IsOK(res2
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21301 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 (arg1
)->SetPen((wxPen
const &)*arg2
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_Py_Void();
21315 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= 0;
21317 wxDC
*arg1
= (wxDC
*) 0 ;
21318 wxBrush
*arg2
= 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char * kwnames
[] = {
21326 (char *) "self",(char *) "brush", NULL
21329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21331 if (!SWIG_IsOK(res1
)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21336 if (!SWIG_IsOK(res2
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21342 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_Py_Void();
21356 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
= 0;
21358 wxDC
*arg1
= (wxDC
*) 0 ;
21359 wxBrush
*arg2
= 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 char * kwnames
[] = {
21367 (char *) "self",(char *) "brush", NULL
21370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21372 if (!SWIG_IsOK(res1
)) {
21373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21377 if (!SWIG_IsOK(res2
)) {
21378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21383 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= SWIG_Py_Void();
21397 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
= 0;
21399 wxDC
*arg1
= (wxDC
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char * kwnames
[] = {
21408 (char *) "self",(char *) "mode", NULL
21411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21418 if (!SWIG_IsOK(ecode2
)) {
21419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21421 arg2
= static_cast< int >(val2
);
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetBackgroundMode(arg2
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= SWIG_Py_Void();
21435 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
= 0;
21437 wxDC
*arg1
= (wxDC
*) 0 ;
21438 wxPalette
*arg2
= 0 ;
21443 PyObject
* obj0
= 0 ;
21444 PyObject
* obj1
= 0 ;
21445 char * kwnames
[] = {
21446 (char *) "self",(char *) "palette", NULL
21449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21451 if (!SWIG_IsOK(res1
)) {
21452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21456 if (!SWIG_IsOK(res2
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21462 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= SWIG_Py_Void();
21476 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21477 PyObject
*resultobj
= 0;
21478 wxDC
*arg1
= (wxDC
*) 0 ;
21481 PyObject
*swig_obj
[1] ;
21483 if (!args
) SWIG_fail
;
21484 swig_obj
[0] = args
;
21485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21486 if (!SWIG_IsOK(res1
)) {
21487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 (arg1
)->DestroyClippingRegion();
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= SWIG_Py_Void();
21503 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21504 PyObject
*resultobj
= 0;
21505 wxDC
*arg1
= (wxDC
*) 0 ;
21506 int *arg2
= (int *) 0 ;
21507 int *arg3
= (int *) 0 ;
21508 int *arg4
= (int *) 0 ;
21509 int *arg5
= (int *) 0 ;
21513 int res2
= SWIG_TMPOBJ
;
21515 int res3
= SWIG_TMPOBJ
;
21517 int res4
= SWIG_TMPOBJ
;
21519 int res5
= SWIG_TMPOBJ
;
21520 PyObject
*swig_obj
[1] ;
21526 if (!args
) SWIG_fail
;
21527 swig_obj
[0] = args
;
21528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21529 if (!SWIG_IsOK(res1
)) {
21530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= SWIG_Py_Void();
21540 if (SWIG_IsTmpObj(res2
)) {
21541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21543 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21546 if (SWIG_IsTmpObj(res3
)) {
21547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21549 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21552 if (SWIG_IsTmpObj(res4
)) {
21553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21555 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21558 if (SWIG_IsTmpObj(res5
)) {
21559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21561 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21570 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21571 PyObject
*resultobj
= 0;
21572 wxDC
*arg1
= (wxDC
*) 0 ;
21576 PyObject
*swig_obj
[1] ;
21578 if (!args
) SWIG_fail
;
21579 swig_obj
[0] = args
;
21580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21581 if (!SWIG_IsOK(res1
)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= wxDC_GetClippingRect(arg1
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21598 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21599 PyObject
*resultobj
= 0;
21600 wxDC
*arg1
= (wxDC
*) 0 ;
21604 PyObject
*swig_obj
[1] ;
21606 if (!args
) SWIG_fail
;
21607 swig_obj
[0] = args
;
21608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21609 if (!SWIG_IsOK(res1
)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= SWIG_From_int(static_cast< int >(result
));
21626 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21627 PyObject
*resultobj
= 0;
21628 wxDC
*arg1
= (wxDC
*) 0 ;
21632 PyObject
*swig_obj
[1] ;
21634 if (!args
) SWIG_fail
;
21635 swig_obj
[0] = args
;
21636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= SWIG_From_int(static_cast< int >(result
));
21654 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
= 0;
21656 wxDC
*arg1
= (wxDC
*) 0 ;
21657 wxString
*arg2
= 0 ;
21658 int *arg3
= (int *) 0 ;
21659 int *arg4
= (int *) 0 ;
21662 bool temp2
= false ;
21664 int res3
= SWIG_TMPOBJ
;
21666 int res4
= SWIG_TMPOBJ
;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char * kwnames
[] = {
21670 (char *) "self",(char *) "string", NULL
21675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21677 if (!SWIG_IsOK(res1
)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21682 arg2
= wxString_in_helper(obj1
);
21683 if (arg2
== NULL
) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= SWIG_Py_Void();
21693 if (SWIG_IsTmpObj(res3
)) {
21694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21696 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21699 if (SWIG_IsTmpObj(res4
)) {
21700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21702 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21719 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
= 0;
21721 wxDC
*arg1
= (wxDC
*) 0 ;
21722 wxString
*arg2
= 0 ;
21723 int *arg3
= (int *) 0 ;
21724 int *arg4
= (int *) 0 ;
21725 int *arg5
= (int *) 0 ;
21726 int *arg6
= (int *) 0 ;
21727 wxFont
*arg7
= (wxFont
*) NULL
;
21730 bool temp2
= false ;
21732 int res3
= SWIG_TMPOBJ
;
21734 int res4
= SWIG_TMPOBJ
;
21736 int res5
= SWIG_TMPOBJ
;
21738 int res6
= SWIG_TMPOBJ
;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 PyObject
* obj2
= 0 ;
21744 char * kwnames
[] = {
21745 (char *) "self",(char *) "string",(char *) "font", NULL
21752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21754 if (!SWIG_IsOK(res1
)) {
21755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21759 arg2
= wxString_in_helper(obj1
);
21760 if (arg2
== NULL
) SWIG_fail
;
21764 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21765 if (!SWIG_IsOK(res7
)) {
21766 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21768 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= SWIG_Py_Void();
21777 if (SWIG_IsTmpObj(res3
)) {
21778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21780 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21783 if (SWIG_IsTmpObj(res4
)) {
21784 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21786 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21787 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21789 if (SWIG_IsTmpObj(res5
)) {
21790 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21792 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21795 if (SWIG_IsTmpObj(res6
)) {
21796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21798 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21815 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
= 0;
21817 wxDC
*arg1
= (wxDC
*) 0 ;
21818 wxString
*arg2
= 0 ;
21819 int *arg3
= (int *) 0 ;
21820 int *arg4
= (int *) 0 ;
21821 int *arg5
= (int *) 0 ;
21822 wxFont
*arg6
= (wxFont
*) NULL
;
21825 bool temp2
= false ;
21827 int res3
= SWIG_TMPOBJ
;
21829 int res4
= SWIG_TMPOBJ
;
21831 int res5
= SWIG_TMPOBJ
;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 PyObject
* obj2
= 0 ;
21837 char * kwnames
[] = {
21838 (char *) "self",(char *) "text",(char *) "font", NULL
21844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21846 if (!SWIG_IsOK(res1
)) {
21847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21851 arg2
= wxString_in_helper(obj1
);
21852 if (arg2
== NULL
) SWIG_fail
;
21856 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21857 if (!SWIG_IsOK(res6
)) {
21858 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21860 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_Py_Void();
21869 if (SWIG_IsTmpObj(res3
)) {
21870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21872 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21875 if (SWIG_IsTmpObj(res4
)) {
21876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21878 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21881 if (SWIG_IsTmpObj(res5
)) {
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21884 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21901 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
= 0;
21903 wxDC
*arg1
= (wxDC
*) 0 ;
21904 wxString
*arg2
= 0 ;
21908 bool temp2
= false ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 char * kwnames
[] = {
21912 (char *) "self",(char *) "text", NULL
21915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21922 arg2
= wxString_in_helper(obj1
);
21923 if (arg2
== NULL
) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= wxArrayInt2PyList_helper(result
);
21949 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21950 PyObject
*resultobj
= 0;
21951 wxDC
*arg1
= (wxDC
*) 0 ;
21955 PyObject
*swig_obj
[1] ;
21957 if (!args
) SWIG_fail
;
21958 swig_obj
[0] = args
;
21959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21960 if (!SWIG_IsOK(res1
)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (arg1
)->GetSize();
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21977 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21978 PyObject
*resultobj
= 0;
21979 wxDC
*arg1
= (wxDC
*) 0 ;
21980 int *arg2
= (int *) 0 ;
21981 int *arg3
= (int *) 0 ;
21985 int res2
= SWIG_TMPOBJ
;
21987 int res3
= SWIG_TMPOBJ
;
21988 PyObject
*swig_obj
[1] ;
21992 if (!args
) SWIG_fail
;
21993 swig_obj
[0] = args
;
21994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 (arg1
)->GetSize(arg2
,arg3
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_Py_Void();
22006 if (SWIG_IsTmpObj(res2
)) {
22007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22009 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22012 if (SWIG_IsTmpObj(res3
)) {
22013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22024 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22025 PyObject
*resultobj
= 0;
22026 wxDC
*arg1
= (wxDC
*) 0 ;
22030 PyObject
*swig_obj
[1] ;
22032 if (!args
) SWIG_fail
;
22033 swig_obj
[0] = args
;
22034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22035 if (!SWIG_IsOK(res1
)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22052 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22053 PyObject
*resultobj
= 0;
22054 wxDC
*arg1
= (wxDC
*) 0 ;
22055 int *arg2
= (int *) 0 ;
22056 int *arg3
= (int *) 0 ;
22060 int res2
= SWIG_TMPOBJ
;
22062 int res3
= SWIG_TMPOBJ
;
22063 PyObject
*swig_obj
[1] ;
22067 if (!args
) SWIG_fail
;
22068 swig_obj
[0] = args
;
22069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22070 if (!SWIG_IsOK(res1
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_Py_Void();
22081 if (SWIG_IsTmpObj(res2
)) {
22082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22084 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22087 if (SWIG_IsTmpObj(res3
)) {
22088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22099 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
= 0;
22101 wxDC
*arg1
= (wxDC
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 char * kwnames
[] = {
22111 (char *) "self",(char *) "x", NULL
22114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22121 if (!SWIG_IsOK(ecode2
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22124 arg2
= static_cast< int >(val2
);
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_From_int(static_cast< int >(result
));
22138 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
= 0;
22140 wxDC
*arg1
= (wxDC
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char * kwnames
[] = {
22150 (char *) "self",(char *) "y", NULL
22153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22155 if (!SWIG_IsOK(res1
)) {
22156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22160 if (!SWIG_IsOK(ecode2
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22163 arg2
= static_cast< int >(val2
);
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_From_int(static_cast< int >(result
));
22177 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= 0;
22179 wxDC
*arg1
= (wxDC
*) 0 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 char * kwnames
[] = {
22189 (char *) "self",(char *) "x", NULL
22192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22199 if (!SWIG_IsOK(ecode2
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22202 arg2
= static_cast< int >(val2
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_From_int(static_cast< int >(result
));
22216 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
= 0;
22218 wxDC
*arg1
= (wxDC
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 char * kwnames
[] = {
22228 (char *) "self",(char *) "y", NULL
22231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22238 if (!SWIG_IsOK(ecode2
)) {
22239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22241 arg2
= static_cast< int >(val2
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_From_int(static_cast< int >(result
));
22255 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
= 0;
22257 wxDC
*arg1
= (wxDC
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 char * kwnames
[] = {
22267 (char *) "self",(char *) "x", NULL
22270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22277 if (!SWIG_IsOK(ecode2
)) {
22278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22280 arg2
= static_cast< int >(val2
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_From_int(static_cast< int >(result
));
22294 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
= 0;
22296 wxDC
*arg1
= (wxDC
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "self",(char *) "y", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22316 if (!SWIG_IsOK(ecode2
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22319 arg2
= static_cast< int >(val2
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_From_int(static_cast< int >(result
));
22333 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
= 0;
22335 wxDC
*arg1
= (wxDC
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char * kwnames
[] = {
22345 (char *) "self",(char *) "x", NULL
22348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22355 if (!SWIG_IsOK(ecode2
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22358 arg2
= static_cast< int >(val2
);
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_From_int(static_cast< int >(result
));
22372 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
= 0;
22374 wxDC
*arg1
= (wxDC
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 char * kwnames
[] = {
22384 (char *) "self",(char *) "y", NULL
22387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22394 if (!SWIG_IsOK(ecode2
)) {
22395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22397 arg2
= static_cast< int >(val2
);
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_From_int(static_cast< int >(result
));
22411 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22412 PyObject
*resultobj
= 0;
22413 wxDC
*arg1
= (wxDC
*) 0 ;
22417 PyObject
*swig_obj
[1] ;
22419 if (!args
) SWIG_fail
;
22420 swig_obj
[0] = args
;
22421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22422 if (!SWIG_IsOK(res1
)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22441 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22442 PyObject
*resultobj
= 0;
22443 wxDC
*arg1
= (wxDC
*) 0 ;
22447 PyObject
*swig_obj
[1] ;
22449 if (!args
) SWIG_fail
;
22450 swig_obj
[0] = args
;
22451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22471 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22472 PyObject
*resultobj
= 0;
22473 wxDC
*arg1
= (wxDC
*) 0 ;
22477 PyObject
*swig_obj
[1] ;
22479 if (!args
) SWIG_fail
;
22480 swig_obj
[0] = args
;
22481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22482 if (!SWIG_IsOK(res1
)) {
22483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_From_int(static_cast< int >(result
));
22499 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22500 PyObject
*resultobj
= 0;
22501 wxDC
*arg1
= (wxDC
*) 0 ;
22505 PyObject
*swig_obj
[1] ;
22507 if (!args
) SWIG_fail
;
22508 swig_obj
[0] = args
;
22509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22510 if (!SWIG_IsOK(res1
)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= ((wxDC
const *)arg1
)->GetPPI();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22527 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxDC
*arg1
= (wxDC
*) 0 ;
22533 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22557 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22558 PyObject
*resultobj
= 0;
22559 wxDC
*arg1
= (wxDC
*) 0 ;
22563 PyObject
*swig_obj
[1] ;
22565 if (!args
) SWIG_fail
;
22566 swig_obj
[0] = args
;
22567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22568 if (!SWIG_IsOK(res1
)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_From_int(static_cast< int >(result
));
22585 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22586 PyObject
*resultobj
= 0;
22587 wxDC
*arg1
= (wxDC
*) 0 ;
22588 wxBrush
*result
= 0 ;
22591 PyObject
*swig_obj
[1] ;
22593 if (!args
) SWIG_fail
;
22594 swig_obj
[0] = args
;
22595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22596 if (!SWIG_IsOK(res1
)) {
22597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22604 result
= (wxBrush
*) &_result_ref
;
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 wxBrush
* resultptr
= new wxBrush(*result
);
22611 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22619 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22620 PyObject
*resultobj
= 0;
22621 wxDC
*arg1
= (wxDC
*) 0 ;
22622 wxBrush
*result
= 0 ;
22625 PyObject
*swig_obj
[1] ;
22627 if (!args
) SWIG_fail
;
22628 swig_obj
[0] = args
;
22629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22630 if (!SWIG_IsOK(res1
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22638 result
= (wxBrush
*) &_result_ref
;
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 wxBrush
* resultptr
= new wxBrush(*result
);
22645 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22653 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22654 PyObject
*resultobj
= 0;
22655 wxDC
*arg1
= (wxDC
*) 0 ;
22656 wxFont
*result
= 0 ;
22659 PyObject
*swig_obj
[1] ;
22661 if (!args
) SWIG_fail
;
22662 swig_obj
[0] = args
;
22663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22664 if (!SWIG_IsOK(res1
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22672 result
= (wxFont
*) &_result_ref
;
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22678 wxFont
* resultptr
= new wxFont(*result
);
22679 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22687 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22688 PyObject
*resultobj
= 0;
22689 wxDC
*arg1
= (wxDC
*) 0 ;
22690 wxPen
*result
= 0 ;
22693 PyObject
*swig_obj
[1] ;
22695 if (!args
) SWIG_fail
;
22696 swig_obj
[0] = args
;
22697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22698 if (!SWIG_IsOK(res1
)) {
22699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22706 result
= (wxPen
*) &_result_ref
;
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22712 wxPen
* resultptr
= new wxPen(*result
);
22713 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22721 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22722 PyObject
*resultobj
= 0;
22723 wxDC
*arg1
= (wxDC
*) 0 ;
22724 wxColour
*result
= 0 ;
22727 PyObject
*swig_obj
[1] ;
22729 if (!args
) SWIG_fail
;
22730 swig_obj
[0] = args
;
22731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22740 result
= (wxColour
*) &_result_ref
;
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22752 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22753 PyObject
*resultobj
= 0;
22754 wxDC
*arg1
= (wxDC
*) 0 ;
22755 wxColour
*result
= 0 ;
22758 PyObject
*swig_obj
[1] ;
22760 if (!args
) SWIG_fail
;
22761 swig_obj
[0] = args
;
22762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22763 if (!SWIG_IsOK(res1
)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22771 result
= (wxColour
*) &_result_ref
;
22773 wxPyEndAllowThreads(__tstate
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22783 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
= 0;
22785 wxDC
*arg1
= (wxDC
*) 0 ;
22786 wxColour
*arg2
= 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 char * kwnames
[] = {
22793 (char *) "self",(char *) "colour", NULL
22796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22798 if (!SWIG_IsOK(res1
)) {
22799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= SWIG_Py_Void();
22819 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
= 0;
22821 wxDC
*arg1
= (wxDC
*) 0 ;
22822 wxColour
*arg2
= 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char * kwnames
[] = {
22829 (char *) "self",(char *) "colour", NULL
22832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22834 if (!SWIG_IsOK(res1
)) {
22835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22840 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_Py_Void();
22855 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22856 PyObject
*resultobj
= 0;
22857 wxDC
*arg1
= (wxDC
*) 0 ;
22861 PyObject
*swig_obj
[1] ;
22863 if (!args
) SWIG_fail
;
22864 swig_obj
[0] = args
;
22865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22866 if (!SWIG_IsOK(res1
)) {
22867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_From_int(static_cast< int >(result
));
22883 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
= 0;
22885 wxDC
*arg1
= (wxDC
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 char * kwnames
[] = {
22894 (char *) "self",(char *) "mode", NULL
22897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22899 if (!SWIG_IsOK(res1
)) {
22900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22904 if (!SWIG_IsOK(ecode2
)) {
22905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22907 arg2
= static_cast< int >(val2
);
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 (arg1
)->SetMapMode(arg2
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_Py_Void();
22921 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22922 PyObject
*resultobj
= 0;
22923 wxDC
*arg1
= (wxDC
*) 0 ;
22924 double *arg2
= (double *) 0 ;
22925 double *arg3
= (double *) 0 ;
22929 int res2
= SWIG_TMPOBJ
;
22931 int res3
= SWIG_TMPOBJ
;
22932 PyObject
*swig_obj
[1] ;
22936 if (!args
) SWIG_fail
;
22937 swig_obj
[0] = args
;
22938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22939 if (!SWIG_IsOK(res1
)) {
22940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= SWIG_Py_Void();
22950 if (SWIG_IsTmpObj(res2
)) {
22951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22953 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22956 if (SWIG_IsTmpObj(res3
)) {
22957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22959 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22968 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
= 0;
22970 wxDC
*arg1
= (wxDC
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 PyObject
* obj2
= 0 ;
22982 char * kwnames
[] = {
22983 (char *) "self",(char *) "x",(char *) "y", NULL
22986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22992 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22993 if (!SWIG_IsOK(ecode2
)) {
22994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22996 arg2
= static_cast< double >(val2
);
22997 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22998 if (!SWIG_IsOK(ecode3
)) {
22999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23001 arg3
= static_cast< double >(val3
);
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 (arg1
)->SetUserScale(arg2
,arg3
);
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_Py_Void();
23015 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23016 PyObject
*resultobj
= 0;
23017 wxDC
*arg1
= (wxDC
*) 0 ;
23018 double *arg2
= (double *) 0 ;
23019 double *arg3
= (double *) 0 ;
23023 int res2
= SWIG_TMPOBJ
;
23025 int res3
= SWIG_TMPOBJ
;
23026 PyObject
*swig_obj
[1] ;
23030 if (!args
) SWIG_fail
;
23031 swig_obj
[0] = args
;
23032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23033 if (!SWIG_IsOK(res1
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->GetLogicalScale(arg2
,arg3
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_Py_Void();
23044 if (SWIG_IsTmpObj(res2
)) {
23045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23047 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23050 if (SWIG_IsTmpObj(res3
)) {
23051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23053 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23062 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
= 0;
23064 wxDC
*arg1
= (wxDC
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 PyObject
* obj2
= 0 ;
23076 char * kwnames
[] = {
23077 (char *) "self",(char *) "x",(char *) "y", NULL
23080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23086 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23087 if (!SWIG_IsOK(ecode2
)) {
23088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23090 arg2
= static_cast< double >(val2
);
23091 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23092 if (!SWIG_IsOK(ecode3
)) {
23093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23095 arg3
= static_cast< double >(val3
);
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 (arg1
)->SetLogicalScale(arg2
,arg3
);
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_Py_Void();
23109 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxDC
*arg1
= (wxDC
*) 0 ;
23115 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23137 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 PyObject
*resultobj
= 0;
23139 wxDC
*arg1
= (wxDC
*) 0 ;
23140 int *arg2
= (int *) 0 ;
23141 int *arg3
= (int *) 0 ;
23145 int res2
= SWIG_TMPOBJ
;
23147 int res3
= SWIG_TMPOBJ
;
23148 PyObject
*swig_obj
[1] ;
23152 if (!args
) SWIG_fail
;
23153 swig_obj
[0] = args
;
23154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23155 if (!SWIG_IsOK(res1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_Py_Void();
23166 if (SWIG_IsTmpObj(res2
)) {
23167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23169 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23172 if (SWIG_IsTmpObj(res3
)) {
23173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23175 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23184 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
= 0;
23186 wxDC
*arg1
= (wxDC
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 PyObject
* obj2
= 0 ;
23198 char * kwnames
[] = {
23199 (char *) "self",(char *) "x",(char *) "y", NULL
23202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23209 if (!SWIG_IsOK(ecode2
)) {
23210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23212 arg2
= static_cast< int >(val2
);
23213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23214 if (!SWIG_IsOK(ecode3
)) {
23215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23217 arg3
= static_cast< int >(val3
);
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_Py_Void();
23231 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
= 0;
23233 wxDC
*arg1
= (wxDC
*) 0 ;
23234 wxPoint
*arg2
= 0 ;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23240 char * kwnames
[] = {
23241 (char *) "self",(char *) "point", NULL
23244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23246 if (!SWIG_IsOK(res1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= SWIG_Py_Void();
23267 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23268 PyObject
*resultobj
= 0;
23269 wxDC
*arg1
= (wxDC
*) 0 ;
23273 PyObject
*swig_obj
[1] ;
23275 if (!args
) SWIG_fail
;
23276 swig_obj
[0] = args
;
23277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23295 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23296 PyObject
*resultobj
= 0;
23297 wxDC
*arg1
= (wxDC
*) 0 ;
23298 int *arg2
= (int *) 0 ;
23299 int *arg3
= (int *) 0 ;
23303 int res2
= SWIG_TMPOBJ
;
23305 int res3
= SWIG_TMPOBJ
;
23306 PyObject
*swig_obj
[1] ;
23310 if (!args
) SWIG_fail
;
23311 swig_obj
[0] = args
;
23312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23313 if (!SWIG_IsOK(res1
)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_Py_Void();
23324 if (SWIG_IsTmpObj(res2
)) {
23325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23327 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23330 if (SWIG_IsTmpObj(res3
)) {
23331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23333 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23342 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
= 0;
23344 wxDC
*arg1
= (wxDC
*) 0 ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 PyObject
* obj2
= 0 ;
23356 char * kwnames
[] = {
23357 (char *) "self",(char *) "x",(char *) "y", NULL
23360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23362 if (!SWIG_IsOK(res1
)) {
23363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23367 if (!SWIG_IsOK(ecode2
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23370 arg2
= static_cast< int >(val2
);
23371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23372 if (!SWIG_IsOK(ecode3
)) {
23373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23375 arg3
= static_cast< int >(val3
);
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= SWIG_Py_Void();
23389 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
= 0;
23391 wxDC
*arg1
= (wxDC
*) 0 ;
23392 wxPoint
*arg2
= 0 ;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj1
= 0 ;
23398 char * kwnames
[] = {
23399 (char *) "self",(char *) "point", NULL
23402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23404 if (!SWIG_IsOK(res1
)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23410 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_Py_Void();
23425 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
= 0;
23427 wxDC
*arg1
= (wxDC
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 PyObject
* obj2
= 0 ;
23439 char * kwnames
[] = {
23440 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23445 if (!SWIG_IsOK(res1
)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23450 if (!SWIG_IsOK(ecode2
)) {
23451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23453 arg2
= static_cast< bool >(val2
);
23454 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23455 if (!SWIG_IsOK(ecode3
)) {
23456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23458 arg3
= static_cast< bool >(val3
);
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= SWIG_Py_Void();
23472 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23473 PyObject
*resultobj
= 0;
23474 wxDC
*arg1
= (wxDC
*) 0 ;
23478 PyObject
*swig_obj
[1] ;
23480 if (!args
) SWIG_fail
;
23481 swig_obj
[0] = args
;
23482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23483 if (!SWIG_IsOK(res1
)) {
23484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= SWIG_From_int(static_cast< int >(result
));
23500 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
= 0;
23502 wxDC
*arg1
= (wxDC
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 char * kwnames
[] = {
23511 (char *) "self",(char *) "function", NULL
23514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23521 if (!SWIG_IsOK(ecode2
)) {
23522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23524 arg2
= static_cast< int >(val2
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->SetLogicalFunction(arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_Py_Void();
23538 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23539 PyObject
*resultobj
= 0;
23540 wxDC
*arg1
= (wxDC
*) 0 ;
23543 PyObject
*swig_obj
[1] ;
23545 if (!args
) SWIG_fail
;
23546 swig_obj
[0] = args
;
23547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 (arg1
)->ComputeScaleAndOrigin();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_Py_Void();
23565 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
= 0;
23567 wxDC
*arg1
= (wxDC
*) 0 ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 PyObject
* obj2
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "self",(char *) "x",(char *) "y", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23590 if (!SWIG_IsOK(ecode2
)) {
23591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23593 arg2
= static_cast< int >(val2
);
23594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23595 if (!SWIG_IsOK(ecode3
)) {
23596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23598 arg3
= static_cast< int >(val3
);
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= SWIG_Py_Void();
23612 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
= 0;
23614 wxDC
*arg1
= (wxDC
*) 0 ;
23615 wxPoint
*arg2
= 0 ;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 char * kwnames
[] = {
23622 (char *) "self",(char *) "point", NULL
23625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23627 if (!SWIG_IsOK(res1
)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_Py_Void();
23648 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 PyObject
*resultobj
= 0;
23650 wxDC
*arg1
= (wxDC
*) 0 ;
23653 PyObject
*swig_obj
[1] ;
23655 if (!args
) SWIG_fail
;
23656 swig_obj
[0] = args
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 (arg1
)->ResetBoundingBox();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_Py_Void();
23675 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23676 PyObject
*resultobj
= 0;
23677 wxDC
*arg1
= (wxDC
*) 0 ;
23681 PyObject
*swig_obj
[1] ;
23683 if (!args
) SWIG_fail
;
23684 swig_obj
[0] = args
;
23685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23686 if (!SWIG_IsOK(res1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (int)((wxDC
const *)arg1
)->MinX();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_From_int(static_cast< int >(result
));
23703 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23704 PyObject
*resultobj
= 0;
23705 wxDC
*arg1
= (wxDC
*) 0 ;
23709 PyObject
*swig_obj
[1] ;
23711 if (!args
) SWIG_fail
;
23712 swig_obj
[0] = args
;
23713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23714 if (!SWIG_IsOK(res1
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (int)((wxDC
const *)arg1
)->MaxX();
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 resultobj
= SWIG_From_int(static_cast< int >(result
));
23731 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23732 PyObject
*resultobj
= 0;
23733 wxDC
*arg1
= (wxDC
*) 0 ;
23737 PyObject
*swig_obj
[1] ;
23739 if (!args
) SWIG_fail
;
23740 swig_obj
[0] = args
;
23741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23742 if (!SWIG_IsOK(res1
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (int)((wxDC
const *)arg1
)->MinY();
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= SWIG_From_int(static_cast< int >(result
));
23759 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23760 PyObject
*resultobj
= 0;
23761 wxDC
*arg1
= (wxDC
*) 0 ;
23765 PyObject
*swig_obj
[1] ;
23767 if (!args
) SWIG_fail
;
23768 swig_obj
[0] = args
;
23769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23770 if (!SWIG_IsOK(res1
)) {
23771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (int)((wxDC
const *)arg1
)->MaxY();
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_From_int(static_cast< int >(result
));
23787 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23788 PyObject
*resultobj
= 0;
23789 wxDC
*arg1
= (wxDC
*) 0 ;
23790 int *arg2
= (int *) 0 ;
23791 int *arg3
= (int *) 0 ;
23792 int *arg4
= (int *) 0 ;
23793 int *arg5
= (int *) 0 ;
23797 int res2
= SWIG_TMPOBJ
;
23799 int res3
= SWIG_TMPOBJ
;
23801 int res4
= SWIG_TMPOBJ
;
23803 int res5
= SWIG_TMPOBJ
;
23804 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_Py_Void();
23824 if (SWIG_IsTmpObj(res2
)) {
23825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23827 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23830 if (SWIG_IsTmpObj(res3
)) {
23831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23833 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23836 if (SWIG_IsTmpObj(res4
)) {
23837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23839 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23842 if (SWIG_IsTmpObj(res5
)) {
23843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23845 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23854 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23855 PyObject
*resultobj
= 0;
23856 wxDC
*arg1
= (wxDC
*) 0 ;
23857 wxLayoutDirection result
;
23860 PyObject
*swig_obj
[1] ;
23862 if (!args
) SWIG_fail
;
23863 swig_obj
[0] = args
;
23864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_From_int(static_cast< int >(result
));
23882 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23884 wxDC
*arg1
= (wxDC
*) 0 ;
23885 wxLayoutDirection arg2
;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 char * kwnames
[] = {
23893 (char *) "self",(char *) "dir", NULL
23896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23898 if (!SWIG_IsOK(res1
)) {
23899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23903 if (!SWIG_IsOK(ecode2
)) {
23904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23906 arg2
= static_cast< wxLayoutDirection
>(val2
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 (arg1
)->SetLayoutDirection(arg2
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_Py_Void();
23920 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23921 PyObject
*resultobj
= 0;
23922 wxDC
*arg1
= (wxDC
*) 0 ;
23926 PyObject
*swig_obj
[1] ;
23928 if (!args
) SWIG_fail
;
23929 swig_obj
[0] = args
;
23930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23931 if (!SWIG_IsOK(res1
)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (long)(arg1
)->GetHDC();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_From_long(static_cast< long >(result
));
23948 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
= 0;
23950 wxDC
*arg1
= (wxDC
*) 0 ;
23951 PyObject
*arg2
= (PyObject
*) 0 ;
23952 PyObject
*arg3
= (PyObject
*) 0 ;
23953 PyObject
*arg4
= (PyObject
*) 0 ;
23954 PyObject
*result
= 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 PyObject
* obj2
= 0 ;
23960 PyObject
* obj3
= 0 ;
23961 char * kwnames
[] = {
23962 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23967 if (!SWIG_IsOK(res1
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= result
;
23987 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
= 0;
23989 wxDC
*arg1
= (wxDC
*) 0 ;
23990 PyObject
*arg2
= (PyObject
*) 0 ;
23991 PyObject
*arg3
= (PyObject
*) 0 ;
23992 PyObject
*arg4
= (PyObject
*) 0 ;
23993 PyObject
*result
= 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 PyObject
* obj3
= 0 ;
24000 char * kwnames
[] = {
24001 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24006 if (!SWIG_IsOK(res1
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= result
;
24026 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxDC
*arg1
= (wxDC
*) 0 ;
24029 PyObject
*arg2
= (PyObject
*) 0 ;
24030 PyObject
*arg3
= (PyObject
*) 0 ;
24031 PyObject
*arg4
= (PyObject
*) 0 ;
24032 PyObject
*result
= 0 ;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 PyObject
* obj2
= 0 ;
24038 PyObject
* obj3
= 0 ;
24039 char * kwnames
[] = {
24040 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
;
24065 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
= 0;
24067 wxDC
*arg1
= (wxDC
*) 0 ;
24068 PyObject
*arg2
= (PyObject
*) 0 ;
24069 PyObject
*arg3
= (PyObject
*) 0 ;
24070 PyObject
*arg4
= (PyObject
*) 0 ;
24071 PyObject
*result
= 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 PyObject
* obj2
= 0 ;
24077 PyObject
* obj3
= 0 ;
24078 char * kwnames
[] = {
24079 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= result
;
24104 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= 0;
24106 wxDC
*arg1
= (wxDC
*) 0 ;
24107 PyObject
*arg2
= (PyObject
*) 0 ;
24108 PyObject
*arg3
= (PyObject
*) 0 ;
24109 PyObject
*arg4
= (PyObject
*) 0 ;
24110 PyObject
*result
= 0 ;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 PyObject
* obj2
= 0 ;
24116 PyObject
* obj3
= 0 ;
24117 char * kwnames
[] = {
24118 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24123 if (!SWIG_IsOK(res1
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= result
;
24143 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
= 0;
24145 wxDC
*arg1
= (wxDC
*) 0 ;
24146 PyObject
*arg2
= (PyObject
*) 0 ;
24147 PyObject
*arg3
= (PyObject
*) 0 ;
24148 PyObject
*arg4
= (PyObject
*) 0 ;
24149 PyObject
*arg5
= (PyObject
*) 0 ;
24150 PyObject
*result
= 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 PyObject
* obj2
= 0 ;
24156 PyObject
* obj3
= 0 ;
24157 PyObject
* obj4
= 0 ;
24158 char * kwnames
[] = {
24159 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24164 if (!SWIG_IsOK(res1
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 resultobj
= result
;
24185 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24188 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24189 return SWIG_Py_Void();
24192 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
= 0;
24195 wxColour
*arg2
= 0 ;
24196 wxDCTextColourChanger
*result
= 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char * kwnames
[] = {
24203 (char *) "dc",(char *) "col", NULL
24206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24207 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24208 if (!SWIG_IsOK(res1
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24232 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24233 PyObject
*resultobj
= 0;
24234 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24237 PyObject
*swig_obj
[1] ;
24239 if (!args
) SWIG_fail
;
24240 swig_obj
[0] = args
;
24241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24245 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_Py_Void();
24260 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24263 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24264 return SWIG_Py_Void();
24267 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24268 return SWIG_Python_InitShadowInstance(args
);
24271 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
= 0;
24275 wxDCPenChanger
*result
= 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char * kwnames
[] = {
24283 (char *) "dc",(char *) "pen", NULL
24286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24287 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24296 if (!SWIG_IsOK(res2
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24302 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24316 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24317 PyObject
*resultobj
= 0;
24318 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24321 PyObject
*swig_obj
[1] ;
24323 if (!args
) SWIG_fail
;
24324 swig_obj
[0] = args
;
24325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24329 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_Py_Void();
24344 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24347 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24348 return SWIG_Py_Void();
24351 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24352 return SWIG_Python_InitShadowInstance(args
);
24355 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
= 0;
24358 wxBrush
*arg2
= 0 ;
24359 wxDCBrushChanger
*result
= 0 ;
24364 PyObject
* obj0
= 0 ;
24365 PyObject
* obj1
= 0 ;
24366 char * kwnames
[] = {
24367 (char *) "dc",(char *) "brush", NULL
24370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24372 if (!SWIG_IsOK(res1
)) {
24373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24380 if (!SWIG_IsOK(res2
)) {
24381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24386 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24400 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24401 PyObject
*resultobj
= 0;
24402 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24405 PyObject
*swig_obj
[1] ;
24407 if (!args
) SWIG_fail
;
24408 swig_obj
[0] = args
;
24409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24410 if (!SWIG_IsOK(res1
)) {
24411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24413 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_Py_Void();
24428 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24431 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24432 return SWIG_Py_Void();
24435 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24436 return SWIG_Python_InitShadowInstance(args
);
24439 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24440 PyObject
*resultobj
= 0;
24442 wxRegion
*arg2
= 0 ;
24443 wxDCClipper
*result
= 0 ;
24449 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24458 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24459 if (!SWIG_IsOK(res2
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24465 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24479 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24480 PyObject
*resultobj
= 0;
24483 wxDCClipper
*result
= 0 ;
24488 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24490 if (!SWIG_IsOK(res1
)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24499 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24514 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24515 PyObject
*resultobj
= 0;
24521 wxDCClipper
*result
= 0 ;
24533 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24542 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24543 if (!SWIG_IsOK(ecode2
)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24546 arg2
= static_cast< int >(val2
);
24547 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24548 if (!SWIG_IsOK(ecode3
)) {
24549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24551 arg3
= static_cast< int >(val3
);
24552 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24553 if (!SWIG_IsOK(ecode4
)) {
24554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24556 arg4
= static_cast< int >(val4
);
24557 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24558 if (!SWIG_IsOK(ecode5
)) {
24559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24561 arg5
= static_cast< int >(val5
);
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24575 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24579 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24584 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24585 _v
= SWIG_CheckState(res
);
24587 if (!_v
) goto check_1
;
24588 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24593 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24596 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24600 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24605 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24606 PyObject
*resultobj
= 0;
24607 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24610 PyObject
*swig_obj
[1] ;
24612 if (!args
) SWIG_fail
;
24613 swig_obj
[0] = args
;
24614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24615 if (!SWIG_IsOK(res1
)) {
24616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24618 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_Py_Void();
24633 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24636 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24637 return SWIG_Py_Void();
24640 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24641 return SWIG_Python_InitShadowInstance(args
);
24644 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24645 PyObject
*resultobj
= 0;
24646 wxScreenDC
*result
= 0 ;
24648 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24650 if (!wxPyCheckForApp()) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= (wxScreenDC
*)new wxScreenDC();
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24663 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
= 0;
24665 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24666 wxWindow
*arg2
= (wxWindow
*) 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char * kwnames
[] = {
24675 (char *) "self",(char *) "window", NULL
24678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24683 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24685 if (!SWIG_IsOK(res2
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24704 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
= 0;
24706 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24707 wxRect
*arg2
= (wxRect
*) NULL
;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char * kwnames
[] = {
24716 (char *) "self",(char *) "rect", NULL
24719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24721 if (!SWIG_IsOK(res1
)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24724 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24727 if (!SWIG_IsOK(res2
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24730 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24747 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24748 PyObject
*resultobj
= 0;
24749 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24753 PyObject
*swig_obj
[1] ;
24755 if (!args
) SWIG_fail
;
24756 swig_obj
[0] = args
;
24757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24758 if (!SWIG_IsOK(res1
)) {
24759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24761 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (bool)(arg1
)->EndDrawingOnTop();
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24777 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24780 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24781 return SWIG_Py_Void();
24784 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24785 return SWIG_Python_InitShadowInstance(args
);
24788 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
= 0;
24790 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 wxWindowDC
*result
= 0 ;
24794 PyObject
* obj0
= 0 ;
24795 char * kwnames
[] = {
24796 (char *) "win", NULL
24799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24801 if (!SWIG_IsOK(res1
)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24806 if (!wxPyCheckForApp()) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24819 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24822 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24823 return SWIG_Py_Void();
24826 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24827 return SWIG_Python_InitShadowInstance(args
);
24830 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
= 0;
24832 wxWindow
*arg1
= (wxWindow
*) 0 ;
24833 wxClientDC
*result
= 0 ;
24836 PyObject
* obj0
= 0 ;
24837 char * kwnames
[] = {
24838 (char *) "win", NULL
24841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24846 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24848 if (!wxPyCheckForApp()) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (wxClientDC
*)new wxClientDC(arg1
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24861 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24864 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24865 return SWIG_Py_Void();
24868 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24869 return SWIG_Python_InitShadowInstance(args
);
24872 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
= 0;
24874 wxWindow
*arg1
= (wxWindow
*) 0 ;
24875 wxPaintDC
*result
= 0 ;
24878 PyObject
* obj0
= 0 ;
24879 char * kwnames
[] = {
24880 (char *) "win", NULL
24883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24885 if (!SWIG_IsOK(res1
)) {
24886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24890 if (!wxPyCheckForApp()) SWIG_fail
;
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24903 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24906 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24907 return SWIG_Py_Void();
24910 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24911 return SWIG_Python_InitShadowInstance(args
);
24914 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
= 0;
24916 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24917 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24918 wxMemoryDC
*result
= 0 ;
24921 PyObject
* obj0
= 0 ;
24922 char * kwnames
[] = {
24923 (char *) "bitmap", NULL
24926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24928 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24929 if (!SWIG_IsOK(res1
)) {
24930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24935 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24938 if (!wxPyCheckForApp()) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24951 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
= 0;
24953 wxDC
*arg1
= (wxDC
*) 0 ;
24954 wxMemoryDC
*result
= 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char * kwnames
[] = {
24959 (char *) "oldDC", NULL
24962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24969 if (!wxPyCheckForApp()) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24982 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
= 0;
24984 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24985 wxBitmap
*arg2
= 0 ;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 char * kwnames
[] = {
24993 (char *) "self",(char *) "bitmap", NULL
24996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24998 if (!SWIG_IsOK(res1
)) {
24999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25001 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25003 if (!SWIG_IsOK(res2
)) {
25004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25009 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->SelectObject(*arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_Py_Void();
25023 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25026 wxBitmap
*arg2
= 0 ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char * kwnames
[] = {
25034 (char *) "self",(char *) "bmp", NULL
25037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25042 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25044 if (!SWIG_IsOK(res2
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25050 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_Py_Void();
25064 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25067 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25068 return SWIG_Py_Void();
25071 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25072 return SWIG_Python_InitShadowInstance(args
);
25075 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25076 PyObject
*resultobj
= 0;
25077 wxDC
*arg1
= (wxDC
*) 0 ;
25078 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25079 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25080 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25081 wxBufferedDC
*result
= 0 ;
25089 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25091 if (!SWIG_IsOK(res1
)) {
25092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25096 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25097 if (!SWIG_IsOK(res2
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25103 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25106 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25107 if (!SWIG_IsOK(ecode3
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25110 arg3
= static_cast< int >(val3
);
25113 if (!wxPyCheckForApp()) SWIG_fail
;
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25126 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25127 PyObject
*resultobj
= 0;
25128 wxDC
*arg1
= (wxDC
*) 0 ;
25130 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25131 wxBufferedDC
*result
= 0 ;
25138 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25140 if (!SWIG_IsOK(res1
)) {
25141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25146 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25149 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25150 if (!SWIG_IsOK(ecode3
)) {
25151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25153 arg3
= static_cast< int >(val3
);
25156 if (!wxPyCheckForApp()) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25169 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25173 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25175 if ((argc
>= 1) && (argc
<= 3)) {
25180 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25181 _v
= SWIG_CheckState(res
);
25183 if (!_v
) goto check_1
;
25185 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25189 if ((argc
>= 2) && (argc
<= 3)) {
25190 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25194 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25199 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25212 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_Py_Void();
25227 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 PyObject
*resultobj
= 0;
25229 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25232 PyObject
*swig_obj
[1] ;
25234 if (!args
) SWIG_fail
;
25235 swig_obj
[0] = args
;
25236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25240 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_Py_Void();
25254 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
= 0;
25256 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char * kwnames
[] = {
25265 (char *) "self",(char *) "style", NULL
25268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25270 if (!SWIG_IsOK(res1
)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25273 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25275 if (!SWIG_IsOK(ecode2
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25278 arg2
= static_cast< int >(val2
);
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 (arg1
)->SetStyle(arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_Py_Void();
25292 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25293 PyObject
*resultobj
= 0;
25294 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25298 PyObject
*swig_obj
[1] ;
25300 if (!args
) SWIG_fail
;
25301 swig_obj
[0] = args
;
25302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25303 if (!SWIG_IsOK(res1
)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25306 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_From_int(static_cast< int >(result
));
25320 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25323 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25324 return SWIG_Py_Void();
25327 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25328 return SWIG_Python_InitShadowInstance(args
);
25331 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
= 0;
25333 wxWindow
*arg1
= (wxWindow
*) 0 ;
25334 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25335 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25336 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25337 wxBufferedPaintDC
*result
= 0 ;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 PyObject
* obj2
= 0 ;
25347 char * kwnames
[] = {
25348 (char *) "window",(char *) "buffer",(char *) "style", NULL
25351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25353 if (!SWIG_IsOK(res1
)) {
25354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25356 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25359 if (!SWIG_IsOK(res2
)) {
25360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25365 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25369 if (!SWIG_IsOK(ecode3
)) {
25370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25372 arg3
= static_cast< int >(val3
);
25375 if (!wxPyCheckForApp()) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25388 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25391 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25392 return SWIG_Py_Void();
25395 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25396 return SWIG_Python_InitShadowInstance(args
);
25399 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
= 0;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25402 wxAutoBufferedPaintDC
*result
= 0 ;
25405 PyObject
* obj0
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "win", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25415 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25429 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25432 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25433 return SWIG_Py_Void();
25436 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25437 return SWIG_Python_InitShadowInstance(args
);
25440 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
= 0;
25442 wxWindow
*arg1
= (wxWindow
*) 0 ;
25446 PyObject
* obj0
= 0 ;
25447 char * kwnames
[] = {
25448 (char *) "window", NULL
25451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25453 if (!SWIG_IsOK(res1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25464 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25472 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
= 0;
25476 wxMirrorDC
*result
= 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char * kwnames
[] = {
25484 (char *) "dc",(char *) "mirror", NULL
25487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25488 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25496 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25497 if (!SWIG_IsOK(ecode2
)) {
25498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25500 arg2
= static_cast< bool >(val2
);
25502 if (!wxPyCheckForApp()) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25515 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25518 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25519 return SWIG_Py_Void();
25522 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 return SWIG_Python_InitShadowInstance(args
);
25526 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
= 0;
25528 wxPrintData
*arg1
= 0 ;
25529 wxPostScriptDC
*result
= 0 ;
25532 PyObject
* obj0
= 0 ;
25533 char * kwnames
[] = {
25534 (char *) "printData", NULL
25537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25538 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25539 if (!SWIG_IsOK(res1
)) {
25540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25545 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25547 if (!wxPyCheckForApp()) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25560 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25561 PyObject
*resultobj
= 0;
25562 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25563 wxPrintData
*result
= 0 ;
25566 PyObject
*swig_obj
[1] ;
25568 if (!args
) SWIG_fail
;
25569 swig_obj
[0] = args
;
25570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25571 if (!SWIG_IsOK(res1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25574 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25579 result
= (wxPrintData
*) &_result_ref
;
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25591 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
= 0;
25593 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25594 wxPrintData
*arg2
= 0 ;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char * kwnames
[] = {
25602 (char *) "self",(char *) "data", NULL
25605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25607 if (!SWIG_IsOK(res1
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25610 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25612 if (!SWIG_IsOK(res2
)) {
25613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25618 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= SWIG_Py_Void();
25632 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
= 0;
25637 PyObject
* obj0
= 0 ;
25638 char * kwnames
[] = {
25639 (char *) "ppi", NULL
25642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25644 if (!SWIG_IsOK(ecode1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25647 arg1
= static_cast< int >(val1
);
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 wxPostScriptDC::SetResolution(arg1
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= SWIG_Py_Void();
25661 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25662 PyObject
*resultobj
= 0;
25665 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (int)wxPostScriptDC::GetResolution();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_From_int(static_cast< int >(result
));
25679 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25683 return SWIG_Py_Void();
25686 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25687 return SWIG_Python_InitShadowInstance(args
);
25690 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= 0;
25692 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25693 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25694 wxMetaFile
*result
= 0 ;
25695 bool temp1
= false ;
25696 PyObject
* obj0
= 0 ;
25697 char * kwnames
[] = {
25698 (char *) "filename", NULL
25701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25704 arg1
= wxString_in_helper(obj0
);
25705 if (arg1
== NULL
) SWIG_fail
;
25710 if (!wxPyCheckForApp()) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25731 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25732 PyObject
*resultobj
= 0;
25733 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25736 PyObject
*swig_obj
[1] ;
25738 if (!args
) SWIG_fail
;
25739 swig_obj
[0] = args
;
25740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25741 if (!SWIG_IsOK(res1
)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25744 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_Py_Void();
25759 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25760 PyObject
*resultobj
= 0;
25761 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25765 PyObject
*swig_obj
[1] ;
25767 if (!args
) SWIG_fail
;
25768 swig_obj
[0] = args
;
25769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25770 if (!SWIG_IsOK(res1
)) {
25771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25773 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= (bool)(arg1
)->IsOk();
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25789 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25791 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25792 int arg2
= (int) 0 ;
25793 int arg3
= (int) 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 PyObject
* obj2
= 0 ;
25804 char * kwnames
[] = {
25805 (char *) "self",(char *) "width",(char *) "height", NULL
25808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25813 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25816 if (!SWIG_IsOK(ecode2
)) {
25817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25819 arg2
= static_cast< int >(val2
);
25822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25823 if (!SWIG_IsOK(ecode3
)) {
25824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25826 arg3
= static_cast< int >(val3
);
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25843 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25844 PyObject
*resultobj
= 0;
25845 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25849 PyObject
*swig_obj
[1] ;
25851 if (!args
) SWIG_fail
;
25852 swig_obj
[0] = args
;
25853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25854 if (!SWIG_IsOK(res1
)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25857 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 result
= (arg1
)->GetSize();
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25871 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25872 PyObject
*resultobj
= 0;
25873 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25877 PyObject
*swig_obj
[1] ;
25879 if (!args
) SWIG_fail
;
25880 swig_obj
[0] = args
;
25881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25882 if (!SWIG_IsOK(res1
)) {
25883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25885 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 result
= (int)(arg1
)->GetWidth();
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= SWIG_From_int(static_cast< int >(result
));
25899 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25900 PyObject
*resultobj
= 0;
25901 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25905 PyObject
*swig_obj
[1] ;
25907 if (!args
) SWIG_fail
;
25908 swig_obj
[0] = args
;
25909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25910 if (!SWIG_IsOK(res1
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25913 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= (int)(arg1
)->GetHeight();
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_From_int(static_cast< int >(result
));
25927 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25928 PyObject
*resultobj
= 0;
25929 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25930 wxString
*result
= 0 ;
25933 PyObject
*swig_obj
[1] ;
25935 if (!args
) SWIG_fail
;
25936 swig_obj
[0] = args
;
25937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25941 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25946 result
= (wxString
*) &_result_ref
;
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25955 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25964 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25967 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25968 return SWIG_Py_Void();
25971 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25972 return SWIG_Python_InitShadowInstance(args
);
25975 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
= 0;
25977 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25978 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25979 int arg2
= (int) 0 ;
25980 int arg3
= (int) 0 ;
25981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25983 wxMetaFileDC
*result
= 0 ;
25984 bool temp1
= false ;
25989 bool temp4
= false ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 PyObject
* obj2
= 0 ;
25993 PyObject
* obj3
= 0 ;
25994 char * kwnames
[] = {
25995 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26001 arg1
= wxString_in_helper(obj0
);
26002 if (arg1
== NULL
) SWIG_fail
;
26007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26008 if (!SWIG_IsOK(ecode2
)) {
26009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26011 arg2
= static_cast< int >(val2
);
26014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26015 if (!SWIG_IsOK(ecode3
)) {
26016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26018 arg3
= static_cast< int >(val3
);
26022 arg4
= wxString_in_helper(obj3
);
26023 if (arg4
== NULL
) SWIG_fail
;
26028 if (!wxPyCheckForApp()) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26057 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26058 PyObject
*resultobj
= 0;
26059 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26060 wxMetaFile
*result
= 0 ;
26063 PyObject
*swig_obj
[1] ;
26065 if (!args
) SWIG_fail
;
26066 swig_obj
[0] = args
;
26067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26068 if (!SWIG_IsOK(res1
)) {
26069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26071 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 result
= (wxMetaFile
*)(arg1
)->Close();
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26085 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26088 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26089 return SWIG_Py_Void();
26092 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26093 return SWIG_Python_InitShadowInstance(args
);
26096 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxPrintData
*arg1
= 0 ;
26099 wxPrinterDC
*result
= 0 ;
26102 PyObject
* obj0
= 0 ;
26103 char * kwnames
[] = {
26104 (char *) "printData", NULL
26107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26108 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26109 if (!SWIG_IsOK(res1
)) {
26110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26115 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26117 if (!wxPyCheckForApp()) SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26130 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26134 return SWIG_Py_Void();
26137 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26138 return SWIG_Python_InitShadowInstance(args
);
26141 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
= 0;
26143 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26144 wxGraphicsObject
*result
= 0 ;
26147 PyObject
* obj0
= 0 ;
26148 char * kwnames
[] = {
26149 (char *) "renderer", NULL
26152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26158 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26161 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26171 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26172 PyObject
*resultobj
= 0;
26173 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26176 PyObject
*swig_obj
[1] ;
26178 if (!args
) SWIG_fail
;
26179 swig_obj
[0] = args
;
26180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26181 if (!SWIG_IsOK(res1
)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26184 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 resultobj
= SWIG_Py_Void();
26197 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26198 PyObject
*resultobj
= 0;
26199 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26203 PyObject
*swig_obj
[1] ;
26205 if (!args
) SWIG_fail
;
26206 swig_obj
[0] = args
;
26207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26211 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26213 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26214 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26225 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26226 PyObject
*resultobj
= 0;
26227 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26228 wxGraphicsRenderer
*result
= 0 ;
26231 PyObject
*swig_obj
[1] ;
26233 if (!args
) SWIG_fail
;
26234 swig_obj
[0] = args
;
26235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26236 if (!SWIG_IsOK(res1
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26239 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26241 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26251 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26254 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26255 return SWIG_Py_Void();
26258 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26259 return SWIG_Python_InitShadowInstance(args
);
26262 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26263 PyObject
*resultobj
= 0;
26264 wxGraphicsPen
*result
= 0 ;
26266 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26268 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26278 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26279 PyObject
*resultobj
= 0;
26280 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26283 PyObject
*swig_obj
[1] ;
26285 if (!args
) SWIG_fail
;
26286 swig_obj
[0] = args
;
26287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26291 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_Py_Void();
26304 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26307 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26308 return SWIG_Py_Void();
26311 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26312 return SWIG_Python_InitShadowInstance(args
);
26315 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26316 PyObject
*resultobj
= 0;
26317 wxGraphicsBrush
*result
= 0 ;
26319 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26321 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26331 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26332 PyObject
*resultobj
= 0;
26333 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26336 PyObject
*swig_obj
[1] ;
26338 if (!args
) SWIG_fail
;
26339 swig_obj
[0] = args
;
26340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26344 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_Py_Void();
26357 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26360 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26361 return SWIG_Py_Void();
26364 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26365 return SWIG_Python_InitShadowInstance(args
);
26368 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26369 PyObject
*resultobj
= 0;
26370 wxGraphicsFont
*result
= 0 ;
26372 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26374 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26384 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26385 PyObject
*resultobj
= 0;
26386 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26389 PyObject
*swig_obj
[1] ;
26391 if (!args
) SWIG_fail
;
26392 swig_obj
[0] = args
;
26393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26397 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_Py_Void();
26410 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26413 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26414 return SWIG_Py_Void();
26417 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26418 return SWIG_Python_InitShadowInstance(args
);
26421 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26422 PyObject
*resultobj
= 0;
26423 wxGraphicsMatrix
*result
= 0 ;
26425 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26427 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26437 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26438 PyObject
*resultobj
= 0;
26439 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26442 PyObject
*swig_obj
[1] ;
26444 if (!args
) SWIG_fail
;
26445 swig_obj
[0] = args
;
26446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26447 if (!SWIG_IsOK(res1
)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26450 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_Py_Void();
26463 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26466 wxGraphicsMatrix
*arg2
= 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char * kwnames
[] = {
26474 (char *) "self",(char *) "t", NULL
26477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26482 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26484 if (!SWIG_IsOK(res2
)) {
26485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26490 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26492 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_Py_Void();
26502 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
= 0;
26504 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26505 wxDouble arg2
= (wxDouble
) 1.0 ;
26506 wxDouble arg3
= (wxDouble
) 0.0 ;
26507 wxDouble arg4
= (wxDouble
) 0.0 ;
26508 wxDouble arg5
= (wxDouble
) 1.0 ;
26509 wxDouble arg6
= (wxDouble
) 0.0 ;
26510 wxDouble arg7
= (wxDouble
) 0.0 ;
26525 PyObject
* obj0
= 0 ;
26526 PyObject
* obj1
= 0 ;
26527 PyObject
* obj2
= 0 ;
26528 PyObject
* obj3
= 0 ;
26529 PyObject
* obj4
= 0 ;
26530 PyObject
* obj5
= 0 ;
26531 PyObject
* obj6
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26541 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26543 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26544 if (!SWIG_IsOK(ecode2
)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26547 arg2
= static_cast< wxDouble
>(val2
);
26550 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26551 if (!SWIG_IsOK(ecode3
)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26554 arg3
= static_cast< wxDouble
>(val3
);
26557 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26558 if (!SWIG_IsOK(ecode4
)) {
26559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26561 arg4
= static_cast< wxDouble
>(val4
);
26564 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26565 if (!SWIG_IsOK(ecode5
)) {
26566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26568 arg5
= static_cast< wxDouble
>(val5
);
26571 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26572 if (!SWIG_IsOK(ecode6
)) {
26573 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26575 arg6
= static_cast< wxDouble
>(val6
);
26578 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26579 if (!SWIG_IsOK(ecode7
)) {
26580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26582 arg7
= static_cast< wxDouble
>(val7
);
26585 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26596 PyObject
*resultobj
= 0;
26597 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26608 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_Py_Void();
26620 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
= 0;
26622 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26623 wxGraphicsMatrix
*arg2
= 0 ;
26629 PyObject
* obj0
= 0 ;
26630 PyObject
* obj1
= 0 ;
26631 char * kwnames
[] = {
26632 (char *) "self",(char *) "t", NULL
26635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26640 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26642 if (!SWIG_IsOK(res2
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26648 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26650 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26662 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 PyObject
*resultobj
= 0;
26664 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26668 PyObject
*swig_obj
[1] ;
26670 if (!args
) SWIG_fail
;
26671 swig_obj
[0] = args
;
26672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26676 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26678 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26679 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26690 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
= 0;
26692 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 PyObject
* obj2
= 0 ;
26704 char * kwnames
[] = {
26705 (char *) "self",(char *) "dx",(char *) "dy", NULL
26708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26713 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26714 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26715 if (!SWIG_IsOK(ecode2
)) {
26716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26718 arg2
= static_cast< wxDouble
>(val2
);
26719 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26720 if (!SWIG_IsOK(ecode3
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26723 arg3
= static_cast< wxDouble
>(val3
);
26725 (arg1
)->Translate(arg2
,arg3
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_Py_Void();
26735 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
= 0;
26737 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 PyObject
* obj2
= 0 ;
26749 char * kwnames
[] = {
26750 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26755 if (!SWIG_IsOK(res1
)) {
26756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26758 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26759 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26760 if (!SWIG_IsOK(ecode2
)) {
26761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26763 arg2
= static_cast< wxDouble
>(val2
);
26764 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26765 if (!SWIG_IsOK(ecode3
)) {
26766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26768 arg3
= static_cast< wxDouble
>(val3
);
26770 (arg1
)->Scale(arg2
,arg3
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= SWIG_Py_Void();
26780 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
= 0;
26782 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 char * kwnames
[] = {
26791 (char *) "self",(char *) "angle", NULL
26794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26799 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26800 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26801 if (!SWIG_IsOK(ecode2
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26804 arg2
= static_cast< wxDouble
>(val2
);
26806 (arg1
)->Rotate(arg2
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_Py_Void();
26816 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
= 0;
26818 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26819 wxDouble
*arg2
= (wxDouble
*) 0 ;
26820 wxDouble
*arg3
= (wxDouble
*) 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 PyObject
* obj2
= 0 ;
26830 char * kwnames
[] = {
26831 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26836 if (!SWIG_IsOK(res1
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26839 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26840 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26842 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26843 if (!SWIG_IsOK(ecode
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26846 temp2
= static_cast< wxDouble
>(val
);
26848 res2
= SWIG_AddTmpMask(ecode
);
26850 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26852 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26853 if (!SWIG_IsOK(ecode
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26856 temp3
= static_cast< wxDouble
>(val
);
26858 res3
= SWIG_AddTmpMask(ecode
);
26861 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_Py_Void();
26865 if (SWIG_IsTmpObj(res2
)) {
26866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26868 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26871 if (SWIG_IsTmpObj(res3
)) {
26872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26883 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
= 0;
26885 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26886 wxDouble
*arg2
= (wxDouble
*) 0 ;
26887 wxDouble
*arg3
= (wxDouble
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 PyObject
* obj2
= 0 ;
26897 char * kwnames
[] = {
26898 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26903 if (!SWIG_IsOK(res1
)) {
26904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26906 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26907 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26909 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26910 if (!SWIG_IsOK(ecode
)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26913 temp2
= static_cast< wxDouble
>(val
);
26915 res2
= SWIG_AddTmpMask(ecode
);
26917 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26919 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26920 if (!SWIG_IsOK(ecode
)) {
26921 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26923 temp3
= static_cast< wxDouble
>(val
);
26925 res3
= SWIG_AddTmpMask(ecode
);
26928 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_Py_Void();
26932 if (SWIG_IsTmpObj(res2
)) {
26933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26935 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26938 if (SWIG_IsTmpObj(res3
)) {
26939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26941 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26950 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26951 PyObject
*resultobj
= 0;
26952 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26956 PyObject
*swig_obj
[1] ;
26958 if (!args
) SWIG_fail
;
26959 swig_obj
[0] = args
;
26960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26961 if (!SWIG_IsOK(res1
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26964 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26966 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26976 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26979 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26980 return SWIG_Py_Void();
26983 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26984 return SWIG_Python_InitShadowInstance(args
);
26987 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26988 PyObject
*resultobj
= 0;
26989 wxGraphicsPath
*result
= 0 ;
26991 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26993 if (!wxPyCheckForApp()) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27006 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27007 PyObject
*resultobj
= 0;
27008 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27011 PyObject
*swig_obj
[1] ;
27013 if (!args
) SWIG_fail
;
27014 swig_obj
[0] = args
;
27015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27019 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_Py_Void();
27032 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27033 PyObject
*resultobj
= 0;
27034 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27044 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27049 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27050 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27051 if (!SWIG_IsOK(ecode2
)) {
27052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27054 arg2
= static_cast< wxDouble
>(val2
);
27055 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27056 if (!SWIG_IsOK(ecode3
)) {
27057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27059 arg3
= static_cast< wxDouble
>(val3
);
27061 (arg1
)->MoveToPoint(arg2
,arg3
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_Py_Void();
27071 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27072 PyObject
*resultobj
= 0;
27073 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27074 wxPoint2D
*arg2
= 0 ;
27079 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27081 if (!SWIG_IsOK(res1
)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27084 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27087 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27090 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= SWIG_Py_Void();
27100 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27104 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27107 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27110 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27114 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27119 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27120 PyObject
*resultobj
= 0;
27121 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27131 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27133 if (!SWIG_IsOK(res1
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27136 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27137 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27138 if (!SWIG_IsOK(ecode2
)) {
27139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27141 arg2
= static_cast< wxDouble
>(val2
);
27142 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27143 if (!SWIG_IsOK(ecode3
)) {
27144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27146 arg3
= static_cast< wxDouble
>(val3
);
27148 (arg1
)->AddLineToPoint(arg2
,arg3
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_Py_Void();
27158 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27159 PyObject
*resultobj
= 0;
27160 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27161 wxPoint2D
*arg2
= 0 ;
27166 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27168 if (!SWIG_IsOK(res1
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27171 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27174 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27177 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_Py_Void();
27187 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27191 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27194 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27197 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27201 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27206 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27207 PyObject
*resultobj
= 0;
27208 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27230 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27232 if (!SWIG_IsOK(res1
)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27235 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27236 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27237 if (!SWIG_IsOK(ecode2
)) {
27238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27240 arg2
= static_cast< wxDouble
>(val2
);
27241 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27242 if (!SWIG_IsOK(ecode3
)) {
27243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27245 arg3
= static_cast< wxDouble
>(val3
);
27246 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27247 if (!SWIG_IsOK(ecode4
)) {
27248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27250 arg4
= static_cast< wxDouble
>(val4
);
27251 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27252 if (!SWIG_IsOK(ecode5
)) {
27253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27255 arg5
= static_cast< wxDouble
>(val5
);
27256 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27257 if (!SWIG_IsOK(ecode6
)) {
27258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27260 arg6
= static_cast< wxDouble
>(val6
);
27261 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27262 if (!SWIG_IsOK(ecode7
)) {
27263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27265 arg7
= static_cast< wxDouble
>(val7
);
27267 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_Py_Void();
27277 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27278 PyObject
*resultobj
= 0;
27279 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27280 wxPoint2D
*arg2
= 0 ;
27281 wxPoint2D
*arg3
= 0 ;
27282 wxPoint2D
*arg4
= 0 ;
27289 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27294 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27297 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27301 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27305 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27308 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_Py_Void();
27318 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27322 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27325 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27328 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27332 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27337 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
= 0;
27339 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27340 wxGraphicsPath
*arg2
= 0 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 char * kwnames
[] = {
27348 (char *) "self",(char *) "path", NULL
27351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27356 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27358 if (!SWIG_IsOK(res2
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27364 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27366 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= SWIG_Py_Void();
27376 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27377 PyObject
*resultobj
= 0;
27378 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27381 PyObject
*swig_obj
[1] ;
27383 if (!args
) SWIG_fail
;
27384 swig_obj
[0] = args
;
27385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27389 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27391 (arg1
)->CloseSubpath();
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_Py_Void();
27401 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 PyObject
*resultobj
= 0;
27403 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27407 PyObject
*swig_obj
[1] ;
27409 if (!args
) SWIG_fail
;
27410 swig_obj
[0] = args
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27415 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27417 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27427 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27428 PyObject
*resultobj
= 0;
27429 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27451 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27456 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27457 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27458 if (!SWIG_IsOK(ecode2
)) {
27459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27461 arg2
= static_cast< wxDouble
>(val2
);
27462 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27463 if (!SWIG_IsOK(ecode3
)) {
27464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27466 arg3
= static_cast< wxDouble
>(val3
);
27467 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27468 if (!SWIG_IsOK(ecode4
)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27471 arg4
= static_cast< wxDouble
>(val4
);
27472 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27473 if (!SWIG_IsOK(ecode5
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27476 arg5
= static_cast< wxDouble
>(val5
);
27477 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27478 if (!SWIG_IsOK(ecode6
)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27481 arg6
= static_cast< wxDouble
>(val6
);
27482 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27483 if (!SWIG_IsOK(ecode7
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27486 arg7
= static_cast< bool >(val7
);
27488 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_Py_Void();
27498 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27499 PyObject
*resultobj
= 0;
27500 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27501 wxPoint2D
*arg2
= 0 ;
27518 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27520 if (!SWIG_IsOK(res1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27523 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27526 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27528 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27529 if (!SWIG_IsOK(ecode3
)) {
27530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27532 arg3
= static_cast< wxDouble
>(val3
);
27533 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27534 if (!SWIG_IsOK(ecode4
)) {
27535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27537 arg4
= static_cast< wxDouble
>(val4
);
27538 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27539 if (!SWIG_IsOK(ecode5
)) {
27540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27542 arg5
= static_cast< wxDouble
>(val5
);
27543 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27544 if (!SWIG_IsOK(ecode6
)) {
27545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27547 arg6
= static_cast< bool >(val6
);
27549 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= SWIG_Py_Void();
27559 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27563 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27566 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27569 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27573 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27578 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
= 0;
27580 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 PyObject
* obj2
= 0 ;
27598 PyObject
* obj3
= 0 ;
27599 PyObject
* obj4
= 0 ;
27600 char * kwnames
[] = {
27601 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27606 if (!SWIG_IsOK(res1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27609 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27610 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27611 if (!SWIG_IsOK(ecode2
)) {
27612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27614 arg2
= static_cast< wxDouble
>(val2
);
27615 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27616 if (!SWIG_IsOK(ecode3
)) {
27617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27619 arg3
= static_cast< wxDouble
>(val3
);
27620 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27621 if (!SWIG_IsOK(ecode4
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27624 arg4
= static_cast< wxDouble
>(val4
);
27625 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27626 if (!SWIG_IsOK(ecode5
)) {
27627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27629 arg5
= static_cast< wxDouble
>(val5
);
27631 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= SWIG_Py_Void();
27641 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
= 0;
27643 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 PyObject
* obj2
= 0 ;
27661 PyObject
* obj3
= 0 ;
27662 PyObject
* obj4
= 0 ;
27663 char * kwnames
[] = {
27664 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27672 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27673 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27677 arg2
= static_cast< wxDouble
>(val2
);
27678 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27679 if (!SWIG_IsOK(ecode3
)) {
27680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27682 arg3
= static_cast< wxDouble
>(val3
);
27683 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27684 if (!SWIG_IsOK(ecode4
)) {
27685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27687 arg4
= static_cast< wxDouble
>(val4
);
27688 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27689 if (!SWIG_IsOK(ecode5
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27692 arg5
= static_cast< wxDouble
>(val5
);
27694 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= SWIG_Py_Void();
27704 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
= 0;
27706 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 PyObject
* obj2
= 0 ;
27721 PyObject
* obj3
= 0 ;
27722 char * kwnames
[] = {
27723 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27731 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27732 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27733 if (!SWIG_IsOK(ecode2
)) {
27734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27736 arg2
= static_cast< wxDouble
>(val2
);
27737 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27738 if (!SWIG_IsOK(ecode3
)) {
27739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27741 arg3
= static_cast< wxDouble
>(val3
);
27742 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27743 if (!SWIG_IsOK(ecode4
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27746 arg4
= static_cast< wxDouble
>(val4
);
27748 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_Py_Void();
27758 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
= 0;
27760 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 PyObject
* obj2
= 0 ;
27781 PyObject
* obj3
= 0 ;
27782 PyObject
* obj4
= 0 ;
27783 PyObject
* obj5
= 0 ;
27784 char * kwnames
[] = {
27785 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27793 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27794 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27795 if (!SWIG_IsOK(ecode2
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27798 arg2
= static_cast< wxDouble
>(val2
);
27799 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27800 if (!SWIG_IsOK(ecode3
)) {
27801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27803 arg3
= static_cast< wxDouble
>(val3
);
27804 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27805 if (!SWIG_IsOK(ecode4
)) {
27806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27808 arg4
= static_cast< wxDouble
>(val4
);
27809 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27810 if (!SWIG_IsOK(ecode5
)) {
27811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27813 arg5
= static_cast< wxDouble
>(val5
);
27814 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27815 if (!SWIG_IsOK(ecode6
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27818 arg6
= static_cast< wxDouble
>(val6
);
27820 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27823 resultobj
= SWIG_Py_Void();
27830 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
= 0;
27832 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 PyObject
* obj1
= 0 ;
27849 PyObject
* obj2
= 0 ;
27850 PyObject
* obj3
= 0 ;
27851 PyObject
* obj4
= 0 ;
27852 char * kwnames
[] = {
27853 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27861 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27862 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27866 arg2
= static_cast< wxDouble
>(val2
);
27867 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27868 if (!SWIG_IsOK(ecode3
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27871 arg3
= static_cast< wxDouble
>(val3
);
27872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27873 if (!SWIG_IsOK(ecode4
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27876 arg4
= static_cast< wxDouble
>(val4
);
27877 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27878 if (!SWIG_IsOK(ecode5
)) {
27879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27881 arg5
= static_cast< wxDouble
>(val5
);
27883 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= SWIG_Py_Void();
27893 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
= 0;
27895 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 PyObject
* obj1
= 0 ;
27915 PyObject
* obj2
= 0 ;
27916 PyObject
* obj3
= 0 ;
27917 PyObject
* obj4
= 0 ;
27918 PyObject
* obj5
= 0 ;
27919 char * kwnames
[] = {
27920 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27928 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27929 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27930 if (!SWIG_IsOK(ecode2
)) {
27931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27933 arg2
= static_cast< wxDouble
>(val2
);
27934 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27935 if (!SWIG_IsOK(ecode3
)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27938 arg3
= static_cast< wxDouble
>(val3
);
27939 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27940 if (!SWIG_IsOK(ecode4
)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27943 arg4
= static_cast< wxDouble
>(val4
);
27944 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27945 if (!SWIG_IsOK(ecode5
)) {
27946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27948 arg5
= static_cast< wxDouble
>(val5
);
27949 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27950 if (!SWIG_IsOK(ecode6
)) {
27951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27953 arg6
= static_cast< wxDouble
>(val6
);
27955 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27981 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27991 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
= 0;
27993 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27994 void *arg2
= (void *) 0 ;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 char * kwnames
[] = {
28001 (char *) "self",(char *) "p", NULL
28004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28009 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28010 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28011 if (!SWIG_IsOK(res2
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28015 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_Py_Void();
28025 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
= 0;
28027 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28028 wxGraphicsMatrix
*arg2
= 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 char * kwnames
[] = {
28036 (char *) "self",(char *) "matrix", NULL
28039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28044 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28046 if (!SWIG_IsOK(res2
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28052 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28054 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_Py_Void();
28064 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 PyObject
*resultobj
= 0;
28066 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28067 wxRect2DDouble result
;
28070 PyObject
*swig_obj
[1] ;
28072 if (!args
) SWIG_fail
;
28073 swig_obj
[0] = args
;
28074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28078 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28080 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28090 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28091 PyObject
*resultobj
= 0;
28092 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28095 int arg4
= (int) wxODDEVEN_RULE
;
28106 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28111 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28112 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28113 if (!SWIG_IsOK(ecode2
)) {
28114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28116 arg2
= static_cast< wxDouble
>(val2
);
28117 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28118 if (!SWIG_IsOK(ecode3
)) {
28119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28121 arg3
= static_cast< wxDouble
>(val3
);
28123 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28124 if (!SWIG_IsOK(ecode4
)) {
28125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28127 arg4
= static_cast< int >(val4
);
28130 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28142 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28143 PyObject
*resultobj
= 0;
28144 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28145 wxPoint2DDouble
*arg2
= 0 ;
28146 int arg3
= (int) wxODDEVEN_RULE
;
28155 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28160 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28161 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28162 if (!SWIG_IsOK(res2
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28168 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28170 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28171 if (!SWIG_IsOK(ecode3
)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28174 arg3
= static_cast< int >(val3
);
28177 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28189 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28193 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28195 if ((argc
>= 2) && (argc
<= 3)) {
28198 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28199 _v
= SWIG_CheckState(res
);
28201 if (!_v
) goto check_1
;
28205 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28206 _v
= SWIG_CheckState(res
);
28209 if (!_v
) goto check_1
;
28211 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28215 if ((argc
>= 3) && (argc
<= 4)) {
28216 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28220 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28225 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28228 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28229 return SWIG_Py_Void();
28232 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28233 return SWIG_Python_InitShadowInstance(args
);
28236 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28237 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28242 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28243 PyObject
*pyobj
= 0;
28245 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28250 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28251 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28256 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28257 PyObject
*pyobj
= 0;
28259 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28264 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28265 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28270 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28271 PyObject
*pyobj
= 0;
28273 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28278 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28279 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28284 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28285 PyObject
*pyobj
= 0;
28287 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28292 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28293 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28298 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28299 PyObject
*pyobj
= 0;
28301 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28306 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 PyObject
*resultobj
= 0;
28308 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28311 PyObject
*swig_obj
[1] ;
28313 if (!args
) SWIG_fail
;
28314 swig_obj
[0] = args
;
28315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28319 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_Py_Void();
28332 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28333 PyObject
*resultobj
= 0;
28334 wxWindowDC
*arg1
= 0 ;
28335 wxGraphicsContext
*result
= 0 ;
28339 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28347 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28349 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28359 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28360 PyObject
*resultobj
= 0;
28361 wxWindow
*arg1
= (wxWindow
*) 0 ;
28362 wxGraphicsContext
*result
= 0 ;
28366 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28368 if (!SWIG_IsOK(res1
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28373 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28383 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28387 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28392 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28393 _v
= SWIG_CheckState(res
);
28395 if (!_v
) goto check_1
;
28396 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28401 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28405 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28410 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28411 PyObject
*resultobj
= 0;
28412 wxGraphicsContext
*result
= 0 ;
28414 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28416 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28426 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
= 0;
28428 void *arg1
= (void *) 0 ;
28429 wxGraphicsContext
*result
= 0 ;
28431 PyObject
* obj0
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "context", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28442 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28452 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28453 PyObject
*resultobj
= 0;
28454 void *arg1
= (void *) 0 ;
28455 wxGraphicsContext
*result
= 0 ;
28457 PyObject
* obj0
= 0 ;
28458 char * kwnames
[] = {
28459 (char *) "window", NULL
28462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28463 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28464 if (!SWIG_IsOK(res1
)) {
28465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28468 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28478 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28479 PyObject
*resultobj
= 0;
28480 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28481 wxGraphicsPath result
;
28484 PyObject
*swig_obj
[1] ;
28486 if (!args
) SWIG_fail
;
28487 swig_obj
[0] = args
;
28488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28489 if (!SWIG_IsOK(res1
)) {
28490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28492 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28494 result
= (arg1
)->CreatePath();
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28504 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
= 0;
28506 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28508 wxGraphicsPen result
;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char * kwnames
[] = {
28516 (char *) "self",(char *) "pen", NULL
28519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28521 if (!SWIG_IsOK(res1
)) {
28522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28524 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28526 if (!SWIG_IsOK(res2
)) {
28527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28532 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28534 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28537 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28544 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
= 0;
28546 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28547 wxBrush
*arg2
= 0 ;
28548 wxGraphicsBrush result
;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 char * kwnames
[] = {
28556 (char *) "self",(char *) "brush", NULL
28559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28561 if (!SWIG_IsOK(res1
)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28564 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28566 if (!SWIG_IsOK(res2
)) {
28567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28572 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28574 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28584 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
= 0;
28586 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28591 wxColour
*arg6
= 0 ;
28592 wxColour
*arg7
= 0 ;
28593 wxGraphicsBrush result
;
28606 PyObject
* obj0
= 0 ;
28607 PyObject
* obj1
= 0 ;
28608 PyObject
* obj2
= 0 ;
28609 PyObject
* obj3
= 0 ;
28610 PyObject
* obj4
= 0 ;
28611 PyObject
* obj5
= 0 ;
28612 PyObject
* obj6
= 0 ;
28613 char * kwnames
[] = {
28614 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28619 if (!SWIG_IsOK(res1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28622 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28623 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28624 if (!SWIG_IsOK(ecode2
)) {
28625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28627 arg2
= static_cast< wxDouble
>(val2
);
28628 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28629 if (!SWIG_IsOK(ecode3
)) {
28630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28632 arg3
= static_cast< wxDouble
>(val3
);
28633 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28634 if (!SWIG_IsOK(ecode4
)) {
28635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28637 arg4
= static_cast< wxDouble
>(val4
);
28638 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28639 if (!SWIG_IsOK(ecode5
)) {
28640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28642 arg5
= static_cast< wxDouble
>(val5
);
28645 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28649 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28652 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28662 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
= 0;
28664 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28670 wxColour
*arg7
= 0 ;
28671 wxColour
*arg8
= 0 ;
28672 wxGraphicsBrush result
;
28687 PyObject
* obj0
= 0 ;
28688 PyObject
* obj1
= 0 ;
28689 PyObject
* obj2
= 0 ;
28690 PyObject
* obj3
= 0 ;
28691 PyObject
* obj4
= 0 ;
28692 PyObject
* obj5
= 0 ;
28693 PyObject
* obj6
= 0 ;
28694 PyObject
* obj7
= 0 ;
28695 char * kwnames
[] = {
28696 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28701 if (!SWIG_IsOK(res1
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28704 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28705 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28706 if (!SWIG_IsOK(ecode2
)) {
28707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28709 arg2
= static_cast< wxDouble
>(val2
);
28710 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28711 if (!SWIG_IsOK(ecode3
)) {
28712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28714 arg3
= static_cast< wxDouble
>(val3
);
28715 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28716 if (!SWIG_IsOK(ecode4
)) {
28717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28719 arg4
= static_cast< wxDouble
>(val4
);
28720 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28721 if (!SWIG_IsOK(ecode5
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28724 arg5
= static_cast< wxDouble
>(val5
);
28725 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28726 if (!SWIG_IsOK(ecode6
)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28729 arg6
= static_cast< wxDouble
>(val6
);
28732 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28736 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28739 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28749 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
= 0;
28751 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28753 wxColour
const &arg3_defvalue
= *wxBLACK
;
28754 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28755 wxGraphicsFont result
;
28761 PyObject
* obj0
= 0 ;
28762 PyObject
* obj1
= 0 ;
28763 PyObject
* obj2
= 0 ;
28764 char * kwnames
[] = {
28765 (char *) "self",(char *) "font",(char *) "col", NULL
28768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28773 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28775 if (!SWIG_IsOK(res2
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28781 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28785 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28789 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28799 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
= 0;
28801 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28802 wxDouble arg2
= (wxDouble
) 1.0 ;
28803 wxDouble arg3
= (wxDouble
) 0.0 ;
28804 wxDouble arg4
= (wxDouble
) 0.0 ;
28805 wxDouble arg5
= (wxDouble
) 1.0 ;
28806 wxDouble arg6
= (wxDouble
) 0.0 ;
28807 wxDouble arg7
= (wxDouble
) 0.0 ;
28808 wxGraphicsMatrix result
;
28823 PyObject
* obj0
= 0 ;
28824 PyObject
* obj1
= 0 ;
28825 PyObject
* obj2
= 0 ;
28826 PyObject
* obj3
= 0 ;
28827 PyObject
* obj4
= 0 ;
28828 PyObject
* obj5
= 0 ;
28829 PyObject
* obj6
= 0 ;
28830 char * kwnames
[] = {
28831 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28836 if (!SWIG_IsOK(res1
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28839 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28841 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28842 if (!SWIG_IsOK(ecode2
)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28845 arg2
= static_cast< wxDouble
>(val2
);
28848 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28849 if (!SWIG_IsOK(ecode3
)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28852 arg3
= static_cast< wxDouble
>(val3
);
28855 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28856 if (!SWIG_IsOK(ecode4
)) {
28857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28859 arg4
= static_cast< wxDouble
>(val4
);
28862 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28863 if (!SWIG_IsOK(ecode5
)) {
28864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28866 arg5
= static_cast< wxDouble
>(val5
);
28869 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28870 if (!SWIG_IsOK(ecode6
)) {
28871 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28873 arg6
= static_cast< wxDouble
>(val6
);
28876 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28877 if (!SWIG_IsOK(ecode7
)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28880 arg7
= static_cast< wxDouble
>(val7
);
28883 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28893 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28894 PyObject
*resultobj
= 0;
28895 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28898 PyObject
*swig_obj
[1] ;
28900 if (!args
) SWIG_fail
;
28901 swig_obj
[0] = args
;
28902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28903 if (!SWIG_IsOK(res1
)) {
28904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28906 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28908 (arg1
)->PushState();
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_Py_Void();
28918 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28919 PyObject
*resultobj
= 0;
28920 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28923 PyObject
*swig_obj
[1] ;
28925 if (!args
) SWIG_fail
;
28926 swig_obj
[0] = args
;
28927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28928 if (!SWIG_IsOK(res1
)) {
28929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28931 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28933 (arg1
)->PopState();
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= SWIG_Py_Void();
28943 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
= 0;
28945 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28946 wxRegion
*arg2
= 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 char * kwnames
[] = {
28954 (char *) "self",(char *) "region", NULL
28957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28959 if (!SWIG_IsOK(res1
)) {
28960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28962 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28964 if (!SWIG_IsOK(res2
)) {
28965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28970 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28972 (arg1
)->Clip((wxRegion
const &)*arg2
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= SWIG_Py_Void();
28982 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28983 PyObject
*resultobj
= 0;
28984 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28999 PyObject
* obj0
= 0 ;
29000 PyObject
* obj1
= 0 ;
29001 PyObject
* obj2
= 0 ;
29002 PyObject
* obj3
= 0 ;
29003 PyObject
* obj4
= 0 ;
29004 char * kwnames
[] = {
29005 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29010 if (!SWIG_IsOK(res1
)) {
29011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29013 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29014 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29015 if (!SWIG_IsOK(ecode2
)) {
29016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29018 arg2
= static_cast< wxDouble
>(val2
);
29019 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29020 if (!SWIG_IsOK(ecode3
)) {
29021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29023 arg3
= static_cast< wxDouble
>(val3
);
29024 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29025 if (!SWIG_IsOK(ecode4
)) {
29026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29028 arg4
= static_cast< wxDouble
>(val4
);
29029 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29030 if (!SWIG_IsOK(ecode5
)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29033 arg5
= static_cast< wxDouble
>(val5
);
29035 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= SWIG_Py_Void();
29045 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29046 PyObject
*resultobj
= 0;
29047 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29050 PyObject
*swig_obj
[1] ;
29052 if (!args
) SWIG_fail
;
29053 swig_obj
[0] = args
;
29054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29055 if (!SWIG_IsOK(res1
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29058 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29060 (arg1
)->ResetClip();
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= SWIG_Py_Void();
29070 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29071 PyObject
*resultobj
= 0;
29072 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29076 PyObject
*swig_obj
[1] ;
29078 if (!args
) SWIG_fail
;
29079 swig_obj
[0] = args
;
29080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29081 if (!SWIG_IsOK(res1
)) {
29082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29084 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29086 result
= (void *)(arg1
)->GetNativeContext();
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29096 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
= 0;
29098 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 PyObject
* obj2
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "dx",(char *) "dy", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29119 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29120 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29121 if (!SWIG_IsOK(ecode2
)) {
29122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29124 arg2
= static_cast< wxDouble
>(val2
);
29125 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29126 if (!SWIG_IsOK(ecode3
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29129 arg3
= static_cast< wxDouble
>(val3
);
29131 (arg1
)->Translate(arg2
,arg3
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= SWIG_Py_Void();
29141 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29142 PyObject
*resultobj
= 0;
29143 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29164 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29165 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29166 if (!SWIG_IsOK(ecode2
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29169 arg2
= static_cast< wxDouble
>(val2
);
29170 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29171 if (!SWIG_IsOK(ecode3
)) {
29172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29174 arg3
= static_cast< wxDouble
>(val3
);
29176 (arg1
)->Scale(arg2
,arg3
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= SWIG_Py_Void();
29186 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
= 0;
29188 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29194 PyObject
* obj0
= 0 ;
29195 PyObject
* obj1
= 0 ;
29196 char * kwnames
[] = {
29197 (char *) "self",(char *) "angle", NULL
29200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29202 if (!SWIG_IsOK(res1
)) {
29203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29205 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29206 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29207 if (!SWIG_IsOK(ecode2
)) {
29208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29210 arg2
= static_cast< wxDouble
>(val2
);
29212 (arg1
)->Rotate(arg2
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= SWIG_Py_Void();
29222 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
= 0;
29224 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29225 wxGraphicsMatrix
*arg2
= 0 ;
29230 PyObject
* obj0
= 0 ;
29231 PyObject
* obj1
= 0 ;
29232 char * kwnames
[] = {
29233 (char *) "self",(char *) "matrix", NULL
29236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29238 if (!SWIG_IsOK(res1
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29241 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29243 if (!SWIG_IsOK(res2
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29249 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29251 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_Py_Void();
29261 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
= 0;
29263 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29264 wxGraphicsMatrix
*arg2
= 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "matrix", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29280 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29282 if (!SWIG_IsOK(res2
)) {
29283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29288 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29290 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= SWIG_Py_Void();
29300 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29301 PyObject
*resultobj
= 0;
29302 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29303 wxGraphicsMatrix result
;
29306 PyObject
*swig_obj
[1] ;
29308 if (!args
) SWIG_fail
;
29309 swig_obj
[0] = args
;
29310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29311 if (!SWIG_IsOK(res1
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29314 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29316 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29326 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29327 PyObject
*resultobj
= 0;
29328 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29329 wxGraphicsPen
*arg2
= 0 ;
29335 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29337 if (!SWIG_IsOK(res1
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29340 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29341 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29342 if (!SWIG_IsOK(res2
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29348 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29350 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= SWIG_Py_Void();
29360 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29361 PyObject
*resultobj
= 0;
29362 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29369 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29371 if (!SWIG_IsOK(res1
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29374 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29375 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29376 if (!SWIG_IsOK(res2
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29382 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29384 (arg1
)->SetPen((wxPen
const &)*arg2
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_Py_Void();
29394 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29398 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29403 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29404 _v
= SWIG_CheckState(res
);
29406 if (!_v
) goto check_1
;
29407 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29412 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29416 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29421 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29422 PyObject
*resultobj
= 0;
29423 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29424 wxGraphicsBrush
*arg2
= 0 ;
29430 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29432 if (!SWIG_IsOK(res1
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29435 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29436 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29437 if (!SWIG_IsOK(res2
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29443 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29445 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_Py_Void();
29455 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29456 PyObject
*resultobj
= 0;
29457 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29458 wxBrush
*arg2
= 0 ;
29464 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29466 if (!SWIG_IsOK(res1
)) {
29467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29469 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29470 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29471 if (!SWIG_IsOK(res2
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29477 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29479 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_Py_Void();
29489 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29493 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29498 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29499 _v
= SWIG_CheckState(res
);
29501 if (!_v
) goto check_1
;
29502 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29507 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29511 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29516 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29517 PyObject
*resultobj
= 0;
29518 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29519 wxGraphicsFont
*arg2
= 0 ;
29525 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29527 if (!SWIG_IsOK(res1
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29530 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29531 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29532 if (!SWIG_IsOK(res2
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29538 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29540 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29543 resultobj
= SWIG_Py_Void();
29550 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29551 PyObject
*resultobj
= 0;
29552 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29554 wxColour
const &arg3_defvalue
= *wxBLACK
;
29555 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29562 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29564 if (!SWIG_IsOK(res1
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29567 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29568 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29569 if (!SWIG_IsOK(res2
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29575 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29579 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29583 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29586 resultobj
= SWIG_Py_Void();
29593 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29597 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29602 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29603 _v
= SWIG_CheckState(res
);
29605 if (!_v
) goto check_1
;
29606 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29610 if ((argc
>= 2) && (argc
<= 3)) {
29611 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29615 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29620 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29623 wxGraphicsPath
*arg2
= 0 ;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 char * kwnames
[] = {
29631 (char *) "self",(char *) "path", NULL
29634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29639 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29641 if (!SWIG_IsOK(res2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29647 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29649 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_Py_Void();
29659 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29660 PyObject
*resultobj
= 0;
29661 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29662 wxGraphicsPath
*arg2
= 0 ;
29663 int arg3
= (int) wxODDEVEN_RULE
;
29670 PyObject
* obj0
= 0 ;
29671 PyObject
* obj1
= 0 ;
29672 PyObject
* obj2
= 0 ;
29673 char * kwnames
[] = {
29674 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29679 if (!SWIG_IsOK(res1
)) {
29680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29682 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29684 if (!SWIG_IsOK(res2
)) {
29685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29690 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29693 if (!SWIG_IsOK(ecode3
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29696 arg3
= static_cast< int >(val3
);
29699 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= SWIG_Py_Void();
29709 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
= 0;
29711 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29712 wxGraphicsPath
*arg2
= 0 ;
29713 int arg3
= (int) wxODDEVEN_RULE
;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 PyObject
* obj2
= 0 ;
29723 char * kwnames
[] = {
29724 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29729 if (!SWIG_IsOK(res1
)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29732 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29734 if (!SWIG_IsOK(res2
)) {
29735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29740 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29743 if (!SWIG_IsOK(ecode3
)) {
29744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29746 arg3
= static_cast< int >(val3
);
29749 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_Py_Void();
29759 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
= 0;
29761 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29762 wxString
*arg2
= 0 ;
29765 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29766 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29769 bool temp2
= false ;
29776 PyObject
* obj0
= 0 ;
29777 PyObject
* obj1
= 0 ;
29778 PyObject
* obj2
= 0 ;
29779 PyObject
* obj3
= 0 ;
29780 PyObject
* obj4
= 0 ;
29781 char * kwnames
[] = {
29782 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29787 if (!SWIG_IsOK(res1
)) {
29788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29790 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29792 arg2
= wxString_in_helper(obj1
);
29793 if (arg2
== NULL
) SWIG_fail
;
29796 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29797 if (!SWIG_IsOK(ecode3
)) {
29798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29800 arg3
= static_cast< wxDouble
>(val3
);
29801 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29802 if (!SWIG_IsOK(ecode4
)) {
29803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29805 arg4
= static_cast< wxDouble
>(val4
);
29807 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29808 if (!SWIG_IsOK(res5
)) {
29809 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29814 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29817 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= SWIG_Py_Void();
29835 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
= 0;
29837 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29838 wxString
*arg2
= 0 ;
29842 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29843 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29846 bool temp2
= false ;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 PyObject
* obj2
= 0 ;
29858 PyObject
* obj3
= 0 ;
29859 PyObject
* obj4
= 0 ;
29860 PyObject
* obj5
= 0 ;
29861 char * kwnames
[] = {
29862 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29867 if (!SWIG_IsOK(res1
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29870 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29872 arg2
= wxString_in_helper(obj1
);
29873 if (arg2
== NULL
) SWIG_fail
;
29876 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29877 if (!SWIG_IsOK(ecode3
)) {
29878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29880 arg3
= static_cast< wxDouble
>(val3
);
29881 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29882 if (!SWIG_IsOK(ecode4
)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29885 arg4
= static_cast< wxDouble
>(val4
);
29886 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29887 if (!SWIG_IsOK(ecode5
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29890 arg5
= static_cast< wxDouble
>(val5
);
29892 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29893 if (!SWIG_IsOK(res6
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29899 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29902 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_Py_Void();
29920 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
= 0;
29922 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29923 wxString
*arg2
= 0 ;
29924 wxDouble
*arg3
= (wxDouble
*) 0 ;
29925 wxDouble
*arg4
= (wxDouble
*) 0 ;
29926 wxDouble
*arg5
= (wxDouble
*) 0 ;
29927 wxDouble
*arg6
= (wxDouble
*) 0 ;
29930 bool temp2
= false ;
29932 int res3
= SWIG_TMPOBJ
;
29934 int res4
= SWIG_TMPOBJ
;
29936 int res5
= SWIG_TMPOBJ
;
29938 int res6
= SWIG_TMPOBJ
;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 char * kwnames
[] = {
29942 (char *) "self",(char *) "text", NULL
29949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29951 if (!SWIG_IsOK(res1
)) {
29952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29956 arg2
= wxString_in_helper(obj1
);
29957 if (arg2
== NULL
) SWIG_fail
;
29961 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= SWIG_Py_Void();
29965 if (SWIG_IsTmpObj(res3
)) {
29966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29971 if (SWIG_IsTmpObj(res4
)) {
29972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29974 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29977 if (SWIG_IsTmpObj(res5
)) {
29978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29980 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29983 if (SWIG_IsTmpObj(res6
)) {
29984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29986 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30003 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30004 PyObject
*resultobj
= 0;
30005 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30006 wxString
*arg2
= 0 ;
30007 PyObject
*result
= 0 ;
30010 bool temp2
= false ;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 char * kwnames
[] = {
30014 (char *) "self",(char *) "text", NULL
30017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30019 if (!SWIG_IsOK(res1
)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30022 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30024 arg2
= wxString_in_helper(obj1
);
30025 if (arg2
== NULL
) SWIG_fail
;
30029 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= result
;
30047 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30050 wxString
*arg2
= 0 ;
30051 wxArrayDouble result
;
30054 bool temp2
= false ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "self",(char *) "text", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30063 if (!SWIG_IsOK(res1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30066 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30068 arg2
= wxString_in_helper(obj1
);
30069 if (arg2
== NULL
) SWIG_fail
;
30073 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= wxArrayDouble2PyList_helper(result
);
30093 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
= 0;
30095 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30096 wxBitmap
*arg2
= 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 PyObject
* obj2
= 0 ;
30116 PyObject
* obj3
= 0 ;
30117 PyObject
* obj4
= 0 ;
30118 PyObject
* obj5
= 0 ;
30119 char * kwnames
[] = {
30120 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30125 if (!SWIG_IsOK(res1
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30128 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30130 if (!SWIG_IsOK(res2
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30136 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30137 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30138 if (!SWIG_IsOK(ecode3
)) {
30139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30141 arg3
= static_cast< wxDouble
>(val3
);
30142 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30143 if (!SWIG_IsOK(ecode4
)) {
30144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30146 arg4
= static_cast< wxDouble
>(val4
);
30147 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30148 if (!SWIG_IsOK(ecode5
)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30151 arg5
= static_cast< wxDouble
>(val5
);
30152 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30153 if (!SWIG_IsOK(ecode6
)) {
30154 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30156 arg6
= static_cast< wxDouble
>(val6
);
30158 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_Py_Void();
30168 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
= 0;
30170 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30188 PyObject
* obj0
= 0 ;
30189 PyObject
* obj1
= 0 ;
30190 PyObject
* obj2
= 0 ;
30191 PyObject
* obj3
= 0 ;
30192 PyObject
* obj4
= 0 ;
30193 PyObject
* obj5
= 0 ;
30194 char * kwnames
[] = {
30195 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30200 if (!SWIG_IsOK(res1
)) {
30201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30203 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30205 if (!SWIG_IsOK(res2
)) {
30206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30211 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30212 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30213 if (!SWIG_IsOK(ecode3
)) {
30214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30216 arg3
= static_cast< wxDouble
>(val3
);
30217 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30218 if (!SWIG_IsOK(ecode4
)) {
30219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30221 arg4
= static_cast< wxDouble
>(val4
);
30222 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30223 if (!SWIG_IsOK(ecode5
)) {
30224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30226 arg5
= static_cast< wxDouble
>(val5
);
30227 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30228 if (!SWIG_IsOK(ecode6
)) {
30229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30231 arg6
= static_cast< wxDouble
>(val6
);
30233 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= SWIG_Py_Void();
30243 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30244 PyObject
*resultobj
= 0;
30245 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 PyObject
* obj2
= 0 ;
30263 PyObject
* obj3
= 0 ;
30264 PyObject
* obj4
= 0 ;
30265 char * kwnames
[] = {
30266 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30271 if (!SWIG_IsOK(res1
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30274 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30275 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30276 if (!SWIG_IsOK(ecode2
)) {
30277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30279 arg2
= static_cast< wxDouble
>(val2
);
30280 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30281 if (!SWIG_IsOK(ecode3
)) {
30282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30284 arg3
= static_cast< wxDouble
>(val3
);
30285 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30286 if (!SWIG_IsOK(ecode4
)) {
30287 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30289 arg4
= static_cast< wxDouble
>(val4
);
30290 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30291 if (!SWIG_IsOK(ecode5
)) {
30292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30294 arg5
= static_cast< wxDouble
>(val5
);
30296 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= SWIG_Py_Void();
30306 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
= 0;
30308 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30310 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 char * kwnames
[] = {
30316 (char *) "self",(char *) "points", NULL
30319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30321 if (!SWIG_IsOK(res1
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30324 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30326 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30327 if (arg3
== NULL
) SWIG_fail
;
30330 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_Py_Void();
30335 if (arg3
) delete [] arg3
;
30340 if (arg3
) delete [] arg3
;
30346 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
= 0;
30348 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30349 PyObject
*arg2
= (PyObject
*) 0 ;
30350 PyObject
*arg3
= (PyObject
*) 0 ;
30353 PyObject
* obj0
= 0 ;
30354 PyObject
* obj1
= 0 ;
30355 PyObject
* obj2
= 0 ;
30356 char * kwnames
[] = {
30357 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30362 if (!SWIG_IsOK(res1
)) {
30363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30365 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30369 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_Py_Void();
30379 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
= 0;
30381 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30383 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30384 int arg4
= (int) wxODDEVEN_RULE
;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 PyObject
* obj2
= 0 ;
30392 char * kwnames
[] = {
30393 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30398 if (!SWIG_IsOK(res1
)) {
30399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30401 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30403 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30404 if (arg3
== NULL
) SWIG_fail
;
30407 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30408 if (!SWIG_IsOK(ecode4
)) {
30409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30411 arg4
= static_cast< int >(val4
);
30414 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_Py_Void();
30419 if (arg3
) delete [] arg3
;
30424 if (arg3
) delete [] arg3
;
30430 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
= 0;
30432 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 PyObject
* obj2
= 0 ;
30450 PyObject
* obj3
= 0 ;
30451 PyObject
* obj4
= 0 ;
30452 char * kwnames
[] = {
30453 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30458 if (!SWIG_IsOK(res1
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30461 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30462 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30463 if (!SWIG_IsOK(ecode2
)) {
30464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30466 arg2
= static_cast< wxDouble
>(val2
);
30467 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30468 if (!SWIG_IsOK(ecode3
)) {
30469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30471 arg3
= static_cast< wxDouble
>(val3
);
30472 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30473 if (!SWIG_IsOK(ecode4
)) {
30474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30476 arg4
= static_cast< wxDouble
>(val4
);
30477 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30478 if (!SWIG_IsOK(ecode5
)) {
30479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30481 arg5
= static_cast< wxDouble
>(val5
);
30483 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= SWIG_Py_Void();
30493 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
= 0;
30495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30510 PyObject
* obj0
= 0 ;
30511 PyObject
* obj1
= 0 ;
30512 PyObject
* obj2
= 0 ;
30513 PyObject
* obj3
= 0 ;
30514 PyObject
* obj4
= 0 ;
30515 char * kwnames
[] = {
30516 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30521 if (!SWIG_IsOK(res1
)) {
30522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30524 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30525 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30526 if (!SWIG_IsOK(ecode2
)) {
30527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30529 arg2
= static_cast< wxDouble
>(val2
);
30530 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30531 if (!SWIG_IsOK(ecode3
)) {
30532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30534 arg3
= static_cast< wxDouble
>(val3
);
30535 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30536 if (!SWIG_IsOK(ecode4
)) {
30537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30539 arg4
= static_cast< wxDouble
>(val4
);
30540 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30541 if (!SWIG_IsOK(ecode5
)) {
30542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30544 arg5
= static_cast< wxDouble
>(val5
);
30546 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= SWIG_Py_Void();
30556 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
= 0;
30558 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30576 PyObject
* obj0
= 0 ;
30577 PyObject
* obj1
= 0 ;
30578 PyObject
* obj2
= 0 ;
30579 PyObject
* obj3
= 0 ;
30580 PyObject
* obj4
= 0 ;
30581 PyObject
* obj5
= 0 ;
30582 char * kwnames
[] = {
30583 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30588 if (!SWIG_IsOK(res1
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30591 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30592 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30593 if (!SWIG_IsOK(ecode2
)) {
30594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30596 arg2
= static_cast< wxDouble
>(val2
);
30597 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30598 if (!SWIG_IsOK(ecode3
)) {
30599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30601 arg3
= static_cast< wxDouble
>(val3
);
30602 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30603 if (!SWIG_IsOK(ecode4
)) {
30604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30606 arg4
= static_cast< wxDouble
>(val4
);
30607 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30608 if (!SWIG_IsOK(ecode5
)) {
30609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30611 arg5
= static_cast< wxDouble
>(val5
);
30612 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30613 if (!SWIG_IsOK(ecode6
)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30616 arg6
= static_cast< wxDouble
>(val6
);
30618 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 resultobj
= SWIG_Py_Void();
30628 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30629 PyObject
*resultobj
= 0;
30630 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30634 PyObject
*swig_obj
[1] ;
30636 if (!args
) SWIG_fail
;
30637 swig_obj
[0] = args
;
30638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30639 if (!SWIG_IsOK(res1
)) {
30640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30642 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30644 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30645 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30656 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30659 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30660 return SWIG_Py_Void();
30663 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30664 PyObject
*resultobj
= 0;
30665 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30668 PyObject
*swig_obj
[1] ;
30670 if (!args
) SWIG_fail
;
30671 swig_obj
[0] = args
;
30672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30673 if (!SWIG_IsOK(res1
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30676 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= SWIG_Py_Void();
30689 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30690 PyObject
*resultobj
= 0;
30691 wxGraphicsRenderer
*result
= 0 ;
30693 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30695 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30705 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30706 PyObject
*resultobj
= 0;
30707 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30708 wxWindowDC
*arg2
= 0 ;
30709 wxGraphicsContext
*result
= 0 ;
30715 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30717 if (!SWIG_IsOK(res1
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30720 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30721 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30722 if (!SWIG_IsOK(res2
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30728 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30730 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30740 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30741 PyObject
*resultobj
= 0;
30742 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30743 wxWindow
*arg2
= (wxWindow
*) 0 ;
30744 wxGraphicsContext
*result
= 0 ;
30750 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30752 if (!SWIG_IsOK(res1
)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30755 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30756 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30757 if (!SWIG_IsOK(res2
)) {
30758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30760 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30762 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30772 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30776 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30781 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30782 _v
= SWIG_CheckState(res
);
30784 if (!_v
) goto check_1
;
30785 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30790 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30794 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30799 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30800 PyObject
*resultobj
= 0;
30801 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30802 wxGraphicsContext
*result
= 0 ;
30805 PyObject
*swig_obj
[1] ;
30807 if (!args
) SWIG_fail
;
30808 swig_obj
[0] = args
;
30809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30810 if (!SWIG_IsOK(res1
)) {
30811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30813 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30815 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30816 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30825 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30826 PyObject
*resultobj
= 0;
30827 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30828 void *arg2
= (void *) 0 ;
30829 wxGraphicsContext
*result
= 0 ;
30833 PyObject
* obj0
= 0 ;
30834 PyObject
* obj1
= 0 ;
30835 char * kwnames
[] = {
30836 (char *) "self",(char *) "context", NULL
30839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30841 if (!SWIG_IsOK(res1
)) {
30842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30844 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30845 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30846 if (!SWIG_IsOK(res2
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30850 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30860 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
= 0;
30862 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30863 void *arg2
= (void *) 0 ;
30864 wxGraphicsContext
*result
= 0 ;
30868 PyObject
* obj0
= 0 ;
30869 PyObject
* obj1
= 0 ;
30870 char * kwnames
[] = {
30871 (char *) "self",(char *) "window", NULL
30874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30876 if (!SWIG_IsOK(res1
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30879 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30880 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30881 if (!SWIG_IsOK(res2
)) {
30882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30885 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30895 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30896 PyObject
*resultobj
= 0;
30897 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30898 wxGraphicsPath result
;
30901 PyObject
*swig_obj
[1] ;
30903 if (!args
) SWIG_fail
;
30904 swig_obj
[0] = args
;
30905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30906 if (!SWIG_IsOK(res1
)) {
30907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30909 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30911 result
= (arg1
)->CreatePath();
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30921 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
= 0;
30923 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30924 wxDouble arg2
= (wxDouble
) 1.0 ;
30925 wxDouble arg3
= (wxDouble
) 0.0 ;
30926 wxDouble arg4
= (wxDouble
) 0.0 ;
30927 wxDouble arg5
= (wxDouble
) 1.0 ;
30928 wxDouble arg6
= (wxDouble
) 0.0 ;
30929 wxDouble arg7
= (wxDouble
) 0.0 ;
30930 wxGraphicsMatrix result
;
30945 PyObject
* obj0
= 0 ;
30946 PyObject
* obj1
= 0 ;
30947 PyObject
* obj2
= 0 ;
30948 PyObject
* obj3
= 0 ;
30949 PyObject
* obj4
= 0 ;
30950 PyObject
* obj5
= 0 ;
30951 PyObject
* obj6
= 0 ;
30952 char * kwnames
[] = {
30953 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30961 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30963 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30964 if (!SWIG_IsOK(ecode2
)) {
30965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30967 arg2
= static_cast< wxDouble
>(val2
);
30970 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30971 if (!SWIG_IsOK(ecode3
)) {
30972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30974 arg3
= static_cast< wxDouble
>(val3
);
30977 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30978 if (!SWIG_IsOK(ecode4
)) {
30979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30981 arg4
= static_cast< wxDouble
>(val4
);
30984 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30985 if (!SWIG_IsOK(ecode5
)) {
30986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30988 arg5
= static_cast< wxDouble
>(val5
);
30991 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30992 if (!SWIG_IsOK(ecode6
)) {
30993 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30995 arg6
= static_cast< wxDouble
>(val6
);
30998 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30999 if (!SWIG_IsOK(ecode7
)) {
31000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31002 arg7
= static_cast< wxDouble
>(val7
);
31005 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31015 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
= 0;
31017 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31019 wxGraphicsPen result
;
31024 PyObject
* obj0
= 0 ;
31025 PyObject
* obj1
= 0 ;
31026 char * kwnames
[] = {
31027 (char *) "self",(char *) "pen", NULL
31030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31032 if (!SWIG_IsOK(res1
)) {
31033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31035 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31037 if (!SWIG_IsOK(res2
)) {
31038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31043 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31045 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31055 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
= 0;
31057 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31058 wxBrush
*arg2
= 0 ;
31059 wxGraphicsBrush result
;
31064 PyObject
* obj0
= 0 ;
31065 PyObject
* obj1
= 0 ;
31066 char * kwnames
[] = {
31067 (char *) "self",(char *) "brush", NULL
31070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31072 if (!SWIG_IsOK(res1
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31075 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31077 if (!SWIG_IsOK(res2
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31083 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31085 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31088 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31095 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31096 PyObject
*resultobj
= 0;
31097 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31102 wxColour
*arg6
= 0 ;
31103 wxColour
*arg7
= 0 ;
31104 wxGraphicsBrush result
;
31117 PyObject
* obj0
= 0 ;
31118 PyObject
* obj1
= 0 ;
31119 PyObject
* obj2
= 0 ;
31120 PyObject
* obj3
= 0 ;
31121 PyObject
* obj4
= 0 ;
31122 PyObject
* obj5
= 0 ;
31123 PyObject
* obj6
= 0 ;
31124 char * kwnames
[] = {
31125 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31130 if (!SWIG_IsOK(res1
)) {
31131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31133 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31134 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31135 if (!SWIG_IsOK(ecode2
)) {
31136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31138 arg2
= static_cast< wxDouble
>(val2
);
31139 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31140 if (!SWIG_IsOK(ecode3
)) {
31141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31143 arg3
= static_cast< wxDouble
>(val3
);
31144 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31145 if (!SWIG_IsOK(ecode4
)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31148 arg4
= static_cast< wxDouble
>(val4
);
31149 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31150 if (!SWIG_IsOK(ecode5
)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31153 arg5
= static_cast< wxDouble
>(val5
);
31156 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31160 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31163 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31173 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
= 0;
31175 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31181 wxColour
*arg7
= 0 ;
31182 wxColour
*arg8
= 0 ;
31183 wxGraphicsBrush result
;
31198 PyObject
* obj0
= 0 ;
31199 PyObject
* obj1
= 0 ;
31200 PyObject
* obj2
= 0 ;
31201 PyObject
* obj3
= 0 ;
31202 PyObject
* obj4
= 0 ;
31203 PyObject
* obj5
= 0 ;
31204 PyObject
* obj6
= 0 ;
31205 PyObject
* obj7
= 0 ;
31206 char * kwnames
[] = {
31207 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31212 if (!SWIG_IsOK(res1
)) {
31213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31215 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31216 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31217 if (!SWIG_IsOK(ecode2
)) {
31218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31220 arg2
= static_cast< wxDouble
>(val2
);
31221 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31222 if (!SWIG_IsOK(ecode3
)) {
31223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31225 arg3
= static_cast< wxDouble
>(val3
);
31226 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31227 if (!SWIG_IsOK(ecode4
)) {
31228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31230 arg4
= static_cast< wxDouble
>(val4
);
31231 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31232 if (!SWIG_IsOK(ecode5
)) {
31233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31235 arg5
= static_cast< wxDouble
>(val5
);
31236 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31237 if (!SWIG_IsOK(ecode6
)) {
31238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31240 arg6
= static_cast< wxDouble
>(val6
);
31243 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31247 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31250 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31253 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31260 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
= 0;
31262 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31264 wxColour
const &arg3_defvalue
= *wxBLACK
;
31265 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31266 wxGraphicsFont result
;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 PyObject
* obj2
= 0 ;
31275 char * kwnames
[] = {
31276 (char *) "self",(char *) "font",(char *) "col", NULL
31279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31281 if (!SWIG_IsOK(res1
)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31284 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31286 if (!SWIG_IsOK(res2
)) {
31287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31292 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31296 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31300 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31310 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31313 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31314 return SWIG_Py_Void();
31317 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31318 PyObject
*resultobj
= 0;
31319 wxWindowDC
*arg1
= 0 ;
31320 wxGCDC
*result
= 0 ;
31324 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31326 if (!SWIG_IsOK(res1
)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31332 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31334 if (!wxPyCheckForApp()) SWIG_fail
;
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31347 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31348 PyObject
*resultobj
= 0;
31349 wxWindow
*arg1
= (wxWindow
*) 0 ;
31350 wxGCDC
*result
= 0 ;
31354 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31356 if (!SWIG_IsOK(res1
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31361 if (!wxPyCheckForApp()) SWIG_fail
;
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= (wxGCDC
*)new wxGCDC(arg1
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31374 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31378 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31383 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31384 _v
= SWIG_CheckState(res
);
31386 if (!_v
) goto check_1
;
31387 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31392 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31396 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31401 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31402 PyObject
*resultobj
= 0;
31403 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31406 PyObject
*swig_obj
[1] ;
31408 if (!args
) SWIG_fail
;
31409 swig_obj
[0] = args
;
31410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31411 if (!SWIG_IsOK(res1
)) {
31412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31414 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= SWIG_Py_Void();
31427 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31428 PyObject
*resultobj
= 0;
31429 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31430 wxGraphicsContext
*result
= 0 ;
31433 PyObject
*swig_obj
[1] ;
31435 if (!args
) SWIG_fail
;
31436 swig_obj
[0] = args
;
31437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31438 if (!SWIG_IsOK(res1
)) {
31439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31441 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31443 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31453 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31454 PyObject
*resultobj
= 0;
31455 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31456 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 char * kwnames
[] = {
31464 (char *) "self",(char *) "ctx", NULL
31467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31469 if (!SWIG_IsOK(res1
)) {
31470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31472 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31474 if (!SWIG_IsOK(res2
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31477 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31479 (arg1
)->SetGraphicsContext(arg2
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= SWIG_Py_Void();
31489 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31492 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31493 return SWIG_Py_Void();
31496 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31497 return SWIG_Python_InitShadowInstance(args
);
31500 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31501 PyObject
*resultobj
= 0;
31502 wxOverlay
*result
= 0 ;
31504 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 result
= (wxOverlay
*)new wxOverlay();
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31518 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31519 PyObject
*resultobj
= 0;
31520 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31523 PyObject
*swig_obj
[1] ;
31525 if (!args
) SWIG_fail
;
31526 swig_obj
[0] = args
;
31527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31528 if (!SWIG_IsOK(res1
)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31531 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31539 resultobj
= SWIG_Py_Void();
31546 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31547 PyObject
*resultobj
= 0;
31548 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31551 PyObject
*swig_obj
[1] ;
31553 if (!args
) SWIG_fail
;
31554 swig_obj
[0] = args
;
31555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31556 if (!SWIG_IsOK(res1
)) {
31557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31559 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= SWIG_Py_Void();
31573 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31576 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31577 return SWIG_Py_Void();
31580 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31581 return SWIG_Python_InitShadowInstance(args
);
31584 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31585 PyObject
*resultobj
= 0;
31586 wxOverlay
*arg1
= 0 ;
31587 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31592 wxDCOverlay
*result
= 0 ;
31606 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31608 if (!SWIG_IsOK(res1
)) {
31609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31614 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31615 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31616 if (!SWIG_IsOK(res2
)) {
31617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31619 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31620 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31621 if (!SWIG_IsOK(ecode3
)) {
31622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31624 arg3
= static_cast< int >(val3
);
31625 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31626 if (!SWIG_IsOK(ecode4
)) {
31627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31629 arg4
= static_cast< int >(val4
);
31630 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31631 if (!SWIG_IsOK(ecode5
)) {
31632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31634 arg5
= static_cast< int >(val5
);
31635 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31636 if (!SWIG_IsOK(ecode6
)) {
31637 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31639 arg6
= static_cast< int >(val6
);
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31643 wxPyEndAllowThreads(__tstate
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31653 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31654 PyObject
*resultobj
= 0;
31655 wxOverlay
*arg1
= 0 ;
31656 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31657 wxDCOverlay
*result
= 0 ;
31663 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31665 if (!SWIG_IsOK(res1
)) {
31666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31671 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31672 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31673 if (!SWIG_IsOK(res2
)) {
31674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31676 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31679 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31690 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31694 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31697 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31700 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31704 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31709 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31710 PyObject
*resultobj
= 0;
31711 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31714 PyObject
*swig_obj
[1] ;
31716 if (!args
) SWIG_fail
;
31717 swig_obj
[0] = args
;
31718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31719 if (!SWIG_IsOK(res1
)) {
31720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31722 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= SWIG_Py_Void();
31737 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31738 PyObject
*resultobj
= 0;
31739 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31742 PyObject
*swig_obj
[1] ;
31744 if (!args
) SWIG_fail
;
31745 swig_obj
[0] = args
;
31746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31747 if (!SWIG_IsOK(res1
)) {
31748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31750 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= SWIG_Py_Void();
31764 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31767 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31768 return SWIG_Py_Void();
31771 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31772 return SWIG_Python_InitShadowInstance(args
);
31775 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31776 PyObject
*resultobj
= 0;
31779 int arg3
= (int) true ;
31780 int arg4
= (int) 1 ;
31781 wxImageList
*result
= 0 ;
31790 PyObject
* obj0
= 0 ;
31791 PyObject
* obj1
= 0 ;
31792 PyObject
* obj2
= 0 ;
31793 PyObject
* obj3
= 0 ;
31794 char * kwnames
[] = {
31795 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31800 if (!SWIG_IsOK(ecode1
)) {
31801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31803 arg1
= static_cast< int >(val1
);
31804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31805 if (!SWIG_IsOK(ecode2
)) {
31806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31808 arg2
= static_cast< int >(val2
);
31810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31811 if (!SWIG_IsOK(ecode3
)) {
31812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31814 arg3
= static_cast< int >(val3
);
31817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31818 if (!SWIG_IsOK(ecode4
)) {
31819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31821 arg4
= static_cast< int >(val4
);
31824 if (!wxPyCheckForApp()) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31827 wxPyEndAllowThreads(__tstate
);
31828 if (PyErr_Occurred()) SWIG_fail
;
31830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31837 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31838 PyObject
*resultobj
= 0;
31839 wxImageList
*arg1
= (wxImageList
*) 0 ;
31842 PyObject
*swig_obj
[1] ;
31844 if (!args
) SWIG_fail
;
31845 swig_obj
[0] = args
;
31846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31847 if (!SWIG_IsOK(res1
)) {
31848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31850 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_Py_Void();
31865 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31866 PyObject
*resultobj
= 0;
31867 wxImageList
*arg1
= (wxImageList
*) 0 ;
31868 wxBitmap
*arg2
= 0 ;
31869 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31870 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31878 PyObject
* obj0
= 0 ;
31879 PyObject
* obj1
= 0 ;
31880 PyObject
* obj2
= 0 ;
31881 char * kwnames
[] = {
31882 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31887 if (!SWIG_IsOK(res1
)) {
31888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31890 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31892 if (!SWIG_IsOK(res2
)) {
31893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31898 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31900 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31901 if (!SWIG_IsOK(res3
)) {
31902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31907 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31915 resultobj
= SWIG_From_int(static_cast< int >(result
));
31922 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31923 PyObject
*resultobj
= 0;
31924 wxImageList
*arg1
= (wxImageList
*) 0 ;
31925 wxBitmap
*arg2
= 0 ;
31926 wxColour
*arg3
= 0 ;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 PyObject
* obj2
= 0 ;
31936 char * kwnames
[] = {
31937 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31942 if (!SWIG_IsOK(res1
)) {
31943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31945 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31947 if (!SWIG_IsOK(res2
)) {
31948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31953 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31956 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31961 wxPyEndAllowThreads(__tstate
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= SWIG_From_int(static_cast< int >(result
));
31971 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
= 0;
31973 wxImageList
*arg1
= (wxImageList
*) 0 ;
31980 PyObject
* obj0
= 0 ;
31981 PyObject
* obj1
= 0 ;
31982 char * kwnames
[] = {
31983 (char *) "self",(char *) "icon", NULL
31986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31988 if (!SWIG_IsOK(res1
)) {
31989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31991 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31993 if (!SWIG_IsOK(res2
)) {
31994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31999 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32006 resultobj
= SWIG_From_int(static_cast< int >(result
));
32013 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
= 0;
32015 wxImageList
*arg1
= (wxImageList
*) 0 ;
32017 SwigValueWrapper
<wxBitmap
> result
;
32022 PyObject
* obj0
= 0 ;
32023 PyObject
* obj1
= 0 ;
32024 char * kwnames
[] = {
32025 (char *) "self",(char *) "index", NULL
32028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32030 if (!SWIG_IsOK(res1
)) {
32031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32033 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32035 if (!SWIG_IsOK(ecode2
)) {
32036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32038 arg2
= static_cast< int >(val2
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32052 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
= 0;
32054 wxImageList
*arg1
= (wxImageList
*) 0 ;
32061 PyObject
* obj0
= 0 ;
32062 PyObject
* obj1
= 0 ;
32063 char * kwnames
[] = {
32064 (char *) "self",(char *) "index", NULL
32067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32069 if (!SWIG_IsOK(res1
)) {
32070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32072 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32074 if (!SWIG_IsOK(ecode2
)) {
32075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32077 arg2
= static_cast< int >(val2
);
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32091 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
= 0;
32093 wxImageList
*arg1
= (wxImageList
*) 0 ;
32095 wxBitmap
*arg3
= 0 ;
32096 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32097 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 PyObject
* obj2
= 0 ;
32110 PyObject
* obj3
= 0 ;
32111 char * kwnames
[] = {
32112 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32117 if (!SWIG_IsOK(res1
)) {
32118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32120 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32122 if (!SWIG_IsOK(ecode2
)) {
32123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32125 arg2
= static_cast< int >(val2
);
32126 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32127 if (!SWIG_IsOK(res3
)) {
32128 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32133 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32135 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32136 if (!SWIG_IsOK(res4
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32142 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32159 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32160 PyObject
*resultobj
= 0;
32161 wxImageList
*arg1
= (wxImageList
*) 0 ;
32166 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32167 bool arg7
= (bool) (bool)false ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 PyObject
* obj2
= 0 ;
32186 PyObject
* obj3
= 0 ;
32187 PyObject
* obj4
= 0 ;
32188 PyObject
* obj5
= 0 ;
32189 PyObject
* obj6
= 0 ;
32190 char * kwnames
[] = {
32191 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32196 if (!SWIG_IsOK(res1
)) {
32197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32199 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32201 if (!SWIG_IsOK(ecode2
)) {
32202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32204 arg2
= static_cast< int >(val2
);
32205 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32206 if (!SWIG_IsOK(res3
)) {
32207 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32212 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32214 if (!SWIG_IsOK(ecode4
)) {
32215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32217 arg4
= static_cast< int >(val4
);
32218 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32219 if (!SWIG_IsOK(ecode5
)) {
32220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32222 arg5
= static_cast< int >(val5
);
32224 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32225 if (!SWIG_IsOK(ecode6
)) {
32226 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32228 arg6
= static_cast< int >(val6
);
32231 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32232 if (!SWIG_IsOK(ecode7
)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32235 arg7
= static_cast< bool >(val7
);
32238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32239 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32240 wxPyEndAllowThreads(__tstate
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32252 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32253 PyObject
*resultobj
= 0;
32254 wxImageList
*arg1
= (wxImageList
*) 0 ;
32258 PyObject
*swig_obj
[1] ;
32260 if (!args
) SWIG_fail
;
32261 swig_obj
[0] = args
;
32262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32263 if (!SWIG_IsOK(res1
)) {
32264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32266 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= (int)(arg1
)->GetImageCount();
32270 wxPyEndAllowThreads(__tstate
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= SWIG_From_int(static_cast< int >(result
));
32280 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
= 0;
32282 wxImageList
*arg1
= (wxImageList
*) 0 ;
32289 PyObject
* obj0
= 0 ;
32290 PyObject
* obj1
= 0 ;
32291 char * kwnames
[] = {
32292 (char *) "self",(char *) "index", NULL
32295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32297 if (!SWIG_IsOK(res1
)) {
32298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32300 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32302 if (!SWIG_IsOK(ecode2
)) {
32303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32305 arg2
= static_cast< int >(val2
);
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32308 result
= (bool)(arg1
)->Remove(arg2
);
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32321 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32322 PyObject
*resultobj
= 0;
32323 wxImageList
*arg1
= (wxImageList
*) 0 ;
32327 PyObject
*swig_obj
[1] ;
32329 if (!args
) SWIG_fail
;
32330 swig_obj
[0] = args
;
32331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32332 if (!SWIG_IsOK(res1
)) {
32333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32335 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (bool)(arg1
)->RemoveAll();
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32351 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32352 PyObject
*resultobj
= 0;
32353 wxImageList
*arg1
= (wxImageList
*) 0 ;
32362 int res3
= SWIG_TMPOBJ
;
32364 int res4
= SWIG_TMPOBJ
;
32365 PyObject
* obj0
= 0 ;
32366 PyObject
* obj1
= 0 ;
32367 char * kwnames
[] = {
32368 (char *) "self",(char *) "index", NULL
32373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32375 if (!SWIG_IsOK(res1
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32378 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32380 if (!SWIG_IsOK(ecode2
)) {
32381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32383 arg2
= static_cast< int >(val2
);
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32390 resultobj
= SWIG_Py_Void();
32391 if (SWIG_IsTmpObj(res3
)) {
32392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32394 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32397 if (SWIG_IsTmpObj(res4
)) {
32398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32400 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32409 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32412 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32413 return SWIG_Py_Void();
32416 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32417 return SWIG_Python_InitShadowInstance(args
);
32420 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32421 PyObject
*resultobj
= 0;
32422 wxStockGDI
*result
= 0 ;
32424 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (wxStockGDI
*)new wxStockGDI();
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32438 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32439 PyObject
*resultobj
= 0;
32440 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32443 PyObject
*swig_obj
[1] ;
32445 if (!args
) SWIG_fail
;
32446 swig_obj
[0] = args
;
32447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32448 if (!SWIG_IsOK(res1
)) {
32449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32451 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 resultobj
= SWIG_Py_Void();
32466 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32467 PyObject
*resultobj
= 0;
32469 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 wxStockGDI::DeleteAll();
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= SWIG_Py_Void();
32483 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32484 PyObject
*resultobj
= 0;
32485 wxStockGDI
*result
= 0 ;
32487 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32492 result
= (wxStockGDI
*) &_result_ref
;
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32504 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32505 PyObject
*resultobj
= 0;
32506 wxStockGDI::Item arg1
;
32507 wxBrush
*result
= 0 ;
32510 PyObject
* obj0
= 0 ;
32511 char * kwnames
[] = {
32512 (char *) "item", NULL
32515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32517 if (!SWIG_IsOK(ecode1
)) {
32518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32520 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32534 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
= 0;
32536 wxStockGDI::Item arg1
;
32537 wxColour
*result
= 0 ;
32540 PyObject
* obj0
= 0 ;
32541 char * kwnames
[] = {
32542 (char *) "item", NULL
32545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32547 if (!SWIG_IsOK(ecode1
)) {
32548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32550 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32553 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32554 wxPyEndAllowThreads(__tstate
);
32555 if (PyErr_Occurred()) SWIG_fail
;
32557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32564 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32565 PyObject
*resultobj
= 0;
32566 wxStockGDI::Item arg1
;
32567 wxCursor
*result
= 0 ;
32570 PyObject
* obj0
= 0 ;
32571 char * kwnames
[] = {
32572 (char *) "item", NULL
32575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32577 if (!SWIG_IsOK(ecode1
)) {
32578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32580 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32594 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
= 0;
32596 wxStockGDI::Item arg1
;
32597 wxPen
*result
= 0 ;
32600 PyObject
* obj0
= 0 ;
32601 char * kwnames
[] = {
32602 (char *) "item", NULL
32605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32606 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32607 if (!SWIG_IsOK(ecode1
)) {
32608 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32610 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32624 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32625 PyObject
*resultobj
= 0;
32626 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32627 wxStockGDI::Item arg2
;
32628 wxFont
*result
= 0 ;
32633 PyObject
* obj0
= 0 ;
32634 PyObject
* obj1
= 0 ;
32635 char * kwnames
[] = {
32636 (char *) "self",(char *) "item", NULL
32639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32641 if (!SWIG_IsOK(res1
)) {
32642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32644 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32646 if (!SWIG_IsOK(ecode2
)) {
32647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32649 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32663 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32666 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32667 return SWIG_Py_Void();
32670 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32671 return SWIG_Python_InitShadowInstance(args
);
32674 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32675 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32680 SWIGINTERN PyObject
*NullBitmap_get(void) {
32681 PyObject
*pyobj
= 0;
32683 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32688 SWIGINTERN
int NullIcon_set(PyObject
*) {
32689 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32694 SWIGINTERN PyObject
*NullIcon_get(void) {
32695 PyObject
*pyobj
= 0;
32697 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32702 SWIGINTERN
int NullCursor_set(PyObject
*) {
32703 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32708 SWIGINTERN PyObject
*NullCursor_get(void) {
32709 PyObject
*pyobj
= 0;
32711 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32716 SWIGINTERN
int NullPen_set(PyObject
*) {
32717 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32722 SWIGINTERN PyObject
*NullPen_get(void) {
32723 PyObject
*pyobj
= 0;
32725 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32730 SWIGINTERN
int NullBrush_set(PyObject
*) {
32731 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32736 SWIGINTERN PyObject
*NullBrush_get(void) {
32737 PyObject
*pyobj
= 0;
32739 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32744 SWIGINTERN
int NullPalette_set(PyObject
*) {
32745 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32750 SWIGINTERN PyObject
*NullPalette_get(void) {
32751 PyObject
*pyobj
= 0;
32753 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32758 SWIGINTERN
int NullFont_set(PyObject
*) {
32759 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32764 SWIGINTERN PyObject
*NullFont_get(void) {
32765 PyObject
*pyobj
= 0;
32767 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32772 SWIGINTERN
int NullColour_set(PyObject
*) {
32773 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32778 SWIGINTERN PyObject
*NullColour_get(void) {
32779 PyObject
*pyobj
= 0;
32781 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32786 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32787 PyObject
*resultobj
= 0;
32788 wxGDIObjListBase
*result
= 0 ;
32790 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32794 wxPyEndAllowThreads(__tstate
);
32795 if (PyErr_Occurred()) SWIG_fail
;
32797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32804 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32805 PyObject
*resultobj
= 0;
32806 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32809 PyObject
*swig_obj
[1] ;
32811 if (!args
) SWIG_fail
;
32812 swig_obj
[0] = args
;
32813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32817 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32822 wxPyEndAllowThreads(__tstate
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32825 resultobj
= SWIG_Py_Void();
32832 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32835 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32836 return SWIG_Py_Void();
32839 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32840 return SWIG_Python_InitShadowInstance(args
);
32843 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
= 0;
32845 wxPenList
*arg1
= (wxPenList
*) 0 ;
32846 wxColour
*arg2
= 0 ;
32849 wxPen
*result
= 0 ;
32857 PyObject
* obj0
= 0 ;
32858 PyObject
* obj1
= 0 ;
32859 PyObject
* obj2
= 0 ;
32860 PyObject
* obj3
= 0 ;
32861 char * kwnames
[] = {
32862 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32867 if (!SWIG_IsOK(res1
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32870 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32876 if (!SWIG_IsOK(ecode3
)) {
32877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32879 arg3
= static_cast< int >(val3
);
32880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32881 if (!SWIG_IsOK(ecode4
)) {
32882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32884 arg4
= static_cast< int >(val4
);
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32898 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32899 PyObject
*resultobj
= 0;
32900 wxPenList
*arg1
= (wxPenList
*) 0 ;
32901 wxPen
*arg2
= (wxPen
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 char * kwnames
[] = {
32909 (char *) "self",(char *) "pen", NULL
32912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32914 if (!SWIG_IsOK(res1
)) {
32915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32917 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32919 if (!SWIG_IsOK(res2
)) {
32920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32922 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 (arg1
)->AddPen(arg2
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32929 resultobj
= SWIG_Py_Void();
32936 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32937 PyObject
*resultobj
= 0;
32938 wxPenList
*arg1
= (wxPenList
*) 0 ;
32939 wxPen
*arg2
= (wxPen
*) 0 ;
32944 PyObject
* obj0
= 0 ;
32945 PyObject
* obj1
= 0 ;
32946 char * kwnames
[] = {
32947 (char *) "self",(char *) "pen", NULL
32950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32952 if (!SWIG_IsOK(res1
)) {
32953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32955 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32957 if (!SWIG_IsOK(res2
)) {
32958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32960 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32963 (arg1
)->RemovePen(arg2
);
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32967 resultobj
= SWIG_Py_Void();
32974 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32977 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32978 return SWIG_Py_Void();
32981 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
= 0;
32983 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32984 wxColour
*arg2
= 0 ;
32985 int arg3
= (int) wxSOLID
;
32986 wxBrush
*result
= 0 ;
32992 PyObject
* obj0
= 0 ;
32993 PyObject
* obj1
= 0 ;
32994 PyObject
* obj2
= 0 ;
32995 char * kwnames
[] = {
32996 (char *) "self",(char *) "colour",(char *) "style", NULL
32999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33001 if (!SWIG_IsOK(res1
)) {
33002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33004 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33007 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33011 if (!SWIG_IsOK(ecode3
)) {
33012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33014 arg3
= static_cast< int >(val3
);
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33029 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
= 0;
33031 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33032 wxBrush
*arg2
= (wxBrush
*) 0 ;
33037 PyObject
* obj0
= 0 ;
33038 PyObject
* obj1
= 0 ;
33039 char * kwnames
[] = {
33040 (char *) "self",(char *) "brush", NULL
33043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33045 if (!SWIG_IsOK(res1
)) {
33046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33048 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33050 if (!SWIG_IsOK(res2
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33053 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 (arg1
)->AddBrush(arg2
);
33057 wxPyEndAllowThreads(__tstate
);
33058 if (PyErr_Occurred()) SWIG_fail
;
33060 resultobj
= SWIG_Py_Void();
33067 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
= 0;
33069 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33070 wxBrush
*arg2
= (wxBrush
*) 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "brush", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33086 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33088 if (!SWIG_IsOK(res2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33091 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 (arg1
)->RemoveBrush(arg2
);
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_Py_Void();
33105 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33108 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33109 return SWIG_Py_Void();
33112 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33113 PyObject
*resultobj
= 0;
33114 wxFontList
*arg1
= (wxFontList
*) 0 ;
33119 bool arg6
= (bool) false ;
33120 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33122 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33123 wxFont
*result
= 0 ;
33136 bool temp7
= false ;
33139 PyObject
* obj0
= 0 ;
33140 PyObject
* obj1
= 0 ;
33141 PyObject
* obj2
= 0 ;
33142 PyObject
* obj3
= 0 ;
33143 PyObject
* obj4
= 0 ;
33144 PyObject
* obj5
= 0 ;
33145 PyObject
* obj6
= 0 ;
33146 PyObject
* obj7
= 0 ;
33147 char * kwnames
[] = {
33148 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33153 if (!SWIG_IsOK(res1
)) {
33154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33156 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33158 if (!SWIG_IsOK(ecode2
)) {
33159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33161 arg2
= static_cast< int >(val2
);
33162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33163 if (!SWIG_IsOK(ecode3
)) {
33164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33166 arg3
= static_cast< int >(val3
);
33167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33168 if (!SWIG_IsOK(ecode4
)) {
33169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33171 arg4
= static_cast< int >(val4
);
33172 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33173 if (!SWIG_IsOK(ecode5
)) {
33174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33176 arg5
= static_cast< int >(val5
);
33178 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33179 if (!SWIG_IsOK(ecode6
)) {
33180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33182 arg6
= static_cast< bool >(val6
);
33186 arg7
= wxString_in_helper(obj6
);
33187 if (arg7
== NULL
) SWIG_fail
;
33192 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33193 if (!SWIG_IsOK(ecode8
)) {
33194 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33196 arg8
= static_cast< wxFontEncoding
>(val8
);
33199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33200 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33219 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33220 PyObject
*resultobj
= 0;
33221 wxFontList
*arg1
= (wxFontList
*) 0 ;
33222 wxFont
*arg2
= (wxFont
*) 0 ;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 char * kwnames
[] = {
33230 (char *) "self",(char *) "font", NULL
33233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33235 if (!SWIG_IsOK(res1
)) {
33236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33238 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33240 if (!SWIG_IsOK(res2
)) {
33241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33243 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 (arg1
)->AddFont(arg2
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33250 resultobj
= SWIG_Py_Void();
33257 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
= 0;
33259 wxFontList
*arg1
= (wxFontList
*) 0 ;
33260 wxFont
*arg2
= (wxFont
*) 0 ;
33265 PyObject
* obj0
= 0 ;
33266 PyObject
* obj1
= 0 ;
33267 char * kwnames
[] = {
33268 (char *) "self",(char *) "font", NULL
33271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33273 if (!SWIG_IsOK(res1
)) {
33274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33276 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33278 if (!SWIG_IsOK(res2
)) {
33279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33281 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33284 (arg1
)->RemoveFont(arg2
);
33285 wxPyEndAllowThreads(__tstate
);
33286 if (PyErr_Occurred()) SWIG_fail
;
33288 resultobj
= SWIG_Py_Void();
33295 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33298 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33299 return SWIG_Py_Void();
33302 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33303 PyObject
*resultobj
= 0;
33304 wxColourDatabase
*result
= 0 ;
33306 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33308 if (!wxPyCheckForApp()) SWIG_fail
;
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 result
= (wxColourDatabase
*)new wxColourDatabase();
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33321 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33322 PyObject
*resultobj
= 0;
33323 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33326 PyObject
*swig_obj
[1] ;
33328 if (!args
) SWIG_fail
;
33329 swig_obj
[0] = args
;
33330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33331 if (!SWIG_IsOK(res1
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33334 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= SWIG_Py_Void();
33349 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33350 PyObject
*resultobj
= 0;
33351 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33352 wxString
*arg2
= 0 ;
33356 bool temp2
= false ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 char * kwnames
[] = {
33360 (char *) "self",(char *) "name", NULL
33363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33365 if (!SWIG_IsOK(res1
)) {
33366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33368 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33370 arg2
= wxString_in_helper(obj1
);
33371 if (arg2
== NULL
) SWIG_fail
;
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33395 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33396 PyObject
*resultobj
= 0;
33397 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33398 wxColour
*arg2
= 0 ;
33403 PyObject
* obj0
= 0 ;
33404 PyObject
* obj1
= 0 ;
33405 char * kwnames
[] = {
33406 (char *) "self",(char *) "colour", NULL
33409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33411 if (!SWIG_IsOK(res1
)) {
33412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33414 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33421 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33422 wxPyEndAllowThreads(__tstate
);
33423 if (PyErr_Occurred()) SWIG_fail
;
33427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33438 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
= 0;
33440 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33441 wxString
*arg2
= 0 ;
33442 wxColour
*arg3
= 0 ;
33445 bool temp2
= false ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 PyObject
* obj2
= 0 ;
33450 char * kwnames
[] = {
33451 (char *) "self",(char *) "name",(char *) "colour", NULL
33454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33456 if (!SWIG_IsOK(res1
)) {
33457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33459 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33461 arg2
= wxString_in_helper(obj1
);
33462 if (arg2
== NULL
) SWIG_fail
;
33467 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33471 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33472 wxPyEndAllowThreads(__tstate
);
33473 if (PyErr_Occurred()) SWIG_fail
;
33475 resultobj
= SWIG_Py_Void();
33490 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
= 0;
33492 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33493 wxString
*arg2
= 0 ;
33499 bool temp2
= false ;
33506 PyObject
* obj0
= 0 ;
33507 PyObject
* obj1
= 0 ;
33508 PyObject
* obj2
= 0 ;
33509 PyObject
* obj3
= 0 ;
33510 PyObject
* obj4
= 0 ;
33511 char * kwnames
[] = {
33512 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33520 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33522 arg2
= wxString_in_helper(obj1
);
33523 if (arg2
== NULL
) SWIG_fail
;
33526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33527 if (!SWIG_IsOK(ecode3
)) {
33528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33530 arg3
= static_cast< int >(val3
);
33531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33532 if (!SWIG_IsOK(ecode4
)) {
33533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33535 arg4
= static_cast< int >(val4
);
33536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33537 if (!SWIG_IsOK(ecode5
)) {
33538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33540 arg5
= static_cast< int >(val5
);
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 resultobj
= SWIG_Py_Void();
33562 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33565 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33566 return SWIG_Py_Void();
33569 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33570 return SWIG_Python_InitShadowInstance(args
);
33573 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33574 PyObject
*resultobj
= 0;
33575 wxFontList
*result
= 0 ;
33577 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33580 result
= (wxFontList
*)_wxPyInitTheFontList();
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33591 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33592 PyObject
*resultobj
= 0;
33593 wxPenList
*result
= 0 ;
33595 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33598 result
= (wxPenList
*)_wxPyInitThePenList();
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33609 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33610 PyObject
*resultobj
= 0;
33611 wxBrushList
*result
= 0 ;
33613 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33617 wxPyEndAllowThreads(__tstate
);
33618 if (PyErr_Occurred()) SWIG_fail
;
33620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33627 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33628 PyObject
*resultobj
= 0;
33629 wxColourDatabase
*result
= 0 ;
33631 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33634 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33645 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33646 PyObject
*resultobj
= 0;
33647 wxEffects
*result
= 0 ;
33649 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33652 result
= (wxEffects
*)new wxEffects();
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33663 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33664 PyObject
*resultobj
= 0;
33665 wxEffects
*arg1
= (wxEffects
*) 0 ;
33669 PyObject
*swig_obj
[1] ;
33671 if (!args
) SWIG_fail
;
33672 swig_obj
[0] = args
;
33673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33674 if (!SWIG_IsOK(res1
)) {
33675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33677 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33691 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33692 PyObject
*resultobj
= 0;
33693 wxEffects
*arg1
= (wxEffects
*) 0 ;
33697 PyObject
*swig_obj
[1] ;
33699 if (!args
) SWIG_fail
;
33700 swig_obj
[0] = args
;
33701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33702 if (!SWIG_IsOK(res1
)) {
33703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33705 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33708 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33709 wxPyEndAllowThreads(__tstate
);
33710 if (PyErr_Occurred()) SWIG_fail
;
33712 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33719 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33720 PyObject
*resultobj
= 0;
33721 wxEffects
*arg1
= (wxEffects
*) 0 ;
33725 PyObject
*swig_obj
[1] ;
33727 if (!args
) SWIG_fail
;
33728 swig_obj
[0] = args
;
33729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33730 if (!SWIG_IsOK(res1
)) {
33731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33733 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33736 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33747 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33748 PyObject
*resultobj
= 0;
33749 wxEffects
*arg1
= (wxEffects
*) 0 ;
33753 PyObject
*swig_obj
[1] ;
33755 if (!args
) SWIG_fail
;
33756 swig_obj
[0] = args
;
33757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33758 if (!SWIG_IsOK(res1
)) {
33759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33761 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33764 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33765 wxPyEndAllowThreads(__tstate
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33768 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33775 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33776 PyObject
*resultobj
= 0;
33777 wxEffects
*arg1
= (wxEffects
*) 0 ;
33781 PyObject
*swig_obj
[1] ;
33783 if (!args
) SWIG_fail
;
33784 swig_obj
[0] = args
;
33785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33786 if (!SWIG_IsOK(res1
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33789 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33793 wxPyEndAllowThreads(__tstate
);
33794 if (PyErr_Occurred()) SWIG_fail
;
33796 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33803 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
= 0;
33805 wxEffects
*arg1
= (wxEffects
*) 0 ;
33806 wxColour
*arg2
= 0 ;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 char * kwnames
[] = {
33813 (char *) "self",(char *) "c", NULL
33816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33818 if (!SWIG_IsOK(res1
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33821 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33824 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33829 wxPyEndAllowThreads(__tstate
);
33830 if (PyErr_Occurred()) SWIG_fail
;
33832 resultobj
= SWIG_Py_Void();
33839 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
= 0;
33841 wxEffects
*arg1
= (wxEffects
*) 0 ;
33842 wxColour
*arg2
= 0 ;
33846 PyObject
* obj0
= 0 ;
33847 PyObject
* obj1
= 0 ;
33848 char * kwnames
[] = {
33849 (char *) "self",(char *) "c", NULL
33852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33854 if (!SWIG_IsOK(res1
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33857 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33860 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33864 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 resultobj
= SWIG_Py_Void();
33875 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33876 PyObject
*resultobj
= 0;
33877 wxEffects
*arg1
= (wxEffects
*) 0 ;
33878 wxColour
*arg2
= 0 ;
33882 PyObject
* obj0
= 0 ;
33883 PyObject
* obj1
= 0 ;
33884 char * kwnames
[] = {
33885 (char *) "self",(char *) "c", NULL
33888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33890 if (!SWIG_IsOK(res1
)) {
33891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33893 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 resultobj
= SWIG_Py_Void();
33911 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
= 0;
33913 wxEffects
*arg1
= (wxEffects
*) 0 ;
33914 wxColour
*arg2
= 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char * kwnames
[] = {
33921 (char *) "self",(char *) "c", NULL
33924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33929 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= SWIG_Py_Void();
33947 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
= 0;
33949 wxEffects
*arg1
= (wxEffects
*) 0 ;
33950 wxColour
*arg2
= 0 ;
33954 PyObject
* obj0
= 0 ;
33955 PyObject
* obj1
= 0 ;
33956 char * kwnames
[] = {
33957 (char *) "self",(char *) "c", NULL
33960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33962 if (!SWIG_IsOK(res1
)) {
33963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33965 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33968 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33972 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33973 wxPyEndAllowThreads(__tstate
);
33974 if (PyErr_Occurred()) SWIG_fail
;
33976 resultobj
= SWIG_Py_Void();
33983 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33984 PyObject
*resultobj
= 0;
33985 wxEffects
*arg1
= (wxEffects
*) 0 ;
33986 wxColour
*arg2
= 0 ;
33987 wxColour
*arg3
= 0 ;
33988 wxColour
*arg4
= 0 ;
33989 wxColour
*arg5
= 0 ;
33990 wxColour
*arg6
= 0 ;
33998 PyObject
* obj0
= 0 ;
33999 PyObject
* obj1
= 0 ;
34000 PyObject
* obj2
= 0 ;
34001 PyObject
* obj3
= 0 ;
34002 PyObject
* obj4
= 0 ;
34003 PyObject
* obj5
= 0 ;
34004 char * kwnames
[] = {
34005 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34010 if (!SWIG_IsOK(res1
)) {
34011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34013 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34020 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34024 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34028 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34032 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= SWIG_Py_Void();
34047 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34048 PyObject
*resultobj
= 0;
34049 wxEffects
*arg1
= (wxEffects
*) 0 ;
34052 int arg4
= (int) 1 ;
34060 PyObject
* obj0
= 0 ;
34061 PyObject
* obj1
= 0 ;
34062 PyObject
* obj2
= 0 ;
34063 PyObject
* obj3
= 0 ;
34064 char * kwnames
[] = {
34065 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34070 if (!SWIG_IsOK(res1
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34073 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34075 if (!SWIG_IsOK(res2
)) {
34076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34081 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34084 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34088 if (!SWIG_IsOK(ecode4
)) {
34089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34091 arg4
= static_cast< int >(val4
);
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34095 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34099 resultobj
= SWIG_Py_Void();
34106 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34107 PyObject
*resultobj
= 0;
34108 wxEffects
*arg1
= (wxEffects
*) 0 ;
34111 wxBitmap
*arg4
= 0 ;
34120 PyObject
* obj0
= 0 ;
34121 PyObject
* obj1
= 0 ;
34122 PyObject
* obj2
= 0 ;
34123 PyObject
* obj3
= 0 ;
34124 char * kwnames
[] = {
34125 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34130 if (!SWIG_IsOK(res1
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34133 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34136 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34138 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34139 if (!SWIG_IsOK(res3
)) {
34140 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34145 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34146 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34147 if (!SWIG_IsOK(res4
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34153 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34169 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34172 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34173 return SWIG_Py_Void();
34176 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34177 return SWIG_Python_InitShadowInstance(args
);
34180 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34181 PyObject
*resultobj
= 0;
34185 wxSplitterRenderParams
*result
= 0 ;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 PyObject
* obj2
= 0 ;
34195 char * kwnames
[] = {
34196 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34201 if (!SWIG_IsOK(ecode1
)) {
34202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34204 arg1
= static_cast< int >(val1
);
34205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34206 if (!SWIG_IsOK(ecode2
)) {
34207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34209 arg2
= static_cast< int >(val2
);
34210 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34211 if (!SWIG_IsOK(ecode3
)) {
34212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34214 arg3
= static_cast< bool >(val3
);
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34217 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34228 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34229 PyObject
*resultobj
= 0;
34230 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34233 PyObject
*swig_obj
[1] ;
34235 if (!args
) SWIG_fail
;
34236 swig_obj
[0] = args
;
34237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34238 if (!SWIG_IsOK(res1
)) {
34239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34241 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34249 resultobj
= SWIG_Py_Void();
34256 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34257 PyObject
*resultobj
= 0;
34258 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34262 PyObject
*swig_obj
[1] ;
34264 if (!args
) SWIG_fail
;
34265 swig_obj
[0] = args
;
34266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34267 if (!SWIG_IsOK(res1
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34270 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34271 result
= (int)(int) ((arg1
)->widthSash
);
34272 resultobj
= SWIG_From_int(static_cast< int >(result
));
34279 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34280 PyObject
*resultobj
= 0;
34281 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34285 PyObject
*swig_obj
[1] ;
34287 if (!args
) SWIG_fail
;
34288 swig_obj
[0] = args
;
34289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34290 if (!SWIG_IsOK(res1
)) {
34291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34293 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34294 result
= (int)(int) ((arg1
)->border
);
34295 resultobj
= SWIG_From_int(static_cast< int >(result
));
34302 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34303 PyObject
*resultobj
= 0;
34304 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34308 PyObject
*swig_obj
[1] ;
34310 if (!args
) SWIG_fail
;
34311 swig_obj
[0] = args
;
34312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34316 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34317 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34318 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34325 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34328 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34329 return SWIG_Py_Void();
34332 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34333 return SWIG_Python_InitShadowInstance(args
);
34336 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34337 PyObject
*resultobj
= 0;
34338 wxHeaderButtonParams
*result
= 0 ;
34340 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34354 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34355 PyObject
*resultobj
= 0;
34356 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34359 PyObject
*swig_obj
[1] ;
34361 if (!args
) SWIG_fail
;
34362 swig_obj
[0] = args
;
34363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34364 if (!SWIG_IsOK(res1
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34367 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34375 resultobj
= SWIG_Py_Void();
34382 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34383 PyObject
*resultobj
= 0;
34384 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34385 wxColour
*arg2
= (wxColour
*) 0 ;
34389 PyObject
*swig_obj
[2] ;
34391 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34393 if (!SWIG_IsOK(res1
)) {
34394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34396 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34399 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34401 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34403 resultobj
= SWIG_Py_Void();
34410 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34411 PyObject
*resultobj
= 0;
34412 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34413 wxColour
*result
= 0 ;
34416 PyObject
*swig_obj
[1] ;
34418 if (!args
) SWIG_fail
;
34419 swig_obj
[0] = args
;
34420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34421 if (!SWIG_IsOK(res1
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34424 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34425 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34433 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34434 PyObject
*resultobj
= 0;
34435 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34436 wxColour
*arg2
= (wxColour
*) 0 ;
34440 PyObject
*swig_obj
[2] ;
34442 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34444 if (!SWIG_IsOK(res1
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34447 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34450 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34452 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34454 resultobj
= SWIG_Py_Void();
34461 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34462 PyObject
*resultobj
= 0;
34463 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34464 wxColour
*result
= 0 ;
34467 PyObject
*swig_obj
[1] ;
34469 if (!args
) SWIG_fail
;
34470 swig_obj
[0] = args
;
34471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34472 if (!SWIG_IsOK(res1
)) {
34473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34475 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34476 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34484 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34485 PyObject
*resultobj
= 0;
34486 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34487 wxString
*arg2
= (wxString
*) 0 ;
34490 bool temp2
= false ;
34491 PyObject
*swig_obj
[2] ;
34493 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34495 if (!SWIG_IsOK(res1
)) {
34496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34498 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34500 arg2
= wxString_in_helper(swig_obj
[1]);
34501 if (arg2
== NULL
) SWIG_fail
;
34504 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34506 resultobj
= SWIG_Py_Void();
34521 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34522 PyObject
*resultobj
= 0;
34523 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34524 wxString
*result
= 0 ;
34527 PyObject
*swig_obj
[1] ;
34529 if (!args
) SWIG_fail
;
34530 swig_obj
[0] = args
;
34531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34532 if (!SWIG_IsOK(res1
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34535 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34536 result
= (wxString
*)& ((arg1
)->m_labelText
);
34539 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34541 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34550 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34551 PyObject
*resultobj
= 0;
34552 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34553 wxFont
*arg2
= (wxFont
*) 0 ;
34558 PyObject
*swig_obj
[2] ;
34560 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34562 if (!SWIG_IsOK(res1
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34565 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34566 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34567 if (!SWIG_IsOK(res2
)) {
34568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34570 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34571 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34573 resultobj
= SWIG_Py_Void();
34580 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34581 PyObject
*resultobj
= 0;
34582 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34583 wxFont
*result
= 0 ;
34586 PyObject
*swig_obj
[1] ;
34588 if (!args
) SWIG_fail
;
34589 swig_obj
[0] = args
;
34590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34591 if (!SWIG_IsOK(res1
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34594 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34595 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34603 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34604 PyObject
*resultobj
= 0;
34605 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34606 wxColour
*arg2
= (wxColour
*) 0 ;
34610 PyObject
*swig_obj
[2] ;
34612 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34614 if (!SWIG_IsOK(res1
)) {
34615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34617 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34620 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34622 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34624 resultobj
= SWIG_Py_Void();
34631 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34632 PyObject
*resultobj
= 0;
34633 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34634 wxColour
*result
= 0 ;
34637 PyObject
*swig_obj
[1] ;
34639 if (!args
) SWIG_fail
;
34640 swig_obj
[0] = args
;
34641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34642 if (!SWIG_IsOK(res1
)) {
34643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34645 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34646 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34654 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34655 PyObject
*resultobj
= 0;
34656 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34657 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34662 PyObject
*swig_obj
[2] ;
34664 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34666 if (!SWIG_IsOK(res1
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34669 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34670 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34671 if (!SWIG_IsOK(res2
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34674 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34675 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34677 resultobj
= SWIG_Py_Void();
34684 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34685 PyObject
*resultobj
= 0;
34686 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34687 wxBitmap
*result
= 0 ;
34690 PyObject
*swig_obj
[1] ;
34692 if (!args
) SWIG_fail
;
34693 swig_obj
[0] = args
;
34694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34695 if (!SWIG_IsOK(res1
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34698 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34699 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34707 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34708 PyObject
*resultobj
= 0;
34709 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34715 PyObject
*swig_obj
[2] ;
34717 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34719 if (!SWIG_IsOK(res1
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34722 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34723 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34724 if (!SWIG_IsOK(ecode2
)) {
34725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34727 arg2
= static_cast< int >(val2
);
34728 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34730 resultobj
= SWIG_Py_Void();
34737 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34738 PyObject
*resultobj
= 0;
34739 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34743 PyObject
*swig_obj
[1] ;
34745 if (!args
) SWIG_fail
;
34746 swig_obj
[0] = args
;
34747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34748 if (!SWIG_IsOK(res1
)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34751 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34752 result
= (int) ((arg1
)->m_labelAlignment
);
34753 resultobj
= SWIG_From_int(static_cast< int >(result
));
34760 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34763 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34764 return SWIG_Py_Void();
34767 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34768 return SWIG_Python_InitShadowInstance(args
);
34771 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34772 PyObject
*resultobj
= 0;
34775 wxRendererVersion
*result
= 0 ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 char * kwnames
[] = {
34783 (char *) "version_",(char *) "age_", NULL
34786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34787 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34788 if (!SWIG_IsOK(ecode1
)) {
34789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34791 arg1
= static_cast< int >(val1
);
34792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34793 if (!SWIG_IsOK(ecode2
)) {
34794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34796 arg2
= static_cast< int >(val2
);
34798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34799 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34810 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34811 PyObject
*resultobj
= 0;
34812 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34815 PyObject
*swig_obj
[1] ;
34817 if (!args
) SWIG_fail
;
34818 swig_obj
[0] = args
;
34819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34820 if (!SWIG_IsOK(res1
)) {
34821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34823 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34828 wxPyEndAllowThreads(__tstate
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34831 resultobj
= SWIG_Py_Void();
34838 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
= 0;
34840 wxRendererVersion
*arg1
= 0 ;
34844 PyObject
* obj0
= 0 ;
34845 char * kwnames
[] = {
34846 (char *) "ver", NULL
34849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34850 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34857 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34873 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34874 PyObject
*resultobj
= 0;
34875 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34879 PyObject
*swig_obj
[1] ;
34881 if (!args
) SWIG_fail
;
34882 swig_obj
[0] = args
;
34883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34884 if (!SWIG_IsOK(res1
)) {
34885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34887 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34888 result
= (int)(int) ((arg1
)->version
);
34889 resultobj
= SWIG_From_int(static_cast< int >(result
));
34896 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34897 PyObject
*resultobj
= 0;
34898 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34902 PyObject
*swig_obj
[1] ;
34904 if (!args
) SWIG_fail
;
34905 swig_obj
[0] = args
;
34906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34910 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34911 result
= (int)(int) ((arg1
)->age
);
34912 resultobj
= SWIG_From_int(static_cast< int >(result
));
34919 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34922 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34923 return SWIG_Py_Void();
34926 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34927 return SWIG_Python_InitShadowInstance(args
);
34930 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34931 PyObject
*resultobj
= 0;
34932 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34933 wxWindow
*arg2
= (wxWindow
*) 0 ;
34936 int arg5
= (int) 0 ;
34937 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34938 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34952 PyObject
* obj0
= 0 ;
34953 PyObject
* obj1
= 0 ;
34954 PyObject
* obj2
= 0 ;
34955 PyObject
* obj3
= 0 ;
34956 PyObject
* obj4
= 0 ;
34957 PyObject
* obj5
= 0 ;
34958 PyObject
* obj6
= 0 ;
34959 char * kwnames
[] = {
34960 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34965 if (!SWIG_IsOK(res1
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34968 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34970 if (!SWIG_IsOK(res2
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34974 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34975 if (!SWIG_IsOK(res3
)) {
34976 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34981 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34984 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34987 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34988 if (!SWIG_IsOK(ecode5
)) {
34989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34991 arg5
= static_cast< int >(val5
);
34994 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34995 if (!SWIG_IsOK(ecode6
)) {
34996 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34998 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35001 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35002 if (!SWIG_IsOK(res7
)) {
35003 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35005 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= SWIG_Py_Void();
35020 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
= 0;
35022 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35023 wxWindow
*arg2
= (wxWindow
*) 0 ;
35026 int arg5
= (int) 0 ;
35027 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35028 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35042 PyObject
* obj0
= 0 ;
35043 PyObject
* obj1
= 0 ;
35044 PyObject
* obj2
= 0 ;
35045 PyObject
* obj3
= 0 ;
35046 PyObject
* obj4
= 0 ;
35047 PyObject
* obj5
= 0 ;
35048 PyObject
* obj6
= 0 ;
35049 char * kwnames
[] = {
35050 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35058 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35060 if (!SWIG_IsOK(res2
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35063 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35064 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35065 if (!SWIG_IsOK(res3
)) {
35066 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35071 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35074 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35077 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35078 if (!SWIG_IsOK(ecode5
)) {
35079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35081 arg5
= static_cast< int >(val5
);
35084 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35085 if (!SWIG_IsOK(ecode6
)) {
35086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35088 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35091 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35092 if (!SWIG_IsOK(res7
)) {
35093 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35095 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35103 resultobj
= SWIG_Py_Void();
35110 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
= 0;
35112 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35113 wxWindow
*arg2
= (wxWindow
*) 0 ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 char * kwnames
[] = {
35122 (char *) "self",(char *) "win", NULL
35125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35127 if (!SWIG_IsOK(res1
)) {
35128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35130 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35131 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35132 if (!SWIG_IsOK(res2
)) {
35133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35135 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35139 wxPyEndAllowThreads(__tstate
);
35140 if (PyErr_Occurred()) SWIG_fail
;
35142 resultobj
= SWIG_From_int(static_cast< int >(result
));
35149 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35150 PyObject
*resultobj
= 0;
35151 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35152 wxWindow
*arg2
= (wxWindow
*) 0 ;
35155 int arg5
= (int) 0 ;
35165 PyObject
* obj0
= 0 ;
35166 PyObject
* obj1
= 0 ;
35167 PyObject
* obj2
= 0 ;
35168 PyObject
* obj3
= 0 ;
35169 PyObject
* obj4
= 0 ;
35170 char * kwnames
[] = {
35171 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35176 if (!SWIG_IsOK(res1
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35179 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35181 if (!SWIG_IsOK(res2
)) {
35182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35185 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35186 if (!SWIG_IsOK(res3
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35192 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35195 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35198 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35199 if (!SWIG_IsOK(ecode5
)) {
35200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35202 arg5
= static_cast< int >(val5
);
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35207 wxPyEndAllowThreads(__tstate
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35210 resultobj
= SWIG_Py_Void();
35217 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35218 PyObject
*resultobj
= 0;
35219 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35220 wxWindow
*arg2
= (wxWindow
*) 0 ;
35223 int arg5
= (int) 0 ;
35233 PyObject
* obj0
= 0 ;
35234 PyObject
* obj1
= 0 ;
35235 PyObject
* obj2
= 0 ;
35236 PyObject
* obj3
= 0 ;
35237 PyObject
* obj4
= 0 ;
35238 char * kwnames
[] = {
35239 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35244 if (!SWIG_IsOK(res1
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35247 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35249 if (!SWIG_IsOK(res2
)) {
35250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35253 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35254 if (!SWIG_IsOK(res3
)) {
35255 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35260 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35263 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35266 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35267 if (!SWIG_IsOK(ecode5
)) {
35268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35270 arg5
= static_cast< int >(val5
);
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35275 wxPyEndAllowThreads(__tstate
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= SWIG_Py_Void();
35285 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35286 PyObject
*resultobj
= 0;
35287 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35288 wxWindow
*arg2
= (wxWindow
*) 0 ;
35292 wxOrientation arg6
;
35293 int arg7
= (int) 0 ;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 PyObject
* obj2
= 0 ;
35310 PyObject
* obj3
= 0 ;
35311 PyObject
* obj4
= 0 ;
35312 PyObject
* obj5
= 0 ;
35313 PyObject
* obj6
= 0 ;
35314 char * kwnames
[] = {
35315 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35320 if (!SWIG_IsOK(res1
)) {
35321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35323 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35325 if (!SWIG_IsOK(res2
)) {
35326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35328 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35329 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35330 if (!SWIG_IsOK(res3
)) {
35331 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35336 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35339 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35341 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35342 if (!SWIG_IsOK(ecode5
)) {
35343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35345 arg5
= static_cast< int >(val5
);
35346 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35347 if (!SWIG_IsOK(ecode6
)) {
35348 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35350 arg6
= static_cast< wxOrientation
>(val6
);
35352 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35353 if (!SWIG_IsOK(ecode7
)) {
35354 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35356 arg7
= static_cast< int >(val7
);
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35364 resultobj
= SWIG_Py_Void();
35371 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35372 PyObject
*resultobj
= 0;
35373 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35374 wxWindow
*arg2
= (wxWindow
*) 0 ;
35377 int arg5
= (int) 0 ;
35387 PyObject
* obj0
= 0 ;
35388 PyObject
* obj1
= 0 ;
35389 PyObject
* obj2
= 0 ;
35390 PyObject
* obj3
= 0 ;
35391 PyObject
* obj4
= 0 ;
35392 char * kwnames
[] = {
35393 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35398 if (!SWIG_IsOK(res1
)) {
35399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35401 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35403 if (!SWIG_IsOK(res2
)) {
35404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35407 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35408 if (!SWIG_IsOK(res3
)) {
35409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35414 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35417 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35420 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35421 if (!SWIG_IsOK(ecode5
)) {
35422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35424 arg5
= static_cast< int >(val5
);
35427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35428 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35429 wxPyEndAllowThreads(__tstate
);
35430 if (PyErr_Occurred()) SWIG_fail
;
35432 resultobj
= SWIG_Py_Void();
35439 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35440 PyObject
*resultobj
= 0;
35441 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35442 wxWindow
*arg2
= (wxWindow
*) 0 ;
35445 int arg5
= (int) 0 ;
35455 PyObject
* obj0
= 0 ;
35456 PyObject
* obj1
= 0 ;
35457 PyObject
* obj2
= 0 ;
35458 PyObject
* obj3
= 0 ;
35459 PyObject
* obj4
= 0 ;
35460 char * kwnames
[] = {
35461 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35466 if (!SWIG_IsOK(res1
)) {
35467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35469 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35471 if (!SWIG_IsOK(res2
)) {
35472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35475 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35476 if (!SWIG_IsOK(res3
)) {
35477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35482 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35485 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35488 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35489 if (!SWIG_IsOK(ecode5
)) {
35490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35492 arg5
= static_cast< int >(val5
);
35495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35496 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35500 resultobj
= SWIG_Py_Void();
35507 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
= 0;
35509 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35510 wxWindow
*arg2
= (wxWindow
*) 0 ;
35513 int arg5
= (int) 0 ;
35523 PyObject
* obj0
= 0 ;
35524 PyObject
* obj1
= 0 ;
35525 PyObject
* obj2
= 0 ;
35526 PyObject
* obj3
= 0 ;
35527 PyObject
* obj4
= 0 ;
35528 char * kwnames
[] = {
35529 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35534 if (!SWIG_IsOK(res1
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35537 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35539 if (!SWIG_IsOK(res2
)) {
35540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35543 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35544 if (!SWIG_IsOK(res3
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35550 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35553 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35556 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35557 if (!SWIG_IsOK(ecode5
)) {
35558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35560 arg5
= static_cast< int >(val5
);
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35564 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35565 wxPyEndAllowThreads(__tstate
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35568 resultobj
= SWIG_Py_Void();
35575 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
= 0;
35577 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35578 wxWindow
*arg2
= (wxWindow
*) 0 ;
35581 int arg5
= (int) 0 ;
35591 PyObject
* obj0
= 0 ;
35592 PyObject
* obj1
= 0 ;
35593 PyObject
* obj2
= 0 ;
35594 PyObject
* obj3
= 0 ;
35595 PyObject
* obj4
= 0 ;
35596 char * kwnames
[] = {
35597 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35602 if (!SWIG_IsOK(res1
)) {
35603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35605 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35607 if (!SWIG_IsOK(res2
)) {
35608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35611 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35612 if (!SWIG_IsOK(res3
)) {
35613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35618 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35621 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35625 if (!SWIG_IsOK(ecode5
)) {
35626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35628 arg5
= static_cast< int >(val5
);
35631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35632 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35633 wxPyEndAllowThreads(__tstate
);
35634 if (PyErr_Occurred()) SWIG_fail
;
35636 resultobj
= SWIG_Py_Void();
35643 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35644 PyObject
*resultobj
= 0;
35645 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35646 wxWindow
*arg2
= (wxWindow
*) 0 ;
35649 int arg5
= (int) 0 ;
35659 PyObject
* obj0
= 0 ;
35660 PyObject
* obj1
= 0 ;
35661 PyObject
* obj2
= 0 ;
35662 PyObject
* obj3
= 0 ;
35663 PyObject
* obj4
= 0 ;
35664 char * kwnames
[] = {
35665 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35670 if (!SWIG_IsOK(res1
)) {
35671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35673 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35675 if (!SWIG_IsOK(res2
)) {
35676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35679 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35680 if (!SWIG_IsOK(res3
)) {
35681 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35686 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35689 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35693 if (!SWIG_IsOK(ecode5
)) {
35694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35696 arg5
= static_cast< int >(val5
);
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35704 resultobj
= SWIG_Py_Void();
35711 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35712 PyObject
*resultobj
= 0;
35713 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35714 wxWindow
*arg2
= (wxWindow
*) 0 ;
35715 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35720 PyObject
* obj0
= 0 ;
35721 PyObject
* obj1
= 0 ;
35722 char * kwnames
[] = {
35723 (char *) "self",(char *) "win", NULL
35726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35728 if (!SWIG_IsOK(res1
)) {
35729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35731 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35733 if (!SWIG_IsOK(res2
)) {
35734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35736 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35750 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35751 PyObject
*resultobj
= 0;
35752 wxRendererNative
*result
= 0 ;
35754 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35756 if (!wxPyCheckForApp()) SWIG_fail
;
35757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35759 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35760 result
= (wxRendererNative
*) &_result_ref
;
35762 wxPyEndAllowThreads(__tstate
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35772 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35773 PyObject
*resultobj
= 0;
35774 wxRendererNative
*result
= 0 ;
35776 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35778 if (!wxPyCheckForApp()) SWIG_fail
;
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35782 result
= (wxRendererNative
*) &_result_ref
;
35784 wxPyEndAllowThreads(__tstate
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35794 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35795 PyObject
*resultobj
= 0;
35796 wxRendererNative
*result
= 0 ;
35798 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35800 if (!wxPyCheckForApp()) SWIG_fail
;
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35804 result
= (wxRendererNative
*) &_result_ref
;
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35816 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35819 wxRendererNative
*result
= 0 ;
35822 PyObject
* obj0
= 0 ;
35823 char * kwnames
[] = {
35824 (char *) "renderer", NULL
35827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35829 if (!SWIG_IsOK(res1
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35832 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35834 if (!wxPyCheckForApp()) SWIG_fail
;
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35847 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35848 PyObject
*resultobj
= 0;
35849 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35850 SwigValueWrapper
<wxRendererVersion
> result
;
35853 PyObject
*swig_obj
[1] ;
35855 if (!args
) SWIG_fail
;
35856 swig_obj
[0] = args
;
35857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35858 if (!SWIG_IsOK(res1
)) {
35859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35861 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35864 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35865 wxPyEndAllowThreads(__tstate
);
35866 if (PyErr_Occurred()) SWIG_fail
;
35868 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35875 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35878 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35879 return SWIG_Py_Void();
35882 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35883 PyObject
*resultobj
= 0;
35884 wxPseudoDC
*result
= 0 ;
35886 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 result
= (wxPseudoDC
*)new wxPseudoDC();
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35900 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35901 PyObject
*resultobj
= 0;
35902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35905 PyObject
*swig_obj
[1] ;
35907 if (!args
) SWIG_fail
;
35908 swig_obj
[0] = args
;
35909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35910 if (!SWIG_IsOK(res1
)) {
35911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35913 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35916 (arg1
)->BeginDrawing();
35917 wxPyEndAllowThreads(__tstate
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35920 resultobj
= SWIG_Py_Void();
35927 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35928 PyObject
*resultobj
= 0;
35929 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35932 PyObject
*swig_obj
[1] ;
35934 if (!args
) SWIG_fail
;
35935 swig_obj
[0] = args
;
35936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35937 if (!SWIG_IsOK(res1
)) {
35938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 (arg1
)->EndDrawing();
35944 wxPyEndAllowThreads(__tstate
);
35945 if (PyErr_Occurred()) SWIG_fail
;
35947 resultobj
= SWIG_Py_Void();
35954 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35955 PyObject
*resultobj
= 0;
35956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35959 PyObject
*swig_obj
[1] ;
35961 if (!args
) SWIG_fail
;
35962 swig_obj
[0] = args
;
35963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35964 if (!SWIG_IsOK(res1
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35972 wxPyEndAllowThreads(__tstate
);
35973 if (PyErr_Occurred()) SWIG_fail
;
35975 resultobj
= SWIG_Py_Void();
35982 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35983 PyObject
*resultobj
= 0;
35984 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35987 PyObject
*swig_obj
[1] ;
35989 if (!args
) SWIG_fail
;
35990 swig_obj
[0] = args
;
35991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35992 if (!SWIG_IsOK(res1
)) {
35993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 (arg1
)->RemoveAll();
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_Py_Void();
36009 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36010 PyObject
*resultobj
= 0;
36011 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36015 PyObject
*swig_obj
[1] ;
36017 if (!args
) SWIG_fail
;
36018 swig_obj
[0] = args
;
36019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36020 if (!SWIG_IsOK(res1
)) {
36021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36026 result
= (int)(arg1
)->GetLen();
36027 wxPyEndAllowThreads(__tstate
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36030 resultobj
= SWIG_From_int(static_cast< int >(result
));
36037 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36038 PyObject
*resultobj
= 0;
36039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36045 PyObject
* obj0
= 0 ;
36046 PyObject
* obj1
= 0 ;
36047 char * kwnames
[] = {
36048 (char *) "self",(char *) "id", NULL
36051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36053 if (!SWIG_IsOK(res1
)) {
36054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36056 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36058 if (!SWIG_IsOK(ecode2
)) {
36059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36061 arg2
= static_cast< int >(val2
);
36063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36064 (arg1
)->SetId(arg2
);
36065 wxPyEndAllowThreads(__tstate
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= SWIG_Py_Void();
36075 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36076 PyObject
*resultobj
= 0;
36077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36083 PyObject
* obj0
= 0 ;
36084 PyObject
* obj1
= 0 ;
36085 char * kwnames
[] = {
36086 (char *) "self",(char *) "id", NULL
36089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36091 if (!SWIG_IsOK(res1
)) {
36092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36094 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36096 if (!SWIG_IsOK(ecode2
)) {
36097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36099 arg2
= static_cast< int >(val2
);
36101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36102 (arg1
)->ClearId(arg2
);
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36106 resultobj
= SWIG_Py_Void();
36113 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36114 PyObject
*resultobj
= 0;
36115 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 char * kwnames
[] = {
36124 (char *) "self",(char *) "id", NULL
36127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36129 if (!SWIG_IsOK(res1
)) {
36130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36132 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36134 if (!SWIG_IsOK(ecode2
)) {
36135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36137 arg2
= static_cast< int >(val2
);
36139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36140 (arg1
)->RemoveId(arg2
);
36141 wxPyEndAllowThreads(__tstate
);
36142 if (PyErr_Occurred()) SWIG_fail
;
36144 resultobj
= SWIG_Py_Void();
36151 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36152 PyObject
*resultobj
= 0;
36153 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36165 PyObject
* obj0
= 0 ;
36166 PyObject
* obj1
= 0 ;
36167 PyObject
* obj2
= 0 ;
36168 PyObject
* obj3
= 0 ;
36169 char * kwnames
[] = {
36170 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36175 if (!SWIG_IsOK(res1
)) {
36176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36178 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36180 if (!SWIG_IsOK(ecode2
)) {
36181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36183 arg2
= static_cast< int >(val2
);
36184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36185 if (!SWIG_IsOK(ecode3
)) {
36186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36188 arg3
= static_cast< int >(val3
);
36189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36190 if (!SWIG_IsOK(ecode4
)) {
36191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36193 arg4
= static_cast< int >(val4
);
36195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36196 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36197 wxPyEndAllowThreads(__tstate
);
36198 if (PyErr_Occurred()) SWIG_fail
;
36200 resultobj
= SWIG_Py_Void();
36207 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36208 PyObject
*resultobj
= 0;
36209 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36211 bool arg3
= (bool) true ;
36218 PyObject
* obj0
= 0 ;
36219 PyObject
* obj1
= 0 ;
36220 PyObject
* obj2
= 0 ;
36221 char * kwnames
[] = {
36222 (char *) "self",(char *) "id",(char *) "greyout", NULL
36225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36227 if (!SWIG_IsOK(res1
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36230 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36232 if (!SWIG_IsOK(ecode2
)) {
36233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36235 arg2
= static_cast< int >(val2
);
36237 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36238 if (!SWIG_IsOK(ecode3
)) {
36239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36241 arg3
= static_cast< bool >(val3
);
36244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36245 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36246 wxPyEndAllowThreads(__tstate
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36249 resultobj
= SWIG_Py_Void();
36256 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36257 PyObject
*resultobj
= 0;
36258 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36265 PyObject
* obj0
= 0 ;
36266 PyObject
* obj1
= 0 ;
36267 char * kwnames
[] = {
36268 (char *) "self",(char *) "id", NULL
36271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36273 if (!SWIG_IsOK(res1
)) {
36274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36276 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36278 if (!SWIG_IsOK(ecode2
)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36281 arg2
= static_cast< int >(val2
);
36283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36284 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36285 wxPyEndAllowThreads(__tstate
);
36286 if (PyErr_Occurred()) SWIG_fail
;
36289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36297 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36298 PyObject
*resultobj
= 0;
36299 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36302 int arg4
= (int) 1 ;
36303 wxColor
const &arg5_defvalue
= *wxWHITE
;
36304 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36305 PyObject
*result
= 0 ;
36316 PyObject
* obj0
= 0 ;
36317 PyObject
* obj1
= 0 ;
36318 PyObject
* obj2
= 0 ;
36319 PyObject
* obj3
= 0 ;
36320 PyObject
* obj4
= 0 ;
36321 char * kwnames
[] = {
36322 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36327 if (!SWIG_IsOK(res1
)) {
36328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36332 if (!SWIG_IsOK(ecode2
)) {
36333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36335 arg2
= static_cast< int >(val2
);
36336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36337 if (!SWIG_IsOK(ecode3
)) {
36338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36340 arg3
= static_cast< int >(val3
);
36342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36343 if (!SWIG_IsOK(ecode4
)) {
36344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36346 arg4
= static_cast< int >(val4
);
36349 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36350 if (!SWIG_IsOK(res5
)) {
36351 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36356 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36359 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36360 if (PyErr_Occurred()) SWIG_fail
;
36362 resultobj
= result
;
36369 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36370 PyObject
*resultobj
= 0;
36371 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36374 PyObject
*result
= 0 ;
36381 PyObject
* obj0
= 0 ;
36382 PyObject
* obj1
= 0 ;
36383 PyObject
* obj2
= 0 ;
36384 char * kwnames
[] = {
36385 (char *) "self",(char *) "x",(char *) "y", NULL
36388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36390 if (!SWIG_IsOK(res1
)) {
36391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36393 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36395 if (!SWIG_IsOK(ecode2
)) {
36396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36398 arg2
= static_cast< int >(val2
);
36399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36400 if (!SWIG_IsOK(ecode3
)) {
36401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36403 arg3
= static_cast< int >(val3
);
36405 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36406 if (PyErr_Occurred()) SWIG_fail
;
36408 resultobj
= result
;
36415 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36416 PyObject
*resultobj
= 0;
36417 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36419 wxDC
*arg3
= (wxDC
*) 0 ;
36426 PyObject
* obj0
= 0 ;
36427 PyObject
* obj1
= 0 ;
36428 PyObject
* obj2
= 0 ;
36429 char * kwnames
[] = {
36430 (char *) "self",(char *) "id",(char *) "dc", NULL
36433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36435 if (!SWIG_IsOK(res1
)) {
36436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36440 if (!SWIG_IsOK(ecode2
)) {
36441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36443 arg2
= static_cast< int >(val2
);
36444 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36445 if (!SWIG_IsOK(res3
)) {
36446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36448 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 (arg1
)->DrawIdToDC(arg2
,arg3
);
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= SWIG_Py_Void();
36462 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36463 PyObject
*resultobj
= 0;
36464 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36472 PyObject
* obj0
= 0 ;
36473 PyObject
* obj1
= 0 ;
36474 PyObject
* obj2
= 0 ;
36475 char * kwnames
[] = {
36476 (char *) "self",(char *) "id",(char *) "rect", NULL
36479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36481 if (!SWIG_IsOK(res1
)) {
36482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36484 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36486 if (!SWIG_IsOK(ecode2
)) {
36487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36489 arg2
= static_cast< int >(val2
);
36492 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36496 (arg1
)->SetIdBounds(arg2
,*arg3
);
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36500 resultobj
= SWIG_Py_Void();
36507 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36508 PyObject
*resultobj
= 0;
36509 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 char * kwnames
[] = {
36519 (char *) "self",(char *) "id", NULL
36522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36524 if (!SWIG_IsOK(res1
)) {
36525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36527 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36529 if (!SWIG_IsOK(ecode2
)) {
36530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36532 arg2
= static_cast< int >(val2
);
36534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36535 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36536 wxPyEndAllowThreads(__tstate
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36539 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36546 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36547 PyObject
*resultobj
= 0;
36548 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36549 wxDC
*arg2
= (wxDC
*) 0 ;
36556 PyObject
* obj0
= 0 ;
36557 PyObject
* obj1
= 0 ;
36558 PyObject
* obj2
= 0 ;
36559 char * kwnames
[] = {
36560 (char *) "self",(char *) "dc",(char *) "rect", NULL
36563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36565 if (!SWIG_IsOK(res1
)) {
36566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36568 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36570 if (!SWIG_IsOK(res2
)) {
36571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36573 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36576 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36580 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36581 wxPyEndAllowThreads(__tstate
);
36582 if (PyErr_Occurred()) SWIG_fail
;
36584 resultobj
= SWIG_Py_Void();
36591 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36592 PyObject
*resultobj
= 0;
36593 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36594 wxDC
*arg2
= (wxDC
*) 0 ;
36595 wxRegion
*arg3
= 0 ;
36602 PyObject
* obj0
= 0 ;
36603 PyObject
* obj1
= 0 ;
36604 PyObject
* obj2
= 0 ;
36605 char * kwnames
[] = {
36606 (char *) "self",(char *) "dc",(char *) "region", NULL
36609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36611 if (!SWIG_IsOK(res1
)) {
36612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36614 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36616 if (!SWIG_IsOK(res2
)) {
36617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36619 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36620 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36621 if (!SWIG_IsOK(res3
)) {
36622 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36627 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36630 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36631 wxPyEndAllowThreads(__tstate
);
36632 if (PyErr_Occurred()) SWIG_fail
;
36634 resultobj
= SWIG_Py_Void();
36641 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
= 0;
36643 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36644 wxDC
*arg2
= (wxDC
*) 0 ;
36649 PyObject
* obj0
= 0 ;
36650 PyObject
* obj1
= 0 ;
36651 char * kwnames
[] = {
36652 (char *) "self",(char *) "dc", NULL
36655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36657 if (!SWIG_IsOK(res1
)) {
36658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36660 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36662 if (!SWIG_IsOK(res2
)) {
36663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36665 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36668 (arg1
)->DrawToDC(arg2
);
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36672 resultobj
= SWIG_Py_Void();
36679 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
= 0;
36681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36684 wxColour
*arg4
= 0 ;
36685 int arg5
= (int) wxFLOOD_SURFACE
;
36695 PyObject
* obj0
= 0 ;
36696 PyObject
* obj1
= 0 ;
36697 PyObject
* obj2
= 0 ;
36698 PyObject
* obj3
= 0 ;
36699 PyObject
* obj4
= 0 ;
36700 char * kwnames
[] = {
36701 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36706 if (!SWIG_IsOK(res1
)) {
36707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36709 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36711 if (!SWIG_IsOK(ecode2
)) {
36712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36714 arg2
= static_cast< int >(val2
);
36715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36716 if (!SWIG_IsOK(ecode3
)) {
36717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36719 arg3
= static_cast< int >(val3
);
36722 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36726 if (!SWIG_IsOK(ecode5
)) {
36727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36729 arg5
= static_cast< int >(val5
);
36732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36733 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36734 wxPyEndAllowThreads(__tstate
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36737 resultobj
= SWIG_Py_Void();
36744 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36745 PyObject
*resultobj
= 0;
36746 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36747 wxPoint
*arg2
= 0 ;
36748 wxColour
*arg3
= 0 ;
36749 int arg4
= (int) wxFLOOD_SURFACE
;
36756 PyObject
* obj0
= 0 ;
36757 PyObject
* obj1
= 0 ;
36758 PyObject
* obj2
= 0 ;
36759 PyObject
* obj3
= 0 ;
36760 char * kwnames
[] = {
36761 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36766 if (!SWIG_IsOK(res1
)) {
36767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36769 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36776 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36780 if (!SWIG_IsOK(ecode4
)) {
36781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36783 arg4
= static_cast< int >(val4
);
36786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36787 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36788 wxPyEndAllowThreads(__tstate
);
36789 if (PyErr_Occurred()) SWIG_fail
;
36791 resultobj
= SWIG_Py_Void();
36798 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36799 PyObject
*resultobj
= 0;
36800 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36815 PyObject
* obj0
= 0 ;
36816 PyObject
* obj1
= 0 ;
36817 PyObject
* obj2
= 0 ;
36818 PyObject
* obj3
= 0 ;
36819 PyObject
* obj4
= 0 ;
36820 char * kwnames
[] = {
36821 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36826 if (!SWIG_IsOK(res1
)) {
36827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36829 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36831 if (!SWIG_IsOK(ecode2
)) {
36832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36834 arg2
= static_cast< int >(val2
);
36835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36836 if (!SWIG_IsOK(ecode3
)) {
36837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36839 arg3
= static_cast< int >(val3
);
36840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36841 if (!SWIG_IsOK(ecode4
)) {
36842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36844 arg4
= static_cast< int >(val4
);
36845 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36846 if (!SWIG_IsOK(ecode5
)) {
36847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36849 arg5
= static_cast< int >(val5
);
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36853 wxPyEndAllowThreads(__tstate
);
36854 if (PyErr_Occurred()) SWIG_fail
;
36856 resultobj
= SWIG_Py_Void();
36863 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36864 PyObject
*resultobj
= 0;
36865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36866 wxPoint
*arg2
= 0 ;
36867 wxPoint
*arg3
= 0 ;
36872 PyObject
* obj0
= 0 ;
36873 PyObject
* obj1
= 0 ;
36874 PyObject
* obj2
= 0 ;
36875 char * kwnames
[] = {
36876 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36881 if (!SWIG_IsOK(res1
)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36895 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36896 wxPyEndAllowThreads(__tstate
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36899 resultobj
= SWIG_Py_Void();
36906 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36907 PyObject
*resultobj
= 0;
36908 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36917 PyObject
* obj0
= 0 ;
36918 PyObject
* obj1
= 0 ;
36919 PyObject
* obj2
= 0 ;
36920 char * kwnames
[] = {
36921 (char *) "self",(char *) "x",(char *) "y", NULL
36924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36926 if (!SWIG_IsOK(res1
)) {
36927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36929 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36931 if (!SWIG_IsOK(ecode2
)) {
36932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36934 arg2
= static_cast< int >(val2
);
36935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36936 if (!SWIG_IsOK(ecode3
)) {
36937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36939 arg3
= static_cast< int >(val3
);
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 (arg1
)->CrossHair(arg2
,arg3
);
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36946 resultobj
= SWIG_Py_Void();
36953 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36954 PyObject
*resultobj
= 0;
36955 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36956 wxPoint
*arg2
= 0 ;
36960 PyObject
* obj0
= 0 ;
36961 PyObject
* obj1
= 0 ;
36962 char * kwnames
[] = {
36963 (char *) "self",(char *) "pt", NULL
36966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36968 if (!SWIG_IsOK(res1
)) {
36969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36971 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36978 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36979 wxPyEndAllowThreads(__tstate
);
36980 if (PyErr_Occurred()) SWIG_fail
;
36982 resultobj
= SWIG_Py_Void();
36989 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36990 PyObject
*resultobj
= 0;
36991 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37012 PyObject
* obj0
= 0 ;
37013 PyObject
* obj1
= 0 ;
37014 PyObject
* obj2
= 0 ;
37015 PyObject
* obj3
= 0 ;
37016 PyObject
* obj4
= 0 ;
37017 PyObject
* obj5
= 0 ;
37018 PyObject
* obj6
= 0 ;
37019 char * kwnames
[] = {
37020 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37025 if (!SWIG_IsOK(res1
)) {
37026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37030 if (!SWIG_IsOK(ecode2
)) {
37031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37033 arg2
= static_cast< int >(val2
);
37034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37035 if (!SWIG_IsOK(ecode3
)) {
37036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37038 arg3
= static_cast< int >(val3
);
37039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37040 if (!SWIG_IsOK(ecode4
)) {
37041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37043 arg4
= static_cast< int >(val4
);
37044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37045 if (!SWIG_IsOK(ecode5
)) {
37046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37048 arg5
= static_cast< int >(val5
);
37049 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37050 if (!SWIG_IsOK(ecode6
)) {
37051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37053 arg6
= static_cast< int >(val6
);
37054 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37055 if (!SWIG_IsOK(ecode7
)) {
37056 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37058 arg7
= static_cast< int >(val7
);
37060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37061 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37062 wxPyEndAllowThreads(__tstate
);
37063 if (PyErr_Occurred()) SWIG_fail
;
37065 resultobj
= SWIG_Py_Void();
37072 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37073 PyObject
*resultobj
= 0;
37074 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37075 wxPoint
*arg2
= 0 ;
37076 wxPoint
*arg3
= 0 ;
37077 wxPoint
*arg4
= 0 ;
37083 PyObject
* obj0
= 0 ;
37084 PyObject
* obj1
= 0 ;
37085 PyObject
* obj2
= 0 ;
37086 PyObject
* obj3
= 0 ;
37087 char * kwnames
[] = {
37088 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37093 if (!SWIG_IsOK(res1
)) {
37094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37096 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37107 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37111 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37112 wxPyEndAllowThreads(__tstate
);
37113 if (PyErr_Occurred()) SWIG_fail
;
37115 resultobj
= SWIG_Py_Void();
37122 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37123 PyObject
*resultobj
= 0;
37124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37139 PyObject
* obj0
= 0 ;
37140 PyObject
* obj1
= 0 ;
37141 PyObject
* obj2
= 0 ;
37142 PyObject
* obj3
= 0 ;
37143 PyObject
* obj4
= 0 ;
37144 char * kwnames
[] = {
37145 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37150 if (!SWIG_IsOK(res1
)) {
37151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37153 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37155 if (!SWIG_IsOK(ecode2
)) {
37156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37158 arg2
= static_cast< int >(val2
);
37159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37160 if (!SWIG_IsOK(ecode3
)) {
37161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37163 arg3
= static_cast< int >(val3
);
37164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37165 if (!SWIG_IsOK(ecode4
)) {
37166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37168 arg4
= static_cast< int >(val4
);
37169 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37170 if (!SWIG_IsOK(ecode5
)) {
37171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37173 arg5
= static_cast< int >(val5
);
37175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37177 wxPyEndAllowThreads(__tstate
);
37178 if (PyErr_Occurred()) SWIG_fail
;
37180 resultobj
= SWIG_Py_Void();
37187 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37188 PyObject
*resultobj
= 0;
37189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37194 PyObject
* obj0
= 0 ;
37195 PyObject
* obj1
= 0 ;
37196 char * kwnames
[] = {
37197 (char *) "self",(char *) "rect", NULL
37200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37202 if (!SWIG_IsOK(res1
)) {
37203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37205 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37208 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37212 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37213 wxPyEndAllowThreads(__tstate
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 resultobj
= SWIG_Py_Void();
37223 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
= 0;
37225 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37246 PyObject
* obj0
= 0 ;
37247 PyObject
* obj1
= 0 ;
37248 PyObject
* obj2
= 0 ;
37249 PyObject
* obj3
= 0 ;
37250 PyObject
* obj4
= 0 ;
37251 PyObject
* obj5
= 0 ;
37252 PyObject
* obj6
= 0 ;
37253 char * kwnames
[] = {
37254 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37259 if (!SWIG_IsOK(res1
)) {
37260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37264 if (!SWIG_IsOK(ecode2
)) {
37265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37267 arg2
= static_cast< int >(val2
);
37268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37269 if (!SWIG_IsOK(ecode3
)) {
37270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37272 arg3
= static_cast< int >(val3
);
37273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37274 if (!SWIG_IsOK(ecode4
)) {
37275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37277 arg4
= static_cast< int >(val4
);
37278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37279 if (!SWIG_IsOK(ecode5
)) {
37280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37282 arg5
= static_cast< int >(val5
);
37283 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37284 if (!SWIG_IsOK(ecode6
)) {
37285 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37287 arg6
= static_cast< double >(val6
);
37288 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37289 if (!SWIG_IsOK(ecode7
)) {
37290 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37292 arg7
= static_cast< double >(val7
);
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37295 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37296 wxPyEndAllowThreads(__tstate
);
37297 if (PyErr_Occurred()) SWIG_fail
;
37299 resultobj
= SWIG_Py_Void();
37306 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37307 PyObject
*resultobj
= 0;
37308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37309 wxPoint
*arg2
= 0 ;
37321 PyObject
* obj0
= 0 ;
37322 PyObject
* obj1
= 0 ;
37323 PyObject
* obj2
= 0 ;
37324 PyObject
* obj3
= 0 ;
37325 PyObject
* obj4
= 0 ;
37326 char * kwnames
[] = {
37327 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37332 if (!SWIG_IsOK(res1
)) {
37333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37335 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37342 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37344 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37345 if (!SWIG_IsOK(ecode4
)) {
37346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37348 arg4
= static_cast< double >(val4
);
37349 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37350 if (!SWIG_IsOK(ecode5
)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37353 arg5
= static_cast< double >(val5
);
37355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37356 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37357 wxPyEndAllowThreads(__tstate
);
37358 if (PyErr_Occurred()) SWIG_fail
;
37360 resultobj
= SWIG_Py_Void();
37367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37368 PyObject
*resultobj
= 0;
37369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37378 PyObject
* obj0
= 0 ;
37379 PyObject
* obj1
= 0 ;
37380 PyObject
* obj2
= 0 ;
37381 char * kwnames
[] = {
37382 (char *) "self",(char *) "x",(char *) "y", NULL
37385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37387 if (!SWIG_IsOK(res1
)) {
37388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37390 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37392 if (!SWIG_IsOK(ecode2
)) {
37393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37395 arg2
= static_cast< int >(val2
);
37396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37397 if (!SWIG_IsOK(ecode3
)) {
37398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37400 arg3
= static_cast< int >(val3
);
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 (arg1
)->DrawPoint(arg2
,arg3
);
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37407 resultobj
= SWIG_Py_Void();
37414 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37415 PyObject
*resultobj
= 0;
37416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37417 wxPoint
*arg2
= 0 ;
37421 PyObject
* obj0
= 0 ;
37422 PyObject
* obj1
= 0 ;
37423 char * kwnames
[] = {
37424 (char *) "self",(char *) "pt", NULL
37427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37429 if (!SWIG_IsOK(res1
)) {
37430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37432 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37435 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37439 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= SWIG_Py_Void();
37450 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
= 0;
37452 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37467 PyObject
* obj0
= 0 ;
37468 PyObject
* obj1
= 0 ;
37469 PyObject
* obj2
= 0 ;
37470 PyObject
* obj3
= 0 ;
37471 PyObject
* obj4
= 0 ;
37472 char * kwnames
[] = {
37473 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37478 if (!SWIG_IsOK(res1
)) {
37479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37483 if (!SWIG_IsOK(ecode2
)) {
37484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37486 arg2
= static_cast< int >(val2
);
37487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37488 if (!SWIG_IsOK(ecode3
)) {
37489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37491 arg3
= static_cast< int >(val3
);
37492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37493 if (!SWIG_IsOK(ecode4
)) {
37494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37496 arg4
= static_cast< int >(val4
);
37497 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37498 if (!SWIG_IsOK(ecode5
)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37501 arg5
= static_cast< int >(val5
);
37503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37504 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37505 wxPyEndAllowThreads(__tstate
);
37506 if (PyErr_Occurred()) SWIG_fail
;
37508 resultobj
= SWIG_Py_Void();
37515 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37516 PyObject
*resultobj
= 0;
37517 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37522 PyObject
* obj0
= 0 ;
37523 PyObject
* obj1
= 0 ;
37524 char * kwnames
[] = {
37525 (char *) "self",(char *) "rect", NULL
37528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37530 if (!SWIG_IsOK(res1
)) {
37531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37533 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37536 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37540 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37544 resultobj
= SWIG_Py_Void();
37551 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
= 0;
37553 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37554 wxPoint
*arg2
= 0 ;
37560 PyObject
* obj0
= 0 ;
37561 PyObject
* obj1
= 0 ;
37562 PyObject
* obj2
= 0 ;
37563 char * kwnames
[] = {
37564 (char *) "self",(char *) "pt",(char *) "sz", NULL
37567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37569 if (!SWIG_IsOK(res1
)) {
37570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37572 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37579 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37584 wxPyEndAllowThreads(__tstate
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37587 resultobj
= SWIG_Py_Void();
37594 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37595 PyObject
*resultobj
= 0;
37596 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37614 PyObject
* obj0
= 0 ;
37615 PyObject
* obj1
= 0 ;
37616 PyObject
* obj2
= 0 ;
37617 PyObject
* obj3
= 0 ;
37618 PyObject
* obj4
= 0 ;
37619 PyObject
* obj5
= 0 ;
37620 char * kwnames
[] = {
37621 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37626 if (!SWIG_IsOK(res1
)) {
37627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37631 if (!SWIG_IsOK(ecode2
)) {
37632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37634 arg2
= static_cast< int >(val2
);
37635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37636 if (!SWIG_IsOK(ecode3
)) {
37637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37639 arg3
= static_cast< int >(val3
);
37640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37641 if (!SWIG_IsOK(ecode4
)) {
37642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37644 arg4
= static_cast< int >(val4
);
37645 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37646 if (!SWIG_IsOK(ecode5
)) {
37647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37649 arg5
= static_cast< int >(val5
);
37650 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37651 if (!SWIG_IsOK(ecode6
)) {
37652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37654 arg6
= static_cast< double >(val6
);
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37658 wxPyEndAllowThreads(__tstate
);
37659 if (PyErr_Occurred()) SWIG_fail
;
37661 resultobj
= SWIG_Py_Void();
37668 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37669 PyObject
*resultobj
= 0;
37670 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37680 PyObject
* obj2
= 0 ;
37681 char * kwnames
[] = {
37682 (char *) "self",(char *) "r",(char *) "radius", NULL
37685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37687 if (!SWIG_IsOK(res1
)) {
37688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37690 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37695 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37696 if (!SWIG_IsOK(ecode3
)) {
37697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37699 arg3
= static_cast< double >(val3
);
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37706 resultobj
= SWIG_Py_Void();
37713 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37714 PyObject
*resultobj
= 0;
37715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37716 wxPoint
*arg2
= 0 ;
37725 PyObject
* obj0
= 0 ;
37726 PyObject
* obj1
= 0 ;
37727 PyObject
* obj2
= 0 ;
37728 PyObject
* obj3
= 0 ;
37729 char * kwnames
[] = {
37730 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37735 if (!SWIG_IsOK(res1
)) {
37736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37745 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37747 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37748 if (!SWIG_IsOK(ecode4
)) {
37749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37751 arg4
= static_cast< double >(val4
);
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37755 wxPyEndAllowThreads(__tstate
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37758 resultobj
= SWIG_Py_Void();
37765 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37766 PyObject
*resultobj
= 0;
37767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37779 PyObject
* obj0
= 0 ;
37780 PyObject
* obj1
= 0 ;
37781 PyObject
* obj2
= 0 ;
37782 PyObject
* obj3
= 0 ;
37783 char * kwnames
[] = {
37784 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37789 if (!SWIG_IsOK(res1
)) {
37790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37792 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37794 if (!SWIG_IsOK(ecode2
)) {
37795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37797 arg2
= static_cast< int >(val2
);
37798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37799 if (!SWIG_IsOK(ecode3
)) {
37800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37802 arg3
= static_cast< int >(val3
);
37803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37804 if (!SWIG_IsOK(ecode4
)) {
37805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37807 arg4
= static_cast< int >(val4
);
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37811 wxPyEndAllowThreads(__tstate
);
37812 if (PyErr_Occurred()) SWIG_fail
;
37814 resultobj
= SWIG_Py_Void();
37821 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37822 PyObject
*resultobj
= 0;
37823 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37824 wxPoint
*arg2
= 0 ;
37831 PyObject
* obj0
= 0 ;
37832 PyObject
* obj1
= 0 ;
37833 PyObject
* obj2
= 0 ;
37834 char * kwnames
[] = {
37835 (char *) "self",(char *) "pt",(char *) "radius", NULL
37838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37840 if (!SWIG_IsOK(res1
)) {
37841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37843 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37849 if (!SWIG_IsOK(ecode3
)) {
37850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37852 arg3
= static_cast< int >(val3
);
37854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37855 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37856 wxPyEndAllowThreads(__tstate
);
37857 if (PyErr_Occurred()) SWIG_fail
;
37859 resultobj
= SWIG_Py_Void();
37866 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37867 PyObject
*resultobj
= 0;
37868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37883 PyObject
* obj0
= 0 ;
37884 PyObject
* obj1
= 0 ;
37885 PyObject
* obj2
= 0 ;
37886 PyObject
* obj3
= 0 ;
37887 PyObject
* obj4
= 0 ;
37888 char * kwnames
[] = {
37889 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37894 if (!SWIG_IsOK(res1
)) {
37895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37897 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37899 if (!SWIG_IsOK(ecode2
)) {
37900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37902 arg2
= static_cast< int >(val2
);
37903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37904 if (!SWIG_IsOK(ecode3
)) {
37905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37907 arg3
= static_cast< int >(val3
);
37908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37909 if (!SWIG_IsOK(ecode4
)) {
37910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37912 arg4
= static_cast< int >(val4
);
37913 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37914 if (!SWIG_IsOK(ecode5
)) {
37915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37917 arg5
= static_cast< int >(val5
);
37919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37920 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= SWIG_Py_Void();
37931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
= 0;
37933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37938 PyObject
* obj0
= 0 ;
37939 PyObject
* obj1
= 0 ;
37940 char * kwnames
[] = {
37941 (char *) "self",(char *) "rect", NULL
37944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37946 if (!SWIG_IsOK(res1
)) {
37947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37949 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37952 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37956 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37957 wxPyEndAllowThreads(__tstate
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= SWIG_Py_Void();
37967 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
= 0;
37969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37970 wxPoint
*arg2
= 0 ;
37976 PyObject
* obj0
= 0 ;
37977 PyObject
* obj1
= 0 ;
37978 PyObject
* obj2
= 0 ;
37979 char * kwnames
[] = {
37980 (char *) "self",(char *) "pt",(char *) "sz", NULL
37983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37985 if (!SWIG_IsOK(res1
)) {
37986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37988 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37995 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37999 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38000 wxPyEndAllowThreads(__tstate
);
38001 if (PyErr_Occurred()) SWIG_fail
;
38003 resultobj
= SWIG_Py_Void();
38010 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38011 PyObject
*resultobj
= 0;
38012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38024 PyObject
* obj0
= 0 ;
38025 PyObject
* obj1
= 0 ;
38026 PyObject
* obj2
= 0 ;
38027 PyObject
* obj3
= 0 ;
38028 char * kwnames
[] = {
38029 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38034 if (!SWIG_IsOK(res1
)) {
38035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38039 if (!SWIG_IsOK(res2
)) {
38040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38045 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38047 if (!SWIG_IsOK(ecode3
)) {
38048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38050 arg3
= static_cast< int >(val3
);
38051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38052 if (!SWIG_IsOK(ecode4
)) {
38053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38055 arg4
= static_cast< int >(val4
);
38057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38058 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38059 wxPyEndAllowThreads(__tstate
);
38060 if (PyErr_Occurred()) SWIG_fail
;
38062 resultobj
= SWIG_Py_Void();
38069 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38070 PyObject
*resultobj
= 0;
38071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38073 wxPoint
*arg3
= 0 ;
38079 PyObject
* obj0
= 0 ;
38080 PyObject
* obj1
= 0 ;
38081 PyObject
* obj2
= 0 ;
38082 char * kwnames
[] = {
38083 (char *) "self",(char *) "icon",(char *) "pt", NULL
38086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38088 if (!SWIG_IsOK(res1
)) {
38089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38093 if (!SWIG_IsOK(res2
)) {
38094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38099 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38106 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38110 resultobj
= SWIG_Py_Void();
38117 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38118 PyObject
*resultobj
= 0;
38119 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38120 wxBitmap
*arg2
= 0 ;
38123 bool arg5
= (bool) false ;
38134 PyObject
* obj0
= 0 ;
38135 PyObject
* obj1
= 0 ;
38136 PyObject
* obj2
= 0 ;
38137 PyObject
* obj3
= 0 ;
38138 PyObject
* obj4
= 0 ;
38139 char * kwnames
[] = {
38140 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38145 if (!SWIG_IsOK(res1
)) {
38146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38148 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38150 if (!SWIG_IsOK(res2
)) {
38151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38156 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38158 if (!SWIG_IsOK(ecode3
)) {
38159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38161 arg3
= static_cast< int >(val3
);
38162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38163 if (!SWIG_IsOK(ecode4
)) {
38164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38166 arg4
= static_cast< int >(val4
);
38168 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38169 if (!SWIG_IsOK(ecode5
)) {
38170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38172 arg5
= static_cast< bool >(val5
);
38175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38176 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38180 resultobj
= SWIG_Py_Void();
38187 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
= 0;
38189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38190 wxBitmap
*arg2
= 0 ;
38191 wxPoint
*arg3
= 0 ;
38192 bool arg4
= (bool) false ;
38200 PyObject
* obj0
= 0 ;
38201 PyObject
* obj1
= 0 ;
38202 PyObject
* obj2
= 0 ;
38203 PyObject
* obj3
= 0 ;
38204 char * kwnames
[] = {
38205 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38210 if (!SWIG_IsOK(res1
)) {
38211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38213 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38215 if (!SWIG_IsOK(res2
)) {
38216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38221 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38227 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38228 if (!SWIG_IsOK(ecode4
)) {
38229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38231 arg4
= static_cast< bool >(val4
);
38234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38235 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38236 wxPyEndAllowThreads(__tstate
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38239 resultobj
= SWIG_Py_Void();
38246 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38247 PyObject
*resultobj
= 0;
38248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38249 wxString
*arg2
= 0 ;
38254 bool temp2
= false ;
38259 PyObject
* obj0
= 0 ;
38260 PyObject
* obj1
= 0 ;
38261 PyObject
* obj2
= 0 ;
38262 PyObject
* obj3
= 0 ;
38263 char * kwnames
[] = {
38264 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38269 if (!SWIG_IsOK(res1
)) {
38270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38272 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38274 arg2
= wxString_in_helper(obj1
);
38275 if (arg2
== NULL
) SWIG_fail
;
38278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38279 if (!SWIG_IsOK(ecode3
)) {
38280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38282 arg3
= static_cast< int >(val3
);
38283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38284 if (!SWIG_IsOK(ecode4
)) {
38285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38287 arg4
= static_cast< int >(val4
);
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= SWIG_Py_Void();
38309 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38310 PyObject
*resultobj
= 0;
38311 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38312 wxString
*arg2
= 0 ;
38313 wxPoint
*arg3
= 0 ;
38316 bool temp2
= false ;
38318 PyObject
* obj0
= 0 ;
38319 PyObject
* obj1
= 0 ;
38320 PyObject
* obj2
= 0 ;
38321 char * kwnames
[] = {
38322 (char *) "self",(char *) "text",(char *) "pt", NULL
38325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38327 if (!SWIG_IsOK(res1
)) {
38328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38332 arg2
= wxString_in_helper(obj1
);
38333 if (arg2
== NULL
) SWIG_fail
;
38338 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38342 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38343 wxPyEndAllowThreads(__tstate
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38346 resultobj
= SWIG_Py_Void();
38361 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38362 PyObject
*resultobj
= 0;
38363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38364 wxString
*arg2
= 0 ;
38370 bool temp2
= false ;
38377 PyObject
* obj0
= 0 ;
38378 PyObject
* obj1
= 0 ;
38379 PyObject
* obj2
= 0 ;
38380 PyObject
* obj3
= 0 ;
38381 PyObject
* obj4
= 0 ;
38382 char * kwnames
[] = {
38383 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38388 if (!SWIG_IsOK(res1
)) {
38389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38391 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38393 arg2
= wxString_in_helper(obj1
);
38394 if (arg2
== NULL
) SWIG_fail
;
38397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38398 if (!SWIG_IsOK(ecode3
)) {
38399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38401 arg3
= static_cast< int >(val3
);
38402 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38403 if (!SWIG_IsOK(ecode4
)) {
38404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38406 arg4
= static_cast< int >(val4
);
38407 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38408 if (!SWIG_IsOK(ecode5
)) {
38409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38411 arg5
= static_cast< double >(val5
);
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38418 resultobj
= SWIG_Py_Void();
38433 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38434 PyObject
*resultobj
= 0;
38435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38436 wxString
*arg2
= 0 ;
38437 wxPoint
*arg3
= 0 ;
38441 bool temp2
= false ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 PyObject
* obj2
= 0 ;
38448 PyObject
* obj3
= 0 ;
38449 char * kwnames
[] = {
38450 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38455 if (!SWIG_IsOK(res1
)) {
38456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38458 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38460 arg2
= wxString_in_helper(obj1
);
38461 if (arg2
== NULL
) SWIG_fail
;
38466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38468 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38469 if (!SWIG_IsOK(ecode4
)) {
38470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38472 arg4
= static_cast< double >(val4
);
38474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38475 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38476 wxPyEndAllowThreads(__tstate
);
38477 if (PyErr_Occurred()) SWIG_fail
;
38479 resultobj
= SWIG_Py_Void();
38494 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38495 PyObject
*resultobj
= 0;
38496 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38498 wxPoint
*arg3
= (wxPoint
*) 0 ;
38499 int arg4
= (int) 0 ;
38500 int arg5
= (int) 0 ;
38507 PyObject
* obj0
= 0 ;
38508 PyObject
* obj1
= 0 ;
38509 PyObject
* obj2
= 0 ;
38510 PyObject
* obj3
= 0 ;
38511 char * kwnames
[] = {
38512 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38517 if (!SWIG_IsOK(res1
)) {
38518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38520 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38522 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38523 if (arg3
== NULL
) SWIG_fail
;
38526 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38527 if (!SWIG_IsOK(ecode4
)) {
38528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38530 arg4
= static_cast< int >(val4
);
38533 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38534 if (!SWIG_IsOK(ecode5
)) {
38535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38537 arg5
= static_cast< int >(val5
);
38540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38541 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= SWIG_Py_Void();
38547 if (arg3
) delete [] arg3
;
38552 if (arg3
) delete [] arg3
;
38558 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38559 PyObject
*resultobj
= 0;
38560 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38562 wxPoint
*arg3
= (wxPoint
*) 0 ;
38563 int arg4
= (int) 0 ;
38564 int arg5
= (int) 0 ;
38565 int arg6
= (int) wxODDEVEN_RULE
;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 PyObject
* obj2
= 0 ;
38577 PyObject
* obj3
= 0 ;
38578 PyObject
* obj4
= 0 ;
38579 char * kwnames
[] = {
38580 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38585 if (!SWIG_IsOK(res1
)) {
38586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38588 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38590 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38591 if (arg3
== NULL
) SWIG_fail
;
38594 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38595 if (!SWIG_IsOK(ecode4
)) {
38596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38598 arg4
= static_cast< int >(val4
);
38601 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38602 if (!SWIG_IsOK(ecode5
)) {
38603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38605 arg5
= static_cast< int >(val5
);
38608 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38609 if (!SWIG_IsOK(ecode6
)) {
38610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38612 arg6
= static_cast< int >(val6
);
38615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38616 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38617 wxPyEndAllowThreads(__tstate
);
38618 if (PyErr_Occurred()) SWIG_fail
;
38620 resultobj
= SWIG_Py_Void();
38622 if (arg3
) delete [] arg3
;
38627 if (arg3
) delete [] arg3
;
38633 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
= 0;
38635 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38636 wxString
*arg2
= 0 ;
38638 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38639 int arg5
= (int) -1 ;
38642 bool temp2
= false ;
38648 PyObject
* obj0
= 0 ;
38649 PyObject
* obj1
= 0 ;
38650 PyObject
* obj2
= 0 ;
38651 PyObject
* obj3
= 0 ;
38652 PyObject
* obj4
= 0 ;
38653 char * kwnames
[] = {
38654 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38659 if (!SWIG_IsOK(res1
)) {
38660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38662 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38664 arg2
= wxString_in_helper(obj1
);
38665 if (arg2
== NULL
) SWIG_fail
;
38670 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38674 if (!SWIG_IsOK(ecode4
)) {
38675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38677 arg4
= static_cast< int >(val4
);
38680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38681 if (!SWIG_IsOK(ecode5
)) {
38682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38684 arg5
= static_cast< int >(val5
);
38687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38688 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38689 wxPyEndAllowThreads(__tstate
);
38690 if (PyErr_Occurred()) SWIG_fail
;
38692 resultobj
= SWIG_Py_Void();
38707 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38708 PyObject
*resultobj
= 0;
38709 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38710 wxString
*arg2
= 0 ;
38711 wxBitmap
*arg3
= 0 ;
38713 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38714 int arg6
= (int) -1 ;
38717 bool temp2
= false ;
38725 PyObject
* obj0
= 0 ;
38726 PyObject
* obj1
= 0 ;
38727 PyObject
* obj2
= 0 ;
38728 PyObject
* obj3
= 0 ;
38729 PyObject
* obj4
= 0 ;
38730 PyObject
* obj5
= 0 ;
38731 char * kwnames
[] = {
38732 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38737 if (!SWIG_IsOK(res1
)) {
38738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38742 arg2
= wxString_in_helper(obj1
);
38743 if (arg2
== NULL
) SWIG_fail
;
38746 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38747 if (!SWIG_IsOK(res3
)) {
38748 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38753 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38756 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38760 if (!SWIG_IsOK(ecode5
)) {
38761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38763 arg5
= static_cast< int >(val5
);
38766 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38767 if (!SWIG_IsOK(ecode6
)) {
38768 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38770 arg6
= static_cast< int >(val6
);
38773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38774 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38775 wxPyEndAllowThreads(__tstate
);
38776 if (PyErr_Occurred()) SWIG_fail
;
38778 resultobj
= SWIG_Py_Void();
38793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38794 PyObject
*resultobj
= 0;
38795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38797 wxPoint
*arg3
= (wxPoint
*) 0 ;
38800 PyObject
* obj0
= 0 ;
38801 PyObject
* obj1
= 0 ;
38802 char * kwnames
[] = {
38803 (char *) "self",(char *) "points", NULL
38806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38808 if (!SWIG_IsOK(res1
)) {
38809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38813 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38814 if (arg3
== NULL
) SWIG_fail
;
38817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38818 (arg1
)->DrawSpline(arg2
,arg3
);
38819 wxPyEndAllowThreads(__tstate
);
38820 if (PyErr_Occurred()) SWIG_fail
;
38822 resultobj
= SWIG_Py_Void();
38824 if (arg3
) delete [] arg3
;
38829 if (arg3
) delete [] arg3
;
38835 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38836 PyObject
*resultobj
= 0;
38837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38840 PyObject
*swig_obj
[1] ;
38842 if (!args
) SWIG_fail
;
38843 swig_obj
[0] = args
;
38844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38845 if (!SWIG_IsOK(res1
)) {
38846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38848 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38852 wxPyEndAllowThreads(__tstate
);
38853 if (PyErr_Occurred()) SWIG_fail
;
38855 resultobj
= SWIG_Py_Void();
38862 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38863 PyObject
*resultobj
= 0;
38864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38870 PyObject
* obj0
= 0 ;
38871 PyObject
* obj1
= 0 ;
38872 char * kwnames
[] = {
38873 (char *) "self",(char *) "font", NULL
38876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38878 if (!SWIG_IsOK(res1
)) {
38879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38881 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38883 if (!SWIG_IsOK(res2
)) {
38884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38889 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38892 (arg1
)->SetFont((wxFont
const &)*arg2
);
38893 wxPyEndAllowThreads(__tstate
);
38894 if (PyErr_Occurred()) SWIG_fail
;
38896 resultobj
= SWIG_Py_Void();
38903 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38904 PyObject
*resultobj
= 0;
38905 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38911 PyObject
* obj0
= 0 ;
38912 PyObject
* obj1
= 0 ;
38913 char * kwnames
[] = {
38914 (char *) "self",(char *) "pen", NULL
38917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38919 if (!SWIG_IsOK(res1
)) {
38920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38922 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38924 if (!SWIG_IsOK(res2
)) {
38925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38930 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38933 (arg1
)->SetPen((wxPen
const &)*arg2
);
38934 wxPyEndAllowThreads(__tstate
);
38935 if (PyErr_Occurred()) SWIG_fail
;
38937 resultobj
= SWIG_Py_Void();
38944 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38945 PyObject
*resultobj
= 0;
38946 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38947 wxBrush
*arg2
= 0 ;
38952 PyObject
* obj0
= 0 ;
38953 PyObject
* obj1
= 0 ;
38954 char * kwnames
[] = {
38955 (char *) "self",(char *) "brush", NULL
38958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38960 if (!SWIG_IsOK(res1
)) {
38961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38963 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38965 if (!SWIG_IsOK(res2
)) {
38966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38971 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38974 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38975 wxPyEndAllowThreads(__tstate
);
38976 if (PyErr_Occurred()) SWIG_fail
;
38978 resultobj
= SWIG_Py_Void();
38985 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38986 PyObject
*resultobj
= 0;
38987 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38988 wxBrush
*arg2
= 0 ;
38993 PyObject
* obj0
= 0 ;
38994 PyObject
* obj1
= 0 ;
38995 char * kwnames
[] = {
38996 (char *) "self",(char *) "brush", NULL
38999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39001 if (!SWIG_IsOK(res1
)) {
39002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39004 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39006 if (!SWIG_IsOK(res2
)) {
39007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39012 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39015 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39016 wxPyEndAllowThreads(__tstate
);
39017 if (PyErr_Occurred()) SWIG_fail
;
39019 resultobj
= SWIG_Py_Void();
39026 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39027 PyObject
*resultobj
= 0;
39028 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39034 PyObject
* obj0
= 0 ;
39035 PyObject
* obj1
= 0 ;
39036 char * kwnames
[] = {
39037 (char *) "self",(char *) "mode", NULL
39040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39042 if (!SWIG_IsOK(res1
)) {
39043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39047 if (!SWIG_IsOK(ecode2
)) {
39048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39050 arg2
= static_cast< int >(val2
);
39052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39053 (arg1
)->SetBackgroundMode(arg2
);
39054 wxPyEndAllowThreads(__tstate
);
39055 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= SWIG_Py_Void();
39064 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39065 PyObject
*resultobj
= 0;
39066 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39067 wxPalette
*arg2
= 0 ;
39072 PyObject
* obj0
= 0 ;
39073 PyObject
* obj1
= 0 ;
39074 char * kwnames
[] = {
39075 (char *) "self",(char *) "palette", NULL
39078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39080 if (!SWIG_IsOK(res1
)) {
39081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39085 if (!SWIG_IsOK(res2
)) {
39086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39091 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39098 resultobj
= SWIG_Py_Void();
39105 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39106 PyObject
*resultobj
= 0;
39107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39108 wxColour
*arg2
= 0 ;
39112 PyObject
* obj0
= 0 ;
39113 PyObject
* obj1
= 0 ;
39114 char * kwnames
[] = {
39115 (char *) "self",(char *) "colour", NULL
39118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39120 if (!SWIG_IsOK(res1
)) {
39121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39123 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39134 resultobj
= SWIG_Py_Void();
39141 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39142 PyObject
*resultobj
= 0;
39143 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39144 wxColour
*arg2
= 0 ;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 char * kwnames
[] = {
39151 (char *) "self",(char *) "colour", NULL
39154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39156 if (!SWIG_IsOK(res1
)) {
39157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39162 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39170 resultobj
= SWIG_Py_Void();
39177 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39178 PyObject
*resultobj
= 0;
39179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39185 PyObject
* obj0
= 0 ;
39186 PyObject
* obj1
= 0 ;
39187 char * kwnames
[] = {
39188 (char *) "self",(char *) "function", NULL
39191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39193 if (!SWIG_IsOK(res1
)) {
39194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39196 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39198 if (!SWIG_IsOK(ecode2
)) {
39199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39201 arg2
= static_cast< int >(val2
);
39203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 (arg1
)->SetLogicalFunction(arg2
);
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= SWIG_Py_Void();
39215 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39218 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39219 return SWIG_Py_Void();
39222 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39223 return SWIG_Python_InitShadowInstance(args
);
39226 static PyMethodDef SwigMethods
[] = {
39227 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39228 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39229 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39230 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39231 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39232 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39236 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39237 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39238 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39239 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39240 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39241 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39246 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39250 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39251 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39252 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39254 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39257 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39258 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39259 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39260 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39262 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39263 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39264 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39265 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39266 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39267 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39268 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39275 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39277 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39278 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39282 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39283 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39286 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39290 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39291 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39292 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39293 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39294 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39295 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39296 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39298 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39304 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39306 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39307 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39308 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39309 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39310 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39311 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39312 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39318 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39330 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39331 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39335 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39336 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39337 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39338 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39339 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39340 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39341 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39342 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39343 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39344 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39345 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39346 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39347 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39348 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39349 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39351 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39352 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39358 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39359 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39360 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39361 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39362 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39363 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39364 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39365 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39366 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39367 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39368 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39369 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39371 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39372 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39378 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39379 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39380 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39382 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39383 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39384 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39386 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39387 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39392 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39394 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39395 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39396 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39397 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39403 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39404 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39406 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39407 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39409 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39411 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39413 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39414 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39417 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39421 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39422 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39424 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39427 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39429 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39430 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39431 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39432 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39437 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39438 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39443 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39444 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39450 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39454 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39465 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39468 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39469 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39471 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39472 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39473 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39474 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39475 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39476 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39477 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39478 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39479 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39480 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39481 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39482 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39483 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39484 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39485 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39486 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39487 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39489 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39490 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39491 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39492 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39493 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39494 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39495 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39496 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39506 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39507 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39509 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39510 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39511 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39512 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39513 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39514 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39515 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39516 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39517 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39519 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39520 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39521 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39524 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39525 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39526 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39529 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39535 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39540 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39541 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39543 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39549 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39552 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39553 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39554 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39555 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39556 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39557 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39558 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39559 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39560 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39561 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39562 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39563 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39564 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39576 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39577 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39578 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39580 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39581 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39583 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39584 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39585 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39586 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39590 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39591 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39593 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39594 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39595 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39596 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39597 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39598 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39599 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39600 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39601 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39603 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39606 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39607 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39608 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39609 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39610 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39611 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39612 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39613 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39623 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39624 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39625 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39627 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39631 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39632 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39633 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39634 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39635 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39636 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39642 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39643 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39644 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39694 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39696 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39697 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39698 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39705 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39706 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39707 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39708 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39709 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39714 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39715 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39716 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39717 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39726 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39727 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39728 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39729 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39730 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39731 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39732 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39733 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39734 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39735 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39736 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39737 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39740 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39742 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39744 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39746 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39747 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39750 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39751 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39755 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39757 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39760 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39761 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39762 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39763 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39764 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39765 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39766 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39768 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39775 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39777 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39778 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39779 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39781 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39782 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39783 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39785 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39786 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39787 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39788 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39789 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39790 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39791 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39792 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39795 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39796 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39797 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39799 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39800 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39802 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39803 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39805 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39806 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39811 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39812 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39813 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39814 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39815 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39817 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39818 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39819 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39821 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39822 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39824 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39825 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39828 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39829 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39831 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39834 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39835 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39836 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39838 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39839 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39841 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39842 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39843 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39844 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39845 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39846 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39848 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39849 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39850 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39852 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39853 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39855 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39856 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39857 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39858 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39859 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39860 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39861 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39862 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39863 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39864 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39865 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39866 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39867 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39868 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39869 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39870 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39871 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39872 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39873 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39876 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39878 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39884 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39885 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39886 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39887 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39888 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39889 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39890 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39891 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39893 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39894 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39895 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39902 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39905 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39906 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39907 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39908 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39909 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39910 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39911 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39914 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39921 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39922 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39925 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39926 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39932 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39933 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39934 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39935 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39953 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39954 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39955 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39956 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39957 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39958 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39961 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39968 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39969 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39970 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39971 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39973 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39974 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39975 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39976 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39977 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39978 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39979 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39980 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39981 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39982 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39983 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39984 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39986 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39994 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39996 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39998 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39999 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40000 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40001 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40002 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40003 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40009 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40010 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40011 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40012 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40013 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40014 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40022 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40026 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40027 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40028 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40033 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40034 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40035 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40036 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40037 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40038 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40039 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40040 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40041 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40042 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40043 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40044 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40053 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40054 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40056 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40057 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40058 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40059 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40060 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40061 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40062 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40063 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40064 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40065 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40066 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40067 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40068 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40069 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40070 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40071 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40072 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40073 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40074 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40075 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40076 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40077 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40078 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40079 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40081 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40083 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40084 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40085 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40086 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40099 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40100 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40101 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40103 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40104 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40105 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40106 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40107 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40108 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40109 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40110 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40163 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40168 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40172 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40173 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40174 { NULL
, NULL
, 0, NULL
}
40178 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40180 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40181 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40183 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40184 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40186 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40187 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40189 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40190 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40192 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40193 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40195 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40196 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40198 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40199 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40201 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40202 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40204 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40205 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40207 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40208 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40210 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40211 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40213 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40214 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40216 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40217 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40219 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40220 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40222 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40223 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40225 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40226 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40228 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40229 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40231 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40232 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40234 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40235 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40237 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40238 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40240 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40241 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40243 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40244 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40246 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40247 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40249 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40250 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40252 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40253 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40255 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40256 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40258 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40259 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40261 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40262 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40264 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40265 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40267 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40268 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40270 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40271 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40273 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40274 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40276 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40277 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40279 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40280 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40282 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40283 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40285 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40286 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40288 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40289 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40291 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40292 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40294 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40295 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40297 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40298 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40300 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40301 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40303 static void *_p_wxPenTo_p_wxObject(void *x
) {
40304 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40306 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40307 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40309 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40310 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40312 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40313 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40315 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40318 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40319 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40321 static void *_p_wxIconTo_p_wxObject(void *x
) {
40322 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40324 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40325 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40327 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40328 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40330 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40331 return (void *)((wxObject
*) ((wxSizer
*) x
));
40333 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40334 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40336 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40339 static void *_p_wxEventTo_p_wxObject(void *x
) {
40340 return (void *)((wxObject
*) ((wxEvent
*) x
));
40342 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40343 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40345 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40346 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40348 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40349 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40351 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40352 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40354 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40357 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40358 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40360 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40361 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40363 static void *_p_wxDCTo_p_wxObject(void *x
) {
40364 return (void *)((wxObject
*) ((wxDC
*) x
));
40366 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40367 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40369 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40370 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40372 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40373 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40375 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40376 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40378 static void *_p_wxControlTo_p_wxObject(void *x
) {
40379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40381 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40382 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40384 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40385 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40387 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40388 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40390 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40391 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40393 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40394 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40396 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40397 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40399 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40400 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40402 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40403 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40405 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40406 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40408 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40409 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40411 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40412 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40414 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40415 return (void *)((wxObject
*) ((wxEffects
*) x
));
40417 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40418 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40420 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40423 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40424 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40426 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40427 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40429 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40430 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40432 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40433 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40435 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40438 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40439 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40441 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40444 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40445 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40447 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40448 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40450 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40451 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40453 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40454 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40456 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40457 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40459 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40460 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40462 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40465 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40468 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40471 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40474 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40477 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40478 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40480 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40481 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40483 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40484 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40486 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40489 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40492 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40493 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40495 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40498 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40501 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40504 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40505 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40507 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40508 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40510 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40511 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40513 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40514 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40516 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40517 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40519 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40520 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40522 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40523 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40525 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40526 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40528 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40529 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40531 static void *_p_wxImageTo_p_wxObject(void *x
) {
40532 return (void *)((wxObject
*) ((wxImage
*) x
));
40534 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40535 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40537 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40538 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40540 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40541 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40543 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40544 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40546 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40547 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40549 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40550 return (void *)((wxObject
*) ((wxImageList
*) x
));
40552 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40553 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40555 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40556 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40558 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40559 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40561 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40562 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40564 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40565 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40567 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40570 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40571 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40573 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40574 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40576 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40579 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40580 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40582 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40585 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40586 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40588 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40589 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40591 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40592 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40594 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40595 return (void *)((wxObject
*) ((wxMask
*) x
));
40597 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40598 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40600 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40603 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40604 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40606 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40607 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40609 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40610 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40612 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40613 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40615 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40616 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40618 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40621 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40622 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40624 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40625 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40627 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40628 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40630 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40633 static void *_p_wxFontTo_p_wxObject(void *x
) {
40634 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40636 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40637 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40639 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40640 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40642 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40645 static void *_p_wxColourTo_p_wxObject(void *x
) {
40646 return (void *)((wxObject
*) ((wxColour
*) x
));
40648 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40651 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40652 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40654 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40655 return (void *)((wxWindow
*) ((wxControl
*) x
));
40657 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40658 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40660 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40661 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40663 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40664 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40666 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40667 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40669 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40670 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40671 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40672 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};
40673 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40674 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40675 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40676 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40677 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40678 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40679 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40680 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40681 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40682 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40683 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40684 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40685 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40686 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40687 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40688 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40689 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40690 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40691 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40692 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40693 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40694 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40695 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40696 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40697 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40698 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40699 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40700 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40701 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40702 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40703 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40704 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40705 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40706 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40707 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40708 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40709 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40710 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40711 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40712 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40713 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40714 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40715 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40716 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40717 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40718 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40719 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40720 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40721 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40722 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40723 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40724 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40725 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40726 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40727 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40728 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40729 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40730 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40731 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40733 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40734 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40735 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40736 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40737 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40738 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40739 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40740 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40741 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40742 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40743 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40744 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40745 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40746 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40747 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40748 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40749 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40750 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40751 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40752 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40753 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40754 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40755 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40756 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40757 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40758 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40759 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40760 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40761 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40762 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40773 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40774 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40787 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40788 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40789 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40790 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40791 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40792 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40793 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40794 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40795 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40796 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40797 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40798 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40799 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40800 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40801 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40802 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40803 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40804 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40805 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40806 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40807 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40808 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40809 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40810 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40811 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40818 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40819 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40820 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40821 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40822 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40823 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40826 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40827 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40828 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40829 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40830 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40831 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40832 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40833 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40834 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40835 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40836 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40837 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40838 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40841 static swig_type_info
*swig_type_initial
[] = {
40845 &_swigt__p_form_ops_t
,
40847 &_swigt__p_unsigned_char
,
40848 &_swigt__p_unsigned_int
,
40849 &_swigt__p_unsigned_long
,
40851 &_swigt__p_wxANIHandler
,
40852 &_swigt__p_wxAcceleratorTable
,
40853 &_swigt__p_wxActivateEvent
,
40854 &_swigt__p_wxAlphaPixelData
,
40855 &_swigt__p_wxAlphaPixelData_Accessor
,
40856 &_swigt__p_wxAutoBufferedPaintDC
,
40857 &_swigt__p_wxBMPHandler
,
40858 &_swigt__p_wxBitmap
,
40859 &_swigt__p_wxBoxSizer
,
40860 &_swigt__p_wxBrush
,
40861 &_swigt__p_wxBrushList
,
40862 &_swigt__p_wxBufferedDC
,
40863 &_swigt__p_wxBufferedPaintDC
,
40864 &_swigt__p_wxCURHandler
,
40866 &_swigt__p_wxChildFocusEvent
,
40867 &_swigt__p_wxClientDC
,
40868 &_swigt__p_wxClipboardTextEvent
,
40869 &_swigt__p_wxCloseEvent
,
40870 &_swigt__p_wxColor
,
40871 &_swigt__p_wxColour
,
40872 &_swigt__p_wxColourDatabase
,
40873 &_swigt__p_wxCommandEvent
,
40874 &_swigt__p_wxContextMenuEvent
,
40875 &_swigt__p_wxControl
,
40876 &_swigt__p_wxControlWithItems
,
40877 &_swigt__p_wxCursor
,
40879 &_swigt__p_wxDCBrushChanger
,
40880 &_swigt__p_wxDCClipper
,
40881 &_swigt__p_wxDCOverlay
,
40882 &_swigt__p_wxDCPenChanger
,
40883 &_swigt__p_wxDCTextColourChanger
,
40885 &_swigt__p_wxDateEvent
,
40886 &_swigt__p_wxDisplayChangedEvent
,
40887 &_swigt__p_wxDropFilesEvent
,
40888 &_swigt__p_wxDuplexMode
,
40889 &_swigt__p_wxEffects
,
40890 &_swigt__p_wxEncodingConverter
,
40891 &_swigt__p_wxEraseEvent
,
40892 &_swigt__p_wxEvent
,
40893 &_swigt__p_wxEvtHandler
,
40894 &_swigt__p_wxFSFile
,
40895 &_swigt__p_wxFileSystem
,
40896 &_swigt__p_wxFlexGridSizer
,
40897 &_swigt__p_wxFocusEvent
,
40899 &_swigt__p_wxFontList
,
40900 &_swigt__p_wxFontMapper
,
40901 &_swigt__p_wxGBSizerItem
,
40903 &_swigt__p_wxGDIObjListBase
,
40904 &_swigt__p_wxGDIObject
,
40905 &_swigt__p_wxGIFHandler
,
40906 &_swigt__p_wxGraphicsBrush
,
40907 &_swigt__p_wxGraphicsContext
,
40908 &_swigt__p_wxGraphicsFont
,
40909 &_swigt__p_wxGraphicsMatrix
,
40910 &_swigt__p_wxGraphicsObject
,
40911 &_swigt__p_wxGraphicsPath
,
40912 &_swigt__p_wxGraphicsPen
,
40913 &_swigt__p_wxGraphicsRenderer
,
40914 &_swigt__p_wxGridBagSizer
,
40915 &_swigt__p_wxGridSizer
,
40916 &_swigt__p_wxHeaderButtonParams
,
40917 &_swigt__p_wxICOHandler
,
40919 &_swigt__p_wxIconBundle
,
40920 &_swigt__p_wxIconLocation
,
40921 &_swigt__p_wxIconizeEvent
,
40922 &_swigt__p_wxIdleEvent
,
40923 &_swigt__p_wxImage
,
40924 &_swigt__p_wxImageHandler
,
40925 &_swigt__p_wxImageList
,
40926 &_swigt__p_wxIndividualLayoutConstraint
,
40927 &_swigt__p_wxInitDialogEvent
,
40928 &_swigt__p_wxJPEGHandler
,
40929 &_swigt__p_wxKeyEvent
,
40930 &_swigt__p_wxLanguageInfo
,
40931 &_swigt__p_wxLayoutConstraints
,
40932 &_swigt__p_wxLocale
,
40934 &_swigt__p_wxMaximizeEvent
,
40935 &_swigt__p_wxMemoryDC
,
40937 &_swigt__p_wxMenuBar
,
40938 &_swigt__p_wxMenuEvent
,
40939 &_swigt__p_wxMenuItem
,
40940 &_swigt__p_wxMetaFile
,
40941 &_swigt__p_wxMetaFileDC
,
40942 &_swigt__p_wxMirrorDC
,
40943 &_swigt__p_wxMouseCaptureChangedEvent
,
40944 &_swigt__p_wxMouseCaptureLostEvent
,
40945 &_swigt__p_wxMouseEvent
,
40946 &_swigt__p_wxMoveEvent
,
40947 &_swigt__p_wxNativeEncodingInfo
,
40948 &_swigt__p_wxNativeFontInfo
,
40949 &_swigt__p_wxNativePixelData
,
40950 &_swigt__p_wxNativePixelData_Accessor
,
40951 &_swigt__p_wxNavigationKeyEvent
,
40952 &_swigt__p_wxNcPaintEvent
,
40953 &_swigt__p_wxNotifyEvent
,
40954 &_swigt__p_wxObject
,
40955 &_swigt__p_wxOverlay
,
40956 &_swigt__p_wxPCXHandler
,
40957 &_swigt__p_wxPNGHandler
,
40958 &_swigt__p_wxPNMHandler
,
40959 &_swigt__p_wxPaintDC
,
40960 &_swigt__p_wxPaintEvent
,
40961 &_swigt__p_wxPalette
,
40962 &_swigt__p_wxPaletteChangedEvent
,
40963 &_swigt__p_wxPaperSize
,
40965 &_swigt__p_wxPenList
,
40966 &_swigt__p_wxPixelDataBase
,
40967 &_swigt__p_wxPoint
,
40968 &_swigt__p_wxPoint2D
,
40969 &_swigt__p_wxPoint2DDouble
,
40970 &_swigt__p_wxPostScriptDC
,
40971 &_swigt__p_wxPrintData
,
40972 &_swigt__p_wxPrinterDC
,
40973 &_swigt__p_wxPseudoDC
,
40974 &_swigt__p_wxPyApp
,
40975 &_swigt__p_wxPyCommandEvent
,
40976 &_swigt__p_wxPyEvent
,
40977 &_swigt__p_wxPyFontEnumerator
,
40978 &_swigt__p_wxPyImageHandler
,
40979 &_swigt__p_wxPyLocale
,
40980 &_swigt__p_wxPySizer
,
40981 &_swigt__p_wxPyValidator
,
40982 &_swigt__p_wxQueryNewPaletteEvent
,
40984 &_swigt__p_wxRect2DDouble
,
40985 &_swigt__p_wxRegion
,
40986 &_swigt__p_wxRegionIterator
,
40987 &_swigt__p_wxRendererNative
,
40988 &_swigt__p_wxRendererVersion
,
40989 &_swigt__p_wxScreenDC
,
40990 &_swigt__p_wxScrollEvent
,
40991 &_swigt__p_wxScrollWinEvent
,
40992 &_swigt__p_wxSetCursorEvent
,
40993 &_swigt__p_wxShowEvent
,
40995 &_swigt__p_wxSizeEvent
,
40996 &_swigt__p_wxSizer
,
40997 &_swigt__p_wxSizerItem
,
40998 &_swigt__p_wxSplitterRenderParams
,
40999 &_swigt__p_wxStaticBoxSizer
,
41000 &_swigt__p_wxStdDialogButtonSizer
,
41001 &_swigt__p_wxStockGDI
,
41002 &_swigt__p_wxString
,
41003 &_swigt__p_wxSysColourChangedEvent
,
41004 &_swigt__p_wxTGAHandler
,
41005 &_swigt__p_wxTIFFHandler
,
41006 &_swigt__p_wxUpdateUIEvent
,
41007 &_swigt__p_wxValidator
,
41008 &_swigt__p_wxWindow
,
41009 &_swigt__p_wxWindowCreateEvent
,
41010 &_swigt__p_wxWindowDC
,
41011 &_swigt__p_wxWindowDestroyEvent
,
41012 &_swigt__p_wxXPMHandler
,
41015 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41016 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41017 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41018 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41019 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41020 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41021 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41022 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41023 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41024 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41025 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41026 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41027 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41028 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41029 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41030 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}};
41031 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41032 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41033 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}};
41034 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
41035 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41036 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41037 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41038 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}};
41039 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41040 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41041 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41042 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41043 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41044 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41045 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41046 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41047 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41048 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41049 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41050 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41051 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41052 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}};
41053 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}};
41054 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41055 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41056 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41057 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41058 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}};
41059 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41064 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41065 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41066 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41067 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41068 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41069 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}};
41070 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41071 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}};
41072 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41073 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41074 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41075 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41076 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41080 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41081 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41082 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41083 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41126 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41156 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}};
41157 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41163 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}};
41164 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41184 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}};
41185 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}};
41187 static swig_cast_info
*swig_cast_initial
[] = {
41191 _swigc__p_form_ops_t
,
41193 _swigc__p_unsigned_char
,
41194 _swigc__p_unsigned_int
,
41195 _swigc__p_unsigned_long
,
41197 _swigc__p_wxANIHandler
,
41198 _swigc__p_wxAcceleratorTable
,
41199 _swigc__p_wxActivateEvent
,
41200 _swigc__p_wxAlphaPixelData
,
41201 _swigc__p_wxAlphaPixelData_Accessor
,
41202 _swigc__p_wxAutoBufferedPaintDC
,
41203 _swigc__p_wxBMPHandler
,
41204 _swigc__p_wxBitmap
,
41205 _swigc__p_wxBoxSizer
,
41207 _swigc__p_wxBrushList
,
41208 _swigc__p_wxBufferedDC
,
41209 _swigc__p_wxBufferedPaintDC
,
41210 _swigc__p_wxCURHandler
,
41212 _swigc__p_wxChildFocusEvent
,
41213 _swigc__p_wxClientDC
,
41214 _swigc__p_wxClipboardTextEvent
,
41215 _swigc__p_wxCloseEvent
,
41217 _swigc__p_wxColour
,
41218 _swigc__p_wxColourDatabase
,
41219 _swigc__p_wxCommandEvent
,
41220 _swigc__p_wxContextMenuEvent
,
41221 _swigc__p_wxControl
,
41222 _swigc__p_wxControlWithItems
,
41223 _swigc__p_wxCursor
,
41225 _swigc__p_wxDCBrushChanger
,
41226 _swigc__p_wxDCClipper
,
41227 _swigc__p_wxDCOverlay
,
41228 _swigc__p_wxDCPenChanger
,
41229 _swigc__p_wxDCTextColourChanger
,
41231 _swigc__p_wxDateEvent
,
41232 _swigc__p_wxDisplayChangedEvent
,
41233 _swigc__p_wxDropFilesEvent
,
41234 _swigc__p_wxDuplexMode
,
41235 _swigc__p_wxEffects
,
41236 _swigc__p_wxEncodingConverter
,
41237 _swigc__p_wxEraseEvent
,
41239 _swigc__p_wxEvtHandler
,
41240 _swigc__p_wxFSFile
,
41241 _swigc__p_wxFileSystem
,
41242 _swigc__p_wxFlexGridSizer
,
41243 _swigc__p_wxFocusEvent
,
41245 _swigc__p_wxFontList
,
41246 _swigc__p_wxFontMapper
,
41247 _swigc__p_wxGBSizerItem
,
41249 _swigc__p_wxGDIObjListBase
,
41250 _swigc__p_wxGDIObject
,
41251 _swigc__p_wxGIFHandler
,
41252 _swigc__p_wxGraphicsBrush
,
41253 _swigc__p_wxGraphicsContext
,
41254 _swigc__p_wxGraphicsFont
,
41255 _swigc__p_wxGraphicsMatrix
,
41256 _swigc__p_wxGraphicsObject
,
41257 _swigc__p_wxGraphicsPath
,
41258 _swigc__p_wxGraphicsPen
,
41259 _swigc__p_wxGraphicsRenderer
,
41260 _swigc__p_wxGridBagSizer
,
41261 _swigc__p_wxGridSizer
,
41262 _swigc__p_wxHeaderButtonParams
,
41263 _swigc__p_wxICOHandler
,
41265 _swigc__p_wxIconBundle
,
41266 _swigc__p_wxIconLocation
,
41267 _swigc__p_wxIconizeEvent
,
41268 _swigc__p_wxIdleEvent
,
41270 _swigc__p_wxImageHandler
,
41271 _swigc__p_wxImageList
,
41272 _swigc__p_wxIndividualLayoutConstraint
,
41273 _swigc__p_wxInitDialogEvent
,
41274 _swigc__p_wxJPEGHandler
,
41275 _swigc__p_wxKeyEvent
,
41276 _swigc__p_wxLanguageInfo
,
41277 _swigc__p_wxLayoutConstraints
,
41278 _swigc__p_wxLocale
,
41280 _swigc__p_wxMaximizeEvent
,
41281 _swigc__p_wxMemoryDC
,
41283 _swigc__p_wxMenuBar
,
41284 _swigc__p_wxMenuEvent
,
41285 _swigc__p_wxMenuItem
,
41286 _swigc__p_wxMetaFile
,
41287 _swigc__p_wxMetaFileDC
,
41288 _swigc__p_wxMirrorDC
,
41289 _swigc__p_wxMouseCaptureChangedEvent
,
41290 _swigc__p_wxMouseCaptureLostEvent
,
41291 _swigc__p_wxMouseEvent
,
41292 _swigc__p_wxMoveEvent
,
41293 _swigc__p_wxNativeEncodingInfo
,
41294 _swigc__p_wxNativeFontInfo
,
41295 _swigc__p_wxNativePixelData
,
41296 _swigc__p_wxNativePixelData_Accessor
,
41297 _swigc__p_wxNavigationKeyEvent
,
41298 _swigc__p_wxNcPaintEvent
,
41299 _swigc__p_wxNotifyEvent
,
41300 _swigc__p_wxObject
,
41301 _swigc__p_wxOverlay
,
41302 _swigc__p_wxPCXHandler
,
41303 _swigc__p_wxPNGHandler
,
41304 _swigc__p_wxPNMHandler
,
41305 _swigc__p_wxPaintDC
,
41306 _swigc__p_wxPaintEvent
,
41307 _swigc__p_wxPalette
,
41308 _swigc__p_wxPaletteChangedEvent
,
41309 _swigc__p_wxPaperSize
,
41311 _swigc__p_wxPenList
,
41312 _swigc__p_wxPixelDataBase
,
41314 _swigc__p_wxPoint2D
,
41315 _swigc__p_wxPoint2DDouble
,
41316 _swigc__p_wxPostScriptDC
,
41317 _swigc__p_wxPrintData
,
41318 _swigc__p_wxPrinterDC
,
41319 _swigc__p_wxPseudoDC
,
41321 _swigc__p_wxPyCommandEvent
,
41322 _swigc__p_wxPyEvent
,
41323 _swigc__p_wxPyFontEnumerator
,
41324 _swigc__p_wxPyImageHandler
,
41325 _swigc__p_wxPyLocale
,
41326 _swigc__p_wxPySizer
,
41327 _swigc__p_wxPyValidator
,
41328 _swigc__p_wxQueryNewPaletteEvent
,
41330 _swigc__p_wxRect2DDouble
,
41331 _swigc__p_wxRegion
,
41332 _swigc__p_wxRegionIterator
,
41333 _swigc__p_wxRendererNative
,
41334 _swigc__p_wxRendererVersion
,
41335 _swigc__p_wxScreenDC
,
41336 _swigc__p_wxScrollEvent
,
41337 _swigc__p_wxScrollWinEvent
,
41338 _swigc__p_wxSetCursorEvent
,
41339 _swigc__p_wxShowEvent
,
41341 _swigc__p_wxSizeEvent
,
41343 _swigc__p_wxSizerItem
,
41344 _swigc__p_wxSplitterRenderParams
,
41345 _swigc__p_wxStaticBoxSizer
,
41346 _swigc__p_wxStdDialogButtonSizer
,
41347 _swigc__p_wxStockGDI
,
41348 _swigc__p_wxString
,
41349 _swigc__p_wxSysColourChangedEvent
,
41350 _swigc__p_wxTGAHandler
,
41351 _swigc__p_wxTIFFHandler
,
41352 _swigc__p_wxUpdateUIEvent
,
41353 _swigc__p_wxValidator
,
41354 _swigc__p_wxWindow
,
41355 _swigc__p_wxWindowCreateEvent
,
41356 _swigc__p_wxWindowDC
,
41357 _swigc__p_wxWindowDestroyEvent
,
41358 _swigc__p_wxXPMHandler
,
41362 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41364 static swig_const_info swig_const_table
[] = {
41365 {0, 0, 0, 0.0, 0, 0}};
41370 /* -----------------------------------------------------------------------------
41371 * Type initialization:
41372 * This problem is tough by the requirement that no dynamic
41373 * memory is used. Also, since swig_type_info structures store pointers to
41374 * swig_cast_info structures and swig_cast_info structures store pointers back
41375 * to swig_type_info structures, we need some lookup code at initialization.
41376 * The idea is that swig generates all the structures that are needed.
41377 * The runtime then collects these partially filled structures.
41378 * The SWIG_InitializeModule function takes these initial arrays out of
41379 * swig_module, and does all the lookup, filling in the swig_module.types
41380 * array with the correct data and linking the correct swig_cast_info
41381 * structures together.
41383 * The generated swig_type_info structures are assigned staticly to an initial
41384 * array. We just loop though that array, and handle each type individually.
41385 * First we lookup if this type has been already loaded, and if so, use the
41386 * loaded structure instead of the generated one. Then we have to fill in the
41387 * cast linked list. The cast data is initially stored in something like a
41388 * two-dimensional array. Each row corresponds to a type (there are the same
41389 * number of rows as there are in the swig_type_initial array). Each entry in
41390 * a column is one of the swig_cast_info structures for that type.
41391 * The cast_initial array is actually an array of arrays, because each row has
41392 * a variable number of columns. So to actually build the cast linked list,
41393 * we find the array of casts associated with the type, and loop through it
41394 * adding the casts to the list. The one last trick we need to do is making
41395 * sure the type pointer in the swig_cast_info struct is correct.
41397 * First off, we lookup the cast->type name to see if it is already loaded.
41398 * There are three cases to handle:
41399 * 1) If the cast->type has already been loaded AND the type we are adding
41400 * casting info to has not been loaded (it is in this module), THEN we
41401 * replace the cast->type pointer with the type pointer that has already
41403 * 2) If BOTH types (the one we are adding casting info to, and the
41404 * cast->type) are loaded, THEN the cast info has already been loaded by
41405 * the previous module so we just ignore it.
41406 * 3) Finally, if cast->type has not already been loaded, then we add that
41407 * swig_cast_info to the linked list (because the cast->type) pointer will
41409 * ----------------------------------------------------------------------------- */
41419 #define SWIGRUNTIME_DEBUG
41423 SWIG_InitializeModule(void *clientdata
) {
41425 swig_module_info
*module_head
;
41426 static int init_run
= 0;
41428 clientdata
= clientdata
;
41430 if (init_run
) return;
41433 /* Initialize the swig_module */
41434 swig_module
.type_initial
= swig_type_initial
;
41435 swig_module
.cast_initial
= swig_cast_initial
;
41437 /* Try and load any already created modules */
41438 module_head
= SWIG_GetModule(clientdata
);
41440 swig_module
.next
= module_head
->next
;
41441 module_head
->next
= &swig_module
;
41443 /* This is the first module loaded */
41444 swig_module
.next
= &swig_module
;
41445 SWIG_SetModule(clientdata
, &swig_module
);
41448 /* Now work on filling in swig_module.types */
41449 #ifdef SWIGRUNTIME_DEBUG
41450 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41452 for (i
= 0; i
< swig_module
.size
; ++i
) {
41453 swig_type_info
*type
= 0;
41454 swig_type_info
*ret
;
41455 swig_cast_info
*cast
;
41457 #ifdef SWIGRUNTIME_DEBUG
41458 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41461 /* if there is another module already loaded */
41462 if (swig_module
.next
!= &swig_module
) {
41463 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41466 /* Overwrite clientdata field */
41467 #ifdef SWIGRUNTIME_DEBUG
41468 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41470 if (swig_module
.type_initial
[i
]->clientdata
) {
41471 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41472 #ifdef SWIGRUNTIME_DEBUG
41473 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41477 type
= swig_module
.type_initial
[i
];
41480 /* Insert casting types */
41481 cast
= swig_module
.cast_initial
[i
];
41482 while (cast
->type
) {
41483 /* Don't need to add information already in the list */
41485 #ifdef SWIGRUNTIME_DEBUG
41486 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41488 if (swig_module
.next
!= &swig_module
) {
41489 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41490 #ifdef SWIGRUNTIME_DEBUG
41491 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41495 if (type
== swig_module
.type_initial
[i
]) {
41496 #ifdef SWIGRUNTIME_DEBUG
41497 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41502 /* Check for casting already in the list */
41503 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41504 #ifdef SWIGRUNTIME_DEBUG
41505 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41507 if (!ocast
) ret
= 0;
41512 #ifdef SWIGRUNTIME_DEBUG
41513 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41516 type
->cast
->prev
= cast
;
41517 cast
->next
= type
->cast
;
41523 /* Set entry in modules->types array equal to the type */
41524 swig_module
.types
[i
] = type
;
41526 swig_module
.types
[i
] = 0;
41528 #ifdef SWIGRUNTIME_DEBUG
41529 printf("**** SWIG_InitializeModule: Cast List ******\n");
41530 for (i
= 0; i
< swig_module
.size
; ++i
) {
41532 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41533 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41534 while (cast
->type
) {
41535 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41539 printf("---- Total casts: %d\n",j
);
41541 printf("**** SWIG_InitializeModule: Cast List ******\n");
41545 /* This function will propagate the clientdata field of type to
41546 * any new swig_type_info structures that have been added into the list
41547 * of equivalent types. It is like calling
41548 * SWIG_TypeClientData(type, clientdata) a second time.
41551 SWIG_PropagateClientData(void) {
41553 swig_cast_info
*equiv
;
41554 static int init_run
= 0;
41556 if (init_run
) return;
41559 for (i
= 0; i
< swig_module
.size
; i
++) {
41560 if (swig_module
.types
[i
]->clientdata
) {
41561 equiv
= swig_module
.types
[i
]->cast
;
41563 if (!equiv
->converter
) {
41564 if (equiv
->type
&& !equiv
->type
->clientdata
)
41565 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41567 equiv
= equiv
->next
;
41587 /* Python-specific SWIG API */
41588 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41589 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41590 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41592 /* -----------------------------------------------------------------------------
41593 * global variable support code.
41594 * ----------------------------------------------------------------------------- */
41596 typedef struct swig_globalvar
{
41597 char *name
; /* Name of global variable */
41598 PyObject
*(*get_attr
)(void); /* Return the current value */
41599 int (*set_attr
)(PyObject
*); /* Set the value */
41600 struct swig_globalvar
*next
;
41603 typedef struct swig_varlinkobject
{
41605 swig_globalvar
*vars
;
41606 } swig_varlinkobject
;
41608 SWIGINTERN PyObject
*
41609 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41610 return PyString_FromString("<Swig global variables>");
41613 SWIGINTERN PyObject
*
41614 swig_varlink_str(swig_varlinkobject
*v
) {
41615 PyObject
*str
= PyString_FromString("(");
41616 swig_globalvar
*var
;
41617 for (var
= v
->vars
; var
; var
=var
->next
) {
41618 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41619 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41621 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41626 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41627 PyObject
*str
= swig_varlink_str(v
);
41628 fprintf(fp
,"Swig global variables ");
41629 fprintf(fp
,"%s\n", PyString_AsString(str
));
41635 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41636 swig_globalvar
*var
= v
->vars
;
41638 swig_globalvar
*n
= var
->next
;
41645 SWIGINTERN PyObject
*
41646 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41647 PyObject
*res
= NULL
;
41648 swig_globalvar
*var
= v
->vars
;
41650 if (strcmp(var
->name
,n
) == 0) {
41651 res
= (*var
->get_attr
)();
41656 if (res
== NULL
&& !PyErr_Occurred()) {
41657 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41663 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41665 swig_globalvar
*var
= v
->vars
;
41667 if (strcmp(var
->name
,n
) == 0) {
41668 res
= (*var
->set_attr
)(p
);
41673 if (res
== 1 && !PyErr_Occurred()) {
41674 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41679 SWIGINTERN PyTypeObject
*
41680 swig_varlink_type(void) {
41681 static char varlink__doc__
[] = "Swig var link object";
41682 static PyTypeObject varlink_type
;
41683 static int type_init
= 0;
41685 const PyTypeObject tmp
41687 PyObject_HEAD_INIT(NULL
)
41688 0, /* Number of items in variable part (ob_size) */
41689 (char *)"swigvarlink", /* Type name (tp_name) */
41690 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41691 0, /* Itemsize (tp_itemsize) */
41692 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41693 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41694 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41695 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41696 0, /* tp_compare */
41697 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41698 0, /* tp_as_number */
41699 0, /* tp_as_sequence */
41700 0, /* tp_as_mapping */
41703 (reprfunc
)swig_varlink_str
, /* tp_str */
41704 0, /* tp_getattro */
41705 0, /* tp_setattro */
41706 0, /* tp_as_buffer */
41708 varlink__doc__
, /* tp_doc */
41709 0, /* tp_traverse */
41711 0, /* tp_richcompare */
41712 0, /* tp_weaklistoffset */
41713 #if PY_VERSION_HEX >= 0x02020000
41714 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41716 #if PY_VERSION_HEX >= 0x02030000
41719 #ifdef COUNT_ALLOCS
41720 0,0,0,0 /* tp_alloc -> tp_next */
41723 varlink_type
= tmp
;
41724 varlink_type
.ob_type
= &PyType_Type
;
41727 return &varlink_type
;
41730 /* Create a variable linking object for use later */
41731 SWIGINTERN PyObject
*
41732 SWIG_Python_newvarlink(void) {
41733 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41737 return ((PyObject
*) result
);
41741 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41742 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41743 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41745 size_t size
= strlen(name
)+1;
41746 gv
->name
= (char *)malloc(size
);
41748 strncpy(gv
->name
,name
,size
);
41749 gv
->get_attr
= get_attr
;
41750 gv
->set_attr
= set_attr
;
41751 gv
->next
= v
->vars
;
41757 SWIGINTERN PyObject
*
41759 static PyObject
*_SWIG_globals
= 0;
41760 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41761 return _SWIG_globals
;
41764 /* -----------------------------------------------------------------------------
41765 * constants/methods manipulation
41766 * ----------------------------------------------------------------------------- */
41768 /* Install Constants */
41770 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41773 for (i
= 0; constants
[i
].type
; ++i
) {
41774 switch(constants
[i
].type
) {
41775 case SWIG_PY_POINTER
:
41776 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41778 case SWIG_PY_BINARY
:
41779 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41786 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41792 /* -----------------------------------------------------------------------------*/
41793 /* Fix SwigMethods to carry the callback ptrs when needed */
41794 /* -----------------------------------------------------------------------------*/
41797 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41798 swig_const_info
*const_table
,
41799 swig_type_info
**types
,
41800 swig_type_info
**types_initial
) {
41802 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41803 const char *c
= methods
[i
].ml_doc
;
41804 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41806 swig_const_info
*ci
= 0;
41807 const char *name
= c
+ 10;
41808 for (j
= 0; const_table
[j
].type
; ++j
) {
41809 if (strncmp(const_table
[j
].name
, name
,
41810 strlen(const_table
[j
].name
)) == 0) {
41811 ci
= &(const_table
[j
]);
41816 size_t shift
= (ci
->ptype
) - types
;
41817 swig_type_info
*ty
= types_initial
[shift
];
41818 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41819 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41820 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41823 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41825 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41827 strncpy(buff
, "swig_ptr: ", 10);
41829 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41830 methods
[i
].ml_doc
= ndoc
;
41842 /* -----------------------------------------------------------------------------*
41843 * Partial Init method
41844 * -----------------------------------------------------------------------------*/
41849 SWIGEXPORT
void SWIG_init(void) {
41852 /* Fix SwigMethods to carry the callback ptrs when needed */
41853 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41855 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41856 d
= PyModule_GetDict(m
);
41858 SWIG_InitializeModule(0);
41859 SWIG_InstallConstants(d
,swig_const_table
);
41862 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41863 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41864 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41865 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41866 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41867 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41868 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41869 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41870 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41871 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41872 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41873 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41874 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41875 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41876 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41877 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41878 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41879 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41880 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41881 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41882 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41883 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41884 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41885 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41886 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41887 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41888 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41889 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41890 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41891 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41892 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41893 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41894 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41895 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41896 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41897 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41898 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41899 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41900 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41901 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41902 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41903 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41904 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41905 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41906 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41907 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41908 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41909 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41910 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41911 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41912 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41913 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41914 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41915 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41916 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41917 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41918 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41919 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41920 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41921 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41922 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41923 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41924 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41925 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41926 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41927 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41928 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41929 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41930 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41931 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41932 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41933 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41934 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41935 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41936 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41937 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41938 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41939 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41940 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41941 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41942 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41943 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41944 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41945 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41946 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41947 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41948 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41949 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41950 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41951 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41952 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41953 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41954 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41955 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41956 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41957 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41958 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41959 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41960 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41961 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41962 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41963 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41964 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41965 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41966 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41967 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41968 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41969 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41970 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41971 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41972 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41973 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41987 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41988 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41989 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41990 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41991 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41992 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41993 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41995 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42019 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42020 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42021 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42022 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42023 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42024 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42025 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42026 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42027 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42028 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42029 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42030 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42031 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42032 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42033 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42034 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42035 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42036 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42037 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42038 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42039 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42040 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42041 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42042 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42043 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42044 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42045 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42046 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42047 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42048 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42049 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42050 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42051 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42052 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42053 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42054 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42055 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42056 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42057 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42058 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42059 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42060 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42061 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42062 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42063 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42064 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42065 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42066 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42067 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42068 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42069 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42070 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42071 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42072 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42073 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42074 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42075 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42076 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42077 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42078 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42079 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42080 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42081 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42082 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42083 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42084 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42085 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42086 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42087 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42088 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42089 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42090 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42091 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42092 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42093 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42094 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42095 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42096 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42097 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42098 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42099 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42100 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42101 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42102 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42103 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42104 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42105 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42106 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42107 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42108 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42109 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42110 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42111 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42112 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42113 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42114 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42115 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42116 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42117 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42118 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42119 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42120 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42121 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42122 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42123 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42124 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42125 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42126 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42127 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42128 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42129 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42130 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42131 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42132 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42133 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42134 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42135 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42136 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42137 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42138 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42139 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42140 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42141 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42142 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42143 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42144 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42145 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42146 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42147 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42148 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42149 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42150 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42151 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42152 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42153 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42154 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42155 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42156 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42157 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42158 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42159 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42160 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42161 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42162 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42163 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42164 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42165 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42166 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42167 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42168 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42226 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42227 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42228 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42229 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42230 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42231 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42232 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42233 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42234 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42235 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42236 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42237 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42238 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42239 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42240 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42241 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42242 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42243 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42244 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42245 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42246 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42247 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42248 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42249 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42250 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42251 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42252 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42253 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42254 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42255 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42256 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42257 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42258 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42259 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42260 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42261 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42262 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42263 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42264 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42265 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42266 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42267 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42268 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42269 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42270 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42271 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42272 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42273 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42274 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42275 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42276 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42277 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42278 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42279 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42280 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42281 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42282 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42283 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42284 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42285 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42286 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42287 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42288 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42289 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42290 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42291 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42292 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42293 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42294 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42295 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42296 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42297 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42298 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42299 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42300 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42301 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42302 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42303 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42304 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42305 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42306 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42307 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42308 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42309 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42310 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42311 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42312 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42313 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42314 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42315 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42316 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42317 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42318 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42319 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42320 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42322 // Work around a chicken/egg problem in drawlist.cpp
42323 wxPyDrawList_SetAPIPtr();