1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3263 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3264 return self
->operator bool();
3267 #include <wx/fontutil.h>
3268 #include <wx/fontmap.h>
3269 #include <wx/fontenum.h>
3271 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3272 return self
->ToString();
3275 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3276 static wxNativeEncodingInfo info
;
3277 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 class wxMetaFile
: public wxObject
{
3610 wxMetaFile(const wxString
&)
3611 { wxPyRaiseNotImplemented(); }
3614 class wxMetaFileDC
: public wxClientDC
{
3616 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3617 { wxPyRaiseNotImplemented(); }
3622 class wxPrinterDC
: public wxClientDC
{
3624 wxPrinterDC(const wxPrintData
&)
3625 { wxPyRaiseNotImplemented(); }
3630 #include <wx/graphics.h>
3633 #if !wxUSE_GRAPHICS_CONTEXT
3634 // C++ stub classes for platforms or build configurations that don't have
3635 // wxGraphicsContext yet.
3638 class wxGraphicsObject
: public wxObject
3641 wxGraphicsObject( wxGraphicsRenderer
* ) {
3642 PyErr_SetString(PyExc_NotImplementedError
,
3643 "wx.GraphicsObject is not available on this platform.");
3645 wxGraphicsObject( const wxGraphicsObject
& ) {}
3646 virtual ~wxGraphicsObject() {}
3647 bool IsNull() const { return false; }
3648 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3653 class wxGraphicsPen
: public wxGraphicsObject
3656 virtual ~wxGraphicsPen() {}
3658 wxGraphicsPen wxNullGraphicsPen
;
3662 class wxGraphicsBrush
: public wxGraphicsObject
3665 wxGraphicsBrush() {}
3666 virtual ~wxGraphicsBrush() {}
3668 wxGraphicsBrush wxNullGraphicsBrush
;
3672 class wxGraphicsFont
: public wxGraphicsObject
3676 virtual ~wxGraphicsFont() {}
3678 wxGraphicsFont wxNullGraphicsFont
;
3682 class wxGraphicsPath
: public wxGraphicsObject
3685 wxGraphicsPath(wxGraphicsRenderer
* ) {
3686 PyErr_SetString(PyExc_NotImplementedError
,
3687 "wx.GraphicsPath is not available on this platform.");
3689 virtual ~wxGraphicsPath() {}
3691 void MoveToPoint( wxDouble
, wxDouble
) {}
3692 void MoveToPoint( const wxPoint2DDouble
& ) {}
3693 void AddLineToPoint( wxDouble
, wxDouble
) {}
3694 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3695 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3697 void AddPath( const wxGraphicsPath
* ) {}
3698 void CloseSubpath() {}
3699 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3700 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3701 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3702 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3704 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3706 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3707 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void * GetNativePath() const { return NULL
; }
3712 void UnGetNativePath(void *) {}
3713 void Transform( wxGraphicsMatrix
* ) {}
3714 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3715 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3717 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3718 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3720 wxGraphicsPath wxNullGraphicsPath
;
3723 class wxGraphicsMatrix
: public wxGraphicsObject
3726 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3727 PyErr_SetString(PyExc_NotImplementedError
,
3728 "wx.GraphicsMatrix is not available on this platform.");
3730 virtual ~wxGraphicsMatrix() {}
3731 virtual void Concat( const wxGraphicsMatrix
* ) {}
3732 virtual void Copy( const wxGraphicsMatrix
* ) {}
3733 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3734 wxDouble
, wxDouble
) {}
3735 virtual void Invert() {}
3736 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3737 virtual bool IsIdentity() { return false; }
3738 virtual void Translate( wxDouble
, wxDouble
) {}
3739 virtual void Scale( wxDouble
, wxDouble
) {}
3740 virtual void Rotate( wxDouble
) {}
3741 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3742 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3743 virtual void * GetNativeMatrix() const { return NULL
; }
3745 wxGraphicsMatrix wxNullGraphicsMatrix
;
3748 class wxGraphicsContext
: public wxGraphicsObject
3752 wxGraphicsContext(wxGraphicsRenderer
* ) {
3753 PyErr_SetString(PyExc_NotImplementedError
,
3754 "wx.GraphicsContext is not available on this platform.");
3757 virtual ~wxGraphicsContext() {}
3759 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3764 static wxGraphicsContext
* CreateFromNative( void * ) {
3765 PyErr_SetString(PyExc_NotImplementedError
,
3766 "wx.GraphicsContext is not available on this platform.");
3769 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3770 PyErr_SetString(PyExc_NotImplementedError
,
3771 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( wxWindow
* ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3779 wxGraphicsPath
* CreatePath() { return NULL
; }
3781 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3783 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3785 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3786 const wxColour
&, const wxColour
&) { return NULL
; }
3788 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3789 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3790 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3792 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3794 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3795 wxDouble
, wxDouble
) { return NULL
; }
3797 virtual void PushState() {}
3798 virtual void PopState() {}
3799 virtual void Clip( const wxRegion
& ) {}
3800 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3801 virtual void ResetClip() {}
3802 virtual void * GetNativeContext() { return NULL
; }
3803 virtual void Translate( wxDouble
, wxDouble
) {}
3804 virtual void Scale( wxDouble
, wxDouble
) {}
3805 virtual void Rotate( wxDouble
) {}
3806 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3807 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3808 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3810 virtual void SetPen( const wxGraphicsPen
& ) {}
3811 void SetPen( const wxPen
& ) {}
3813 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3814 void SetBrush( const wxBrush
& ) {}
3816 virtual void SetFont( const wxGraphicsFont
& ) {}
3817 void SetFont( const wxFont
&, const wxColour
& ) {}
3819 virtual void StrokePath( const wxGraphicsPath
* ) {}
3820 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3821 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
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 DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual bool ShouldOffset() const { return false; }
3843 class wxGraphicsRenderer
: public wxObject
3846 wxGraphicsRenderer() {
3847 PyErr_SetString(PyExc_NotImplementedError
,
3848 "wx.GraphicsRenderer is not available on this platform.");
3851 virtual ~wxGraphicsRenderer() {}
3853 static wxGraphicsRenderer
* GetDefaultRenderer(
3854 PyErr_SetString(PyExc_NotImplementedError
,
3855 "wx.GraphicsRenderer is not available on this platform.");
3858 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3859 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3860 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3861 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3863 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3865 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3866 wxDouble
, wxDouble
) { return NULL
; }
3868 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3869 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3870 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3871 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3872 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3873 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3874 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3879 class wxGCDC
: public wxWindowDC
3882 wxGCDC(const wxWindowDC
&) {
3883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3884 PyErr_SetString(PyExc_NotImplementedError
,
3885 "wxGCDC is not available on this platform.");
3886 wxPyEndBlockThreads(blocked
);
3890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3891 PyErr_SetString(PyExc_NotImplementedError
,
3892 "wxGCDC is not available on this platform.");
3893 wxPyEndBlockThreads(blocked
);
3896 virtual ~wxGCDC() {}
3898 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3899 void SetGraphicsContext( wxGraphicsContext
* ) {}
3904 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3907 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3908 wxDouble width
= 0.0,
3910 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3911 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3912 PyObject
* rv
= PyTuple_New(2);
3913 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3914 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3917 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3918 wxArrayDouble widths
;
3919 self
->GetPartialTextExtents(text
, widths
);
3922 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3923 size_t c1
, c2
, count
;
3924 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3925 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3927 if ( beginP
!= NULL
&& endP
!= NULL
)
3929 count
= wxMin(c1
, c2
);
3930 self
->StrokeLines(count
, beginP
, endP
);
3936 #include "wx/dcgraph.h"
3939 #include <wx/overlay.h>
3943 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3944 self
->AddColour(name
, wxColour(red
, green
, blue
));
3947 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3948 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3949 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3950 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3953 #include <wx/effects.h>
3956 #include "wx/renderer.h"
3959 SWIGINTERNINLINE PyObject
*
3960 SWIG_From_bool (bool value
)
3962 return PyBool_FromLong(value
? 1 : 0);
3966 #include "wx/wxPython/pseudodc.h"
3968 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3970 self
->GetIdBounds(id
, rect
);
3976 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3977 PyObject
*resultobj
= 0;
3978 wxGDIObject
*result
= 0 ;
3980 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3982 if (!wxPyCheckForApp()) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (wxGDIObject
*)new wxGDIObject();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3995 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3996 PyObject
*resultobj
= 0;
3997 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4000 PyObject
*swig_obj
[1] ;
4002 if (!args
) SWIG_fail
;
4004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4005 if (!SWIG_IsOK(res1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4008 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_Py_Void();
4023 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4024 PyObject
*resultobj
= 0;
4025 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4029 PyObject
*swig_obj
[1] ;
4031 if (!args
) SWIG_fail
;
4033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4034 if (!SWIG_IsOK(res1
)) {
4035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4037 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 result
= (bool)(arg1
)->IsNull();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4053 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4056 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4057 return SWIG_Py_Void();
4060 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4061 return SWIG_Python_InitShadowInstance(args
);
4064 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
= 0;
4066 byte arg1
= (byte
) 0 ;
4067 byte arg2
= (byte
) 0 ;
4068 byte arg3
= (byte
) 0 ;
4069 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4070 wxColour
*result
= 0 ;
4071 unsigned char val1
;
4073 unsigned char val2
;
4075 unsigned char val3
;
4077 unsigned char val4
;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4081 PyObject
* obj2
= 0 ;
4082 PyObject
* obj3
= 0 ;
4083 char * kwnames
[] = {
4084 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4089 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4090 if (!SWIG_IsOK(ecode1
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4093 arg1
= static_cast< byte
>(val1
);
4096 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4097 if (!SWIG_IsOK(ecode2
)) {
4098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4100 arg2
= static_cast< byte
>(val2
);
4103 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4104 if (!SWIG_IsOK(ecode3
)) {
4105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4107 arg3
= static_cast< byte
>(val3
);
4110 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4111 if (!SWIG_IsOK(ecode4
)) {
4112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4114 arg4
= static_cast< byte
>(val4
);
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4129 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
= 0;
4131 wxString
*arg1
= 0 ;
4132 wxColour
*result
= 0 ;
4133 bool temp1
= false ;
4134 PyObject
* obj0
= 0 ;
4135 char * kwnames
[] = {
4136 (char *) "colorName", NULL
4139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4141 arg1
= wxString_in_helper(obj0
);
4142 if (arg1
== NULL
) SWIG_fail
;
4146 if (!wxPyCheckForApp()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4167 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4169 unsigned long arg1
;
4170 wxColour
*result
= 0 ;
4171 unsigned long val1
;
4173 PyObject
* obj0
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "colRGB", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4179 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4180 if (!SWIG_IsOK(ecode1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4183 arg1
= static_cast< unsigned long >(val1
);
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (wxColour
*)new wxColour(arg1
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4197 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4198 PyObject
*resultobj
= 0;
4199 wxColour
*arg1
= (wxColour
*) 0 ;
4202 PyObject
*swig_obj
[1] ;
4204 if (!args
) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4210 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4226 PyObject
*resultobj
= 0;
4227 wxColour
*arg1
= (wxColour
*) 0 ;
4231 PyObject
*swig_obj
[1] ;
4233 if (!args
) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4239 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (byte
)(arg1
)->Red();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4253 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4254 PyObject
*resultobj
= 0;
4255 wxColour
*arg1
= (wxColour
*) 0 ;
4259 PyObject
*swig_obj
[1] ;
4261 if (!args
) SWIG_fail
;
4263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4264 if (!SWIG_IsOK(res1
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4267 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (byte
)(arg1
)->Green();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4281 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4282 PyObject
*resultobj
= 0;
4283 wxColour
*arg1
= (wxColour
*) 0 ;
4287 PyObject
*swig_obj
[1] ;
4289 if (!args
) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4295 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (byte
)(arg1
)->Blue();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4309 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4310 PyObject
*resultobj
= 0;
4311 wxColour
*arg1
= (wxColour
*) 0 ;
4315 PyObject
*swig_obj
[1] ;
4317 if (!args
) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4323 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (byte
)(arg1
)->Alpha();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4337 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4338 PyObject
*resultobj
= 0;
4339 wxColour
*arg1
= (wxColour
*) 0 ;
4343 PyObject
*swig_obj
[1] ;
4345 if (!args
) SWIG_fail
;
4347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4348 if (!SWIG_IsOK(res1
)) {
4349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4351 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= (bool)(arg1
)->IsOk();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4367 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
= 0;
4369 wxColour
*arg1
= (wxColour
*) 0 ;
4373 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4376 unsigned char val2
;
4378 unsigned char val3
;
4380 unsigned char val4
;
4382 unsigned char val5
;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 PyObject
* obj2
= 0 ;
4387 PyObject
* obj3
= 0 ;
4388 PyObject
* obj4
= 0 ;
4389 char * kwnames
[] = {
4390 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4395 if (!SWIG_IsOK(res1
)) {
4396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4398 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4399 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4400 if (!SWIG_IsOK(ecode2
)) {
4401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4403 arg2
= static_cast< byte
>(val2
);
4404 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4405 if (!SWIG_IsOK(ecode3
)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4408 arg3
= static_cast< byte
>(val3
);
4409 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4410 if (!SWIG_IsOK(ecode4
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4413 arg4
= static_cast< byte
>(val4
);
4415 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4416 if (!SWIG_IsOK(ecode5
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4419 arg5
= static_cast< byte
>(val5
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_Py_Void();
4434 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
= 0;
4436 wxColour
*arg1
= (wxColour
*) 0 ;
4437 unsigned long arg2
;
4440 unsigned long val2
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 char * kwnames
[] = {
4445 (char *) "self",(char *) "colRGB", NULL
4448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4450 if (!SWIG_IsOK(res1
)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4453 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4454 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4455 if (!SWIG_IsOK(ecode2
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4458 arg2
= static_cast< unsigned long >(val2
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_Py_Void();
4472 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
= 0;
4474 wxColour
*arg1
= (wxColour
*) 0 ;
4475 wxString
*arg2
= 0 ;
4478 bool temp2
= false ;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 char * kwnames
[] = {
4482 (char *) "self",(char *) "colourName", NULL
4485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4487 if (!SWIG_IsOK(res1
)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4490 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4492 arg2
= wxString_in_helper(obj1
);
4493 if (arg2
== NULL
) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 (arg1
)->Set((wxString
const &)*arg2
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_Py_Void();
4517 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxColour
*arg1
= (wxColour
*) 0 ;
4520 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4528 char * kwnames
[] = {
4529 (char *) "self",(char *) "flags", NULL
4532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4534 if (!SWIG_IsOK(res1
)) {
4535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4537 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4540 if (!SWIG_IsOK(ecode2
)) {
4541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4543 arg2
= static_cast< long >(val2
);
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4564 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4565 PyObject
*resultobj
= 0;
4566 wxColour
*arg1
= (wxColour
*) 0 ;
4570 PyObject
*swig_obj
[1] ;
4572 if (!args
) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4578 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= SWIG_From_long(static_cast< long >(result
));
4592 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
= 0;
4594 wxColour
*arg1
= (wxColour
*) 0 ;
4595 PyObject
*arg2
= (PyObject
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 char * kwnames
[] = {
4602 (char *) "self",(char *) "other", NULL
4605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4607 if (!SWIG_IsOK(res1
)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4610 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4613 result
= (bool)wxColour___eq__(arg1
,arg2
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4625 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
= 0;
4627 wxColour
*arg1
= (wxColour
*) 0 ;
4628 PyObject
*arg2
= (PyObject
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 char * kwnames
[] = {
4635 (char *) "self",(char *) "other", NULL
4638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4640 if (!SWIG_IsOK(res1
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4643 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4646 result
= (bool)wxColour___ne__(arg1
,arg2
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4658 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
= 0;
4660 wxColour
*arg1
= (wxColour
*) 0 ;
4661 bool arg2
= (bool) false ;
4662 PyObject
*result
= 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 char * kwnames
[] = {
4670 (char *) "self",(char *) "includeAlpha", NULL
4673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4675 if (!SWIG_IsOK(res1
)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4678 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4681 if (!SWIG_IsOK(ecode2
)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4684 arg2
= static_cast< bool >(val2
);
4687 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4697 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4698 PyObject
*resultobj
= 0;
4699 wxColour
*arg1
= (wxColour
*) 0 ;
4700 unsigned long result
;
4703 PyObject
*swig_obj
[1] ;
4705 if (!args
) SWIG_fail
;
4707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4708 if (!SWIG_IsOK(res1
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4711 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4713 result
= (unsigned long)wxColour_GetRGB(arg1
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4723 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4726 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4727 return SWIG_Py_Void();
4730 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4731 return SWIG_Python_InitShadowInstance(args
);
4734 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
= 0;
4737 unsigned char *arg2
= (unsigned char *) 0 ;
4738 unsigned char *arg3
= (unsigned char *) 0 ;
4739 unsigned char *arg4
= (unsigned char *) 0 ;
4740 wxPalette
*result
= 0 ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4753 char * kwnames
[] = {
4754 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4759 if (!SWIG_IsOK(ecode1
)) {
4760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4762 arg1
= static_cast< int >(val1
);
4763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4764 if (!SWIG_IsOK(res2
)) {
4765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4767 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4768 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4769 if (!SWIG_IsOK(res3
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4772 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4773 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4774 if (!SWIG_IsOK(res4
)) {
4775 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4777 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4779 if (!wxPyCheckForApp()) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4792 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4793 PyObject
*resultobj
= 0;
4794 wxPalette
*arg1
= (wxPalette
*) 0 ;
4797 PyObject
*swig_obj
[1] ;
4799 if (!args
) SWIG_fail
;
4801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4802 if (!SWIG_IsOK(res1
)) {
4803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4805 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_Py_Void();
4820 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
= 0;
4822 wxPalette
*arg1
= (wxPalette
*) 0 ;
4829 unsigned char val2
;
4831 unsigned char val3
;
4833 unsigned char val4
;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 PyObject
* obj2
= 0 ;
4838 PyObject
* obj3
= 0 ;
4839 char * kwnames
[] = {
4840 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4848 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4849 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4850 if (!SWIG_IsOK(ecode2
)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4853 arg2
= static_cast< byte
>(val2
);
4854 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4855 if (!SWIG_IsOK(ecode3
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4858 arg3
= static_cast< byte
>(val3
);
4859 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4860 if (!SWIG_IsOK(ecode4
)) {
4861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4863 arg4
= static_cast< byte
>(val4
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_From_int(static_cast< int >(result
));
4877 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
= 0;
4879 wxPalette
*arg1
= (wxPalette
*) 0 ;
4881 byte
*arg3
= (byte
*) 0 ;
4882 byte
*arg4
= (byte
*) 0 ;
4883 byte
*arg5
= (byte
*) 0 ;
4890 int res3
= SWIG_TMPOBJ
;
4892 int res4
= SWIG_TMPOBJ
;
4894 int res5
= SWIG_TMPOBJ
;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 char * kwnames
[] = {
4898 (char *) "self",(char *) "pixel", NULL
4904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4906 if (!SWIG_IsOK(res1
)) {
4907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4909 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4911 if (!SWIG_IsOK(ecode2
)) {
4912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4914 arg2
= static_cast< int >(val2
);
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4924 if (SWIG_IsTmpObj(res3
)) {
4925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4927 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4930 if (SWIG_IsTmpObj(res4
)) {
4931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4933 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4936 if (SWIG_IsTmpObj(res5
)) {
4937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4939 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4948 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4949 PyObject
*resultobj
= 0;
4950 wxPalette
*arg1
= (wxPalette
*) 0 ;
4954 PyObject
*swig_obj
[1] ;
4956 if (!args
) SWIG_fail
;
4958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4959 if (!SWIG_IsOK(res1
)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4962 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_From_int(static_cast< int >(result
));
4976 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4977 PyObject
*resultobj
= 0;
4978 wxPalette
*arg1
= (wxPalette
*) 0 ;
4982 PyObject
*swig_obj
[1] ;
4984 if (!args
) SWIG_fail
;
4986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4987 if (!SWIG_IsOK(res1
)) {
4988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4990 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (bool)(arg1
)->IsOk();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5006 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5009 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5010 return SWIG_Py_Void();
5013 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5014 return SWIG_Python_InitShadowInstance(args
);
5017 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
= 0;
5019 wxColour
*arg1
= 0 ;
5020 int arg2
= (int) 1 ;
5021 int arg3
= (int) wxSOLID
;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 PyObject
* obj2
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "colour",(char *) "width",(char *) "style", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5038 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5042 if (!SWIG_IsOK(ecode2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5045 arg2
= static_cast< int >(val2
);
5048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5049 if (!SWIG_IsOK(ecode3
)) {
5050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5052 arg3
= static_cast< int >(val3
);
5055 if (!wxPyCheckForApp()) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5068 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 PyObject
*resultobj
= 0;
5070 wxPen
*arg1
= (wxPen
*) 0 ;
5073 PyObject
*swig_obj
[1] ;
5075 if (!args
) SWIG_fail
;
5077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5078 if (!SWIG_IsOK(res1
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5081 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_Py_Void();
5096 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5097 PyObject
*resultobj
= 0;
5098 wxPen
*arg1
= (wxPen
*) 0 ;
5102 PyObject
*swig_obj
[1] ;
5104 if (!args
) SWIG_fail
;
5106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5107 if (!SWIG_IsOK(res1
)) {
5108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5110 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (int)(arg1
)->GetCap();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_From_int(static_cast< int >(result
));
5124 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5125 PyObject
*resultobj
= 0;
5126 wxPen
*arg1
= (wxPen
*) 0 ;
5130 PyObject
*swig_obj
[1] ;
5132 if (!args
) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5138 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (arg1
)->GetColour();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5152 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5153 PyObject
*resultobj
= 0;
5154 wxPen
*arg1
= (wxPen
*) 0 ;
5158 PyObject
*swig_obj
[1] ;
5160 if (!args
) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5166 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (int)(arg1
)->GetJoin();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_From_int(static_cast< int >(result
));
5180 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5181 PyObject
*resultobj
= 0;
5182 wxPen
*arg1
= (wxPen
*) 0 ;
5186 PyObject
*swig_obj
[1] ;
5188 if (!args
) SWIG_fail
;
5190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5191 if (!SWIG_IsOK(res1
)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5194 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (int)(arg1
)->GetStyle();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_From_int(static_cast< int >(result
));
5208 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5209 PyObject
*resultobj
= 0;
5210 wxPen
*arg1
= (wxPen
*) 0 ;
5214 PyObject
*swig_obj
[1] ;
5216 if (!args
) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5222 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (int)(arg1
)->GetWidth();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_From_int(static_cast< int >(result
));
5236 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5237 PyObject
*resultobj
= 0;
5238 wxPen
*arg1
= (wxPen
*) 0 ;
5242 PyObject
*swig_obj
[1] ;
5244 if (!args
) SWIG_fail
;
5246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5247 if (!SWIG_IsOK(res1
)) {
5248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5250 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->IsOk();
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5266 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
= 0;
5268 wxPen
*arg1
= (wxPen
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5276 char * kwnames
[] = {
5277 (char *) "self",(char *) "cap_style", NULL
5280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5282 if (!SWIG_IsOK(res1
)) {
5283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5285 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5287 if (!SWIG_IsOK(ecode2
)) {
5288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5290 arg2
= static_cast< int >(val2
);
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->SetCap(arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= SWIG_Py_Void();
5304 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
= 0;
5306 wxPen
*arg1
= (wxPen
*) 0 ;
5307 wxColour
*arg2
= 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 char * kwnames
[] = {
5314 (char *) "self",(char *) "colour", NULL
5317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5319 if (!SWIG_IsOK(res1
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 (arg1
)->SetColour(*arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_Py_Void();
5340 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
= 0;
5342 wxPen
*arg1
= (wxPen
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 char * kwnames
[] = {
5351 (char *) "self",(char *) "join_style", NULL
5354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5356 if (!SWIG_IsOK(res1
)) {
5357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5359 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5361 if (!SWIG_IsOK(ecode2
)) {
5362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5364 arg2
= static_cast< int >(val2
);
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 (arg1
)->SetJoin(arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_Py_Void();
5378 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= 0;
5380 wxPen
*arg1
= (wxPen
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 char * kwnames
[] = {
5389 (char *) "self",(char *) "style", NULL
5392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5394 if (!SWIG_IsOK(res1
)) {
5395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5397 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5399 if (!SWIG_IsOK(ecode2
)) {
5400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5402 arg2
= static_cast< int >(val2
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->SetStyle(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
= 0;
5418 wxPen
*arg1
= (wxPen
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "self",(char *) "width", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5432 if (!SWIG_IsOK(res1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5435 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5437 if (!SWIG_IsOK(ecode2
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5440 arg2
= static_cast< int >(val2
);
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->SetWidth(arg2
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_Py_Void();
5454 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
= 0;
5456 wxPen
*arg1
= (wxPen
*) 0 ;
5458 wxDash
*arg3
= (wxDash
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 char * kwnames
[] = {
5464 (char *) "self",(char *) "dashes", NULL
5467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5469 if (!SWIG_IsOK(res1
)) {
5470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5472 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5474 arg2
= PyList_Size(obj1
);
5475 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5476 if (arg3
== NULL
) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 (arg1
)->SetDashes(arg2
,arg3
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= SWIG_Py_Void();
5486 if (arg3
) delete [] arg3
;
5491 if (arg3
) delete [] arg3
;
5497 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5498 PyObject
*resultobj
= 0;
5499 wxPen
*arg1
= (wxPen
*) 0 ;
5500 PyObject
*result
= 0 ;
5503 PyObject
*swig_obj
[1] ;
5505 if (!args
) SWIG_fail
;
5507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5508 if (!SWIG_IsOK(res1
)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5511 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5525 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
= 0;
5527 wxPen
*arg1
= (wxPen
*) 0 ;
5528 PyObject
*arg2
= (PyObject
*) 0 ;
5529 PyObject
*arg3
= (PyObject
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 PyObject
* obj2
= 0 ;
5535 char * kwnames
[] = {
5536 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5541 if (!SWIG_IsOK(res1
)) {
5542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5544 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxPen__SetDashes(arg1
,arg2
,arg3
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_Py_Void();
5560 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5561 PyObject
*resultobj
= 0;
5562 wxPen
*arg1
= (wxPen
*) 0 ;
5566 PyObject
*swig_obj
[1] ;
5568 if (!args
) SWIG_fail
;
5570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5571 if (!SWIG_IsOK(res1
)) {
5572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5574 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_From_int(static_cast< int >(result
));
5588 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
= 0;
5590 wxPen
*arg1
= (wxPen
*) 0 ;
5591 wxPen
*arg2
= (wxPen
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5599 char * kwnames
[] = {
5600 (char *) "self",(char *) "other", NULL
5603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5605 if (!SWIG_IsOK(res1
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5608 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5610 if (!SWIG_IsOK(res2
)) {
5611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5613 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5629 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxPen
*arg1
= (wxPen
*) 0 ;
5632 wxPen
*arg2
= (wxPen
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 char * kwnames
[] = {
5641 (char *) "self",(char *) "other", NULL
5644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5646 if (!SWIG_IsOK(res1
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5649 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5651 if (!SWIG_IsOK(res2
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5654 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5673 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5674 return SWIG_Py_Void();
5677 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5678 return SWIG_Python_InitShadowInstance(args
);
5681 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
= 0;
5683 wxColour
*arg1
= 0 ;
5684 int arg2
= (int) wxSOLID
;
5685 wxBrush
*result
= 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "colour",(char *) "style", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5698 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5702 if (!SWIG_IsOK(ecode2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5705 arg2
= static_cast< int >(val2
);
5708 if (!wxPyCheckForApp()) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5721 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxBitmap
*arg1
= 0 ;
5724 wxBrush
*result
= 0 ;
5727 PyObject
* obj0
= 0 ;
5728 char * kwnames
[] = {
5729 (char *) "stippleBitmap", NULL
5732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5733 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5734 if (!SWIG_IsOK(res1
)) {
5735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5740 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5742 if (!wxPyCheckForApp()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5755 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5756 PyObject
*resultobj
= 0;
5757 wxBrush
*arg1
= (wxBrush
*) 0 ;
5760 PyObject
*swig_obj
[1] ;
5762 if (!args
) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5768 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= SWIG_Py_Void();
5783 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
= 0;
5785 wxBrush
*arg1
= (wxBrush
*) 0 ;
5786 wxColour
*arg2
= 0 ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "self",(char *) "col", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5798 if (!SWIG_IsOK(res1
)) {
5799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5801 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 (arg1
)->SetColour((wxColour
const &)*arg2
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= SWIG_Py_Void();
5819 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
= 0;
5821 wxBrush
*arg1
= (wxBrush
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "style", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5838 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5840 if (!SWIG_IsOK(ecode2
)) {
5841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5843 arg2
= static_cast< int >(val2
);
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->SetStyle(arg2
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= SWIG_Py_Void();
5857 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
= 0;
5859 wxBrush
*arg1
= (wxBrush
*) 0 ;
5860 wxBitmap
*arg2
= 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "stipple", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5876 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5878 if (!SWIG_IsOK(res2
)) {
5879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5884 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5898 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5899 PyObject
*resultobj
= 0;
5900 wxBrush
*arg1
= (wxBrush
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5912 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= ((wxBrush
const *)arg1
)->GetColour();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5926 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxBrush
*arg1
= (wxBrush
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5940 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_From_int(static_cast< int >(result
));
5954 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxBrush
*arg1
= (wxBrush
*) 0 ;
5957 wxBitmap
*result
= 0 ;
5960 PyObject
*swig_obj
[1] ;
5962 if (!args
) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5968 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5982 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5983 PyObject
*resultobj
= 0;
5984 wxBrush
*arg1
= (wxBrush
*) 0 ;
5988 PyObject
*swig_obj
[1] ;
5990 if (!args
) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5996 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6012 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6013 PyObject
*resultobj
= 0;
6014 wxBrush
*arg1
= (wxBrush
*) 0 ;
6018 PyObject
*swig_obj
[1] ;
6020 if (!args
) SWIG_fail
;
6022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6023 if (!SWIG_IsOK(res1
)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6026 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= (bool)(arg1
)->IsOk();
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6042 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6045 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6046 return SWIG_Py_Void();
6049 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 return SWIG_Python_InitShadowInstance(args
);
6053 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
= 0;
6055 wxString
*arg1
= 0 ;
6056 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6057 wxBitmap
*result
= 0 ;
6058 bool temp1
= false ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 char * kwnames
[] = {
6064 (char *) "name",(char *) "type", NULL
6067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6069 arg1
= wxString_in_helper(obj0
);
6070 if (arg1
== NULL
) SWIG_fail
;
6074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6075 if (!SWIG_IsOK(ecode2
)) {
6076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6078 arg2
= static_cast< wxBitmapType
>(val2
);
6081 if (!wxPyCheckForApp()) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6102 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6115 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_Py_Void();
6128 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6132 int arg3
= (int) -1 ;
6133 wxBitmap
*result
= 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6142 PyObject
* obj2
= 0 ;
6143 char * kwnames
[] = {
6144 (char *) "width",(char *) "height",(char *) "depth", NULL
6147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6149 if (!SWIG_IsOK(ecode1
)) {
6150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6152 arg1
= static_cast< int >(val1
);
6153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6154 if (!SWIG_IsOK(ecode2
)) {
6155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6157 arg2
= static_cast< int >(val2
);
6159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6160 if (!SWIG_IsOK(ecode3
)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6163 arg3
= static_cast< int >(val3
);
6166 if (!wxPyCheckForApp()) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6179 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
= 0;
6182 wxBitmap
*result
= 0 ;
6185 PyObject
* obj0
= 0 ;
6186 char * kwnames
[] = {
6187 (char *) "icon", NULL
6190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6191 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6192 if (!SWIG_IsOK(res1
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6198 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6200 if (!wxPyCheckForApp()) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6213 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6216 int arg2
= (int) -1 ;
6217 wxBitmap
*result
= 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 char * kwnames
[] = {
6225 (char *) "image",(char *) "depth", NULL
6228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6230 if (!SWIG_IsOK(res1
)) {
6231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6236 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6239 if (!SWIG_IsOK(ecode2
)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6242 arg2
= static_cast< int >(val2
);
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6258 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
= 0;
6260 PyObject
*arg1
= (PyObject
*) 0 ;
6261 wxBitmap
*result
= 0 ;
6262 PyObject
* obj0
= 0 ;
6263 char * kwnames
[] = {
6264 (char *) "listOfStrings", NULL
6267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6270 if (!wxPyCheckForApp()) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6283 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
= 0;
6285 PyObject
*arg1
= (PyObject
*) 0 ;
6288 int arg4
= (int) 1 ;
6289 wxBitmap
*result
= 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6298 PyObject
* obj2
= 0 ;
6299 PyObject
* obj3
= 0 ;
6300 char * kwnames
[] = {
6301 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6307 if (!SWIG_IsOK(ecode2
)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6310 arg2
= static_cast< int >(val2
);
6311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6312 if (!SWIG_IsOK(ecode3
)) {
6313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6315 arg3
= static_cast< int >(val3
);
6317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6318 if (!SWIG_IsOK(ecode4
)) {
6319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6321 arg4
= static_cast< int >(val4
);
6324 if (!wxPyCheckForApp()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6337 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6338 PyObject
*resultobj
= 0;
6339 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6343 PyObject
*swig_obj
[1] ;
6345 if (!args
) SWIG_fail
;
6347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6348 if (!SWIG_IsOK(res1
)) {
6349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6351 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6353 result
= (bool)(arg1
)->IsOk();
6354 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6365 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6366 PyObject
*resultobj
= 0;
6367 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6371 PyObject
*swig_obj
[1] ;
6373 if (!args
) SWIG_fail
;
6375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6376 if (!SWIG_IsOK(res1
)) {
6377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6379 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6381 result
= (int)(arg1
)->GetWidth();
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_From_int(static_cast< int >(result
));
6391 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6392 PyObject
*resultobj
= 0;
6393 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6397 PyObject
*swig_obj
[1] ;
6399 if (!args
) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6407 result
= (int)(arg1
)->GetHeight();
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_From_int(static_cast< int >(result
));
6417 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6418 PyObject
*resultobj
= 0;
6419 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6423 PyObject
*swig_obj
[1] ;
6425 if (!args
) SWIG_fail
;
6427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6428 if (!SWIG_IsOK(res1
)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6431 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6433 result
= (int)(arg1
)->GetDepth();
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_From_int(static_cast< int >(result
));
6443 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6444 PyObject
*resultobj
= 0;
6445 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6449 PyObject
*swig_obj
[1] ;
6451 if (!args
) SWIG_fail
;
6453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6454 if (!SWIG_IsOK(res1
)) {
6455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6457 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6459 result
= wxBitmap_GetSize(arg1
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6469 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6470 PyObject
*resultobj
= 0;
6471 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6472 SwigValueWrapper
<wxImage
> result
;
6475 PyObject
*swig_obj
[1] ;
6477 if (!args
) SWIG_fail
;
6479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6480 if (!SWIG_IsOK(res1
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6483 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6485 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6495 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6496 PyObject
*resultobj
= 0;
6497 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6498 wxMask
*result
= 0 ;
6501 PyObject
*swig_obj
[1] ;
6503 if (!args
) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6509 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6511 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6521 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6524 wxMask
*arg2
= (wxMask
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6530 char * kwnames
[] = {
6531 (char *) "self",(char *) "mask", NULL
6534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6539 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6540 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6541 if (!SWIG_IsOK(res2
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6545 (arg1
)->SetMask(arg2
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= SWIG_Py_Void();
6555 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
= 0;
6557 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6558 wxColour
*arg2
= 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 char * kwnames
[] = {
6565 (char *) "self",(char *) "colour", NULL
6568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6570 if (!SWIG_IsOK(res1
)) {
6571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6573 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6579 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= SWIG_Py_Void();
6589 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
= 0;
6591 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6593 SwigValueWrapper
<wxBitmap
> result
;
6597 PyObject
* obj0
= 0 ;
6598 PyObject
* obj1
= 0 ;
6599 char * kwnames
[] = {
6600 (char *) "self",(char *) "rect", NULL
6603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6605 if (!SWIG_IsOK(res1
)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6608 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6611 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6614 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6624 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
= 0;
6626 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6627 wxString
*arg2
= 0 ;
6629 wxPalette
*arg4
= (wxPalette
*) NULL
;
6633 bool temp2
= false ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 PyObject
* obj2
= 0 ;
6641 PyObject
* obj3
= 0 ;
6642 char * kwnames
[] = {
6643 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6648 if (!SWIG_IsOK(res1
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6651 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 arg2
= wxString_in_helper(obj1
);
6654 if (arg2
== NULL
) SWIG_fail
;
6657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6658 if (!SWIG_IsOK(ecode3
)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6661 arg3
= static_cast< wxBitmapType
>(val3
);
6663 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6664 if (!SWIG_IsOK(res4
)) {
6665 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6667 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6670 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6690 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
= 0;
6692 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6693 wxString
*arg2
= 0 ;
6698 bool temp2
= false ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6703 PyObject
* obj2
= 0 ;
6704 char * kwnames
[] = {
6705 (char *) "self",(char *) "name",(char *) "type", NULL
6708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6710 if (!SWIG_IsOK(res1
)) {
6711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6713 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6715 arg2
= wxString_in_helper(obj1
);
6716 if (arg2
== NULL
) SWIG_fail
;
6719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6720 if (!SWIG_IsOK(ecode3
)) {
6721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6723 arg3
= static_cast< wxBitmapType
>(val3
);
6725 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6745 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6746 PyObject
*resultobj
= 0;
6747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6748 wxPalette
*result
= 0 ;
6751 PyObject
*swig_obj
[1] ;
6753 if (!args
) SWIG_fail
;
6755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6756 if (!SWIG_IsOK(res1
)) {
6757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6759 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6761 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6771 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
= 0;
6773 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 char * kwnames
[] = {
6783 (char *) "self",(char *) "icon", NULL
6786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6788 if (!SWIG_IsOK(res1
)) {
6789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6791 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6793 if (!SWIG_IsOK(res2
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6799 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6801 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6813 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= 0;
6815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "height", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6834 if (!SWIG_IsOK(ecode2
)) {
6835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6837 arg2
= static_cast< int >(val2
);
6839 (arg1
)->SetHeight(arg2
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_Py_Void();
6849 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
= 0;
6851 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 char * kwnames
[] = {
6860 (char *) "self",(char *) "width", NULL
6863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6865 if (!SWIG_IsOK(res1
)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6868 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6870 if (!SWIG_IsOK(ecode2
)) {
6871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6873 arg2
= static_cast< int >(val2
);
6875 (arg1
)->SetWidth(arg2
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_Py_Void();
6885 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "depth", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6904 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6906 if (!SWIG_IsOK(ecode2
)) {
6907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6909 arg2
= static_cast< int >(val2
);
6911 (arg1
)->SetDepth(arg2
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_Py_Void();
6921 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
= 0;
6923 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "self",(char *) "size", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6939 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6942 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6945 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_Py_Void();
6955 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
= 0;
6957 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 char * kwnames
[] = {
6966 (char *) "self",(char *) "data", NULL
6969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6971 if (!SWIG_IsOK(res1
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
6974 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6976 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
6980 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_Py_Void();
6990 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
= 0;
6992 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 char * kwnames
[] = {
7001 (char *) "self",(char *) "data", NULL
7004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7009 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7011 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7015 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_Py_Void();
7025 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
= 0;
7027 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7028 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7036 char * kwnames
[] = {
7037 (char *) "self",(char *) "other", NULL
7040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7045 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7047 if (!SWIG_IsOK(res2
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7050 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7052 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7067 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 char * kwnames
[] = {
7076 (char *) "self",(char *) "other", NULL
7079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7086 if (!SWIG_IsOK(res2
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7089 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7091 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7103 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7106 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7107 return SWIG_Py_Void();
7110 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7111 return SWIG_Python_InitShadowInstance(args
);
7114 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7122 wxBitmap
*result
= 0 ;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7131 PyObject
* obj2
= 0 ;
7132 PyObject
* obj3
= 0 ;
7133 char * kwnames
[] = {
7134 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7139 if (!SWIG_IsOK(ecode1
)) {
7140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7142 arg1
= static_cast< int >(val1
);
7143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7144 if (!SWIG_IsOK(ecode2
)) {
7145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7147 arg2
= static_cast< int >(val2
);
7149 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7153 if (obj3
!= Py_None
) {
7154 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7159 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7169 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
= 0;
7175 wxBitmap
*result
= 0 ;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7183 PyObject
* obj2
= 0 ;
7184 char * kwnames
[] = {
7185 (char *) "width",(char *) "height",(char *) "data", NULL
7188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7190 if (!SWIG_IsOK(ecode1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7193 arg1
= static_cast< int >(val1
);
7194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7195 if (!SWIG_IsOK(ecode2
)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7198 arg2
= static_cast< int >(val2
);
7200 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7204 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7214 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
= 0;
7220 wxBitmap
*result
= 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 PyObject
* obj2
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "width",(char *) "height",(char *) "data", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7235 if (!SWIG_IsOK(ecode1
)) {
7236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7238 arg1
= static_cast< int >(val1
);
7239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7240 if (!SWIG_IsOK(ecode2
)) {
7241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7243 arg2
= static_cast< int >(val2
);
7245 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7249 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7259 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7260 PyObject
*resultobj
= 0;
7261 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7265 PyObject
*swig_obj
[1] ;
7267 if (!args
) SWIG_fail
;
7269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7270 if (!SWIG_IsOK(res1
)) {
7271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7273 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7275 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7285 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7286 PyObject
*resultobj
= 0;
7287 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7291 PyObject
*swig_obj
[1] ;
7293 if (!args
) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7299 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7301 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_From_int(static_cast< int >(result
));
7311 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7312 PyObject
*resultobj
= 0;
7313 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7317 PyObject
*swig_obj
[1] ;
7319 if (!args
) SWIG_fail
;
7321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7322 if (!SWIG_IsOK(res1
)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7325 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7327 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_From_int(static_cast< int >(result
));
7337 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7338 PyObject
*resultobj
= 0;
7339 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7343 PyObject
*swig_obj
[1] ;
7345 if (!args
) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7351 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7353 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7363 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7364 PyObject
*resultobj
= 0;
7365 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7369 PyObject
*swig_obj
[1] ;
7371 if (!args
) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7377 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7379 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= SWIG_From_int(static_cast< int >(result
));
7389 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7393 return SWIG_Py_Void();
7396 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7397 PyObject
*resultobj
= 0;
7398 wxBitmap
*arg1
= 0 ;
7399 wxNativePixelData
*result
= 0 ;
7403 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7411 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7413 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7423 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7424 PyObject
*resultobj
= 0;
7425 wxBitmap
*arg1
= 0 ;
7427 wxNativePixelData
*result
= 0 ;
7432 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7434 if (!SWIG_IsOK(res1
)) {
7435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7440 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7443 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7446 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7456 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7457 PyObject
*resultobj
= 0;
7458 wxBitmap
*arg1
= 0 ;
7461 wxNativePixelData
*result
= 0 ;
7467 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7475 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7478 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7482 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7485 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7495 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7499 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7502 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7505 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7508 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7512 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7517 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7518 PyObject
*resultobj
= 0;
7519 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7522 PyObject
*swig_obj
[1] ;
7524 if (!args
) SWIG_fail
;
7526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7527 if (!SWIG_IsOK(res1
)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7530 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_Py_Void();
7543 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7544 PyObject
*resultobj
= 0;
7545 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7546 wxNativePixelData_Accessor result
;
7549 PyObject
*swig_obj
[1] ;
7551 if (!args
) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7557 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7559 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7569 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7570 PyObject
*resultobj
= 0;
7571 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7574 PyObject
*swig_obj
[1] ;
7576 if (!args
) SWIG_fail
;
7578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7579 if (!SWIG_IsOK(res1
)) {
7580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7582 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7595 PyObject
*resultobj
= 0;
7596 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7600 PyObject
*swig_obj
[1] ;
7602 if (!args
) SWIG_fail
;
7604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7605 if (!SWIG_IsOK(res1
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7608 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7610 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7622 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7625 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7626 return SWIG_Py_Void();
7629 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7630 return SWIG_Python_InitShadowInstance(args
);
7633 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7634 PyObject
*resultobj
= 0;
7635 wxNativePixelData
*arg1
= 0 ;
7636 wxNativePixelData_Accessor
*result
= 0 ;
7640 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7642 if (!SWIG_IsOK(res1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7648 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7650 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7660 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7661 PyObject
*resultobj
= 0;
7662 wxBitmap
*arg1
= 0 ;
7663 wxNativePixelData
*arg2
= 0 ;
7664 wxNativePixelData_Accessor
*result
= 0 ;
7670 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7672 if (!SWIG_IsOK(res1
)) {
7673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7678 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7679 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7680 if (!SWIG_IsOK(res2
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7686 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7688 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7698 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7699 PyObject
*resultobj
= 0;
7700 wxNativePixelData_Accessor
*result
= 0 ;
7702 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7704 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7714 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7718 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7721 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7724 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7727 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7731 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7736 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7737 PyObject
*resultobj
= 0;
7738 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7741 PyObject
*swig_obj
[1] ;
7743 if (!args
) SWIG_fail
;
7745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7746 if (!SWIG_IsOK(res1
)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7749 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_Py_Void();
7762 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
= 0;
7764 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7765 wxNativePixelData
*arg2
= 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 char * kwnames
[] = {
7773 (char *) "self",(char *) "data", NULL
7776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7778 if (!SWIG_IsOK(res1
)) {
7779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7781 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7783 if (!SWIG_IsOK(res2
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7789 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7791 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_Py_Void();
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7807 PyObject
*swig_obj
[1] ;
7809 if (!args
) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7815 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7817 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7829 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7834 PyObject
*swig_obj
[1] ;
7836 if (!args
) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7842 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7844 wxNativePixelData_Accessor_nextPixel(arg1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_Py_Void();
7854 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
= 0;
7856 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7857 wxNativePixelData
*arg2
= 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 PyObject
* obj2
= 0 ;
7871 PyObject
* obj3
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7881 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7883 if (!SWIG_IsOK(res2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7889 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7891 if (!SWIG_IsOK(ecode3
)) {
7892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7894 arg3
= static_cast< int >(val3
);
7895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7896 if (!SWIG_IsOK(ecode4
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7899 arg4
= static_cast< int >(val4
);
7901 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_Py_Void();
7911 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
= 0;
7913 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7914 wxNativePixelData
*arg2
= 0 ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7924 PyObject
* obj2
= 0 ;
7925 char * kwnames
[] = {
7926 (char *) "self",(char *) "data",(char *) "x", NULL
7929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7931 if (!SWIG_IsOK(res1
)) {
7932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7934 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7936 if (!SWIG_IsOK(res2
)) {
7937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7942 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7944 if (!SWIG_IsOK(ecode3
)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7947 arg3
= static_cast< int >(val3
);
7949 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_Py_Void();
7959 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
= 0;
7961 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7962 wxNativePixelData
*arg2
= 0 ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7972 PyObject
* obj2
= 0 ;
7973 char * kwnames
[] = {
7974 (char *) "self",(char *) "data",(char *) "y", NULL
7977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7982 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7984 if (!SWIG_IsOK(res2
)) {
7985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7990 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7992 if (!SWIG_IsOK(ecode3
)) {
7993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7995 arg3
= static_cast< int >(val3
);
7997 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_Py_Void();
8007 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
= 0;
8009 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8010 wxNativePixelData
*arg2
= 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8024 PyObject
* obj3
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8034 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8036 if (!SWIG_IsOK(res2
)) {
8037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8042 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8044 if (!SWIG_IsOK(ecode3
)) {
8045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8047 arg3
= static_cast< int >(val3
);
8048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8049 if (!SWIG_IsOK(ecode4
)) {
8050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8052 arg4
= static_cast< int >(val4
);
8054 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_Py_Void();
8064 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8072 unsigned char val2
;
8074 unsigned char val3
;
8076 unsigned char val4
;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8080 PyObject
* obj2
= 0 ;
8081 PyObject
* obj3
= 0 ;
8082 char * kwnames
[] = {
8083 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8091 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8092 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8093 if (!SWIG_IsOK(ecode2
)) {
8094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8096 arg2
= static_cast< byte
>(val2
);
8097 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8098 if (!SWIG_IsOK(ecode3
)) {
8099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8101 arg3
= static_cast< byte
>(val3
);
8102 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8103 if (!SWIG_IsOK(ecode4
)) {
8104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8106 arg4
= static_cast< byte
>(val4
);
8108 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_Py_Void();
8118 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8119 PyObject
*resultobj
= 0;
8120 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8121 PyObject
*result
= 0 ;
8124 PyObject
*swig_obj
[1] ;
8126 if (!args
) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8132 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8134 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8144 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8147 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8148 return SWIG_Py_Void();
8151 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8152 return SWIG_Python_InitShadowInstance(args
);
8155 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8156 PyObject
*resultobj
= 0;
8157 wxBitmap
*arg1
= 0 ;
8158 wxAlphaPixelData
*result
= 0 ;
8162 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8164 if (!SWIG_IsOK(res1
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8172 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8182 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8183 PyObject
*resultobj
= 0;
8184 wxBitmap
*arg1
= 0 ;
8186 wxAlphaPixelData
*result
= 0 ;
8191 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8193 if (!SWIG_IsOK(res1
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8199 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8202 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8205 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8215 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8216 PyObject
*resultobj
= 0;
8217 wxBitmap
*arg1
= 0 ;
8220 wxAlphaPixelData
*result
= 0 ;
8226 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8234 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8237 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8241 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8244 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8254 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8258 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8261 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8264 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8267 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8271 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8276 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8277 PyObject
*resultobj
= 0;
8278 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8281 PyObject
*swig_obj
[1] ;
8283 if (!args
) SWIG_fail
;
8285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8286 if (!SWIG_IsOK(res1
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8289 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_Py_Void();
8302 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8303 PyObject
*resultobj
= 0;
8304 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8305 wxAlphaPixelData_Accessor result
;
8308 PyObject
*swig_obj
[1] ;
8310 if (!args
) SWIG_fail
;
8312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8313 if (!SWIG_IsOK(res1
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8316 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8318 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8328 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8329 PyObject
*resultobj
= 0;
8330 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8333 PyObject
*swig_obj
[1] ;
8335 if (!args
) SWIG_fail
;
8337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8338 if (!SWIG_IsOK(res1
)) {
8339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8341 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8367 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8369 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8381 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8384 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8385 return SWIG_Py_Void();
8388 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8389 return SWIG_Python_InitShadowInstance(args
);
8392 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8393 PyObject
*resultobj
= 0;
8394 wxAlphaPixelData
*arg1
= 0 ;
8395 wxAlphaPixelData_Accessor
*result
= 0 ;
8399 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8407 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8409 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8419 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8420 PyObject
*resultobj
= 0;
8421 wxBitmap
*arg1
= 0 ;
8422 wxAlphaPixelData
*arg2
= 0 ;
8423 wxAlphaPixelData_Accessor
*result
= 0 ;
8429 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8437 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8438 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8439 if (!SWIG_IsOK(res2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8445 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8447 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8457 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8458 PyObject
*resultobj
= 0;
8459 wxAlphaPixelData_Accessor
*result
= 0 ;
8461 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8463 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8473 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8477 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8480 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8483 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8486 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8490 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8495 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8500 PyObject
*swig_obj
[1] ;
8502 if (!args
) SWIG_fail
;
8504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8505 if (!SWIG_IsOK(res1
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8508 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_Py_Void();
8521 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8524 wxAlphaPixelData
*arg2
= 0 ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 char * kwnames
[] = {
8532 (char *) "self",(char *) "data", NULL
8535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8540 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8542 if (!SWIG_IsOK(res2
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8548 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8550 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_Py_Void();
8560 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8561 PyObject
*resultobj
= 0;
8562 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8566 PyObject
*swig_obj
[1] ;
8568 if (!args
) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8574 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8576 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8588 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8589 PyObject
*resultobj
= 0;
8590 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8593 PyObject
*swig_obj
[1] ;
8595 if (!args
) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8601 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8603 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_Py_Void();
8613 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
= 0;
8615 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8616 wxAlphaPixelData
*arg2
= 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8630 PyObject
* obj3
= 0 ;
8631 char * kwnames
[] = {
8632 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8637 if (!SWIG_IsOK(res1
)) {
8638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8640 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8642 if (!SWIG_IsOK(res2
)) {
8643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8648 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8650 if (!SWIG_IsOK(ecode3
)) {
8651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8653 arg3
= static_cast< int >(val3
);
8654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8655 if (!SWIG_IsOK(ecode4
)) {
8656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8658 arg4
= static_cast< int >(val4
);
8660 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_Py_Void();
8670 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= 0;
8672 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8673 wxAlphaPixelData
*arg2
= 0 ;
8681 PyObject
* obj0
= 0 ;
8682 PyObject
* obj1
= 0 ;
8683 PyObject
* obj2
= 0 ;
8684 char * kwnames
[] = {
8685 (char *) "self",(char *) "data",(char *) "x", NULL
8688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8690 if (!SWIG_IsOK(res1
)) {
8691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8693 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8695 if (!SWIG_IsOK(res2
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8701 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8703 if (!SWIG_IsOK(ecode3
)) {
8704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8706 arg3
= static_cast< int >(val3
);
8708 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8718 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
= 0;
8720 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8721 wxAlphaPixelData
*arg2
= 0 ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8731 PyObject
* obj2
= 0 ;
8732 char * kwnames
[] = {
8733 (char *) "self",(char *) "data",(char *) "y", NULL
8736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8738 if (!SWIG_IsOK(res1
)) {
8739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8741 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8743 if (!SWIG_IsOK(res2
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8749 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8751 if (!SWIG_IsOK(ecode3
)) {
8752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8754 arg3
= static_cast< int >(val3
);
8756 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_Py_Void();
8766 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
= 0;
8768 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8769 wxAlphaPixelData
*arg2
= 0 ;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8783 PyObject
* obj3
= 0 ;
8784 char * kwnames
[] = {
8785 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8790 if (!SWIG_IsOK(res1
)) {
8791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8793 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8795 if (!SWIG_IsOK(res2
)) {
8796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8801 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8803 if (!SWIG_IsOK(ecode3
)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8806 arg3
= static_cast< int >(val3
);
8807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8808 if (!SWIG_IsOK(ecode4
)) {
8809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8811 arg4
= static_cast< int >(val4
);
8813 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= SWIG_Py_Void();
8823 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= 0;
8825 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8832 unsigned char val2
;
8834 unsigned char val3
;
8836 unsigned char val4
;
8838 unsigned char val5
;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8845 char * kwnames
[] = {
8846 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8851 if (!SWIG_IsOK(res1
)) {
8852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8854 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8855 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8856 if (!SWIG_IsOK(ecode2
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8859 arg2
= static_cast< byte
>(val2
);
8860 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8861 if (!SWIG_IsOK(ecode3
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8864 arg3
= static_cast< byte
>(val3
);
8865 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8866 if (!SWIG_IsOK(ecode4
)) {
8867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8869 arg4
= static_cast< byte
>(val4
);
8870 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8871 if (!SWIG_IsOK(ecode5
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8874 arg5
= static_cast< byte
>(val5
);
8876 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_Py_Void();
8886 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8887 PyObject
*resultobj
= 0;
8888 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8889 PyObject
*result
= 0 ;
8892 PyObject
*swig_obj
[1] ;
8894 if (!args
) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8900 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8902 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8912 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8915 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8916 return SWIG_Py_Void();
8919 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8920 return SWIG_Python_InitShadowInstance(args
);
8923 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
= 0;
8925 wxBitmap
*arg1
= 0 ;
8926 wxColour
const &arg2_defvalue
= wxNullColour
;
8927 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8928 wxMask
*result
= 0 ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 char * kwnames
[] = {
8935 (char *) "bitmap",(char *) "colour", NULL
8938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8939 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8940 if (!SWIG_IsOK(res1
)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8946 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8950 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8967 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8968 PyObject
*resultobj
= 0;
8969 wxMask
*arg1
= (wxMask
*) 0 ;
8972 PyObject
*swig_obj
[1] ;
8974 if (!args
) SWIG_fail
;
8976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8977 if (!SWIG_IsOK(res1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8980 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_Py_Void();
8993 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8996 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8997 return SWIG_Py_Void();
9000 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 return SWIG_Python_InitShadowInstance(args
);
9004 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
= 0;
9006 wxString
*arg1
= 0 ;
9008 int arg3
= (int) -1 ;
9009 int arg4
= (int) -1 ;
9010 wxIcon
*result
= 0 ;
9011 bool temp1
= false ;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9020 PyObject
* obj2
= 0 ;
9021 PyObject
* obj3
= 0 ;
9022 char * kwnames
[] = {
9023 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9028 arg1
= wxString_in_helper(obj0
);
9029 if (arg1
== NULL
) SWIG_fail
;
9032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9033 if (!SWIG_IsOK(ecode2
)) {
9034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9036 arg2
= static_cast< wxBitmapType
>(val2
);
9038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9039 if (!SWIG_IsOK(ecode3
)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9042 arg3
= static_cast< int >(val3
);
9045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9046 if (!SWIG_IsOK(ecode4
)) {
9047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9049 arg4
= static_cast< int >(val4
);
9052 if (!wxPyCheckForApp()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9073 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9074 PyObject
*resultobj
= 0;
9075 wxIcon
*arg1
= (wxIcon
*) 0 ;
9078 PyObject
*swig_obj
[1] ;
9080 if (!args
) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9086 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_Py_Void();
9101 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 PyObject
*resultobj
= 0;
9103 wxIcon
*result
= 0 ;
9105 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9107 if (!wxPyCheckForApp()) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (wxIcon
*)new wxIcon();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9120 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
= 0;
9122 wxIconLocation
*arg1
= 0 ;
9123 wxIcon
*result
= 0 ;
9126 PyObject
* obj0
= 0 ;
9127 char * kwnames
[] = {
9128 (char *) "loc", NULL
9131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9139 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9141 if (!wxPyCheckForApp()) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9154 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
= 0;
9156 wxBitmap
*arg1
= 0 ;
9157 wxIcon
*result
= 0 ;
9160 PyObject
* obj0
= 0 ;
9161 char * kwnames
[] = {
9162 (char *) "bmp", NULL
9165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9173 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9175 if (!wxPyCheckForApp()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9188 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
= 0;
9190 PyObject
*arg1
= (PyObject
*) 0 ;
9191 wxIcon
*result
= 0 ;
9192 PyObject
* obj0
= 0 ;
9193 char * kwnames
[] = {
9194 (char *) "listOfStrings", NULL
9197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9200 if (!wxPyCheckForApp()) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (wxIcon
*)new_wxIcon(arg1
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9213 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxIcon
*arg1
= (wxIcon
*) 0 ;
9216 wxString
*arg2
= 0 ;
9221 bool temp2
= false ;
9224 PyObject
* obj0
= 0 ;
9225 PyObject
* obj1
= 0 ;
9226 PyObject
* obj2
= 0 ;
9227 char * kwnames
[] = {
9228 (char *) "self",(char *) "name",(char *) "type", NULL
9231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9233 if (!SWIG_IsOK(res1
)) {
9234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9236 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9238 arg2
= wxString_in_helper(obj1
);
9239 if (arg2
== NULL
) SWIG_fail
;
9242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9243 if (!SWIG_IsOK(ecode3
)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9246 arg3
= static_cast< wxBitmapType
>(val3
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9270 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9271 PyObject
*resultobj
= 0;
9272 wxIcon
*arg1
= (wxIcon
*) 0 ;
9276 PyObject
*swig_obj
[1] ;
9278 if (!args
) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9284 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (bool)(arg1
)->IsOk();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9300 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9301 PyObject
*resultobj
= 0;
9302 wxIcon
*arg1
= (wxIcon
*) 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9314 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (int)(arg1
)->GetWidth();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_From_int(static_cast< int >(result
));
9328 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9329 PyObject
*resultobj
= 0;
9330 wxIcon
*arg1
= (wxIcon
*) 0 ;
9334 PyObject
*swig_obj
[1] ;
9336 if (!args
) SWIG_fail
;
9338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9339 if (!SWIG_IsOK(res1
)) {
9340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9342 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (int)(arg1
)->GetHeight();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_From_int(static_cast< int >(result
));
9356 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9357 PyObject
*resultobj
= 0;
9358 wxIcon
*arg1
= (wxIcon
*) 0 ;
9362 PyObject
*swig_obj
[1] ;
9364 if (!args
) SWIG_fail
;
9366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9367 if (!SWIG_IsOK(res1
)) {
9368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9370 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (int)(arg1
)->GetDepth();
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_From_int(static_cast< int >(result
));
9384 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
= 0;
9386 wxIcon
*arg1
= (wxIcon
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 char * kwnames
[] = {
9395 (char *) "self",(char *) "w", NULL
9398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9403 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9405 if (!SWIG_IsOK(ecode2
)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9408 arg2
= static_cast< int >(val2
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 (arg1
)->SetWidth(arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_Py_Void();
9422 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
= 0;
9424 wxIcon
*arg1
= (wxIcon
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 char * kwnames
[] = {
9433 (char *) "self",(char *) "h", NULL
9436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9438 if (!SWIG_IsOK(res1
)) {
9439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9441 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9443 if (!SWIG_IsOK(ecode2
)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9446 arg2
= static_cast< int >(val2
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->SetHeight(arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_Py_Void();
9460 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
= 0;
9462 wxIcon
*arg1
= (wxIcon
*) 0 ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 char * kwnames
[] = {
9471 (char *) "self",(char *) "d", NULL
9474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9476 if (!SWIG_IsOK(res1
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9479 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9481 if (!SWIG_IsOK(ecode2
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9484 arg2
= static_cast< int >(val2
);
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->SetDepth(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_Py_Void();
9498 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxIcon
*arg1
= (wxIcon
*) 0 ;
9501 wxBitmap
*arg2
= 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "self",(char *) "bmp", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9514 if (!SWIG_IsOK(res1
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9517 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9519 if (!SWIG_IsOK(res2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9525 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_Py_Void();
9539 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9542 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9543 return SWIG_Py_Void();
9546 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9547 return SWIG_Python_InitShadowInstance(args
);
9550 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
= 0;
9552 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9553 int arg2
= (int) 0 ;
9554 wxIconLocation
*result
= 0 ;
9555 bool temp1
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 char * kwnames
[] = {
9561 (char *) "filename",(char *) "num", NULL
9564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9567 arg1
= wxString_in_helper(obj0
);
9568 if (arg1
== NULL
) SWIG_fail
;
9573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9574 if (!SWIG_IsOK(ecode2
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9577 arg2
= static_cast< int >(val2
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9600 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 PyObject
*resultobj
= 0;
9602 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9605 PyObject
*swig_obj
[1] ;
9607 if (!args
) SWIG_fail
;
9609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9610 if (!SWIG_IsOK(res1
)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9613 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_Py_Void();
9628 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9629 PyObject
*resultobj
= 0;
9630 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9634 PyObject
*swig_obj
[1] ;
9636 if (!args
) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9642 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9658 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
= 0;
9660 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9661 wxString
*arg2
= 0 ;
9664 bool temp2
= false ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 char * kwnames
[] = {
9668 (char *) "self",(char *) "filename", NULL
9671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9673 if (!SWIG_IsOK(res1
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9676 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9678 arg2
= wxString_in_helper(obj1
);
9679 if (arg2
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 (arg1
)->SetFileName((wxString
const &)*arg2
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_Py_Void();
9703 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9704 PyObject
*resultobj
= 0;
9705 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9706 wxString
*result
= 0 ;
9709 PyObject
*swig_obj
[1] ;
9711 if (!args
) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9717 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9722 result
= (wxString
*) &_result_ref
;
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9731 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9740 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
= 0;
9742 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 char * kwnames
[] = {
9751 (char *) "self",(char *) "num", NULL
9754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9759 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9761 if (!SWIG_IsOK(ecode2
)) {
9762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9764 arg2
= static_cast< int >(val2
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 wxIconLocation_SetIndex(arg1
,arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_Py_Void();
9778 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9779 PyObject
*resultobj
= 0;
9780 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9784 PyObject
*swig_obj
[1] ;
9786 if (!args
) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9792 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (int)wxIconLocation_GetIndex(arg1
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_From_int(static_cast< int >(result
));
9806 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9809 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9810 return SWIG_Py_Void();
9813 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9814 return SWIG_Python_InitShadowInstance(args
);
9817 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9818 PyObject
*resultobj
= 0;
9819 wxIconBundle
*result
= 0 ;
9821 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (wxIconBundle
*)new wxIconBundle();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9835 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxString
*arg1
= 0 ;
9839 wxIconBundle
*result
= 0 ;
9840 bool temp1
= false ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 char * kwnames
[] = {
9846 (char *) "file",(char *) "type", NULL
9849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9851 arg1
= wxString_in_helper(obj0
);
9852 if (arg1
== NULL
) SWIG_fail
;
9855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9856 if (!SWIG_IsOK(ecode2
)) {
9857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9859 arg2
= static_cast< long >(val2
);
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9881 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
= 0;
9884 wxIconBundle
*result
= 0 ;
9887 PyObject
* obj0
= 0 ;
9888 char * kwnames
[] = {
9889 (char *) "icon", NULL
9892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9893 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9894 if (!SWIG_IsOK(res1
)) {
9895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9900 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9914 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9915 PyObject
*resultobj
= 0;
9916 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9919 PyObject
*swig_obj
[1] ;
9921 if (!args
) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9927 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_Py_Void();
9942 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
= 0;
9944 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9952 char * kwnames
[] = {
9953 (char *) "self",(char *) "icon", NULL
9956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9958 if (!SWIG_IsOK(res1
)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9961 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9963 if (!SWIG_IsOK(res2
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9969 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9985 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9986 wxString
*arg2
= 0 ;
9990 bool temp2
= false ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9995 PyObject
* obj2
= 0 ;
9996 char * kwnames
[] = {
9997 (char *) "self",(char *) "file",(char *) "type", NULL
10000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10005 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10007 arg2
= wxString_in_helper(obj1
);
10008 if (arg2
== NULL
) SWIG_fail
;
10011 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10012 if (!SWIG_IsOK(ecode3
)) {
10013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10015 arg3
= static_cast< long >(val3
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_Py_Void();
10037 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
= 0;
10039 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10041 wxIcon
*result
= 0 ;
10045 PyObject
* obj0
= 0 ;
10046 PyObject
* obj1
= 0 ;
10047 char * kwnames
[] = {
10048 (char *) "self",(char *) "size", NULL
10051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10053 if (!SWIG_IsOK(res1
)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10056 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10065 result
= (wxIcon
*) &_result_ref
;
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10071 wxIcon
* resultptr
= new wxIcon(*result
);
10072 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10080 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10083 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10084 return SWIG_Py_Void();
10087 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10088 return SWIG_Python_InitShadowInstance(args
);
10091 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
= 0;
10093 wxString
*arg1
= 0 ;
10095 int arg3
= (int) 0 ;
10096 int arg4
= (int) 0 ;
10097 wxCursor
*result
= 0 ;
10098 bool temp1
= false ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 PyObject
* obj2
= 0 ;
10108 PyObject
* obj3
= 0 ;
10109 char * kwnames
[] = {
10110 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10115 arg1
= wxString_in_helper(obj0
);
10116 if (arg1
== NULL
) SWIG_fail
;
10119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10120 if (!SWIG_IsOK(ecode2
)) {
10121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10123 arg2
= static_cast< long >(val2
);
10125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10126 if (!SWIG_IsOK(ecode3
)) {
10127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10129 arg3
= static_cast< int >(val3
);
10132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10133 if (!SWIG_IsOK(ecode4
)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10136 arg4
= static_cast< int >(val4
);
10139 if (!wxPyCheckForApp()) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10160 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 PyObject
*resultobj
= 0;
10162 wxCursor
*arg1
= (wxCursor
*) 0 ;
10165 PyObject
*swig_obj
[1] ;
10167 if (!args
) SWIG_fail
;
10168 swig_obj
[0] = args
;
10169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10173 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_Py_Void();
10188 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
= 0;
10191 wxCursor
*result
= 0 ;
10194 PyObject
* obj0
= 0 ;
10195 char * kwnames
[] = {
10196 (char *) "id", NULL
10199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10201 if (!SWIG_IsOK(ecode1
)) {
10202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10204 arg1
= static_cast< int >(val1
);
10206 if (!wxPyCheckForApp()) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (wxCursor
*)new wxCursor(arg1
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10219 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= 0;
10221 wxImage
*arg1
= 0 ;
10222 wxCursor
*result
= 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "image", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10238 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10240 if (!wxPyCheckForApp()) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10253 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10254 PyObject
*resultobj
= 0;
10255 wxCursor
*arg1
= (wxCursor
*) 0 ;
10259 PyObject
*swig_obj
[1] ;
10261 if (!args
) SWIG_fail
;
10262 swig_obj
[0] = args
;
10263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10267 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (bool)(arg1
)->IsOk();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10286 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10287 return SWIG_Py_Void();
10290 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 return SWIG_Python_InitShadowInstance(args
);
10294 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
= 0;
10296 int arg1
= (int) 0 ;
10297 int arg2
= (int) 0 ;
10298 int arg3
= (int) 0 ;
10299 int arg4
= (int) 0 ;
10300 wxRegion
*result
= 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 PyObject
* obj3
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10320 if (!SWIG_IsOK(ecode1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10323 arg1
= static_cast< int >(val1
);
10326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10327 if (!SWIG_IsOK(ecode2
)) {
10328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10330 arg2
= static_cast< int >(val2
);
10333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10334 if (!SWIG_IsOK(ecode3
)) {
10335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10337 arg3
= static_cast< int >(val3
);
10340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10341 if (!SWIG_IsOK(ecode4
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10344 arg4
= static_cast< int >(val4
);
10347 if (!wxPyCheckForApp()) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10360 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
= 0;
10362 wxBitmap
*arg1
= 0 ;
10363 wxRegion
*result
= 0 ;
10366 PyObject
* obj0
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "bmp", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10379 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10381 if (!wxPyCheckForApp()) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10394 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxBitmap
*arg1
= 0 ;
10397 wxColour
*arg2
= 0 ;
10398 int arg3
= (int) 0 ;
10399 wxRegion
*result
= 0 ;
10405 PyObject
* obj0
= 0 ;
10406 PyObject
* obj1
= 0 ;
10407 PyObject
* obj2
= 0 ;
10408 char * kwnames
[] = {
10409 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10413 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10414 if (!SWIG_IsOK(res1
)) {
10415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10423 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10427 if (!SWIG_IsOK(ecode3
)) {
10428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10430 arg3
= static_cast< int >(val3
);
10433 if (!wxPyCheckForApp()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10446 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
= 0;
10449 wxPoint
*arg2
= (wxPoint
*) 0 ;
10450 int arg3
= (int) wxWINDING_RULE
;
10451 wxRegion
*result
= 0 ;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "points",(char *) "fillStyle", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10462 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10463 if (arg2
== NULL
) SWIG_fail
;
10466 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10467 if (!SWIG_IsOK(ecode3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10470 arg3
= static_cast< int >(val3
);
10473 if (!wxPyCheckForApp()) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10481 if (arg2
) delete [] arg2
;
10486 if (arg2
) delete [] arg2
;
10492 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxRegion
*arg1
= (wxRegion
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_Py_Void();
10520 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 PyObject
*resultobj
= 0;
10522 wxRegion
*arg1
= (wxRegion
*) 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10533 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxRegion
*arg1
= (wxRegion
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 PyObject
* obj2
= 0 ;
10562 char * kwnames
[] = {
10563 (char *) "self",(char *) "x",(char *) "y", NULL
10566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10573 if (!SWIG_IsOK(ecode2
)) {
10574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10576 arg2
= static_cast< int >(val2
);
10577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10578 if (!SWIG_IsOK(ecode3
)) {
10579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10581 arg3
= static_cast< int >(val3
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10597 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
= 0;
10599 wxRegion
*arg1
= (wxRegion
*) 0 ;
10602 wxRegionContain result
;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 char * kwnames
[] = {
10613 (char *) "self",(char *) "x",(char *) "y", NULL
10616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10621 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10623 if (!SWIG_IsOK(ecode2
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10626 arg2
= static_cast< int >(val2
);
10627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10628 if (!SWIG_IsOK(ecode3
)) {
10629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10631 arg3
= static_cast< int >(val3
);
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_From_int(static_cast< int >(result
));
10645 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
= 0;
10647 wxRegion
*arg1
= (wxRegion
*) 0 ;
10648 wxPoint
*arg2
= 0 ;
10649 wxRegionContain result
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 char * kwnames
[] = {
10656 (char *) "self",(char *) "pt", NULL
10659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10661 if (!SWIG_IsOK(res1
)) {
10662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10664 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_From_int(static_cast< int >(result
));
10682 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10686 wxRegionContain result
;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 char * kwnames
[] = {
10693 (char *) "self",(char *) "rect", NULL
10696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10698 if (!SWIG_IsOK(res1
)) {
10699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int(static_cast< int >(result
));
10719 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxRegion
*arg1
= (wxRegion
*) 0 ;
10726 wxRegionContain result
;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 PyObject
* obj2
= 0 ;
10740 PyObject
* obj3
= 0 ;
10741 PyObject
* obj4
= 0 ;
10742 char * kwnames
[] = {
10743 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10751 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10753 if (!SWIG_IsOK(ecode2
)) {
10754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10756 arg2
= static_cast< int >(val2
);
10757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10758 if (!SWIG_IsOK(ecode3
)) {
10759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10761 arg3
= static_cast< int >(val3
);
10762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10763 if (!SWIG_IsOK(ecode4
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10766 arg4
= static_cast< int >(val4
);
10767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10768 if (!SWIG_IsOK(ecode5
)) {
10769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10771 arg5
= static_cast< int >(val5
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_From_int(static_cast< int >(result
));
10785 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10786 PyObject
*resultobj
= 0;
10787 wxRegion
*arg1
= (wxRegion
*) 0 ;
10791 PyObject
*swig_obj
[1] ;
10793 if (!args
) SWIG_fail
;
10794 swig_obj
[0] = args
;
10795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10799 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (arg1
)->GetBox();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10813 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
= 0;
10815 wxRegion
*arg1
= (wxRegion
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 PyObject
* obj3
= 0 ;
10835 PyObject
* obj4
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10845 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10847 if (!SWIG_IsOK(ecode2
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10850 arg2
= static_cast< int >(val2
);
10851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10852 if (!SWIG_IsOK(ecode3
)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10855 arg3
= static_cast< int >(val3
);
10856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10857 if (!SWIG_IsOK(ecode4
)) {
10858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10860 arg4
= static_cast< int >(val4
);
10861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10862 if (!SWIG_IsOK(ecode5
)) {
10863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10865 arg5
= static_cast< int >(val5
);
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10881 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
= 0;
10883 wxRegion
*arg1
= (wxRegion
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 char * kwnames
[] = {
10892 (char *) "self",(char *) "rect", NULL
10895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10897 if (!SWIG_IsOK(res1
)) {
10898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10903 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10920 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxRegion
*arg1
= (wxRegion
*) 0 ;
10923 wxRegion
*arg2
= 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "region", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10942 if (!SWIG_IsOK(res2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10948 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10964 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10965 PyObject
*resultobj
= 0;
10966 wxRegion
*arg1
= (wxRegion
*) 0 ;
10970 PyObject
*swig_obj
[1] ;
10972 if (!args
) SWIG_fail
;
10973 swig_obj
[0] = args
;
10974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10975 if (!SWIG_IsOK(res1
)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10978 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (bool)(arg1
)->IsEmpty();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxRegion
*arg1
= (wxRegion
*) 0 ;
10997 wxRegion
*arg2
= 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char * kwnames
[] = {
11006 (char *) "self",(char *) "region", NULL
11009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11014 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11016 if (!SWIG_IsOK(res2
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11022 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= 0;
11040 wxRegion
*arg1
= (wxRegion
*) 0 ;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 PyObject
* obj2
= 0 ;
11059 PyObject
* obj3
= 0 ;
11060 PyObject
* obj4
= 0 ;
11061 char * kwnames
[] = {
11062 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11070 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11072 if (!SWIG_IsOK(ecode2
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11075 arg2
= static_cast< int >(val2
);
11076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11077 if (!SWIG_IsOK(ecode3
)) {
11078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11080 arg3
= static_cast< int >(val3
);
11081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11082 if (!SWIG_IsOK(ecode4
)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11085 arg4
= static_cast< int >(val4
);
11086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11087 if (!SWIG_IsOK(ecode5
)) {
11088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11090 arg5
= static_cast< int >(val5
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= 0;
11108 wxRegion
*arg1
= (wxRegion
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 char * kwnames
[] = {
11117 (char *) "self",(char *) "rect", NULL
11120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11122 if (!SWIG_IsOK(res1
)) {
11123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11125 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
= 0;
11147 wxRegion
*arg1
= (wxRegion
*) 0 ;
11148 wxRegion
*arg2
= 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char * kwnames
[] = {
11157 (char *) "self",(char *) "region", NULL
11160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11165 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11167 if (!SWIG_IsOK(res2
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11173 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
= 0;
11191 wxRegion
*arg1
= (wxRegion
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 PyObject
* obj3
= 0 ;
11211 PyObject
* obj4
= 0 ;
11212 char * kwnames
[] = {
11213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11218 if (!SWIG_IsOK(res1
)) {
11219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11221 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11223 if (!SWIG_IsOK(ecode2
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11226 arg2
= static_cast< int >(val2
);
11227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11228 if (!SWIG_IsOK(ecode3
)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11231 arg3
= static_cast< int >(val3
);
11232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11233 if (!SWIG_IsOK(ecode4
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11236 arg4
= static_cast< int >(val4
);
11237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11238 if (!SWIG_IsOK(ecode5
)) {
11239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11241 arg5
= static_cast< int >(val5
);
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11257 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
= 0;
11259 wxRegion
*arg1
= (wxRegion
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char * kwnames
[] = {
11268 (char *) "self",(char *) "rect", NULL
11271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11273 if (!SWIG_IsOK(res1
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11276 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11296 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
= 0;
11298 wxRegion
*arg1
= (wxRegion
*) 0 ;
11299 wxRegion
*arg2
= 0 ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "self",(char *) "region", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11316 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11318 if (!SWIG_IsOK(res2
)) {
11319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11324 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11340 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= 0;
11342 wxRegion
*arg1
= (wxRegion
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 PyObject
* obj2
= 0 ;
11361 PyObject
* obj3
= 0 ;
11362 PyObject
* obj4
= 0 ;
11363 char * kwnames
[] = {
11364 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11372 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11374 if (!SWIG_IsOK(ecode2
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11377 arg2
= static_cast< int >(val2
);
11378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11379 if (!SWIG_IsOK(ecode3
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11382 arg3
= static_cast< int >(val3
);
11383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11384 if (!SWIG_IsOK(ecode4
)) {
11385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11387 arg4
= static_cast< int >(val4
);
11388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11389 if (!SWIG_IsOK(ecode5
)) {
11390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11392 arg5
= static_cast< int >(val5
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11408 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
= 0;
11410 wxRegion
*arg1
= (wxRegion
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 char * kwnames
[] = {
11419 (char *) "self",(char *) "rect", NULL
11422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11427 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11447 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11449 wxRegion
*arg1
= (wxRegion
*) 0 ;
11450 wxRegion
*arg2
= 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "self",(char *) "region", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11467 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11469 if (!SWIG_IsOK(res2
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11475 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11491 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11492 PyObject
*resultobj
= 0;
11493 wxRegion
*arg1
= (wxRegion
*) 0 ;
11494 SwigValueWrapper
<wxBitmap
> result
;
11497 PyObject
*swig_obj
[1] ;
11499 if (!args
) SWIG_fail
;
11500 swig_obj
[0] = args
;
11501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (arg1
)->ConvertToBitmap();
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11519 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
= 0;
11521 wxRegion
*arg1
= (wxRegion
*) 0 ;
11522 wxBitmap
*arg2
= 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 char * kwnames
[] = {
11531 (char *) "self",(char *) "bmp", NULL
11534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11539 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11541 if (!SWIG_IsOK(res2
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11547 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11563 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
= 0;
11565 wxRegion
*arg1
= (wxRegion
*) 0 ;
11566 wxBitmap
*arg2
= 0 ;
11567 wxColour
*arg3
= 0 ;
11568 int arg4
= (int) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 PyObject
* obj3
= 0 ;
11581 char * kwnames
[] = {
11582 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11590 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11591 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11592 if (!SWIG_IsOK(res2
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11598 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11601 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11605 if (!SWIG_IsOK(ecode4
)) {
11606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11608 arg4
= static_cast< int >(val4
);
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11625 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11628 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11629 return SWIG_Py_Void();
11632 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11633 return SWIG_Python_InitShadowInstance(args
);
11636 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
= 0;
11638 wxRegion
*arg1
= 0 ;
11639 wxRegionIterator
*result
= 0 ;
11642 PyObject
* obj0
= 0 ;
11643 char * kwnames
[] = {
11644 (char *) "region", NULL
11647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11648 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11655 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11657 if (!wxPyCheckForApp()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11670 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11671 PyObject
*resultobj
= 0;
11672 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11675 PyObject
*swig_obj
[1] ;
11677 if (!args
) SWIG_fail
;
11678 swig_obj
[0] = args
;
11679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11680 if (!SWIG_IsOK(res1
)) {
11681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11683 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_Py_Void();
11698 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11704 PyObject
*swig_obj
[1] ;
11706 if (!args
) SWIG_fail
;
11707 swig_obj
[0] = args
;
11708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11709 if (!SWIG_IsOK(res1
)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11712 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (int)(arg1
)->GetX();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_From_int(static_cast< int >(result
));
11726 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11727 PyObject
*resultobj
= 0;
11728 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11740 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (int)(arg1
)->GetY();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int(static_cast< int >(result
));
11754 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 PyObject
*resultobj
= 0;
11756 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11760 PyObject
*swig_obj
[1] ;
11762 if (!args
) SWIG_fail
;
11763 swig_obj
[0] = args
;
11764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11765 if (!SWIG_IsOK(res1
)) {
11766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11768 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (int)(arg1
)->GetW();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= SWIG_From_int(static_cast< int >(result
));
11782 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 PyObject
*resultobj
= 0;
11784 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11788 PyObject
*swig_obj
[1] ;
11790 if (!args
) SWIG_fail
;
11791 swig_obj
[0] = args
;
11792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11793 if (!SWIG_IsOK(res1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11796 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (int)(arg1
)->GetWidth();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_From_int(static_cast< int >(result
));
11810 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11811 PyObject
*resultobj
= 0;
11812 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11816 PyObject
*swig_obj
[1] ;
11818 if (!args
) SWIG_fail
;
11819 swig_obj
[0] = args
;
11820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11821 if (!SWIG_IsOK(res1
)) {
11822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11824 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (int)(arg1
)->GetH();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_From_int(static_cast< int >(result
));
11838 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11839 PyObject
*resultobj
= 0;
11840 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11844 PyObject
*swig_obj
[1] ;
11846 if (!args
) SWIG_fail
;
11847 swig_obj
[0] = args
;
11848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11849 if (!SWIG_IsOK(res1
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11852 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (int)(arg1
)->GetHeight();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_From_int(static_cast< int >(result
));
11866 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 PyObject
*resultobj
= 0;
11868 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11872 PyObject
*swig_obj
[1] ;
11874 if (!args
) SWIG_fail
;
11875 swig_obj
[0] = args
;
11876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11877 if (!SWIG_IsOK(res1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11880 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (arg1
)->GetRect();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11894 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 PyObject
*resultobj
= 0;
11896 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11900 PyObject
*swig_obj
[1] ;
11902 if (!args
) SWIG_fail
;
11903 swig_obj
[0] = args
;
11904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11908 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (bool)(arg1
)->HaveRects();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11924 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11925 PyObject
*resultobj
= 0;
11926 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11929 PyObject
*swig_obj
[1] ;
11931 if (!args
) SWIG_fail
;
11932 swig_obj
[0] = args
;
11933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11934 if (!SWIG_IsOK(res1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11937 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_Py_Void();
11951 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11952 PyObject
*resultobj
= 0;
11953 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11956 PyObject
*swig_obj
[1] ;
11958 if (!args
) SWIG_fail
;
11959 swig_obj
[0] = args
;
11960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11961 if (!SWIG_IsOK(res1
)) {
11962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11964 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 wxRegionIterator_Next(arg1
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_Py_Void();
11978 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11979 PyObject
*resultobj
= 0;
11980 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11984 PyObject
*swig_obj
[1] ;
11986 if (!args
) SWIG_fail
;
11987 swig_obj
[0] = args
;
11988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11989 if (!SWIG_IsOK(res1
)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11992 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12008 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12011 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12012 return SWIG_Py_Void();
12015 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12016 return SWIG_Python_InitShadowInstance(args
);
12019 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxNativeFontInfo
*result
= 0 ;
12023 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12037 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12038 PyObject
*resultobj
= 0;
12039 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12042 PyObject
*swig_obj
[1] ;
12044 if (!args
) SWIG_fail
;
12045 swig_obj
[0] = args
;
12046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12047 if (!SWIG_IsOK(res1
)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12050 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_Py_Void();
12065 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12066 PyObject
*resultobj
= 0;
12067 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12070 PyObject
*swig_obj
[1] ;
12072 if (!args
) SWIG_fail
;
12073 swig_obj
[0] = args
;
12074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12078 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_Py_Void();
12092 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
= 0;
12094 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char * kwnames
[] = {
12103 (char *) "self",(char *) "font", NULL
12106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12108 if (!SWIG_IsOK(res1
)) {
12109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12111 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12113 if (!SWIG_IsOK(res2
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12119 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_Py_Void();
12133 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12134 PyObject
*resultobj
= 0;
12135 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12139 PyObject
*swig_obj
[1] ;
12141 if (!args
) SWIG_fail
;
12142 swig_obj
[0] = args
;
12143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12144 if (!SWIG_IsOK(res1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12147 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= SWIG_From_int(static_cast< int >(result
));
12161 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12162 PyObject
*resultobj
= 0;
12163 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12164 wxFontStyle result
;
12167 PyObject
*swig_obj
[1] ;
12169 if (!args
) SWIG_fail
;
12170 swig_obj
[0] = args
;
12171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12175 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_From_int(static_cast< int >(result
));
12189 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12190 PyObject
*resultobj
= 0;
12191 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12192 wxFontWeight result
;
12195 PyObject
*swig_obj
[1] ;
12197 if (!args
) SWIG_fail
;
12198 swig_obj
[0] = args
;
12199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12200 if (!SWIG_IsOK(res1
)) {
12201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12203 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_From_int(static_cast< int >(result
));
12217 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12218 PyObject
*resultobj
= 0;
12219 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12223 PyObject
*swig_obj
[1] ;
12225 if (!args
) SWIG_fail
;
12226 swig_obj
[0] = args
;
12227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12231 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12247 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12261 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12281 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 PyObject
*resultobj
= 0;
12283 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12284 wxFontFamily result
;
12287 PyObject
*swig_obj
[1] ;
12289 if (!args
) SWIG_fail
;
12290 swig_obj
[0] = args
;
12291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12292 if (!SWIG_IsOK(res1
)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12295 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_From_int(static_cast< int >(result
));
12309 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12310 PyObject
*resultobj
= 0;
12311 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12312 wxFontEncoding result
;
12315 PyObject
*swig_obj
[1] ;
12317 if (!args
) SWIG_fail
;
12318 swig_obj
[0] = args
;
12319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12323 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_From_int(static_cast< int >(result
));
12337 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "self",(char *) "pointsize", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12356 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12358 if (!SWIG_IsOK(ecode2
)) {
12359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12361 arg2
= static_cast< int >(val2
);
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->SetPointSize(arg2
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_Py_Void();
12375 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
= 0;
12377 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "style", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12394 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12396 if (!SWIG_IsOK(ecode2
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12399 arg2
= static_cast< wxFontStyle
>(val2
);
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 (arg1
)->SetStyle(arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_Py_Void();
12413 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12416 wxFontWeight arg2
;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char * kwnames
[] = {
12424 (char *) "self",(char *) "weight", NULL
12427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12432 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12434 if (!SWIG_IsOK(ecode2
)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12437 arg2
= static_cast< wxFontWeight
>(val2
);
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 (arg1
)->SetWeight(arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_Py_Void();
12451 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
= 0;
12453 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "underlined", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12470 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12471 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12472 if (!SWIG_IsOK(ecode2
)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12475 arg2
= static_cast< bool >(val2
);
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetUnderlined(arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_Py_Void();
12489 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
= 0;
12491 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char * kwnames
[] = {
12499 (char *) "self",(char *) "facename", NULL
12502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12507 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12509 wxString
* sptr
= wxString_in_helper(obj1
);
12510 if (sptr
== NULL
) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (bool)(arg1
)->SetFaceName(arg2
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12529 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
= 0;
12531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12532 wxFontFamily arg2
;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 char * kwnames
[] = {
12540 (char *) "self",(char *) "family", NULL
12543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12548 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12550 if (!SWIG_IsOK(ecode2
)) {
12551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12553 arg2
= static_cast< wxFontFamily
>(val2
);
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->SetFamily(arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= SWIG_Py_Void();
12567 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
= 0;
12569 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12570 wxFontEncoding arg2
;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 char * kwnames
[] = {
12578 (char *) "self",(char *) "encoding", NULL
12581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12583 if (!SWIG_IsOK(res1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12586 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12588 if (!SWIG_IsOK(ecode2
)) {
12589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12591 arg2
= static_cast< wxFontEncoding
>(val2
);
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetEncoding(arg2
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= SWIG_Py_Void();
12605 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
= 0;
12607 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12608 wxString
*arg2
= 0 ;
12612 bool temp2
= false ;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 char * kwnames
[] = {
12616 (char *) "self",(char *) "s", NULL
12619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12624 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12626 arg2
= wxString_in_helper(obj1
);
12627 if (arg2
== NULL
) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12653 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12659 PyObject
*swig_obj
[1] ;
12661 if (!args
) SWIG_fail
;
12662 swig_obj
[0] = args
;
12663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12664 if (!SWIG_IsOK(res1
)) {
12665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12667 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12687 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12688 PyObject
*resultobj
= 0;
12689 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12693 PyObject
*swig_obj
[1] ;
12695 if (!args
) SWIG_fail
;
12696 swig_obj
[0] = args
;
12697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12701 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= wxNativeFontInfo___str__(arg1
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12721 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
= 0;
12723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12724 wxString
*arg2
= 0 ;
12728 bool temp2
= false ;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 char * kwnames
[] = {
12732 (char *) "self",(char *) "s", NULL
12735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12740 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12742 arg2
= wxString_in_helper(obj1
);
12743 if (arg2
== NULL
) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12769 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12770 PyObject
*resultobj
= 0;
12771 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12775 PyObject
*swig_obj
[1] ;
12777 if (!args
) SWIG_fail
;
12778 swig_obj
[0] = args
;
12779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12803 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12806 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12807 return SWIG_Py_Void();
12810 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12811 return SWIG_Python_InitShadowInstance(args
);
12814 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12815 PyObject
*resultobj
= 0;
12816 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12817 wxString
*arg2
= (wxString
*) 0 ;
12820 bool temp2
= false ;
12821 PyObject
*swig_obj
[2] ;
12823 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12828 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12830 arg2
= wxString_in_helper(swig_obj
[1]);
12831 if (arg2
== NULL
) SWIG_fail
;
12834 if (arg1
) (arg1
)->facename
= *arg2
;
12836 resultobj
= SWIG_Py_Void();
12851 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12854 wxString
*result
= 0 ;
12857 PyObject
*swig_obj
[1] ;
12859 if (!args
) SWIG_fail
;
12860 swig_obj
[0] = args
;
12861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12865 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12866 result
= (wxString
*)& ((arg1
)->facename
);
12869 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12871 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12880 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12881 PyObject
*resultobj
= 0;
12882 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12883 wxFontEncoding arg2
;
12888 PyObject
*swig_obj
[2] ;
12890 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12895 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12896 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12897 if (!SWIG_IsOK(ecode2
)) {
12898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12900 arg2
= static_cast< wxFontEncoding
>(val2
);
12901 if (arg1
) (arg1
)->encoding
= arg2
;
12903 resultobj
= SWIG_Py_Void();
12910 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12911 PyObject
*resultobj
= 0;
12912 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12913 wxFontEncoding result
;
12916 PyObject
*swig_obj
[1] ;
12918 if (!args
) SWIG_fail
;
12919 swig_obj
[0] = args
;
12920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12924 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12925 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12926 resultobj
= SWIG_From_int(static_cast< int >(result
));
12933 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 wxNativeEncodingInfo
*result
= 0 ;
12937 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12951 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 PyObject
*resultobj
= 0;
12953 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12956 PyObject
*swig_obj
[1] ;
12958 if (!args
) SWIG_fail
;
12959 swig_obj
[0] = args
;
12960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12964 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= SWIG_Py_Void();
12979 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
= 0;
12981 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12982 wxString
*arg2
= 0 ;
12986 bool temp2
= false ;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 char * kwnames
[] = {
12990 (char *) "self",(char *) "s", NULL
12993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12995 if (!SWIG_IsOK(res1
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12998 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13000 arg2
= wxString_in_helper(obj1
);
13001 if (arg2
== NULL
) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13028 PyObject
*resultobj
= 0;
13029 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13033 PyObject
*swig_obj
[1] ;
13035 if (!args
) SWIG_fail
;
13036 swig_obj
[0] = args
;
13037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13038 if (!SWIG_IsOK(res1
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13041 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13061 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13064 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13065 return SWIG_Py_Void();
13068 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13069 return SWIG_Python_InitShadowInstance(args
);
13072 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxFontEncoding arg1
;
13075 wxNativeEncodingInfo
*result
= 0 ;
13078 PyObject
* obj0
= 0 ;
13079 char * kwnames
[] = {
13080 (char *) "encoding", NULL
13083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13085 if (!SWIG_IsOK(ecode1
)) {
13086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13088 arg1
= static_cast< wxFontEncoding
>(val1
);
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13102 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
= 0;
13104 wxNativeEncodingInfo
*arg1
= 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "info", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13114 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13121 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13137 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13138 PyObject
*resultobj
= 0;
13139 wxFontMapper
*result
= 0 ;
13141 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (wxFontMapper
*)new wxFontMapper();
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13155 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13156 PyObject
*resultobj
= 0;
13157 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13160 PyObject
*swig_obj
[1] ;
13162 if (!args
) SWIG_fail
;
13163 swig_obj
[0] = args
;
13164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13165 if (!SWIG_IsOK(res1
)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13168 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_Py_Void();
13183 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13184 PyObject
*resultobj
= 0;
13185 wxFontMapper
*result
= 0 ;
13187 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (wxFontMapper
*)wxFontMapper::Get();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13201 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= 0;
13203 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13204 wxFontMapper
*result
= 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char * kwnames
[] = {
13209 (char *) "mapper", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13217 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13231 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
= 0;
13233 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13234 wxString
*arg2
= 0 ;
13235 bool arg3
= (bool) true ;
13236 wxFontEncoding result
;
13239 bool temp2
= false ;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 PyObject
* obj2
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13254 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13256 arg2
= wxString_in_helper(obj1
);
13257 if (arg2
== NULL
) SWIG_fail
;
13261 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13262 if (!SWIG_IsOK(ecode3
)) {
13263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13265 arg3
= static_cast< bool >(val3
);
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_From_int(static_cast< int >(result
));
13288 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13289 PyObject
*resultobj
= 0;
13292 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13306 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13309 wxFontEncoding result
;
13312 PyObject
* obj0
= 0 ;
13313 char * kwnames
[] = {
13317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13318 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13319 if (!SWIG_IsOK(ecode1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13322 arg1
= static_cast< size_t >(val1
);
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_From_int(static_cast< int >(result
));
13336 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
= 0;
13338 wxFontEncoding arg1
;
13342 PyObject
* obj0
= 0 ;
13343 char * kwnames
[] = {
13344 (char *) "encoding", NULL
13347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13349 if (!SWIG_IsOK(ecode1
)) {
13350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13352 arg1
= static_cast< wxFontEncoding
>(val1
);
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= wxFontMapper::GetEncodingName(arg1
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13372 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
= 0;
13374 wxFontEncoding arg1
;
13378 PyObject
* obj0
= 0 ;
13379 char * kwnames
[] = {
13380 (char *) "encoding", NULL
13383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13385 if (!SWIG_IsOK(ecode1
)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13388 arg1
= static_cast< wxFontEncoding
>(val1
);
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= wxFontMapper::GetEncodingDescription(arg1
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13408 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
= 0;
13410 wxString
*arg1
= 0 ;
13411 wxFontEncoding result
;
13412 bool temp1
= false ;
13413 PyObject
* obj0
= 0 ;
13414 char * kwnames
[] = {
13415 (char *) "name", NULL
13418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13420 arg1
= wxString_in_helper(obj0
);
13421 if (arg1
== NULL
) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_From_int(static_cast< int >(result
));
13445 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= 0;
13447 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13448 wxString
*arg2
= 0 ;
13451 bool temp2
= false ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "self",(char *) "prefix", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13460 if (!SWIG_IsOK(res1
)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13463 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13465 arg2
= wxString_in_helper(obj1
);
13466 if (arg2
== NULL
) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_Py_Void();
13490 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13491 PyObject
*resultobj
= 0;
13494 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= wxFontMapper::GetDefaultConfigPath();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13514 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
= 0;
13516 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13517 wxFontEncoding arg2
;
13518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13520 bool arg4
= (bool) true ;
13521 PyObject
*result
= 0 ;
13526 bool temp3
= false ;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 PyObject
* obj2
= 0 ;
13532 PyObject
* obj3
= 0 ;
13533 char * kwnames
[] = {
13534 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13542 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13544 if (!SWIG_IsOK(ecode2
)) {
13545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13547 arg2
= static_cast< wxFontEncoding
>(val2
);
13550 arg3
= wxString_in_helper(obj2
);
13551 if (arg3
== NULL
) SWIG_fail
;
13556 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13557 if (!SWIG_IsOK(ecode4
)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13560 arg4
= static_cast< bool >(val4
);
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= result
;
13583 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
= 0;
13585 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13586 wxFontEncoding arg2
;
13587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13594 bool temp3
= false ;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 PyObject
* obj2
= 0 ;
13598 char * kwnames
[] = {
13599 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13604 if (!SWIG_IsOK(res1
)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13607 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13609 if (!SWIG_IsOK(ecode2
)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13612 arg2
= static_cast< wxFontEncoding
>(val2
);
13615 arg3
= wxString_in_helper(obj2
);
13616 if (arg3
== NULL
) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
= 0;
13645 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13646 wxWindow
*arg2
= (wxWindow
*) 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char * kwnames
[] = {
13654 (char *) "self",(char *) "parent", NULL
13657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13659 if (!SWIG_IsOK(res1
)) {
13660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13662 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13664 if (!SWIG_IsOK(res2
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13667 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 (arg1
)->SetDialogParent(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_Py_Void();
13681 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
= 0;
13683 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13684 wxString
*arg2
= 0 ;
13687 bool temp2
= false ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "title", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13699 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13701 arg2
= wxString_in_helper(obj1
);
13702 if (arg2
== NULL
) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= SWIG_Py_Void();
13726 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13729 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13730 return SWIG_Py_Void();
13733 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13734 return SWIG_Python_InitShadowInstance(args
);
13737 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
= 0;
13743 bool arg5
= (bool) false ;
13744 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13745 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13746 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13747 wxFont
*result
= 0 ;
13758 bool temp6
= false ;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 PyObject
* obj2
= 0 ;
13764 PyObject
* obj3
= 0 ;
13765 PyObject
* obj4
= 0 ;
13766 PyObject
* obj5
= 0 ;
13767 PyObject
* obj6
= 0 ;
13768 char * kwnames
[] = {
13769 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13774 if (!SWIG_IsOK(ecode1
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13777 arg1
= static_cast< int >(val1
);
13778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13779 if (!SWIG_IsOK(ecode2
)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13782 arg2
= static_cast< int >(val2
);
13783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13784 if (!SWIG_IsOK(ecode3
)) {
13785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13787 arg3
= static_cast< int >(val3
);
13788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13789 if (!SWIG_IsOK(ecode4
)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13792 arg4
= static_cast< int >(val4
);
13794 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13795 if (!SWIG_IsOK(ecode5
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13798 arg5
= static_cast< bool >(val5
);
13802 arg6
= wxString_in_helper(obj5
);
13803 if (arg6
== NULL
) SWIG_fail
;
13808 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13809 if (!SWIG_IsOK(ecode7
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13812 arg7
= static_cast< wxFontEncoding
>(val7
);
13815 if (!wxPyCheckForApp()) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13836 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxFont
*arg1
= (wxFont
*) 0 ;
13841 PyObject
*swig_obj
[1] ;
13843 if (!args
) SWIG_fail
;
13844 swig_obj
[0] = args
;
13845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13849 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_Py_Void();
13864 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
= 0;
13866 wxNativeFontInfo
*arg1
= 0 ;
13867 wxFont
*result
= 0 ;
13870 PyObject
* obj0
= 0 ;
13871 char * kwnames
[] = {
13872 (char *) "info", NULL
13875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13876 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13877 if (!SWIG_IsOK(res1
)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13883 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13885 if (!wxPyCheckForApp()) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13898 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
= 0;
13900 wxString
*arg1
= 0 ;
13901 wxFont
*result
= 0 ;
13902 bool temp1
= false ;
13903 PyObject
* obj0
= 0 ;
13904 char * kwnames
[] = {
13905 (char *) "info", NULL
13908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13910 arg1
= wxString_in_helper(obj0
);
13911 if (arg1
== NULL
) SWIG_fail
;
13915 if (!wxPyCheckForApp()) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13936 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
= 0;
13939 wxFontFamily arg2
;
13940 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13941 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13942 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13943 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13944 wxFont
*result
= 0 ;
13951 bool temp4
= false ;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 PyObject
* obj3
= 0 ;
13958 PyObject
* obj4
= 0 ;
13959 char * kwnames
[] = {
13960 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13964 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13965 if (!SWIG_IsOK(ecode1
)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13968 arg1
= static_cast< int >(val1
);
13969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13970 if (!SWIG_IsOK(ecode2
)) {
13971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13973 arg2
= static_cast< wxFontFamily
>(val2
);
13975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13976 if (!SWIG_IsOK(ecode3
)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13979 arg3
= static_cast< int >(val3
);
13983 arg4
= wxString_in_helper(obj3
);
13984 if (arg4
== NULL
) SWIG_fail
;
13989 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13990 if (!SWIG_IsOK(ecode5
)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13993 arg5
= static_cast< wxFontEncoding
>(val5
);
13996 if (!wxPyCheckForApp()) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14017 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
= 0;
14023 bool arg5
= (bool) false ;
14024 wxString
const &arg6_defvalue
= wxEmptyString
;
14025 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14026 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14027 wxFont
*result
= 0 ;
14037 bool temp6
= false ;
14040 PyObject
* obj0
= 0 ;
14041 PyObject
* obj1
= 0 ;
14042 PyObject
* obj2
= 0 ;
14043 PyObject
* obj3
= 0 ;
14044 PyObject
* obj4
= 0 ;
14045 PyObject
* obj5
= 0 ;
14046 PyObject
* obj6
= 0 ;
14047 char * kwnames
[] = {
14048 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14054 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14057 if (!SWIG_IsOK(ecode2
)) {
14058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14060 arg2
= static_cast< int >(val2
);
14061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14062 if (!SWIG_IsOK(ecode3
)) {
14063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14065 arg3
= static_cast< int >(val3
);
14066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14067 if (!SWIG_IsOK(ecode4
)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14070 arg4
= static_cast< int >(val4
);
14072 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14073 if (!SWIG_IsOK(ecode5
)) {
14074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14076 arg5
= static_cast< bool >(val5
);
14080 arg6
= wxString_in_helper(obj5
);
14081 if (arg6
== NULL
) SWIG_fail
;
14086 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14087 if (!SWIG_IsOK(ecode7
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14090 arg7
= static_cast< wxFontEncoding
>(val7
);
14093 if (!wxPyCheckForApp()) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14114 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
= 0;
14117 wxFontFamily arg2
;
14118 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14119 wxString
const &arg4_defvalue
= wxEmptyString
;
14120 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14121 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14122 wxFont
*result
= 0 ;
14128 bool temp4
= false ;
14131 PyObject
* obj0
= 0 ;
14132 PyObject
* obj1
= 0 ;
14133 PyObject
* obj2
= 0 ;
14134 PyObject
* obj3
= 0 ;
14135 PyObject
* obj4
= 0 ;
14136 char * kwnames
[] = {
14137 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14143 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14146 if (!SWIG_IsOK(ecode2
)) {
14147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14149 arg2
= static_cast< wxFontFamily
>(val2
);
14151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14152 if (!SWIG_IsOK(ecode3
)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14155 arg3
= static_cast< int >(val3
);
14159 arg4
= wxString_in_helper(obj3
);
14160 if (arg4
== NULL
) SWIG_fail
;
14165 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14166 if (!SWIG_IsOK(ecode5
)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14169 arg5
= static_cast< wxFontEncoding
>(val5
);
14172 if (!wxPyCheckForApp()) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14193 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14194 PyObject
*resultobj
= 0;
14195 wxFont
*arg1
= (wxFont
*) 0 ;
14199 PyObject
*swig_obj
[1] ;
14201 if (!args
) SWIG_fail
;
14202 swig_obj
[0] = args
;
14203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14204 if (!SWIG_IsOK(res1
)) {
14205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14207 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14223 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
= 0;
14225 wxFont
*arg1
= (wxFont
*) 0 ;
14226 wxFont
*arg2
= (wxFont
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 char * kwnames
[] = {
14235 (char *) "self",(char *) "other", NULL
14238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14240 if (!SWIG_IsOK(res1
)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14243 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14245 if (!SWIG_IsOK(res2
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14248 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14264 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
= 0;
14266 wxFont
*arg1
= (wxFont
*) 0 ;
14267 wxFont
*arg2
= (wxFont
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char * kwnames
[] = {
14276 (char *) "self",(char *) "other", NULL
14279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14281 if (!SWIG_IsOK(res1
)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14284 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14286 if (!SWIG_IsOK(res2
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14289 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14306 PyObject
*resultobj
= 0;
14307 wxFont
*arg1
= (wxFont
*) 0 ;
14311 PyObject
*swig_obj
[1] ;
14313 if (!args
) SWIG_fail
;
14314 swig_obj
[0] = args
;
14315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14319 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_From_int(static_cast< int >(result
));
14333 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14334 PyObject
*resultobj
= 0;
14335 wxFont
*arg1
= (wxFont
*) 0 ;
14339 PyObject
*swig_obj
[1] ;
14341 if (!args
) SWIG_fail
;
14342 swig_obj
[0] = args
;
14343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14344 if (!SWIG_IsOK(res1
)) {
14345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14347 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14361 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14362 PyObject
*resultobj
= 0;
14363 wxFont
*arg1
= (wxFont
*) 0 ;
14367 PyObject
*swig_obj
[1] ;
14369 if (!args
) SWIG_fail
;
14370 swig_obj
[0] = args
;
14371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14375 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14391 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14392 PyObject
*resultobj
= 0;
14393 wxFont
*arg1
= (wxFont
*) 0 ;
14397 PyObject
*swig_obj
[1] ;
14399 if (!args
) SWIG_fail
;
14400 swig_obj
[0] = args
;
14401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14405 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_From_int(static_cast< int >(result
));
14419 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14420 PyObject
*resultobj
= 0;
14421 wxFont
*arg1
= (wxFont
*) 0 ;
14425 PyObject
*swig_obj
[1] ;
14427 if (!args
) SWIG_fail
;
14428 swig_obj
[0] = args
;
14429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14433 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_From_int(static_cast< int >(result
));
14447 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14448 PyObject
*resultobj
= 0;
14449 wxFont
*arg1
= (wxFont
*) 0 ;
14453 PyObject
*swig_obj
[1] ;
14455 if (!args
) SWIG_fail
;
14456 swig_obj
[0] = args
;
14457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14458 if (!SWIG_IsOK(res1
)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14461 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= SWIG_From_int(static_cast< int >(result
));
14475 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14476 PyObject
*resultobj
= 0;
14477 wxFont
*arg1
= (wxFont
*) 0 ;
14481 PyObject
*swig_obj
[1] ;
14483 if (!args
) SWIG_fail
;
14484 swig_obj
[0] = args
;
14485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14486 if (!SWIG_IsOK(res1
)) {
14487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14489 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14505 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14506 PyObject
*resultobj
= 0;
14507 wxFont
*arg1
= (wxFont
*) 0 ;
14511 PyObject
*swig_obj
[1] ;
14513 if (!args
) SWIG_fail
;
14514 swig_obj
[0] = args
;
14515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14516 if (!SWIG_IsOK(res1
)) {
14517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14519 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= ((wxFont
const *)arg1
)->GetFaceName();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14539 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14540 PyObject
*resultobj
= 0;
14541 wxFont
*arg1
= (wxFont
*) 0 ;
14542 wxFontEncoding result
;
14545 PyObject
*swig_obj
[1] ;
14547 if (!args
) SWIG_fail
;
14548 swig_obj
[0] = args
;
14549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14550 if (!SWIG_IsOK(res1
)) {
14551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14553 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= SWIG_From_int(static_cast< int >(result
));
14567 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14568 PyObject
*resultobj
= 0;
14569 wxFont
*arg1
= (wxFont
*) 0 ;
14570 wxNativeFontInfo
*result
= 0 ;
14573 PyObject
*swig_obj
[1] ;
14575 if (!args
) SWIG_fail
;
14576 swig_obj
[0] = args
;
14577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14581 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14595 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14596 PyObject
*resultobj
= 0;
14597 wxFont
*arg1
= (wxFont
*) 0 ;
14601 PyObject
*swig_obj
[1] ;
14603 if (!args
) SWIG_fail
;
14604 swig_obj
[0] = args
;
14605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14606 if (!SWIG_IsOK(res1
)) {
14607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14609 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14625 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14626 PyObject
*resultobj
= 0;
14627 wxFont
*arg1
= (wxFont
*) 0 ;
14631 PyObject
*swig_obj
[1] ;
14633 if (!args
) SWIG_fail
;
14634 swig_obj
[0] = args
;
14635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14636 if (!SWIG_IsOK(res1
)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14639 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14659 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14660 PyObject
*resultobj
= 0;
14661 wxFont
*arg1
= (wxFont
*) 0 ;
14665 PyObject
*swig_obj
[1] ;
14667 if (!args
) SWIG_fail
;
14668 swig_obj
[0] = args
;
14669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14670 if (!SWIG_IsOK(res1
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14673 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14693 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
= 0;
14695 wxFont
*arg1
= (wxFont
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char * kwnames
[] = {
14704 (char *) "self",(char *) "pointSize", NULL
14707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14709 if (!SWIG_IsOK(res1
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14712 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14714 if (!SWIG_IsOK(ecode2
)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14717 arg2
= static_cast< int >(val2
);
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->SetPointSize(arg2
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_Py_Void();
14731 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
= 0;
14733 wxFont
*arg1
= (wxFont
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 char * kwnames
[] = {
14741 (char *) "self",(char *) "pixelSize", NULL
14744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14746 if (!SWIG_IsOK(res1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14749 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14752 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_Py_Void();
14767 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
= 0;
14769 wxFont
*arg1
= (wxFont
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char * kwnames
[] = {
14778 (char *) "self",(char *) "family", NULL
14781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14783 if (!SWIG_IsOK(res1
)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14786 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14788 if (!SWIG_IsOK(ecode2
)) {
14789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14791 arg2
= static_cast< int >(val2
);
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 (arg1
)->SetFamily(arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_Py_Void();
14805 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
= 0;
14807 wxFont
*arg1
= (wxFont
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char * kwnames
[] = {
14816 (char *) "self",(char *) "style", NULL
14819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14824 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14826 if (!SWIG_IsOK(ecode2
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14829 arg2
= static_cast< int >(val2
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->SetStyle(arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_Py_Void();
14843 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
= 0;
14845 wxFont
*arg1
= (wxFont
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 char * kwnames
[] = {
14854 (char *) "self",(char *) "weight", NULL
14857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14859 if (!SWIG_IsOK(res1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14862 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14864 if (!SWIG_IsOK(ecode2
)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14867 arg2
= static_cast< int >(val2
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 (arg1
)->SetWeight(arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= SWIG_Py_Void();
14881 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
= 0;
14883 wxFont
*arg1
= (wxFont
*) 0 ;
14884 wxString
*arg2
= 0 ;
14888 bool temp2
= false ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "faceName", NULL
14895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14902 arg2
= wxString_in_helper(obj1
);
14903 if (arg2
== NULL
) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14929 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
= 0;
14931 wxFont
*arg1
= (wxFont
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char * kwnames
[] = {
14940 (char *) "self",(char *) "underlined", NULL
14943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14948 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14949 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14950 if (!SWIG_IsOK(ecode2
)) {
14951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14953 arg2
= static_cast< bool >(val2
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 (arg1
)->SetUnderlined(arg2
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_Py_Void();
14967 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
= 0;
14969 wxFont
*arg1
= (wxFont
*) 0 ;
14970 wxFontEncoding arg2
;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 char * kwnames
[] = {
14978 (char *) "self",(char *) "encoding", NULL
14981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14983 if (!SWIG_IsOK(res1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14986 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14988 if (!SWIG_IsOK(ecode2
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14991 arg2
= static_cast< wxFontEncoding
>(val2
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 (arg1
)->SetEncoding(arg2
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_Py_Void();
15005 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxFont
*arg1
= (wxFont
*) 0 ;
15008 wxNativeFontInfo
*arg2
= 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char * kwnames
[] = {
15016 (char *) "self",(char *) "info", NULL
15019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15024 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15026 if (!SWIG_IsOK(res2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15032 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= 0;
15048 wxFont
*arg1
= (wxFont
*) 0 ;
15049 wxString
*arg2
= 0 ;
15053 bool temp2
= false ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 char * kwnames
[] = {
15057 (char *) "self",(char *) "info", NULL
15060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15065 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15067 arg2
= wxString_in_helper(obj1
);
15068 if (arg2
== NULL
) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15094 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
= 0;
15096 wxFont
*arg1
= (wxFont
*) 0 ;
15097 wxString
*arg2
= 0 ;
15101 bool temp2
= false ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char * kwnames
[] = {
15105 (char *) "self",(char *) "info", NULL
15108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15110 if (!SWIG_IsOK(res1
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15113 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15115 arg2
= wxString_in_helper(obj1
);
15116 if (arg2
== NULL
) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15142 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15143 PyObject
*resultobj
= 0;
15144 wxFont
*arg1
= (wxFont
*) 0 ;
15148 PyObject
*swig_obj
[1] ;
15150 if (!args
) SWIG_fail
;
15151 swig_obj
[0] = args
;
15152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15153 if (!SWIG_IsOK(res1
)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15156 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15176 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15177 PyObject
*resultobj
= 0;
15178 wxFont
*arg1
= (wxFont
*) 0 ;
15182 PyObject
*swig_obj
[1] ;
15184 if (!args
) SWIG_fail
;
15185 swig_obj
[0] = args
;
15186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15190 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= ((wxFont
const *)arg1
)->GetStyleString();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15210 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15211 PyObject
*resultobj
= 0;
15212 wxFont
*arg1
= (wxFont
*) 0 ;
15216 PyObject
*swig_obj
[1] ;
15218 if (!args
) SWIG_fail
;
15219 swig_obj
[0] = args
;
15220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15221 if (!SWIG_IsOK(res1
)) {
15222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15224 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= ((wxFont
const *)arg1
)->GetWeightString();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15244 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
= 0;
15246 wxFont
*arg1
= (wxFont
*) 0 ;
15247 bool arg2
= (bool) true ;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 char * kwnames
[] = {
15255 (char *) "self",(char *) "no", NULL
15258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15263 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15265 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15266 if (!SWIG_IsOK(ecode2
)) {
15267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15269 arg2
= static_cast< bool >(val2
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 (arg1
)->SetNoAntiAliasing(arg2
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_Py_Void();
15284 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15285 PyObject
*resultobj
= 0;
15286 wxFont
*arg1
= (wxFont
*) 0 ;
15290 PyObject
*swig_obj
[1] ;
15292 if (!args
) SWIG_fail
;
15293 swig_obj
[0] = args
;
15294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15295 if (!SWIG_IsOK(res1
)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15298 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15314 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15315 PyObject
*resultobj
= 0;
15316 wxFontEncoding result
;
15318 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15320 if (!wxPyCheckForApp()) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= SWIG_From_int(static_cast< int >(result
));
15333 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= 0;
15335 wxFontEncoding arg1
;
15338 PyObject
* obj0
= 0 ;
15339 char * kwnames
[] = {
15340 (char *) "encoding", NULL
15343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15345 if (!SWIG_IsOK(ecode1
)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15348 arg1
= static_cast< wxFontEncoding
>(val1
);
15350 if (!wxPyCheckForApp()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 wxFont::SetDefaultEncoding(arg1
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_Py_Void();
15363 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15366 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15367 return SWIG_Py_Void();
15370 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15371 return SWIG_Python_InitShadowInstance(args
);
15374 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15375 PyObject
*resultobj
= 0;
15376 wxPyFontEnumerator
*result
= 0 ;
15378 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15380 if (!wxPyCheckForApp()) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15393 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15394 PyObject
*resultobj
= 0;
15395 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15398 PyObject
*swig_obj
[1] ;
15400 if (!args
) SWIG_fail
;
15401 swig_obj
[0] = args
;
15402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15406 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= SWIG_Py_Void();
15421 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
= 0;
15423 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15424 PyObject
*arg2
= (PyObject
*) 0 ;
15425 PyObject
*arg3
= (PyObject
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 PyObject
* obj2
= 0 ;
15434 PyObject
* obj3
= 0 ;
15435 char * kwnames
[] = {
15436 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15441 if (!SWIG_IsOK(res1
)) {
15442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15444 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15447 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15448 if (!SWIG_IsOK(ecode4
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15451 arg4
= static_cast< bool >(val4
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15465 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
= 0;
15467 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15468 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15469 bool arg3
= (bool) false ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 PyObject
* obj2
= 0 ;
15480 char * kwnames
[] = {
15481 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15486 if (!SWIG_IsOK(res1
)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15489 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15492 if (!SWIG_IsOK(ecode2
)) {
15493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15495 arg2
= static_cast< wxFontEncoding
>(val2
);
15498 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15499 if (!SWIG_IsOK(ecode3
)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15502 arg3
= static_cast< bool >(val3
);
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15519 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
= 0;
15521 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15522 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15523 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15527 bool temp2
= false ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 char * kwnames
[] = {
15531 (char *) "self",(char *) "facename", NULL
15534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15536 if (!SWIG_IsOK(res1
)) {
15537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15539 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15542 arg2
= wxString_in_helper(obj1
);
15543 if (arg2
== NULL
) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 PyObject
*resultobj
= 0;
15572 PyObject
*result
= 0 ;
15574 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= result
;
15588 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15589 PyObject
*resultobj
= 0;
15590 PyObject
*result
= 0 ;
15592 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= result
;
15606 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= 0;
15608 wxString
*arg1
= 0 ;
15610 bool temp1
= false ;
15611 PyObject
* obj0
= 0 ;
15612 char * kwnames
[] = {
15613 (char *) "str", NULL
15616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15618 arg1
= wxString_in_helper(obj0
);
15619 if (arg1
== NULL
) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15645 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15649 return SWIG_Py_Void();
15652 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 return SWIG_Python_InitShadowInstance(args
);
15656 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15657 PyObject
*resultobj
= 0;
15658 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15664 PyObject
*swig_obj
[2] ;
15666 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15668 if (!SWIG_IsOK(res1
)) {
15669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15671 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15672 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15673 if (!SWIG_IsOK(ecode2
)) {
15674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15676 arg2
= static_cast< int >(val2
);
15677 if (arg1
) (arg1
)->Language
= arg2
;
15679 resultobj
= SWIG_Py_Void();
15686 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15687 PyObject
*resultobj
= 0;
15688 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15692 PyObject
*swig_obj
[1] ;
15694 if (!args
) SWIG_fail
;
15695 swig_obj
[0] = args
;
15696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15700 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15701 result
= (int) ((arg1
)->Language
);
15702 resultobj
= SWIG_From_int(static_cast< int >(result
));
15709 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15712 wxString
*arg2
= (wxString
*) 0 ;
15715 bool temp2
= false ;
15716 PyObject
*swig_obj
[2] ;
15718 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15723 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15725 arg2
= wxString_in_helper(swig_obj
[1]);
15726 if (arg2
== NULL
) SWIG_fail
;
15729 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15731 resultobj
= SWIG_Py_Void();
15746 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15747 PyObject
*resultobj
= 0;
15748 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15749 wxString
*result
= 0 ;
15752 PyObject
*swig_obj
[1] ;
15754 if (!args
) SWIG_fail
;
15755 swig_obj
[0] = args
;
15756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15757 if (!SWIG_IsOK(res1
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15760 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15761 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15764 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15766 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15775 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15776 PyObject
*resultobj
= 0;
15777 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15778 wxString
*arg2
= (wxString
*) 0 ;
15781 bool temp2
= false ;
15782 PyObject
*swig_obj
[2] ;
15784 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15786 if (!SWIG_IsOK(res1
)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15789 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15791 arg2
= wxString_in_helper(swig_obj
[1]);
15792 if (arg2
== NULL
) SWIG_fail
;
15795 if (arg1
) (arg1
)->Description
= *arg2
;
15797 resultobj
= SWIG_Py_Void();
15812 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 PyObject
*resultobj
= 0;
15814 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15815 wxString
*result
= 0 ;
15818 PyObject
*swig_obj
[1] ;
15820 if (!args
) SWIG_fail
;
15821 swig_obj
[0] = args
;
15822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15823 if (!SWIG_IsOK(res1
)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15826 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15827 result
= (wxString
*)& ((arg1
)->Description
);
15830 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15832 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15841 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15844 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15845 return SWIG_Py_Void();
15848 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
= 0;
15850 int arg1
= (int) -1 ;
15851 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15852 wxLocale
*result
= 0 ;
15857 PyObject
* obj0
= 0 ;
15858 PyObject
* obj1
= 0 ;
15859 char * kwnames
[] = {
15860 (char *) "language",(char *) "flags", NULL
15863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15865 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15866 if (!SWIG_IsOK(ecode1
)) {
15867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15869 arg1
= static_cast< int >(val1
);
15872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15873 if (!SWIG_IsOK(ecode2
)) {
15874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15876 arg2
= static_cast< int >(val2
);
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15891 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15892 PyObject
*resultobj
= 0;
15893 wxLocale
*arg1
= (wxLocale
*) 0 ;
15896 PyObject
*swig_obj
[1] ;
15898 if (!args
) SWIG_fail
;
15899 swig_obj
[0] = args
;
15900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15901 if (!SWIG_IsOK(res1
)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15904 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_Py_Void();
15919 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
= 0;
15921 wxLocale
*arg1
= (wxLocale
*) 0 ;
15922 wxString
*arg2
= 0 ;
15923 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15924 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15925 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15926 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15927 bool arg5
= (bool) true ;
15928 bool arg6
= (bool) false ;
15932 bool temp2
= false ;
15933 bool temp3
= false ;
15934 bool temp4
= false ;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 PyObject
* obj2
= 0 ;
15942 PyObject
* obj3
= 0 ;
15943 PyObject
* obj4
= 0 ;
15944 PyObject
* obj5
= 0 ;
15945 char * kwnames
[] = {
15946 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15954 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15956 arg2
= wxString_in_helper(obj1
);
15957 if (arg2
== NULL
) SWIG_fail
;
15962 arg3
= wxString_in_helper(obj2
);
15963 if (arg3
== NULL
) SWIG_fail
;
15969 arg4
= wxString_in_helper(obj3
);
15970 if (arg4
== NULL
) SWIG_fail
;
15975 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15976 if (!SWIG_IsOK(ecode5
)) {
15977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15979 arg5
= static_cast< bool >(val5
);
15982 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15983 if (!SWIG_IsOK(ecode6
)) {
15984 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15986 arg6
= static_cast< bool >(val6
);
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
= 0;
16029 wxLocale
*arg1
= (wxLocale
*) 0 ;
16030 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16031 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16039 PyObject
* obj0
= 0 ;
16040 PyObject
* obj1
= 0 ;
16041 PyObject
* obj2
= 0 ;
16042 char * kwnames
[] = {
16043 (char *) "self",(char *) "language",(char *) "flags", NULL
16046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16048 if (!SWIG_IsOK(res1
)) {
16049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16051 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16054 if (!SWIG_IsOK(ecode2
)) {
16055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16057 arg2
= static_cast< int >(val2
);
16060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16061 if (!SWIG_IsOK(ecode3
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16064 arg3
= static_cast< int >(val3
);
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16081 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16082 PyObject
*resultobj
= 0;
16085 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (int)wxLocale::GetSystemLanguage();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= SWIG_From_int(static_cast< int >(result
));
16099 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16100 PyObject
*resultobj
= 0;
16101 wxFontEncoding result
;
16103 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_From_int(static_cast< int >(result
));
16117 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16118 PyObject
*resultobj
= 0;
16121 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= wxLocale::GetSystemEncodingName();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16141 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 PyObject
*resultobj
= 0;
16143 wxLocale
*arg1
= (wxLocale
*) 0 ;
16147 PyObject
*swig_obj
[1] ;
16149 if (!args
) SWIG_fail
;
16150 swig_obj
[0] = args
;
16151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16152 if (!SWIG_IsOK(res1
)) {
16153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16155 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16172 PyObject
*resultobj
= 0;
16173 wxLocale
*arg1
= (wxLocale
*) 0 ;
16177 PyObject
*swig_obj
[1] ;
16179 if (!args
) SWIG_fail
;
16180 swig_obj
[0] = args
;
16181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16182 if (!SWIG_IsOK(res1
)) {
16183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16185 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= ((wxLocale
const *)arg1
)->GetLocale();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16205 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16206 PyObject
*resultobj
= 0;
16207 wxLocale
*arg1
= (wxLocale
*) 0 ;
16211 PyObject
*swig_obj
[1] ;
16213 if (!args
) SWIG_fail
;
16214 swig_obj
[0] = args
;
16215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16216 if (!SWIG_IsOK(res1
)) {
16217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16219 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= SWIG_From_int(static_cast< int >(result
));
16233 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 PyObject
*resultobj
= 0;
16235 wxLocale
*arg1
= (wxLocale
*) 0 ;
16239 PyObject
*swig_obj
[1] ;
16241 if (!args
) SWIG_fail
;
16242 swig_obj
[0] = args
;
16243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16247 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= ((wxLocale
const *)arg1
)->GetSysName();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16267 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16268 PyObject
*resultobj
= 0;
16269 wxLocale
*arg1
= (wxLocale
*) 0 ;
16273 PyObject
*swig_obj
[1] ;
16275 if (!args
) SWIG_fail
;
16276 swig_obj
[0] = args
;
16277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16281 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16301 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
= 0;
16303 wxString
*arg1
= 0 ;
16304 bool temp1
= false ;
16305 PyObject
* obj0
= 0 ;
16306 char * kwnames
[] = {
16307 (char *) "prefix", NULL
16310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16312 arg1
= wxString_in_helper(obj0
);
16313 if (arg1
== NULL
) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_Py_Void();
16337 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
= 0;
16339 wxLocale
*arg1
= (wxLocale
*) 0 ;
16340 wxString
*arg2
= 0 ;
16344 bool temp2
= false ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char * kwnames
[] = {
16348 (char *) "self",(char *) "szDomain", NULL
16351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16353 if (!SWIG_IsOK(res1
)) {
16354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16356 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16358 arg2
= wxString_in_helper(obj1
);
16359 if (arg2
== NULL
) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16385 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
= 0;
16391 PyObject
* obj0
= 0 ;
16392 char * kwnames
[] = {
16393 (char *) "lang", NULL
16396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16398 if (!SWIG_IsOK(ecode1
)) {
16399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16401 arg1
= static_cast< int >(val1
);
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (bool)wxLocale::IsAvailable(arg1
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16417 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
= 0;
16419 wxLocale
*arg1
= (wxLocale
*) 0 ;
16420 wxString
*arg2
= 0 ;
16424 bool temp2
= false ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char * kwnames
[] = {
16428 (char *) "self",(char *) "szDomain", NULL
16431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16436 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16438 arg2
= wxString_in_helper(obj1
);
16439 if (arg2
== NULL
) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16465 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
= 0;
16468 wxLanguageInfo
*result
= 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char * kwnames
[] = {
16473 (char *) "lang", NULL
16476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16478 if (!SWIG_IsOK(ecode1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16481 arg1
= static_cast< int >(val1
);
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16495 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
= 0;
16501 PyObject
* obj0
= 0 ;
16502 char * kwnames
[] = {
16503 (char *) "lang", NULL
16506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16507 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16508 if (!SWIG_IsOK(ecode1
)) {
16509 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16511 arg1
= static_cast< int >(val1
);
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= wxLocale::GetLanguageName(arg1
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16531 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
= 0;
16533 wxString
*arg1
= 0 ;
16534 wxLanguageInfo
*result
= 0 ;
16535 bool temp1
= false ;
16536 PyObject
* obj0
= 0 ;
16537 char * kwnames
[] = {
16538 (char *) "locale", NULL
16541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16543 arg1
= wxString_in_helper(obj0
);
16544 if (arg1
== NULL
) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16568 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
= 0;
16570 wxLanguageInfo
*arg1
= 0 ;
16573 PyObject
* obj0
= 0 ;
16574 char * kwnames
[] = {
16575 (char *) "info", NULL
16578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16579 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16586 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_Py_Void();
16600 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
= 0;
16602 wxLocale
*arg1
= (wxLocale
*) 0 ;
16603 wxString
*arg2
= 0 ;
16604 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16605 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16609 bool temp2
= false ;
16610 bool temp3
= false ;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 PyObject
* obj2
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16623 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16625 arg2
= wxString_in_helper(obj1
);
16626 if (arg2
== NULL
) SWIG_fail
;
16631 arg3
= wxString_in_helper(obj2
);
16632 if (arg3
== NULL
) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16671 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16672 PyObject
*resultobj
= 0;
16673 wxLocale
*arg1
= (wxLocale
*) 0 ;
16674 wxString
*result
= 0 ;
16677 PyObject
*swig_obj
[1] ;
16679 if (!args
) SWIG_fail
;
16680 swig_obj
[0] = args
;
16681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16682 if (!SWIG_IsOK(res1
)) {
16683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16685 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16690 result
= (wxString
*) &_result_ref
;
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16708 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16711 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16712 return SWIG_Py_Void();
16715 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16716 return SWIG_Python_InitShadowInstance(args
);
16719 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
= 0;
16721 int arg1
= (int) -1 ;
16722 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16723 wxPyLocale
*result
= 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "language",(char *) "flags", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16737 if (!SWIG_IsOK(ecode1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16740 arg1
= static_cast< int >(val1
);
16743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16744 if (!SWIG_IsOK(ecode2
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16747 arg2
= static_cast< int >(val2
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16762 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16763 PyObject
*resultobj
= 0;
16764 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16767 PyObject
*swig_obj
[1] ;
16769 if (!args
) SWIG_fail
;
16770 swig_obj
[0] = args
;
16771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16775 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_Py_Void();
16790 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
= 0;
16792 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16793 PyObject
*arg2
= (PyObject
*) 0 ;
16794 PyObject
*arg3
= (PyObject
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 PyObject
* obj2
= 0 ;
16800 char * kwnames
[] = {
16801 (char *) "self",(char *) "self",(char *) "_class", NULL
16804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16806 if (!SWIG_IsOK(res1
)) {
16807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16809 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= SWIG_Py_Void();
16825 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
= 0;
16827 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16828 wxChar
*arg2
= (wxChar
*) 0 ;
16829 wxChar
*arg3
= (wxChar
*) NULL
;
16830 wxChar
*result
= 0 ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 PyObject
* obj2
= 0 ;
16840 char * kwnames
[] = {
16841 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16846 if (!SWIG_IsOK(res1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16849 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16851 if (!SWIG_IsOK(res2
)) {
16852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16854 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16856 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16857 if (!SWIG_IsOK(res3
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16860 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16875 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
= 0;
16877 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16878 wxChar
*arg2
= (wxChar
*) 0 ;
16879 wxChar
*arg3
= (wxChar
*) 0 ;
16881 wxChar
*arg5
= (wxChar
*) NULL
;
16882 wxChar
*result
= 0 ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 PyObject
* obj2
= 0 ;
16896 PyObject
* obj3
= 0 ;
16897 PyObject
* obj4
= 0 ;
16898 char * kwnames
[] = {
16899 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16904 if (!SWIG_IsOK(res1
)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16907 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16909 if (!SWIG_IsOK(res2
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16912 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16913 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16914 if (!SWIG_IsOK(res3
)) {
16915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16917 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16918 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16919 if (!SWIG_IsOK(ecode4
)) {
16920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16922 arg4
= static_cast< size_t >(val4
);
16924 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16925 if (!SWIG_IsOK(res5
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16928 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16943 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16946 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16947 return SWIG_Py_Void();
16950 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16951 return SWIG_Python_InitShadowInstance(args
);
16954 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16955 PyObject
*resultobj
= 0;
16956 wxLocale
*result
= 0 ;
16958 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (wxLocale
*)wxGetLocale();
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16972 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16973 PyObject
*resultobj
= 0;
16974 wxString
*arg1
= 0 ;
16976 bool temp1
= false ;
16978 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16980 arg1
= wxString_in_helper(swig_obj
[0]);
16981 if (arg1
== NULL
) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= wxGetTranslation((wxString
const &)*arg1
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17011 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17012 PyObject
*resultobj
= 0;
17013 wxString
*arg1
= 0 ;
17014 wxString
*arg2
= 0 ;
17016 bool temp1
= false ;
17017 bool temp2
= false ;
17019 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17021 arg1
= wxString_in_helper(swig_obj
[0]);
17022 if (arg1
== NULL
) SWIG_fail
;
17026 arg2
= wxString_in_helper(swig_obj
[1]);
17027 if (arg2
== NULL
) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17065 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17066 PyObject
*resultobj
= 0;
17067 wxString
*arg1
= 0 ;
17068 wxString
*arg2
= 0 ;
17071 bool temp1
= false ;
17072 bool temp2
= false ;
17076 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17078 arg1
= wxString_in_helper(swig_obj
[0]);
17079 if (arg1
== NULL
) SWIG_fail
;
17083 arg2
= wxString_in_helper(swig_obj
[1]);
17084 if (arg2
== NULL
) SWIG_fail
;
17087 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17088 if (!SWIG_IsOK(ecode3
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17091 arg3
= static_cast< size_t >(val3
);
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17127 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17128 PyObject
*resultobj
= 0;
17129 wxString
*arg1
= 0 ;
17130 wxString
*arg2
= 0 ;
17132 wxString
*arg4
= 0 ;
17134 bool temp1
= false ;
17135 bool temp2
= false ;
17138 bool temp4
= false ;
17140 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17142 arg1
= wxString_in_helper(swig_obj
[0]);
17143 if (arg1
== NULL
) SWIG_fail
;
17147 arg2
= wxString_in_helper(swig_obj
[1]);
17148 if (arg2
== NULL
) SWIG_fail
;
17151 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17152 if (!SWIG_IsOK(ecode3
)) {
17153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17155 arg3
= static_cast< size_t >(val3
);
17157 arg4
= wxString_in_helper(swig_obj
[3]);
17158 if (arg4
== NULL
) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17204 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17208 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17211 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17214 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17217 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17220 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17224 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17229 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17230 PyObject
*resultobj
= 0;
17231 wxEncodingConverter
*result
= 0 ;
17233 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17247 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17248 PyObject
*resultobj
= 0;
17249 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17252 PyObject
*swig_obj
[1] ;
17254 if (!args
) SWIG_fail
;
17255 swig_obj
[0] = args
;
17256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17257 if (!SWIG_IsOK(res1
)) {
17258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17260 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_Py_Void();
17275 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
= 0;
17277 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17278 wxFontEncoding arg2
;
17279 wxFontEncoding arg3
;
17280 int arg4
= (int) wxCONVERT_STRICT
;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 PyObject
* obj2
= 0 ;
17293 PyObject
* obj3
= 0 ;
17294 char * kwnames
[] = {
17295 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17300 if (!SWIG_IsOK(res1
)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17303 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17305 if (!SWIG_IsOK(ecode2
)) {
17306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17308 arg2
= static_cast< wxFontEncoding
>(val2
);
17309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17310 if (!SWIG_IsOK(ecode3
)) {
17311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17313 arg3
= static_cast< wxFontEncoding
>(val3
);
17315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17316 if (!SWIG_IsOK(ecode4
)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17319 arg4
= static_cast< int >(val4
);
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17336 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
= 0;
17338 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17339 wxString
*arg2
= 0 ;
17343 bool temp2
= false ;
17344 PyObject
* obj0
= 0 ;
17345 PyObject
* obj1
= 0 ;
17346 char * kwnames
[] = {
17347 (char *) "self",(char *) "input", NULL
17350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17352 if (!SWIG_IsOK(res1
)) {
17353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17355 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17357 arg2
= wxString_in_helper(obj1
);
17358 if (arg2
== NULL
) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17388 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 wxFontEncoding arg1
;
17391 int arg2
= (int) wxPLATFORM_CURRENT
;
17392 wxFontEncodingArray result
;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char * kwnames
[] = {
17400 (char *) "enc",(char *) "platform", NULL
17403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17405 if (!SWIG_IsOK(ecode1
)) {
17406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17408 arg1
= static_cast< wxFontEncoding
>(val1
);
17410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17411 if (!SWIG_IsOK(ecode2
)) {
17412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17414 arg2
= static_cast< int >(val2
);
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= PyList_New(0);
17424 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17425 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17426 PyList_Append(resultobj
, number
);
17436 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
= 0;
17438 wxFontEncoding arg1
;
17439 wxFontEncodingArray result
;
17442 PyObject
* obj0
= 0 ;
17443 char * kwnames
[] = {
17444 (char *) "enc", NULL
17447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17448 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17449 if (!SWIG_IsOK(ecode1
)) {
17450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17452 arg1
= static_cast< wxFontEncoding
>(val1
);
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= PyList_New(0);
17461 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17462 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17463 PyList_Append(resultobj
, number
);
17473 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxFontEncoding arg1
;
17476 wxFontEncoding arg2
;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 char * kwnames
[] = {
17485 (char *) "encIn",(char *) "encOut", NULL
17488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17490 if (!SWIG_IsOK(ecode1
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17493 arg1
= static_cast< wxFontEncoding
>(val1
);
17494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17495 if (!SWIG_IsOK(ecode2
)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17498 arg2
= static_cast< wxFontEncoding
>(val2
);
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17514 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17517 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17518 return SWIG_Py_Void();
17521 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17522 return SWIG_Python_InitShadowInstance(args
);
17525 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17526 PyObject
*resultobj
= 0;
17527 wxDC
*arg1
= (wxDC
*) 0 ;
17530 PyObject
*swig_obj
[1] ;
17532 if (!args
) SWIG_fail
;
17533 swig_obj
[0] = args
;
17534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17535 if (!SWIG_IsOK(res1
)) {
17536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_Py_Void();
17553 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
= 0;
17555 wxDC
*arg1
= (wxDC
*) 0 ;
17558 wxColour
*arg4
= 0 ;
17559 int arg5
= (int) wxFLOOD_SURFACE
;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 PyObject
* obj3
= 0 ;
17574 PyObject
* obj4
= 0 ;
17575 char * kwnames
[] = {
17576 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17581 if (!SWIG_IsOK(res1
)) {
17582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17586 if (!SWIG_IsOK(ecode2
)) {
17587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17589 arg2
= static_cast< int >(val2
);
17590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17591 if (!SWIG_IsOK(ecode3
)) {
17592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17594 arg3
= static_cast< int >(val3
);
17597 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17601 if (!SWIG_IsOK(ecode5
)) {
17602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17604 arg5
= static_cast< int >(val5
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
= 0;
17623 wxDC
*arg1
= (wxDC
*) 0 ;
17624 wxPoint
*arg2
= 0 ;
17625 wxColour
*arg3
= 0 ;
17626 int arg4
= (int) wxFLOOD_SURFACE
;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 PyObject
* obj3
= 0 ;
17638 char * kwnames
[] = {
17639 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17644 if (!SWIG_IsOK(res1
)) {
17645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17658 if (!SWIG_IsOK(ecode4
)) {
17659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17661 arg4
= static_cast< int >(val4
);
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17678 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
= 0;
17680 wxDC
*arg1
= (wxDC
*) 0 ;
17682 wxColour
*arg3
= 0 ;
17683 wxColour
*arg4
= 0 ;
17684 wxPoint
*arg5
= 0 ;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 PyObject
* obj2
= 0 ;
17694 PyObject
* obj3
= 0 ;
17695 PyObject
* obj4
= 0 ;
17696 char * kwnames
[] = {
17697 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17702 if (!SWIG_IsOK(res1
)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17712 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17716 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17720 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_Py_Void();
17735 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
= 0;
17737 wxDC
*arg1
= (wxDC
*) 0 ;
17739 wxColour
*arg3
= 0 ;
17740 wxColour
*arg4
= 0 ;
17741 wxDirection arg5
= (wxDirection
) wxEAST
;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 PyObject
* obj2
= 0 ;
17752 PyObject
* obj3
= 0 ;
17753 PyObject
* obj4
= 0 ;
17754 char * kwnames
[] = {
17755 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17760 if (!SWIG_IsOK(res1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17766 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17770 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17774 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17777 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17778 if (!SWIG_IsOK(ecode5
)) {
17779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17781 arg5
= static_cast< wxDirection
>(val5
);
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_Py_Void();
17796 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
= 0;
17798 wxDC
*arg1
= (wxDC
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 PyObject
* obj1
= 0 ;
17810 PyObject
* obj2
= 0 ;
17811 char * kwnames
[] = {
17812 (char *) "self",(char *) "x",(char *) "y", NULL
17815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17817 if (!SWIG_IsOK(res1
)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17822 if (!SWIG_IsOK(ecode2
)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17825 arg2
= static_cast< int >(val2
);
17826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17827 if (!SWIG_IsOK(ecode3
)) {
17828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17830 arg3
= static_cast< int >(val3
);
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17844 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
= 0;
17846 wxDC
*arg1
= (wxDC
*) 0 ;
17847 wxPoint
*arg2
= 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char * kwnames
[] = {
17855 (char *) "self",(char *) "pt", NULL
17858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17860 if (!SWIG_IsOK(res1
)) {
17861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17881 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
= 0;
17883 wxDC
*arg1
= (wxDC
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 PyObject
* obj2
= 0 ;
17901 PyObject
* obj3
= 0 ;
17902 PyObject
* obj4
= 0 ;
17903 char * kwnames
[] = {
17904 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17909 if (!SWIG_IsOK(res1
)) {
17910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17914 if (!SWIG_IsOK(ecode2
)) {
17915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17917 arg2
= static_cast< int >(val2
);
17918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17919 if (!SWIG_IsOK(ecode3
)) {
17920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17922 arg3
= static_cast< int >(val3
);
17923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17924 if (!SWIG_IsOK(ecode4
)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17927 arg4
= static_cast< int >(val4
);
17928 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17929 if (!SWIG_IsOK(ecode5
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17932 arg5
= static_cast< int >(val5
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_Py_Void();
17946 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
= 0;
17948 wxDC
*arg1
= (wxDC
*) 0 ;
17949 wxPoint
*arg2
= 0 ;
17950 wxPoint
*arg3
= 0 ;
17955 PyObject
* obj0
= 0 ;
17956 PyObject
* obj1
= 0 ;
17957 PyObject
* obj2
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17974 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_Py_Void();
17989 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxDC
*arg1
= (wxDC
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 PyObject
* obj2
= 0 ;
18003 char * kwnames
[] = {
18004 (char *) "self",(char *) "x",(char *) "y", NULL
18007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18014 if (!SWIG_IsOK(ecode2
)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18017 arg2
= static_cast< int >(val2
);
18018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18019 if (!SWIG_IsOK(ecode3
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18022 arg3
= static_cast< int >(val3
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->CrossHair(arg2
,arg3
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_Py_Void();
18036 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxDC
*arg1
= (wxDC
*) 0 ;
18039 wxPoint
*arg2
= 0 ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 char * kwnames
[] = {
18046 (char *) "self",(char *) "pt", NULL
18049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18051 if (!SWIG_IsOK(res1
)) {
18052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_Py_Void();
18072 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
= 0;
18074 wxDC
*arg1
= (wxDC
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 PyObject
* obj2
= 0 ;
18098 PyObject
* obj3
= 0 ;
18099 PyObject
* obj4
= 0 ;
18100 PyObject
* obj5
= 0 ;
18101 PyObject
* obj6
= 0 ;
18102 char * kwnames
[] = {
18103 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18108 if (!SWIG_IsOK(res1
)) {
18109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18113 if (!SWIG_IsOK(ecode2
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18116 arg2
= static_cast< int >(val2
);
18117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18118 if (!SWIG_IsOK(ecode3
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18121 arg3
= static_cast< int >(val3
);
18122 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18123 if (!SWIG_IsOK(ecode4
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18126 arg4
= static_cast< int >(val4
);
18127 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18128 if (!SWIG_IsOK(ecode5
)) {
18129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18131 arg5
= static_cast< int >(val5
);
18132 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18133 if (!SWIG_IsOK(ecode6
)) {
18134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18136 arg6
= static_cast< int >(val6
);
18137 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18138 if (!SWIG_IsOK(ecode7
)) {
18139 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18141 arg7
= static_cast< int >(val7
);
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18155 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
= 0;
18157 wxDC
*arg1
= (wxDC
*) 0 ;
18158 wxPoint
*arg2
= 0 ;
18159 wxPoint
*arg3
= 0 ;
18160 wxPoint
*arg4
= 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 PyObject
* obj2
= 0 ;
18169 PyObject
* obj3
= 0 ;
18170 char * kwnames
[] = {
18171 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= SWIG_Py_Void();
18205 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
= 0;
18207 wxDC
*arg1
= (wxDC
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 PyObject
* obj2
= 0 ;
18225 PyObject
* obj3
= 0 ;
18226 PyObject
* obj4
= 0 ;
18227 char * kwnames
[] = {
18228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18233 if (!SWIG_IsOK(res1
)) {
18234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18238 if (!SWIG_IsOK(ecode2
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18241 arg2
= static_cast< int >(val2
);
18242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18243 if (!SWIG_IsOK(ecode3
)) {
18244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18246 arg3
= static_cast< int >(val3
);
18247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18248 if (!SWIG_IsOK(ecode4
)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18251 arg4
= static_cast< int >(val4
);
18252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18253 if (!SWIG_IsOK(ecode5
)) {
18254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18256 arg5
= static_cast< int >(val5
);
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_Py_Void();
18270 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
= 0;
18272 wxDC
*arg1
= (wxDC
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 char * kwnames
[] = {
18280 (char *) "self",(char *) "rect", NULL
18283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18285 if (!SWIG_IsOK(res1
)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18291 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= SWIG_Py_Void();
18306 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
= 0;
18308 wxDC
*arg1
= (wxDC
*) 0 ;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18331 PyObject
* obj2
= 0 ;
18332 PyObject
* obj3
= 0 ;
18333 PyObject
* obj4
= 0 ;
18334 PyObject
* obj5
= 0 ;
18335 PyObject
* obj6
= 0 ;
18336 char * kwnames
[] = {
18337 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18342 if (!SWIG_IsOK(res1
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18347 if (!SWIG_IsOK(ecode2
)) {
18348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18350 arg2
= static_cast< int >(val2
);
18351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18352 if (!SWIG_IsOK(ecode3
)) {
18353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18355 arg3
= static_cast< int >(val3
);
18356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18357 if (!SWIG_IsOK(ecode4
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18360 arg4
= static_cast< int >(val4
);
18361 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18362 if (!SWIG_IsOK(ecode5
)) {
18363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18365 arg5
= static_cast< int >(val5
);
18366 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18367 if (!SWIG_IsOK(ecode6
)) {
18368 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18370 arg6
= static_cast< double >(val6
);
18371 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18372 if (!SWIG_IsOK(ecode7
)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18375 arg7
= static_cast< double >(val7
);
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_Py_Void();
18389 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
= 0;
18391 wxDC
*arg1
= (wxDC
*) 0 ;
18392 wxPoint
*arg2
= 0 ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 PyObject
* obj3
= 0 ;
18408 PyObject
* obj4
= 0 ;
18409 char * kwnames
[] = {
18410 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18425 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18427 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18428 if (!SWIG_IsOK(ecode4
)) {
18429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18431 arg4
= static_cast< double >(val4
);
18432 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18433 if (!SWIG_IsOK(ecode5
)) {
18434 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18436 arg5
= static_cast< double >(val5
);
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_Py_Void();
18450 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
= 0;
18452 wxDC
*arg1
= (wxDC
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 PyObject
* obj2
= 0 ;
18464 char * kwnames
[] = {
18465 (char *) "self",(char *) "x",(char *) "y", NULL
18468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18470 if (!SWIG_IsOK(res1
)) {
18471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18475 if (!SWIG_IsOK(ecode2
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18478 arg2
= static_cast< int >(val2
);
18479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18480 if (!SWIG_IsOK(ecode3
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18483 arg3
= static_cast< int >(val3
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->DrawPoint(arg2
,arg3
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_Py_Void();
18497 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
= 0;
18499 wxDC
*arg1
= (wxDC
*) 0 ;
18500 wxPoint
*arg2
= 0 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 char * kwnames
[] = {
18507 (char *) "self",(char *) "pt", NULL
18510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18512 if (!SWIG_IsOK(res1
)) {
18513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_Py_Void();
18533 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= 0;
18535 wxDC
*arg1
= (wxDC
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 PyObject
* obj2
= 0 ;
18553 PyObject
* obj3
= 0 ;
18554 PyObject
* obj4
= 0 ;
18555 char * kwnames
[] = {
18556 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18566 if (!SWIG_IsOK(ecode2
)) {
18567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18569 arg2
= static_cast< int >(val2
);
18570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18571 if (!SWIG_IsOK(ecode3
)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18574 arg3
= static_cast< int >(val3
);
18575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18576 if (!SWIG_IsOK(ecode4
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18579 arg4
= static_cast< int >(val4
);
18580 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18581 if (!SWIG_IsOK(ecode5
)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18584 arg5
= static_cast< int >(val5
);
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_Py_Void();
18598 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
= 0;
18600 wxDC
*arg1
= (wxDC
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char * kwnames
[] = {
18608 (char *) "self",(char *) "rect", NULL
18611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18613 if (!SWIG_IsOK(res1
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_Py_Void();
18634 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
= 0;
18636 wxDC
*arg1
= (wxDC
*) 0 ;
18637 wxPoint
*arg2
= 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 PyObject
* obj2
= 0 ;
18646 char * kwnames
[] = {
18647 (char *) "self",(char *) "pt",(char *) "sz", NULL
18650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18652 if (!SWIG_IsOK(res1
)) {
18653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18658 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18662 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_Py_Void();
18677 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxDC
*arg1
= (wxDC
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 PyObject
* obj2
= 0 ;
18700 PyObject
* obj3
= 0 ;
18701 PyObject
* obj4
= 0 ;
18702 PyObject
* obj5
= 0 ;
18703 char * kwnames
[] = {
18704 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18709 if (!SWIG_IsOK(res1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18714 if (!SWIG_IsOK(ecode2
)) {
18715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18717 arg2
= static_cast< int >(val2
);
18718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18719 if (!SWIG_IsOK(ecode3
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18722 arg3
= static_cast< int >(val3
);
18723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18724 if (!SWIG_IsOK(ecode4
)) {
18725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18727 arg4
= static_cast< int >(val4
);
18728 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18729 if (!SWIG_IsOK(ecode5
)) {
18730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18732 arg5
= static_cast< int >(val5
);
18733 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18734 if (!SWIG_IsOK(ecode6
)) {
18735 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18737 arg6
= static_cast< double >(val6
);
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_Py_Void();
18751 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
= 0;
18753 wxDC
*arg1
= (wxDC
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 PyObject
* obj2
= 0 ;
18764 char * kwnames
[] = {
18765 (char *) "self",(char *) "r",(char *) "radius", NULL
18768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18770 if (!SWIG_IsOK(res1
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18776 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18778 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18779 if (!SWIG_IsOK(ecode3
)) {
18780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18782 arg3
= static_cast< double >(val3
);
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_Py_Void();
18796 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
= 0;
18798 wxDC
*arg1
= (wxDC
*) 0 ;
18799 wxPoint
*arg2
= 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 PyObject
* obj2
= 0 ;
18811 PyObject
* obj3
= 0 ;
18812 char * kwnames
[] = {
18813 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18818 if (!SWIG_IsOK(res1
)) {
18819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18821 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18828 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18830 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18831 if (!SWIG_IsOK(ecode4
)) {
18832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18834 arg4
= static_cast< double >(val4
);
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_Py_Void();
18848 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
= 0;
18850 wxDC
*arg1
= (wxDC
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 PyObject
* obj2
= 0 ;
18865 PyObject
* obj3
= 0 ;
18866 char * kwnames
[] = {
18867 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18872 if (!SWIG_IsOK(res1
)) {
18873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18877 if (!SWIG_IsOK(ecode2
)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18880 arg2
= static_cast< int >(val2
);
18881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18882 if (!SWIG_IsOK(ecode3
)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18885 arg3
= static_cast< int >(val3
);
18886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18887 if (!SWIG_IsOK(ecode4
)) {
18888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18890 arg4
= static_cast< int >(val4
);
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_Py_Void();
18904 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= 0;
18906 wxDC
*arg1
= (wxDC
*) 0 ;
18907 wxPoint
*arg2
= 0 ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 char * kwnames
[] = {
18918 (char *) "self",(char *) "pt",(char *) "radius", NULL
18921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18932 if (!SWIG_IsOK(ecode3
)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18935 arg3
= static_cast< int >(val3
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_Py_Void();
18949 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
= 0;
18951 wxDC
*arg1
= (wxDC
*) 0 ;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 PyObject
* obj2
= 0 ;
18969 PyObject
* obj3
= 0 ;
18970 PyObject
* obj4
= 0 ;
18971 char * kwnames
[] = {
18972 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18982 if (!SWIG_IsOK(ecode2
)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18985 arg2
= static_cast< int >(val2
);
18986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18987 if (!SWIG_IsOK(ecode3
)) {
18988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18990 arg3
= static_cast< int >(val3
);
18991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18992 if (!SWIG_IsOK(ecode4
)) {
18993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18995 arg4
= static_cast< int >(val4
);
18996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18997 if (!SWIG_IsOK(ecode5
)) {
18998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19000 arg5
= static_cast< int >(val5
);
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_Py_Void();
19014 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
= 0;
19016 wxDC
*arg1
= (wxDC
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 char * kwnames
[] = {
19024 (char *) "self",(char *) "rect", NULL
19027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19029 if (!SWIG_IsOK(res1
)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19035 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_Py_Void();
19050 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
= 0;
19052 wxDC
*arg1
= (wxDC
*) 0 ;
19053 wxPoint
*arg2
= 0 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 PyObject
* obj2
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "self",(char *) "pt",(char *) "sz", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19078 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_Py_Void();
19093 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
= 0;
19095 wxDC
*arg1
= (wxDC
*) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 PyObject
* obj1
= 0 ;
19109 PyObject
* obj2
= 0 ;
19110 PyObject
* obj3
= 0 ;
19111 char * kwnames
[] = {
19112 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19117 if (!SWIG_IsOK(res1
)) {
19118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19122 if (!SWIG_IsOK(res2
)) {
19123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19128 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19130 if (!SWIG_IsOK(ecode3
)) {
19131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19133 arg3
= static_cast< int >(val3
);
19134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19135 if (!SWIG_IsOK(ecode4
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19138 arg4
= static_cast< int >(val4
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19152 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19154 wxDC
*arg1
= (wxDC
*) 0 ;
19156 wxPoint
*arg3
= 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 PyObject
* obj2
= 0 ;
19165 char * kwnames
[] = {
19166 (char *) "self",(char *) "icon",(char *) "pt", NULL
19169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19176 if (!SWIG_IsOK(res2
)) {
19177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19182 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_Py_Void();
19200 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
= 0;
19202 wxDC
*arg1
= (wxDC
*) 0 ;
19203 wxBitmap
*arg2
= 0 ;
19206 bool arg5
= (bool) false ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 PyObject
* obj2
= 0 ;
19220 PyObject
* obj3
= 0 ;
19221 PyObject
* obj4
= 0 ;
19222 char * kwnames
[] = {
19223 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19228 if (!SWIG_IsOK(res1
)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19233 if (!SWIG_IsOK(res2
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19239 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19241 if (!SWIG_IsOK(ecode3
)) {
19242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19244 arg3
= static_cast< int >(val3
);
19245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19246 if (!SWIG_IsOK(ecode4
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19249 arg4
= static_cast< int >(val4
);
19251 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19252 if (!SWIG_IsOK(ecode5
)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19255 arg5
= static_cast< bool >(val5
);
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_Py_Void();
19270 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxDC
*arg1
= (wxDC
*) 0 ;
19273 wxBitmap
*arg2
= 0 ;
19274 wxPoint
*arg3
= 0 ;
19275 bool arg4
= (bool) false ;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 PyObject
* obj2
= 0 ;
19286 PyObject
* obj3
= 0 ;
19287 char * kwnames
[] = {
19288 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19298 if (!SWIG_IsOK(res2
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19310 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19311 if (!SWIG_IsOK(ecode4
)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19314 arg4
= static_cast< bool >(val4
);
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_Py_Void();
19329 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
= 0;
19331 wxDC
*arg1
= (wxDC
*) 0 ;
19332 wxString
*arg2
= 0 ;
19337 bool temp2
= false ;
19342 PyObject
* obj0
= 0 ;
19343 PyObject
* obj1
= 0 ;
19344 PyObject
* obj2
= 0 ;
19345 PyObject
* obj3
= 0 ;
19346 char * kwnames
[] = {
19347 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19352 if (!SWIG_IsOK(res1
)) {
19353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19357 arg2
= wxString_in_helper(obj1
);
19358 if (arg2
== NULL
) SWIG_fail
;
19361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19362 if (!SWIG_IsOK(ecode3
)) {
19363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19365 arg3
= static_cast< int >(val3
);
19366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19367 if (!SWIG_IsOK(ecode4
)) {
19368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19370 arg4
= static_cast< int >(val4
);
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_Py_Void();
19392 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxDC
*arg1
= (wxDC
*) 0 ;
19395 wxString
*arg2
= 0 ;
19396 wxPoint
*arg3
= 0 ;
19399 bool temp2
= false ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 PyObject
* obj2
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "self",(char *) "text",(char *) "pt", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19415 arg2
= wxString_in_helper(obj1
);
19416 if (arg2
== NULL
) SWIG_fail
;
19421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_Py_Void();
19444 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= 0;
19446 wxDC
*arg1
= (wxDC
*) 0 ;
19447 wxString
*arg2
= 0 ;
19453 bool temp2
= false ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 PyObject
* obj2
= 0 ;
19463 PyObject
* obj3
= 0 ;
19464 PyObject
* obj4
= 0 ;
19465 char * kwnames
[] = {
19466 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19471 if (!SWIG_IsOK(res1
)) {
19472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19476 arg2
= wxString_in_helper(obj1
);
19477 if (arg2
== NULL
) SWIG_fail
;
19480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19481 if (!SWIG_IsOK(ecode3
)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19484 arg3
= static_cast< int >(val3
);
19485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19486 if (!SWIG_IsOK(ecode4
)) {
19487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19489 arg4
= static_cast< int >(val4
);
19490 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19491 if (!SWIG_IsOK(ecode5
)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19494 arg5
= static_cast< double >(val5
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_Py_Void();
19516 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
= 0;
19518 wxDC
*arg1
= (wxDC
*) 0 ;
19519 wxString
*arg2
= 0 ;
19520 wxPoint
*arg3
= 0 ;
19524 bool temp2
= false ;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 PyObject
* obj2
= 0 ;
19531 PyObject
* obj3
= 0 ;
19532 char * kwnames
[] = {
19533 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19538 if (!SWIG_IsOK(res1
)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19543 arg2
= wxString_in_helper(obj1
);
19544 if (arg2
== NULL
) SWIG_fail
;
19549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19551 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19552 if (!SWIG_IsOK(ecode4
)) {
19553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19555 arg4
= static_cast< double >(val4
);
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_Py_Void();
19577 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= 0;
19579 wxDC
*arg1
= (wxDC
*) 0 ;
19584 wxDC
*arg6
= (wxDC
*) 0 ;
19587 int arg9
= (int) wxCOPY
;
19588 bool arg10
= (bool) false ;
19589 int arg11
= (int) -1 ;
19590 int arg12
= (int) -1 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 PyObject
* obj2
= 0 ;
19619 PyObject
* obj3
= 0 ;
19620 PyObject
* obj4
= 0 ;
19621 PyObject
* obj5
= 0 ;
19622 PyObject
* obj6
= 0 ;
19623 PyObject
* obj7
= 0 ;
19624 PyObject
* obj8
= 0 ;
19625 PyObject
* obj9
= 0 ;
19626 PyObject
* obj10
= 0 ;
19627 PyObject
* obj11
= 0 ;
19628 char * kwnames
[] = {
19629 (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
19632 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
;
19633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19634 if (!SWIG_IsOK(res1
)) {
19635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19639 if (!SWIG_IsOK(ecode2
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19642 arg2
= static_cast< int >(val2
);
19643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19644 if (!SWIG_IsOK(ecode3
)) {
19645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19647 arg3
= static_cast< int >(val3
);
19648 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19649 if (!SWIG_IsOK(ecode4
)) {
19650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19652 arg4
= static_cast< int >(val4
);
19653 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19654 if (!SWIG_IsOK(ecode5
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19657 arg5
= static_cast< int >(val5
);
19658 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19659 if (!SWIG_IsOK(res6
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19662 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19663 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19664 if (!SWIG_IsOK(ecode7
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19667 arg7
= static_cast< int >(val7
);
19668 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19669 if (!SWIG_IsOK(ecode8
)) {
19670 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19672 arg8
= static_cast< int >(val8
);
19674 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19675 if (!SWIG_IsOK(ecode9
)) {
19676 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19678 arg9
= static_cast< int >(val9
);
19681 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19682 if (!SWIG_IsOK(ecode10
)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19685 arg10
= static_cast< bool >(val10
);
19688 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19689 if (!SWIG_IsOK(ecode11
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19692 arg11
= static_cast< int >(val11
);
19695 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19696 if (!SWIG_IsOK(ecode12
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19699 arg12
= static_cast< int >(val12
);
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19716 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
= 0;
19718 wxDC
*arg1
= (wxDC
*) 0 ;
19719 wxPoint
*arg2
= 0 ;
19721 wxDC
*arg4
= (wxDC
*) 0 ;
19722 wxPoint
*arg5
= 0 ;
19723 int arg6
= (int) wxCOPY
;
19724 bool arg7
= (bool) false ;
19725 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19726 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 PyObject
* obj2
= 0 ;
19743 PyObject
* obj3
= 0 ;
19744 PyObject
* obj4
= 0 ;
19745 PyObject
* obj5
= 0 ;
19746 PyObject
* obj6
= 0 ;
19747 PyObject
* obj7
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19764 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19766 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19767 if (!SWIG_IsOK(res4
)) {
19768 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19770 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19776 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19777 if (!SWIG_IsOK(ecode6
)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19780 arg6
= static_cast< int >(val6
);
19783 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19784 if (!SWIG_IsOK(ecode7
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19787 arg7
= static_cast< bool >(val7
);
19792 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19810 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
= 0;
19812 wxDC
*arg1
= (wxDC
*) 0 ;
19813 wxRect
*arg2
= (wxRect
*) NULL
;
19814 SwigValueWrapper
<wxBitmap
> result
;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 char * kwnames
[] = {
19822 (char *) "self",(char *) "subrect", NULL
19825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19827 if (!SWIG_IsOK(res1
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19833 if (!SWIG_IsOK(res2
)) {
19834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19836 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19851 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
= 0;
19853 wxDC
*arg1
= (wxDC
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 PyObject
* obj2
= 0 ;
19871 PyObject
* obj3
= 0 ;
19872 PyObject
* obj4
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19884 if (!SWIG_IsOK(ecode2
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19887 arg2
= static_cast< int >(val2
);
19888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19889 if (!SWIG_IsOK(ecode3
)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19892 arg3
= static_cast< int >(val3
);
19893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19894 if (!SWIG_IsOK(ecode4
)) {
19895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19897 arg4
= static_cast< int >(val4
);
19898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19899 if (!SWIG_IsOK(ecode5
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19902 arg5
= static_cast< int >(val5
);
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_Py_Void();
19916 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
= 0;
19918 wxDC
*arg1
= (wxDC
*) 0 ;
19919 wxPoint
*arg2
= 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 PyObject
* obj2
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "self",(char *) "pt",(char *) "sz", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19944 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_Py_Void();
19959 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
= 0;
19961 wxDC
*arg1
= (wxDC
*) 0 ;
19962 wxRegion
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char * kwnames
[] = {
19970 (char *) "self",(char *) "region", NULL
19973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19975 if (!SWIG_IsOK(res1
)) {
19976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19980 if (!SWIG_IsOK(res2
)) {
19981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19986 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_Py_Void();
20000 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
= 0;
20002 wxDC
*arg1
= (wxDC
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 char * kwnames
[] = {
20010 (char *) "self",(char *) "rect", NULL
20013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20015 if (!SWIG_IsOK(res1
)) {
20016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20021 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_Py_Void();
20036 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxDC
*arg1
= (wxDC
*) 0 ;
20040 wxPoint
*arg3
= (wxPoint
*) 0 ;
20041 int arg4
= (int) 0 ;
20042 int arg5
= (int) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 PyObject
* obj2
= 0 ;
20052 PyObject
* obj3
= 0 ;
20053 char * kwnames
[] = {
20054 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20059 if (!SWIG_IsOK(res1
)) {
20060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20064 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20065 if (arg3
== NULL
) SWIG_fail
;
20068 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20069 if (!SWIG_IsOK(ecode4
)) {
20070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20072 arg4
= static_cast< int >(val4
);
20075 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20076 if (!SWIG_IsOK(ecode5
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20079 arg5
= static_cast< int >(val5
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_Py_Void();
20089 if (arg3
) delete [] arg3
;
20094 if (arg3
) delete [] arg3
;
20100 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
= 0;
20102 wxDC
*arg1
= (wxDC
*) 0 ;
20104 wxPoint
*arg3
= (wxPoint
*) 0 ;
20105 int arg4
= (int) 0 ;
20106 int arg5
= (int) 0 ;
20107 int arg6
= (int) wxODDEVEN_RULE
;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 PyObject
* obj2
= 0 ;
20119 PyObject
* obj3
= 0 ;
20120 PyObject
* obj4
= 0 ;
20121 char * kwnames
[] = {
20122 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20127 if (!SWIG_IsOK(res1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20132 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20133 if (arg3
== NULL
) SWIG_fail
;
20136 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20137 if (!SWIG_IsOK(ecode4
)) {
20138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20140 arg4
= static_cast< int >(val4
);
20143 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20144 if (!SWIG_IsOK(ecode5
)) {
20145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20147 arg5
= static_cast< int >(val5
);
20150 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20151 if (!SWIG_IsOK(ecode6
)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20154 arg6
= static_cast< int >(val6
);
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_Py_Void();
20164 if (arg3
) delete [] arg3
;
20169 if (arg3
) delete [] arg3
;
20175 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
= 0;
20177 wxDC
*arg1
= (wxDC
*) 0 ;
20178 wxString
*arg2
= 0 ;
20180 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20181 int arg5
= (int) -1 ;
20184 bool temp2
= false ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 PyObject
* obj2
= 0 ;
20193 PyObject
* obj3
= 0 ;
20194 PyObject
* obj4
= 0 ;
20195 char * kwnames
[] = {
20196 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20201 if (!SWIG_IsOK(res1
)) {
20202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20206 arg2
= wxString_in_helper(obj1
);
20207 if (arg2
== NULL
) SWIG_fail
;
20212 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20215 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20216 if (!SWIG_IsOK(ecode4
)) {
20217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20219 arg4
= static_cast< int >(val4
);
20222 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20223 if (!SWIG_IsOK(ecode5
)) {
20224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20226 arg5
= static_cast< int >(val5
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_Py_Void();
20249 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
= 0;
20251 wxDC
*arg1
= (wxDC
*) 0 ;
20252 wxString
*arg2
= 0 ;
20253 wxBitmap
*arg3
= 0 ;
20255 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20256 int arg6
= (int) -1 ;
20260 bool temp2
= false ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 PyObject
* obj2
= 0 ;
20271 PyObject
* obj3
= 0 ;
20272 PyObject
* obj4
= 0 ;
20273 PyObject
* obj5
= 0 ;
20274 char * kwnames
[] = {
20275 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20280 if (!SWIG_IsOK(res1
)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20285 arg2
= wxString_in_helper(obj1
);
20286 if (arg2
== NULL
) SWIG_fail
;
20289 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20290 if (!SWIG_IsOK(res3
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20296 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20299 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20303 if (!SWIG_IsOK(ecode5
)) {
20304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20306 arg5
= static_cast< int >(val5
);
20309 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20310 if (!SWIG_IsOK(ecode6
)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20313 arg6
= static_cast< int >(val6
);
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20336 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
= 0;
20338 wxDC
*arg1
= (wxDC
*) 0 ;
20340 wxPoint
*arg3
= (wxPoint
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char * kwnames
[] = {
20346 (char *) "self",(char *) "points", NULL
20349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20356 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20357 if (arg3
== NULL
) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->DrawSpline(arg2
,arg3
);
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= SWIG_Py_Void();
20367 if (arg3
) delete [] arg3
;
20372 if (arg3
) delete [] arg3
;
20378 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20379 PyObject
*resultobj
= 0;
20380 wxDC
*arg1
= (wxDC
*) 0 ;
20383 PyObject
*swig_obj
[1] ;
20385 if (!args
) SWIG_fail
;
20386 swig_obj
[0] = args
;
20387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20388 if (!SWIG_IsOK(res1
)) {
20389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_Py_Void();
20405 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
= 0;
20407 wxDC
*arg1
= (wxDC
*) 0 ;
20408 wxString
*arg2
= 0 ;
20412 bool temp2
= false ;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 char * kwnames
[] = {
20416 (char *) "self",(char *) "message", NULL
20419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20421 if (!SWIG_IsOK(res1
)) {
20422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20426 arg2
= wxString_in_helper(obj1
);
20427 if (arg2
== NULL
) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20453 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20454 PyObject
*resultobj
= 0;
20455 wxDC
*arg1
= (wxDC
*) 0 ;
20458 PyObject
*swig_obj
[1] ;
20460 if (!args
) SWIG_fail
;
20461 swig_obj
[0] = args
;
20462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= SWIG_Py_Void();
20480 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20481 PyObject
*resultobj
= 0;
20482 wxDC
*arg1
= (wxDC
*) 0 ;
20485 PyObject
*swig_obj
[1] ;
20487 if (!args
) SWIG_fail
;
20488 swig_obj
[0] = args
;
20489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20490 if (!SWIG_IsOK(res1
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 (arg1
)->StartPage();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_Py_Void();
20507 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20508 PyObject
*resultobj
= 0;
20509 wxDC
*arg1
= (wxDC
*) 0 ;
20512 PyObject
*swig_obj
[1] ;
20514 if (!args
) SWIG_fail
;
20515 swig_obj
[0] = args
;
20516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_Py_Void();
20534 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
= 0;
20536 wxDC
*arg1
= (wxDC
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 char * kwnames
[] = {
20545 (char *) "self",(char *) "font", NULL
20548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20555 if (!SWIG_IsOK(res2
)) {
20556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20561 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->SetFont((wxFont
const &)*arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_Py_Void();
20575 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
= 0;
20577 wxDC
*arg1
= (wxDC
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char * kwnames
[] = {
20586 (char *) "self",(char *) "pen", NULL
20589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20596 if (!SWIG_IsOK(res2
)) {
20597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20602 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->SetPen((wxPen
const &)*arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_Py_Void();
20616 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
= 0;
20618 wxDC
*arg1
= (wxDC
*) 0 ;
20619 wxBrush
*arg2
= 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 char * kwnames
[] = {
20627 (char *) "self",(char *) "brush", NULL
20630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20632 if (!SWIG_IsOK(res1
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20637 if (!SWIG_IsOK(res2
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20643 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_Py_Void();
20657 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= 0;
20659 wxDC
*arg1
= (wxDC
*) 0 ;
20660 wxBrush
*arg2
= 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 char * kwnames
[] = {
20668 (char *) "self",(char *) "brush", NULL
20671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20678 if (!SWIG_IsOK(res2
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20684 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_Py_Void();
20698 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
= 0;
20700 wxDC
*arg1
= (wxDC
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "mode", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",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_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20719 if (!SWIG_IsOK(ecode2
)) {
20720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20722 arg2
= static_cast< int >(val2
);
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 (arg1
)->SetBackgroundMode(arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_Py_Void();
20736 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= 0;
20738 wxDC
*arg1
= (wxDC
*) 0 ;
20739 wxPalette
*arg2
= 0 ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 char * kwnames
[] = {
20747 (char *) "self",(char *) "palette", NULL
20750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20752 if (!SWIG_IsOK(res1
)) {
20753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20757 if (!SWIG_IsOK(res2
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20763 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_Py_Void();
20777 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20778 PyObject
*resultobj
= 0;
20779 wxDC
*arg1
= (wxDC
*) 0 ;
20782 PyObject
*swig_obj
[1] ;
20784 if (!args
) SWIG_fail
;
20785 swig_obj
[0] = args
;
20786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->DestroyClippingRegion();
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_Py_Void();
20804 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 PyObject
*resultobj
= 0;
20806 wxDC
*arg1
= (wxDC
*) 0 ;
20807 int *arg2
= (int *) 0 ;
20808 int *arg3
= (int *) 0 ;
20809 int *arg4
= (int *) 0 ;
20810 int *arg5
= (int *) 0 ;
20814 int res2
= SWIG_TMPOBJ
;
20816 int res3
= SWIG_TMPOBJ
;
20818 int res4
= SWIG_TMPOBJ
;
20820 int res5
= SWIG_TMPOBJ
;
20821 PyObject
*swig_obj
[1] ;
20827 if (!args
) SWIG_fail
;
20828 swig_obj
[0] = args
;
20829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_Py_Void();
20841 if (SWIG_IsTmpObj(res2
)) {
20842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20844 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20847 if (SWIG_IsTmpObj(res3
)) {
20848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20850 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20853 if (SWIG_IsTmpObj(res4
)) {
20854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20856 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20859 if (SWIG_IsTmpObj(res5
)) {
20860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20862 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20871 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20872 PyObject
*resultobj
= 0;
20873 wxDC
*arg1
= (wxDC
*) 0 ;
20877 PyObject
*swig_obj
[1] ;
20879 if (!args
) SWIG_fail
;
20880 swig_obj
[0] = args
;
20881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20882 if (!SWIG_IsOK(res1
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= wxDC_GetClippingRect(arg1
);
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20899 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20900 PyObject
*resultobj
= 0;
20901 wxDC
*arg1
= (wxDC
*) 0 ;
20905 PyObject
*swig_obj
[1] ;
20907 if (!args
) SWIG_fail
;
20908 swig_obj
[0] = args
;
20909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_From_int(static_cast< int >(result
));
20927 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20928 PyObject
*resultobj
= 0;
20929 wxDC
*arg1
= (wxDC
*) 0 ;
20933 PyObject
*swig_obj
[1] ;
20935 if (!args
) SWIG_fail
;
20936 swig_obj
[0] = args
;
20937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_From_int(static_cast< int >(result
));
20955 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
= 0;
20957 wxDC
*arg1
= (wxDC
*) 0 ;
20958 wxString
*arg2
= 0 ;
20959 int *arg3
= (int *) 0 ;
20960 int *arg4
= (int *) 0 ;
20963 bool temp2
= false ;
20965 int res3
= SWIG_TMPOBJ
;
20967 int res4
= SWIG_TMPOBJ
;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 char * kwnames
[] = {
20971 (char *) "self",(char *) "string", NULL
20976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20983 arg2
= wxString_in_helper(obj1
);
20984 if (arg2
== NULL
) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_Py_Void();
20994 if (SWIG_IsTmpObj(res3
)) {
20995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20997 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21000 if (SWIG_IsTmpObj(res4
)) {
21001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21003 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21020 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
= 0;
21022 wxDC
*arg1
= (wxDC
*) 0 ;
21023 wxString
*arg2
= 0 ;
21024 int *arg3
= (int *) 0 ;
21025 int *arg4
= (int *) 0 ;
21026 int *arg5
= (int *) 0 ;
21027 int *arg6
= (int *) 0 ;
21028 wxFont
*arg7
= (wxFont
*) NULL
;
21031 bool temp2
= false ;
21033 int res3
= SWIG_TMPOBJ
;
21035 int res4
= SWIG_TMPOBJ
;
21037 int res5
= SWIG_TMPOBJ
;
21039 int res6
= SWIG_TMPOBJ
;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 PyObject
* obj2
= 0 ;
21045 char * kwnames
[] = {
21046 (char *) "self",(char *) "string",(char *) "font", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21060 arg2
= wxString_in_helper(obj1
);
21061 if (arg2
== NULL
) SWIG_fail
;
21065 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21066 if (!SWIG_IsOK(res7
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21069 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_Py_Void();
21078 if (SWIG_IsTmpObj(res3
)) {
21079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21081 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21084 if (SWIG_IsTmpObj(res4
)) {
21085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21087 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21090 if (SWIG_IsTmpObj(res5
)) {
21091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21093 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21096 if (SWIG_IsTmpObj(res6
)) {
21097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21099 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21116 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
= 0;
21118 wxDC
*arg1
= (wxDC
*) 0 ;
21119 wxString
*arg2
= 0 ;
21120 int *arg3
= (int *) 0 ;
21121 int *arg4
= (int *) 0 ;
21122 int *arg5
= (int *) 0 ;
21123 wxFont
*arg6
= (wxFont
*) NULL
;
21126 bool temp2
= false ;
21128 int res3
= SWIG_TMPOBJ
;
21130 int res4
= SWIG_TMPOBJ
;
21132 int res5
= SWIG_TMPOBJ
;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 PyObject
* obj2
= 0 ;
21138 char * kwnames
[] = {
21139 (char *) "self",(char *) "text",(char *) "font", NULL
21145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21152 arg2
= wxString_in_helper(obj1
);
21153 if (arg2
== NULL
) SWIG_fail
;
21157 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21158 if (!SWIG_IsOK(res6
)) {
21159 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21161 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_Py_Void();
21170 if (SWIG_IsTmpObj(res3
)) {
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21173 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21176 if (SWIG_IsTmpObj(res4
)) {
21177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21179 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21182 if (SWIG_IsTmpObj(res5
)) {
21183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21185 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21202 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
= 0;
21204 wxDC
*arg1
= (wxDC
*) 0 ;
21205 wxString
*arg2
= 0 ;
21209 bool temp2
= false ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char * kwnames
[] = {
21213 (char *) "self",(char *) "text", NULL
21216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21223 arg2
= wxString_in_helper(obj1
);
21224 if (arg2
== NULL
) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= wxArrayInt2PyList_helper(result
);
21250 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21251 PyObject
*resultobj
= 0;
21252 wxDC
*arg1
= (wxDC
*) 0 ;
21256 PyObject
*swig_obj
[1] ;
21258 if (!args
) SWIG_fail
;
21259 swig_obj
[0] = args
;
21260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21261 if (!SWIG_IsOK(res1
)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (arg1
)->GetSize();
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21278 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21279 PyObject
*resultobj
= 0;
21280 wxDC
*arg1
= (wxDC
*) 0 ;
21281 int *arg2
= (int *) 0 ;
21282 int *arg3
= (int *) 0 ;
21286 int res2
= SWIG_TMPOBJ
;
21288 int res3
= SWIG_TMPOBJ
;
21289 PyObject
*swig_obj
[1] ;
21293 if (!args
) SWIG_fail
;
21294 swig_obj
[0] = args
;
21295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->GetSize(arg2
,arg3
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_Py_Void();
21307 if (SWIG_IsTmpObj(res2
)) {
21308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21310 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21313 if (SWIG_IsTmpObj(res3
)) {
21314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21316 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21325 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21326 PyObject
*resultobj
= 0;
21327 wxDC
*arg1
= (wxDC
*) 0 ;
21331 PyObject
*swig_obj
[1] ;
21333 if (!args
) SWIG_fail
;
21334 swig_obj
[0] = args
;
21335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21336 if (!SWIG_IsOK(res1
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21353 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21354 PyObject
*resultobj
= 0;
21355 wxDC
*arg1
= (wxDC
*) 0 ;
21356 int *arg2
= (int *) 0 ;
21357 int *arg3
= (int *) 0 ;
21361 int res2
= SWIG_TMPOBJ
;
21363 int res3
= SWIG_TMPOBJ
;
21364 PyObject
*swig_obj
[1] ;
21368 if (!args
) SWIG_fail
;
21369 swig_obj
[0] = args
;
21370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_Py_Void();
21382 if (SWIG_IsTmpObj(res2
)) {
21383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21385 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21388 if (SWIG_IsTmpObj(res3
)) {
21389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21391 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21400 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
= 0;
21402 wxDC
*arg1
= (wxDC
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char * kwnames
[] = {
21412 (char *) "self",(char *) "x", NULL
21415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21422 if (!SWIG_IsOK(ecode2
)) {
21423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21425 arg2
= static_cast< int >(val2
);
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_From_int(static_cast< int >(result
));
21439 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxDC
*arg1
= (wxDC
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char * kwnames
[] = {
21451 (char *) "self",(char *) "y", NULL
21454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21461 if (!SWIG_IsOK(ecode2
)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21464 arg2
= static_cast< int >(val2
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_From_int(static_cast< int >(result
));
21478 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= 0;
21480 wxDC
*arg1
= (wxDC
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char * kwnames
[] = {
21490 (char *) "self",(char *) "x", NULL
21493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21495 if (!SWIG_IsOK(res1
)) {
21496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21500 if (!SWIG_IsOK(ecode2
)) {
21501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21503 arg2
= static_cast< int >(val2
);
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_From_int(static_cast< int >(result
));
21517 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
= 0;
21519 wxDC
*arg1
= (wxDC
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char * kwnames
[] = {
21529 (char *) "self",(char *) "y", NULL
21532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21539 if (!SWIG_IsOK(ecode2
)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21542 arg2
= static_cast< int >(val2
);
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_From_int(static_cast< int >(result
));
21556 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
= 0;
21558 wxDC
*arg1
= (wxDC
*) 0 ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char * kwnames
[] = {
21568 (char *) "self",(char *) "x", NULL
21571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21573 if (!SWIG_IsOK(res1
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21578 if (!SWIG_IsOK(ecode2
)) {
21579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21581 arg2
= static_cast< int >(val2
);
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_From_int(static_cast< int >(result
));
21595 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
= 0;
21597 wxDC
*arg1
= (wxDC
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 PyObject
* obj1
= 0 ;
21606 char * kwnames
[] = {
21607 (char *) "self",(char *) "y", NULL
21610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21617 if (!SWIG_IsOK(ecode2
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21620 arg2
= static_cast< int >(val2
);
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_From_int(static_cast< int >(result
));
21634 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= 0;
21636 wxDC
*arg1
= (wxDC
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char * kwnames
[] = {
21646 (char *) "self",(char *) "x", NULL
21649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21651 if (!SWIG_IsOK(res1
)) {
21652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21656 if (!SWIG_IsOK(ecode2
)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21659 arg2
= static_cast< int >(val2
);
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_From_int(static_cast< int >(result
));
21673 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
= 0;
21675 wxDC
*arg1
= (wxDC
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char * kwnames
[] = {
21685 (char *) "self",(char *) "y", NULL
21688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21690 if (!SWIG_IsOK(res1
)) {
21691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21695 if (!SWIG_IsOK(ecode2
)) {
21696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21698 arg2
= static_cast< int >(val2
);
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= SWIG_From_int(static_cast< int >(result
));
21712 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21713 PyObject
*resultobj
= 0;
21714 wxDC
*arg1
= (wxDC
*) 0 ;
21718 PyObject
*swig_obj
[1] ;
21720 if (!args
) SWIG_fail
;
21721 swig_obj
[0] = args
;
21722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21742 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21743 PyObject
*resultobj
= 0;
21744 wxDC
*arg1
= (wxDC
*) 0 ;
21748 PyObject
*swig_obj
[1] ;
21750 if (!args
) SWIG_fail
;
21751 swig_obj
[0] = args
;
21752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21753 if (!SWIG_IsOK(res1
)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21772 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21773 PyObject
*resultobj
= 0;
21774 wxDC
*arg1
= (wxDC
*) 0 ;
21778 PyObject
*swig_obj
[1] ;
21780 if (!args
) SWIG_fail
;
21781 swig_obj
[0] = args
;
21782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= SWIG_From_int(static_cast< int >(result
));
21800 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21801 PyObject
*resultobj
= 0;
21802 wxDC
*arg1
= (wxDC
*) 0 ;
21806 PyObject
*swig_obj
[1] ;
21808 if (!args
) SWIG_fail
;
21809 swig_obj
[0] = args
;
21810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21811 if (!SWIG_IsOK(res1
)) {
21812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= ((wxDC
const *)arg1
)->GetPPI();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21828 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21829 PyObject
*resultobj
= 0;
21830 wxDC
*arg1
= (wxDC
*) 0 ;
21834 PyObject
*swig_obj
[1] ;
21836 if (!args
) SWIG_fail
;
21837 swig_obj
[0] = args
;
21838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21839 if (!SWIG_IsOK(res1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21858 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21859 PyObject
*resultobj
= 0;
21860 wxDC
*arg1
= (wxDC
*) 0 ;
21864 PyObject
*swig_obj
[1] ;
21866 if (!args
) SWIG_fail
;
21867 swig_obj
[0] = args
;
21868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21869 if (!SWIG_IsOK(res1
)) {
21870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 resultobj
= SWIG_From_int(static_cast< int >(result
));
21886 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21887 PyObject
*resultobj
= 0;
21888 wxDC
*arg1
= (wxDC
*) 0 ;
21889 wxBrush
*result
= 0 ;
21892 PyObject
*swig_obj
[1] ;
21894 if (!args
) SWIG_fail
;
21895 swig_obj
[0] = args
;
21896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21897 if (!SWIG_IsOK(res1
)) {
21898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21905 result
= (wxBrush
*) &_result_ref
;
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 wxBrush
* resultptr
= new wxBrush(*result
);
21912 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21920 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21921 PyObject
*resultobj
= 0;
21922 wxDC
*arg1
= (wxDC
*) 0 ;
21923 wxBrush
*result
= 0 ;
21926 PyObject
*swig_obj
[1] ;
21928 if (!args
) SWIG_fail
;
21929 swig_obj
[0] = args
;
21930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21931 if (!SWIG_IsOK(res1
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21939 result
= (wxBrush
*) &_result_ref
;
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 wxBrush
* resultptr
= new wxBrush(*result
);
21946 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21954 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21955 PyObject
*resultobj
= 0;
21956 wxDC
*arg1
= (wxDC
*) 0 ;
21957 wxFont
*result
= 0 ;
21960 PyObject
*swig_obj
[1] ;
21962 if (!args
) SWIG_fail
;
21963 swig_obj
[0] = args
;
21964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21973 result
= (wxFont
*) &_result_ref
;
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 wxFont
* resultptr
= new wxFont(*result
);
21980 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21988 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21989 PyObject
*resultobj
= 0;
21990 wxDC
*arg1
= (wxDC
*) 0 ;
21991 wxPen
*result
= 0 ;
21994 PyObject
*swig_obj
[1] ;
21996 if (!args
) SWIG_fail
;
21997 swig_obj
[0] = args
;
21998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21999 if (!SWIG_IsOK(res1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22007 result
= (wxPen
*) &_result_ref
;
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 wxPen
* resultptr
= new wxPen(*result
);
22014 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22022 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22023 PyObject
*resultobj
= 0;
22024 wxDC
*arg1
= (wxDC
*) 0 ;
22025 wxColour
*result
= 0 ;
22028 PyObject
*swig_obj
[1] ;
22030 if (!args
) SWIG_fail
;
22031 swig_obj
[0] = args
;
22032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22033 if (!SWIG_IsOK(res1
)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22041 result
= (wxColour
*) &_result_ref
;
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22053 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22054 PyObject
*resultobj
= 0;
22055 wxDC
*arg1
= (wxDC
*) 0 ;
22056 wxColour
*result
= 0 ;
22059 PyObject
*swig_obj
[1] ;
22061 if (!args
) SWIG_fail
;
22062 swig_obj
[0] = args
;
22063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22064 if (!SWIG_IsOK(res1
)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22072 result
= (wxColour
*) &_result_ref
;
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22084 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
= 0;
22086 wxDC
*arg1
= (wxDC
*) 0 ;
22087 wxColour
*arg2
= 0 ;
22091 PyObject
* obj0
= 0 ;
22092 PyObject
* obj1
= 0 ;
22093 char * kwnames
[] = {
22094 (char *) "self",(char *) "colour", NULL
22097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22099 if (!SWIG_IsOK(res1
)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_Py_Void();
22120 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
= 0;
22122 wxDC
*arg1
= (wxDC
*) 0 ;
22123 wxColour
*arg2
= 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char * kwnames
[] = {
22130 (char *) "self",(char *) "colour", NULL
22133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22135 if (!SWIG_IsOK(res1
)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= SWIG_Py_Void();
22156 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22157 PyObject
*resultobj
= 0;
22158 wxDC
*arg1
= (wxDC
*) 0 ;
22162 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_From_int(static_cast< int >(result
));
22184 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
= 0;
22186 wxDC
*arg1
= (wxDC
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 char * kwnames
[] = {
22195 (char *) "self",(char *) "mode", NULL
22198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22200 if (!SWIG_IsOK(res1
)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22205 if (!SWIG_IsOK(ecode2
)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22208 arg2
= static_cast< int >(val2
);
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 (arg1
)->SetMapMode(arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_Py_Void();
22222 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxDC
*arg1
= (wxDC
*) 0 ;
22225 double *arg2
= (double *) 0 ;
22226 double *arg3
= (double *) 0 ;
22230 int res2
= SWIG_TMPOBJ
;
22232 int res3
= SWIG_TMPOBJ
;
22233 PyObject
*swig_obj
[1] ;
22237 if (!args
) SWIG_fail
;
22238 swig_obj
[0] = args
;
22239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22240 if (!SWIG_IsOK(res1
)) {
22241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_Py_Void();
22251 if (SWIG_IsTmpObj(res2
)) {
22252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22257 if (SWIG_IsTmpObj(res3
)) {
22258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22269 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
= 0;
22271 wxDC
*arg1
= (wxDC
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 PyObject
* obj2
= 0 ;
22283 char * kwnames
[] = {
22284 (char *) "self",(char *) "x",(char *) "y", NULL
22287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22289 if (!SWIG_IsOK(res1
)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22293 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22294 if (!SWIG_IsOK(ecode2
)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22297 arg2
= static_cast< double >(val2
);
22298 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22299 if (!SWIG_IsOK(ecode3
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22302 arg3
= static_cast< double >(val3
);
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 (arg1
)->SetUserScale(arg2
,arg3
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_Py_Void();
22316 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22317 PyObject
*resultobj
= 0;
22318 wxDC
*arg1
= (wxDC
*) 0 ;
22319 double *arg2
= (double *) 0 ;
22320 double *arg3
= (double *) 0 ;
22324 int res2
= SWIG_TMPOBJ
;
22326 int res3
= SWIG_TMPOBJ
;
22327 PyObject
*swig_obj
[1] ;
22331 if (!args
) SWIG_fail
;
22332 swig_obj
[0] = args
;
22333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22334 if (!SWIG_IsOK(res1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->GetLogicalScale(arg2
,arg3
);
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= SWIG_Py_Void();
22345 if (SWIG_IsTmpObj(res2
)) {
22346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22348 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22351 if (SWIG_IsTmpObj(res3
)) {
22352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22354 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22363 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
= 0;
22365 wxDC
*arg1
= (wxDC
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 PyObject
* obj2
= 0 ;
22377 char * kwnames
[] = {
22378 (char *) "self",(char *) "x",(char *) "y", NULL
22381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22383 if (!SWIG_IsOK(res1
)) {
22384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22387 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22388 if (!SWIG_IsOK(ecode2
)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22391 arg2
= static_cast< double >(val2
);
22392 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22393 if (!SWIG_IsOK(ecode3
)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22396 arg3
= static_cast< double >(val3
);
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 (arg1
)->SetLogicalScale(arg2
,arg3
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_Py_Void();
22410 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 PyObject
*resultobj
= 0;
22412 wxDC
*arg1
= (wxDC
*) 0 ;
22416 PyObject
*swig_obj
[1] ;
22418 if (!args
) SWIG_fail
;
22419 swig_obj
[0] = args
;
22420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22421 if (!SWIG_IsOK(res1
)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22438 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22439 PyObject
*resultobj
= 0;
22440 wxDC
*arg1
= (wxDC
*) 0 ;
22441 int *arg2
= (int *) 0 ;
22442 int *arg3
= (int *) 0 ;
22446 int res2
= SWIG_TMPOBJ
;
22448 int res3
= SWIG_TMPOBJ
;
22449 PyObject
*swig_obj
[1] ;
22453 if (!args
) SWIG_fail
;
22454 swig_obj
[0] = args
;
22455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_Py_Void();
22467 if (SWIG_IsTmpObj(res2
)) {
22468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22470 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22473 if (SWIG_IsTmpObj(res3
)) {
22474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22476 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22485 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
= 0;
22487 wxDC
*arg1
= (wxDC
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 PyObject
* obj2
= 0 ;
22499 char * kwnames
[] = {
22500 (char *) "self",(char *) "x",(char *) "y", NULL
22503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22508 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22510 if (!SWIG_IsOK(ecode2
)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22513 arg2
= static_cast< int >(val2
);
22514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22515 if (!SWIG_IsOK(ecode3
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22518 arg3
= static_cast< int >(val3
);
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_Py_Void();
22532 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
= 0;
22534 wxDC
*arg1
= (wxDC
*) 0 ;
22535 wxPoint
*arg2
= 0 ;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char * kwnames
[] = {
22542 (char *) "self",(char *) "point", NULL
22545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22547 if (!SWIG_IsOK(res1
)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_Py_Void();
22568 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22569 PyObject
*resultobj
= 0;
22570 wxDC
*arg1
= (wxDC
*) 0 ;
22574 PyObject
*swig_obj
[1] ;
22576 if (!args
) SWIG_fail
;
22577 swig_obj
[0] = args
;
22578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22579 if (!SWIG_IsOK(res1
)) {
22580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22596 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22597 PyObject
*resultobj
= 0;
22598 wxDC
*arg1
= (wxDC
*) 0 ;
22599 int *arg2
= (int *) 0 ;
22600 int *arg3
= (int *) 0 ;
22604 int res2
= SWIG_TMPOBJ
;
22606 int res3
= SWIG_TMPOBJ
;
22607 PyObject
*swig_obj
[1] ;
22611 if (!args
) SWIG_fail
;
22612 swig_obj
[0] = args
;
22613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_Py_Void();
22625 if (SWIG_IsTmpObj(res2
)) {
22626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22628 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22631 if (SWIG_IsTmpObj(res3
)) {
22632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22634 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22643 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
= 0;
22645 wxDC
*arg1
= (wxDC
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 PyObject
* obj2
= 0 ;
22657 char * kwnames
[] = {
22658 (char *) "self",(char *) "x",(char *) "y", NULL
22661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22663 if (!SWIG_IsOK(res1
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22668 if (!SWIG_IsOK(ecode2
)) {
22669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22671 arg2
= static_cast< int >(val2
);
22672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22673 if (!SWIG_IsOK(ecode3
)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22676 arg3
= static_cast< int >(val3
);
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_Py_Void();
22690 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
= 0;
22692 wxDC
*arg1
= (wxDC
*) 0 ;
22693 wxPoint
*arg2
= 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char * kwnames
[] = {
22700 (char *) "self",(char *) "point", NULL
22703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_Py_Void();
22726 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
= 0;
22728 wxDC
*arg1
= (wxDC
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 PyObject
* obj2
= 0 ;
22740 char * kwnames
[] = {
22741 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22746 if (!SWIG_IsOK(res1
)) {
22747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22750 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22751 if (!SWIG_IsOK(ecode2
)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22754 arg2
= static_cast< bool >(val2
);
22755 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22756 if (!SWIG_IsOK(ecode3
)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22759 arg3
= static_cast< bool >(val3
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22773 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22774 PyObject
*resultobj
= 0;
22775 wxDC
*arg1
= (wxDC
*) 0 ;
22779 PyObject
*swig_obj
[1] ;
22781 if (!args
) SWIG_fail
;
22782 swig_obj
[0] = args
;
22783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_From_int(static_cast< int >(result
));
22801 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
= 0;
22803 wxDC
*arg1
= (wxDC
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 char * kwnames
[] = {
22812 (char *) "self",(char *) "function", NULL
22815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22817 if (!SWIG_IsOK(res1
)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22822 if (!SWIG_IsOK(ecode2
)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22825 arg2
= static_cast< int >(val2
);
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 (arg1
)->SetLogicalFunction(arg2
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_Py_Void();
22839 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22840 PyObject
*resultobj
= 0;
22841 wxDC
*arg1
= (wxDC
*) 0 ;
22844 PyObject
*swig_obj
[1] ;
22846 if (!args
) SWIG_fail
;
22847 swig_obj
[0] = args
;
22848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22849 if (!SWIG_IsOK(res1
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->ComputeScaleAndOrigin();
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_Py_Void();
22866 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
= 0;
22868 wxDC
*arg1
= (wxDC
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 PyObject
* obj2
= 0 ;
22880 char * kwnames
[] = {
22881 (char *) "self",(char *) "x",(char *) "y", NULL
22884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22891 if (!SWIG_IsOK(ecode2
)) {
22892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22894 arg2
= static_cast< int >(val2
);
22895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22896 if (!SWIG_IsOK(ecode3
)) {
22897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22899 arg3
= static_cast< int >(val3
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_Py_Void();
22913 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22914 PyObject
*resultobj
= 0;
22915 wxDC
*arg1
= (wxDC
*) 0 ;
22916 wxPoint
*arg2
= 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "self",(char *) "point", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_Py_Void();
22949 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxDC
*arg1
= (wxDC
*) 0 ;
22954 PyObject
*swig_obj
[1] ;
22956 if (!args
) SWIG_fail
;
22957 swig_obj
[0] = args
;
22958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->ResetBoundingBox();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxDC
*arg1
= (wxDC
*) 0 ;
22982 PyObject
*swig_obj
[1] ;
22984 if (!args
) SWIG_fail
;
22985 swig_obj
[0] = args
;
22986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (int)((wxDC
const *)arg1
)->MinX();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_From_int(static_cast< int >(result
));
23004 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23005 PyObject
*resultobj
= 0;
23006 wxDC
*arg1
= (wxDC
*) 0 ;
23010 PyObject
*swig_obj
[1] ;
23012 if (!args
) SWIG_fail
;
23013 swig_obj
[0] = args
;
23014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (int)((wxDC
const *)arg1
)->MaxX();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_From_int(static_cast< int >(result
));
23032 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 PyObject
*resultobj
= 0;
23034 wxDC
*arg1
= (wxDC
*) 0 ;
23038 PyObject
*swig_obj
[1] ;
23040 if (!args
) SWIG_fail
;
23041 swig_obj
[0] = args
;
23042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= (int)((wxDC
const *)arg1
)->MinY();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_From_int(static_cast< int >(result
));
23060 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23061 PyObject
*resultobj
= 0;
23062 wxDC
*arg1
= (wxDC
*) 0 ;
23066 PyObject
*swig_obj
[1] ;
23068 if (!args
) SWIG_fail
;
23069 swig_obj
[0] = args
;
23070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23071 if (!SWIG_IsOK(res1
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)((wxDC
const *)arg1
)->MaxY();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_From_int(static_cast< int >(result
));
23088 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 PyObject
*resultobj
= 0;
23090 wxDC
*arg1
= (wxDC
*) 0 ;
23091 int *arg2
= (int *) 0 ;
23092 int *arg3
= (int *) 0 ;
23093 int *arg4
= (int *) 0 ;
23094 int *arg5
= (int *) 0 ;
23098 int res2
= SWIG_TMPOBJ
;
23100 int res3
= SWIG_TMPOBJ
;
23102 int res4
= SWIG_TMPOBJ
;
23104 int res5
= SWIG_TMPOBJ
;
23105 PyObject
*swig_obj
[1] ;
23111 if (!args
) SWIG_fail
;
23112 swig_obj
[0] = args
;
23113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= SWIG_Py_Void();
23125 if (SWIG_IsTmpObj(res2
)) {
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23128 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23131 if (SWIG_IsTmpObj(res3
)) {
23132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23134 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23137 if (SWIG_IsTmpObj(res4
)) {
23138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23140 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23143 if (SWIG_IsTmpObj(res5
)) {
23144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23146 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23155 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23156 PyObject
*resultobj
= 0;
23157 wxDC
*arg1
= (wxDC
*) 0 ;
23158 wxLayoutDirection result
;
23161 PyObject
*swig_obj
[1] ;
23163 if (!args
) SWIG_fail
;
23164 swig_obj
[0] = args
;
23165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= SWIG_From_int(static_cast< int >(result
));
23183 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
= 0;
23185 wxDC
*arg1
= (wxDC
*) 0 ;
23186 wxLayoutDirection arg2
;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 char * kwnames
[] = {
23194 (char *) "self",(char *) "dir", NULL
23197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23204 if (!SWIG_IsOK(ecode2
)) {
23205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23207 arg2
= static_cast< wxLayoutDirection
>(val2
);
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 (arg1
)->SetLayoutDirection(arg2
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_Py_Void();
23221 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
= 0;
23223 wxDC
*arg1
= (wxDC
*) 0 ;
23224 PyObject
*arg2
= (PyObject
*) 0 ;
23225 PyObject
*arg3
= (PyObject
*) 0 ;
23226 PyObject
*arg4
= (PyObject
*) 0 ;
23227 PyObject
*result
= 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 PyObject
* obj2
= 0 ;
23233 PyObject
* obj3
= 0 ;
23234 char * kwnames
[] = {
23235 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23240 if (!SWIG_IsOK(res1
)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= result
;
23260 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 wxDC
*arg1
= (wxDC
*) 0 ;
23263 PyObject
*arg2
= (PyObject
*) 0 ;
23264 PyObject
*arg3
= (PyObject
*) 0 ;
23265 PyObject
*arg4
= (PyObject
*) 0 ;
23266 PyObject
*result
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 PyObject
* obj2
= 0 ;
23272 PyObject
* obj3
= 0 ;
23273 char * kwnames
[] = {
23274 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= result
;
23299 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
= 0;
23301 wxDC
*arg1
= (wxDC
*) 0 ;
23302 PyObject
*arg2
= (PyObject
*) 0 ;
23303 PyObject
*arg3
= (PyObject
*) 0 ;
23304 PyObject
*arg4
= (PyObject
*) 0 ;
23305 PyObject
*result
= 0 ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23311 PyObject
* obj3
= 0 ;
23312 char * kwnames
[] = {
23313 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23318 if (!SWIG_IsOK(res1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= result
;
23338 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
= 0;
23340 wxDC
*arg1
= (wxDC
*) 0 ;
23341 PyObject
*arg2
= (PyObject
*) 0 ;
23342 PyObject
*arg3
= (PyObject
*) 0 ;
23343 PyObject
*arg4
= (PyObject
*) 0 ;
23344 PyObject
*result
= 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 PyObject
* obj3
= 0 ;
23351 char * kwnames
[] = {
23352 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
;
23377 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= 0;
23379 wxDC
*arg1
= (wxDC
*) 0 ;
23380 PyObject
*arg2
= (PyObject
*) 0 ;
23381 PyObject
*arg3
= (PyObject
*) 0 ;
23382 PyObject
*arg4
= (PyObject
*) 0 ;
23383 PyObject
*result
= 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 PyObject
* obj3
= 0 ;
23390 char * kwnames
[] = {
23391 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= result
;
23416 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
= 0;
23418 wxDC
*arg1
= (wxDC
*) 0 ;
23419 PyObject
*arg2
= (PyObject
*) 0 ;
23420 PyObject
*arg3
= (PyObject
*) 0 ;
23421 PyObject
*arg4
= (PyObject
*) 0 ;
23422 PyObject
*arg5
= (PyObject
*) 0 ;
23423 PyObject
*result
= 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 PyObject
* obj2
= 0 ;
23429 PyObject
* obj3
= 0 ;
23430 PyObject
* obj4
= 0 ;
23431 char * kwnames
[] = {
23432 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= result
;
23458 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23461 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23462 return SWIG_Py_Void();
23465 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
= 0;
23468 wxColour
*arg2
= 0 ;
23469 wxDCTextColourChanger
*result
= 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char * kwnames
[] = {
23476 (char *) "dc",(char *) "col", NULL
23479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23480 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23481 if (!SWIG_IsOK(res1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23505 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23506 PyObject
*resultobj
= 0;
23507 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23510 PyObject
*swig_obj
[1] ;
23512 if (!args
) SWIG_fail
;
23513 swig_obj
[0] = args
;
23514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23515 if (!SWIG_IsOK(res1
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23518 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_Py_Void();
23533 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23536 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23537 return SWIG_Py_Void();
23540 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23541 return SWIG_Python_InitShadowInstance(args
);
23544 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
= 0;
23548 wxDCPenChanger
*result
= 0 ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 char * kwnames
[] = {
23556 (char *) "dc",(char *) "pen", NULL
23559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23560 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23569 if (!SWIG_IsOK(res2
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23575 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23589 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23594 PyObject
*swig_obj
[1] ;
23596 if (!args
) SWIG_fail
;
23597 swig_obj
[0] = args
;
23598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23599 if (!SWIG_IsOK(res1
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23602 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_Py_Void();
23617 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23620 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23621 return SWIG_Py_Void();
23624 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23625 return SWIG_Python_InitShadowInstance(args
);
23628 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
= 0;
23631 wxBrush
*arg2
= 0 ;
23632 wxDCBrushChanger
*result
= 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char * kwnames
[] = {
23640 (char *) "dc",(char *) "brush", NULL
23643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23644 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23653 if (!SWIG_IsOK(res2
)) {
23654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23659 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23673 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 PyObject
*resultobj
= 0;
23675 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23678 PyObject
*swig_obj
[1] ;
23680 if (!args
) SWIG_fail
;
23681 swig_obj
[0] = args
;
23682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23686 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_Py_Void();
23701 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23704 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23705 return SWIG_Py_Void();
23708 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23709 return SWIG_Python_InitShadowInstance(args
);
23712 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23713 PyObject
*resultobj
= 0;
23715 wxRegion
*arg2
= 0 ;
23716 wxDCClipper
*result
= 0 ;
23722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23731 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23732 if (!SWIG_IsOK(res2
)) {
23733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23738 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23752 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23753 PyObject
*resultobj
= 0;
23756 wxDCClipper
*result
= 0 ;
23761 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23772 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23787 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23788 PyObject
*resultobj
= 0;
23794 wxDCClipper
*result
= 0 ;
23806 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23815 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23816 if (!SWIG_IsOK(ecode2
)) {
23817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23819 arg2
= static_cast< int >(val2
);
23820 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23821 if (!SWIG_IsOK(ecode3
)) {
23822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23824 arg3
= static_cast< int >(val3
);
23825 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23826 if (!SWIG_IsOK(ecode4
)) {
23827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23829 arg4
= static_cast< int >(val4
);
23830 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23831 if (!SWIG_IsOK(ecode5
)) {
23832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23834 arg5
= static_cast< int >(val5
);
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23848 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23852 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23857 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23858 _v
= SWIG_CheckState(res
);
23860 if (!_v
) goto check_1
;
23861 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23866 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23869 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23873 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23878 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 PyObject
*resultobj
= 0;
23880 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23883 PyObject
*swig_obj
[1] ;
23885 if (!args
) SWIG_fail
;
23886 swig_obj
[0] = args
;
23887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23888 if (!SWIG_IsOK(res1
)) {
23889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23891 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_Py_Void();
23906 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23909 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23910 return SWIG_Py_Void();
23913 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23914 return SWIG_Python_InitShadowInstance(args
);
23917 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
= 0;
23919 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
23920 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23921 wxMemoryDC
*result
= 0 ;
23924 PyObject
* obj0
= 0 ;
23925 char * kwnames
[] = {
23926 (char *) "bitmap", NULL
23929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23938 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23941 if (!wxPyCheckForApp()) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23954 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxDC
*arg1
= (wxDC
*) 0 ;
23957 wxMemoryDC
*result
= 0 ;
23960 PyObject
* obj0
= 0 ;
23961 char * kwnames
[] = {
23962 (char *) "oldDC", NULL
23965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) 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 '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23972 if (!wxPyCheckForApp()) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23985 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
= 0;
23987 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23988 wxBitmap
*arg2
= 0 ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "self",(char *) "bitmap", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24004 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24006 if (!SWIG_IsOK(res2
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 (arg1
)->SelectObject(*arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= SWIG_Py_Void();
24026 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24029 wxBitmap
*arg2
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char * kwnames
[] = {
24037 (char *) "self",(char *) "bmp", NULL
24040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24042 if (!SWIG_IsOK(res1
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24045 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24047 if (!SWIG_IsOK(res2
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24053 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_Py_Void();
24067 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24070 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24071 return SWIG_Py_Void();
24074 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24075 return SWIG_Python_InitShadowInstance(args
);
24078 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24079 PyObject
*resultobj
= 0;
24080 wxScreenDC
*result
= 0 ;
24082 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24084 if (!wxPyCheckForApp()) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (wxScreenDC
*)new wxScreenDC();
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24097 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24100 wxWindow
*arg2
= (wxWindow
*) 0 ;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 char * kwnames
[] = {
24109 (char *) "self",(char *) "window", NULL
24112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24117 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24119 if (!SWIG_IsOK(res2
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24122 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24138 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24141 wxRect
*arg2
= (wxRect
*) NULL
;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "rect", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24158 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24161 if (!SWIG_IsOK(res2
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24164 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24181 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24182 PyObject
*resultobj
= 0;
24183 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24187 PyObject
*swig_obj
[1] ;
24189 if (!args
) SWIG_fail
;
24190 swig_obj
[0] = args
;
24191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24195 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (bool)(arg1
)->EndDrawingOnTop();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24211 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24214 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24215 return SWIG_Py_Void();
24218 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24219 return SWIG_Python_InitShadowInstance(args
);
24222 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
= 0;
24224 wxWindow
*arg1
= (wxWindow
*) 0 ;
24225 wxWindowDC
*result
= 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char * kwnames
[] = {
24230 (char *) "win", NULL
24233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24235 if (!SWIG_IsOK(res1
)) {
24236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24240 if (!wxPyCheckForApp()) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24253 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24256 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24257 return SWIG_Py_Void();
24260 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24261 return SWIG_Python_InitShadowInstance(args
);
24264 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
= 0;
24266 wxWindow
*arg1
= (wxWindow
*) 0 ;
24267 wxClientDC
*result
= 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "win", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24282 if (!wxPyCheckForApp()) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (wxClientDC
*)new wxClientDC(arg1
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24295 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24298 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24299 return SWIG_Py_Void();
24302 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24303 return SWIG_Python_InitShadowInstance(args
);
24306 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxWindow
*arg1
= (wxWindow
*) 0 ;
24309 wxPaintDC
*result
= 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char * kwnames
[] = {
24314 (char *) "win", NULL
24317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24319 if (!SWIG_IsOK(res1
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24324 if (!wxPyCheckForApp()) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24337 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24341 return SWIG_Py_Void();
24344 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24345 return SWIG_Python_InitShadowInstance(args
);
24348 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24349 PyObject
*resultobj
= 0;
24350 wxDC
*arg1
= (wxDC
*) 0 ;
24351 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24352 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24353 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24354 wxBufferedDC
*result
= 0 ;
24362 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24369 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24370 if (!SWIG_IsOK(res2
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24376 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24379 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24380 if (!SWIG_IsOK(ecode3
)) {
24381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24383 arg3
= static_cast< int >(val3
);
24386 if (!wxPyCheckForApp()) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24399 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24400 PyObject
*resultobj
= 0;
24401 wxDC
*arg1
= (wxDC
*) 0 ;
24403 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24404 wxBufferedDC
*result
= 0 ;
24411 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24419 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24422 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24423 if (!SWIG_IsOK(ecode3
)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24426 arg3
= static_cast< int >(val3
);
24429 if (!wxPyCheckForApp()) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24442 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24446 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24448 if ((argc
>= 1) && (argc
<= 3)) {
24452 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24453 _v
= SWIG_CheckState(res
);
24455 if (!_v
) goto check_1
;
24457 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24461 if ((argc
>= 2) && (argc
<= 3)) {
24462 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24466 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24471 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24472 PyObject
*resultobj
= 0;
24473 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24476 PyObject
*swig_obj
[1] ;
24478 if (!args
) SWIG_fail
;
24479 swig_obj
[0] = args
;
24480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24481 if (!SWIG_IsOK(res1
)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24484 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= SWIG_Py_Void();
24499 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24500 PyObject
*resultobj
= 0;
24501 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24504 PyObject
*swig_obj
[1] ;
24506 if (!args
) SWIG_fail
;
24507 swig_obj
[0] = args
;
24508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24509 if (!SWIG_IsOK(res1
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24512 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_Py_Void();
24526 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24529 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24530 return SWIG_Py_Void();
24533 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24534 return SWIG_Python_InitShadowInstance(args
);
24537 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
= 0;
24539 wxWindow
*arg1
= (wxWindow
*) 0 ;
24540 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24541 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24542 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24543 wxBufferedPaintDC
*result
= 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 PyObject
* obj2
= 0 ;
24553 char * kwnames
[] = {
24554 (char *) "window",(char *) "buffer",(char *) "style", NULL
24557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24559 if (!SWIG_IsOK(res1
)) {
24560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24562 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24565 if (!SWIG_IsOK(res2
)) {
24566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24571 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24575 if (!SWIG_IsOK(ecode3
)) {
24576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24578 arg3
= static_cast< int >(val3
);
24581 if (!wxPyCheckForApp()) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24594 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24597 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24598 return SWIG_Py_Void();
24601 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24602 return SWIG_Python_InitShadowInstance(args
);
24605 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
= 0;
24607 wxWindow
*arg1
= (wxWindow
*) 0 ;
24608 wxAutoBufferedPaintDC
*result
= 0 ;
24611 PyObject
* obj0
= 0 ;
24612 char * kwnames
[] = {
24613 (char *) "win", NULL
24616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24635 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24638 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24639 return SWIG_Py_Void();
24642 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 return SWIG_Python_InitShadowInstance(args
);
24646 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxWindow
*arg1
= (wxWindow
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 char * kwnames
[] = {
24654 (char *) "window", NULL
24657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24659 if (!SWIG_IsOK(res1
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24662 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24678 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
= 0;
24682 wxMirrorDC
*result
= 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char * kwnames
[] = {
24690 (char *) "dc",(char *) "mirror", NULL
24693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24694 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24695 if (!SWIG_IsOK(res1
)) {
24696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24703 if (!SWIG_IsOK(ecode2
)) {
24704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24706 arg2
= static_cast< bool >(val2
);
24708 if (!wxPyCheckForApp()) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24721 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24724 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24725 return SWIG_Py_Void();
24728 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24729 return SWIG_Python_InitShadowInstance(args
);
24732 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
= 0;
24734 wxPrintData
*arg1
= 0 ;
24735 wxPostScriptDC
*result
= 0 ;
24738 PyObject
* obj0
= 0 ;
24739 char * kwnames
[] = {
24740 (char *) "printData", NULL
24743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24744 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24745 if (!SWIG_IsOK(res1
)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24751 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24753 if (!wxPyCheckForApp()) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24766 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24767 PyObject
*resultobj
= 0;
24768 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24769 wxPrintData
*result
= 0 ;
24772 PyObject
*swig_obj
[1] ;
24774 if (!args
) SWIG_fail
;
24775 swig_obj
[0] = args
;
24776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24777 if (!SWIG_IsOK(res1
)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24780 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24785 result
= (wxPrintData
*) &_result_ref
;
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24797 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
= 0;
24799 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24800 wxPrintData
*arg2
= 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char * kwnames
[] = {
24808 (char *) "self",(char *) "data", NULL
24811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24816 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24818 if (!SWIG_IsOK(res2
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24824 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_Py_Void();
24838 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= 0;
24843 PyObject
* obj0
= 0 ;
24844 char * kwnames
[] = {
24845 (char *) "ppi", NULL
24848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24850 if (!SWIG_IsOK(ecode1
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24853 arg1
= static_cast< int >(val1
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 wxPostScriptDC::SetResolution(arg1
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_Py_Void();
24867 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24868 PyObject
*resultobj
= 0;
24871 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (int)wxPostScriptDC::GetResolution();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_From_int(static_cast< int >(result
));
24885 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24888 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24889 return SWIG_Py_Void();
24892 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24893 return SWIG_Python_InitShadowInstance(args
);
24896 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
= 0;
24898 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24899 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24900 wxMetaFile
*result
= 0 ;
24901 bool temp1
= false ;
24902 PyObject
* obj0
= 0 ;
24903 char * kwnames
[] = {
24904 (char *) "filename", NULL
24907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24910 arg1
= wxString_in_helper(obj0
);
24911 if (arg1
== NULL
) SWIG_fail
;
24916 if (!wxPyCheckForApp()) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24937 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24940 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24941 return SWIG_Py_Void();
24944 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24945 return SWIG_Python_InitShadowInstance(args
);
24948 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
= 0;
24950 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24951 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24952 int arg2
= (int) 0 ;
24953 int arg3
= (int) 0 ;
24954 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24955 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24956 wxMetaFileDC
*result
= 0 ;
24957 bool temp1
= false ;
24962 bool temp4
= false ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 PyObject
* obj2
= 0 ;
24966 PyObject
* obj3
= 0 ;
24967 char * kwnames
[] = {
24968 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24974 arg1
= wxString_in_helper(obj0
);
24975 if (arg1
== NULL
) SWIG_fail
;
24980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24981 if (!SWIG_IsOK(ecode2
)) {
24982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24984 arg2
= static_cast< int >(val2
);
24987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24988 if (!SWIG_IsOK(ecode3
)) {
24989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24991 arg3
= static_cast< int >(val3
);
24995 arg4
= wxString_in_helper(obj3
);
24996 if (arg4
== NULL
) SWIG_fail
;
25001 if (!wxPyCheckForApp()) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25030 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25033 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25034 return SWIG_Py_Void();
25037 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25038 return SWIG_Python_InitShadowInstance(args
);
25041 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
= 0;
25043 wxPrintData
*arg1
= 0 ;
25044 wxPrinterDC
*result
= 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char * kwnames
[] = {
25049 (char *) "printData", NULL
25052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25053 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25054 if (!SWIG_IsOK(res1
)) {
25055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25060 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25062 if (!wxPyCheckForApp()) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25075 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25078 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25079 return SWIG_Py_Void();
25082 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25083 return SWIG_Python_InitShadowInstance(args
);
25086 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
= 0;
25088 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25089 wxGraphicsObject
*result
= 0 ;
25092 PyObject
* obj0
= 0 ;
25093 char * kwnames
[] = {
25094 (char *) "renderer", NULL
25097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25103 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25106 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25116 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25117 PyObject
*resultobj
= 0;
25118 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25121 PyObject
*swig_obj
[1] ;
25123 if (!args
) SWIG_fail
;
25124 swig_obj
[0] = args
;
25125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25129 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_Py_Void();
25142 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25143 PyObject
*resultobj
= 0;
25144 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25148 PyObject
*swig_obj
[1] ;
25150 if (!args
) SWIG_fail
;
25151 swig_obj
[0] = args
;
25152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25153 if (!SWIG_IsOK(res1
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25156 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25158 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25170 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25171 PyObject
*resultobj
= 0;
25172 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25173 wxGraphicsRenderer
*result
= 0 ;
25176 PyObject
*swig_obj
[1] ;
25178 if (!args
) SWIG_fail
;
25179 swig_obj
[0] = args
;
25180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25181 if (!SWIG_IsOK(res1
)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25184 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25186 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25196 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25199 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25200 return SWIG_Py_Void();
25203 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25204 return SWIG_Python_InitShadowInstance(args
);
25207 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25208 PyObject
*resultobj
= 0;
25209 wxGraphicsPen
*result
= 0 ;
25211 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25213 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25223 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25224 PyObject
*resultobj
= 0;
25225 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25228 PyObject
*swig_obj
[1] ;
25230 if (!args
) SWIG_fail
;
25231 swig_obj
[0] = args
;
25232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25233 if (!SWIG_IsOK(res1
)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25236 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_Py_Void();
25249 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25252 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25253 return SWIG_Py_Void();
25256 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25257 return SWIG_Python_InitShadowInstance(args
);
25260 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25261 PyObject
*resultobj
= 0;
25262 wxGraphicsBrush
*result
= 0 ;
25264 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25266 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25276 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25277 PyObject
*resultobj
= 0;
25278 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25281 PyObject
*swig_obj
[1] ;
25283 if (!args
) SWIG_fail
;
25284 swig_obj
[0] = args
;
25285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25286 if (!SWIG_IsOK(res1
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25289 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= SWIG_Py_Void();
25302 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25305 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25306 return SWIG_Py_Void();
25309 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 return SWIG_Python_InitShadowInstance(args
);
25313 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25314 PyObject
*resultobj
= 0;
25315 wxGraphicsFont
*result
= 0 ;
25317 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25319 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25329 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 PyObject
*resultobj
= 0;
25331 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25334 PyObject
*swig_obj
[1] ;
25336 if (!args
) SWIG_fail
;
25337 swig_obj
[0] = args
;
25338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25342 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25358 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25359 return SWIG_Py_Void();
25362 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25363 return SWIG_Python_InitShadowInstance(args
);
25366 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25367 PyObject
*resultobj
= 0;
25368 wxGraphicsMatrix
*result
= 0 ;
25370 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25372 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25382 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25387 PyObject
*swig_obj
[1] ;
25389 if (!args
) SWIG_fail
;
25390 swig_obj
[0] = args
;
25391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25395 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_Py_Void();
25408 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
= 0;
25410 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25411 wxGraphicsMatrix
*arg2
= 0 ;
25416 PyObject
* obj0
= 0 ;
25417 PyObject
* obj1
= 0 ;
25418 char * kwnames
[] = {
25419 (char *) "self",(char *) "t", NULL
25422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25427 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25429 if (!SWIG_IsOK(res2
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25435 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25437 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_Py_Void();
25447 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
= 0;
25449 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25450 wxGraphicsMatrix
*arg2
= 0 ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char * kwnames
[] = {
25458 (char *) "self",(char *) "t", NULL
25461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25463 if (!SWIG_IsOK(res1
)) {
25464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25466 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25468 if (!SWIG_IsOK(res2
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25474 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25476 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_Py_Void();
25486 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
= 0;
25488 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25489 wxDouble arg2
= (wxDouble
) 1.0 ;
25490 wxDouble arg3
= (wxDouble
) 0.0 ;
25491 wxDouble arg4
= (wxDouble
) 0.0 ;
25492 wxDouble arg5
= (wxDouble
) 1.0 ;
25493 wxDouble arg6
= (wxDouble
) 0.0 ;
25494 wxDouble arg7
= (wxDouble
) 0.0 ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 PyObject
* obj2
= 0 ;
25512 PyObject
* obj3
= 0 ;
25513 PyObject
* obj4
= 0 ;
25514 PyObject
* obj5
= 0 ;
25515 PyObject
* obj6
= 0 ;
25516 char * kwnames
[] = {
25517 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25522 if (!SWIG_IsOK(res1
)) {
25523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25525 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25527 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25528 if (!SWIG_IsOK(ecode2
)) {
25529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25531 arg2
= static_cast< wxDouble
>(val2
);
25534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25535 if (!SWIG_IsOK(ecode3
)) {
25536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25538 arg3
= static_cast< wxDouble
>(val3
);
25541 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25542 if (!SWIG_IsOK(ecode4
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25545 arg4
= static_cast< wxDouble
>(val4
);
25548 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25549 if (!SWIG_IsOK(ecode5
)) {
25550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25552 arg5
= static_cast< wxDouble
>(val5
);
25555 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25556 if (!SWIG_IsOK(ecode6
)) {
25557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25559 arg6
= static_cast< wxDouble
>(val6
);
25562 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25563 if (!SWIG_IsOK(ecode7
)) {
25564 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25566 arg7
= static_cast< wxDouble
>(val7
);
25569 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= SWIG_Py_Void();
25579 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25580 PyObject
*resultobj
= 0;
25581 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25584 PyObject
*swig_obj
[1] ;
25586 if (!args
) SWIG_fail
;
25587 swig_obj
[0] = args
;
25588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25589 if (!SWIG_IsOK(res1
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25592 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_Py_Void();
25604 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
= 0;
25606 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25607 wxGraphicsMatrix
*arg2
= 0 ;
25613 PyObject
* obj0
= 0 ;
25614 PyObject
* obj1
= 0 ;
25615 char * kwnames
[] = {
25616 (char *) "self",(char *) "t", NULL
25619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25624 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25626 if (!SWIG_IsOK(res2
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25632 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25634 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25646 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 PyObject
*resultobj
= 0;
25648 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25652 PyObject
*swig_obj
[1] ;
25654 if (!args
) SWIG_fail
;
25655 swig_obj
[0] = args
;
25656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25660 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25662 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25663 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25674 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
= 0;
25676 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25685 PyObject
* obj0
= 0 ;
25686 PyObject
* obj1
= 0 ;
25687 PyObject
* obj2
= 0 ;
25688 char * kwnames
[] = {
25689 (char *) "self",(char *) "dx",(char *) "dy", NULL
25692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25694 if (!SWIG_IsOK(res1
)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25697 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25698 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25699 if (!SWIG_IsOK(ecode2
)) {
25700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25702 arg2
= static_cast< wxDouble
>(val2
);
25703 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25704 if (!SWIG_IsOK(ecode3
)) {
25705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25707 arg3
= static_cast< wxDouble
>(val3
);
25709 (arg1
)->Translate(arg2
,arg3
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= SWIG_Py_Void();
25719 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
= 0;
25721 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 PyObject
* obj2
= 0 ;
25733 char * kwnames
[] = {
25734 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25742 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25743 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25744 if (!SWIG_IsOK(ecode2
)) {
25745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25747 arg2
= static_cast< wxDouble
>(val2
);
25748 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25749 if (!SWIG_IsOK(ecode3
)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25752 arg3
= static_cast< wxDouble
>(val3
);
25754 (arg1
)->Scale(arg2
,arg3
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_Py_Void();
25764 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
= 0;
25766 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char * kwnames
[] = {
25775 (char *) "self",(char *) "angle", NULL
25778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25780 if (!SWIG_IsOK(res1
)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25783 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25784 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25785 if (!SWIG_IsOK(ecode2
)) {
25786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25788 arg2
= static_cast< wxDouble
>(val2
);
25790 (arg1
)->Rotate(arg2
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_Py_Void();
25800 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
= 0;
25802 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25803 wxDouble
*arg2
= (wxDouble
*) 0 ;
25804 wxDouble
*arg3
= (wxDouble
*) 0 ;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 PyObject
* obj2
= 0 ;
25814 char * kwnames
[] = {
25815 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25820 if (!SWIG_IsOK(res1
)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25823 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25824 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25826 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25827 if (!SWIG_IsOK(ecode
)) {
25828 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25830 temp2
= static_cast< wxDouble
>(val
);
25832 res2
= SWIG_AddTmpMask(ecode
);
25834 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25836 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25837 if (!SWIG_IsOK(ecode
)) {
25838 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25840 temp3
= static_cast< wxDouble
>(val
);
25842 res3
= SWIG_AddTmpMask(ecode
);
25845 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_Py_Void();
25849 if (SWIG_IsTmpObj(res2
)) {
25850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25852 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25855 if (SWIG_IsTmpObj(res3
)) {
25856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25858 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25867 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
= 0;
25869 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25870 wxDouble
*arg2
= (wxDouble
*) 0 ;
25871 wxDouble
*arg3
= (wxDouble
*) 0 ;
25878 PyObject
* obj0
= 0 ;
25879 PyObject
* obj1
= 0 ;
25880 PyObject
* obj2
= 0 ;
25881 char * kwnames
[] = {
25882 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25890 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25891 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25893 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25894 if (!SWIG_IsOK(ecode
)) {
25895 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25897 temp2
= static_cast< wxDouble
>(val
);
25899 res2
= SWIG_AddTmpMask(ecode
);
25901 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25903 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25904 if (!SWIG_IsOK(ecode
)) {
25905 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25907 temp3
= static_cast< wxDouble
>(val
);
25909 res3
= SWIG_AddTmpMask(ecode
);
25912 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_Py_Void();
25916 if (SWIG_IsTmpObj(res2
)) {
25917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25919 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25922 if (SWIG_IsTmpObj(res3
)) {
25923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25934 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25935 PyObject
*resultobj
= 0;
25936 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25940 PyObject
*swig_obj
[1] ;
25942 if (!args
) SWIG_fail
;
25943 swig_obj
[0] = args
;
25944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25945 if (!SWIG_IsOK(res1
)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25948 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25950 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25960 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25963 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
25964 return SWIG_Py_Void();
25967 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25968 return SWIG_Python_InitShadowInstance(args
);
25971 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25972 PyObject
*resultobj
= 0;
25973 wxGraphicsPath
*result
= 0 ;
25975 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
25977 if (!wxPyCheckForApp()) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= (wxGraphicsPath
*)new wxGraphicsPath();
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
25990 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25991 PyObject
*resultobj
= 0;
25992 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25995 PyObject
*swig_obj
[1] ;
25997 if (!args
) SWIG_fail
;
25998 swig_obj
[0] = args
;
25999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26003 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 resultobj
= SWIG_Py_Void();
26016 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26017 PyObject
*resultobj
= 0;
26018 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26028 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26030 if (!SWIG_IsOK(res1
)) {
26031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26033 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26034 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26035 if (!SWIG_IsOK(ecode2
)) {
26036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26038 arg2
= static_cast< wxDouble
>(val2
);
26039 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26040 if (!SWIG_IsOK(ecode3
)) {
26041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26043 arg3
= static_cast< wxDouble
>(val3
);
26045 (arg1
)->MoveToPoint(arg2
,arg3
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_Py_Void();
26055 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26056 PyObject
*resultobj
= 0;
26057 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26058 wxPoint2D
*arg2
= 0 ;
26063 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26068 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26071 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26074 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_Py_Void();
26084 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26088 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26091 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26094 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26098 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26103 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26104 PyObject
*resultobj
= 0;
26105 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26115 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26117 if (!SWIG_IsOK(res1
)) {
26118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26120 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26121 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26122 if (!SWIG_IsOK(ecode2
)) {
26123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26125 arg2
= static_cast< wxDouble
>(val2
);
26126 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26127 if (!SWIG_IsOK(ecode3
)) {
26128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26130 arg3
= static_cast< wxDouble
>(val3
);
26132 (arg1
)->AddLineToPoint(arg2
,arg3
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_Py_Void();
26142 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26143 PyObject
*resultobj
= 0;
26144 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26145 wxPoint2D
*arg2
= 0 ;
26150 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26152 if (!SWIG_IsOK(res1
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26155 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26158 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26161 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_Py_Void();
26171 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26175 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26178 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26181 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26185 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26190 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26191 PyObject
*resultobj
= 0;
26192 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26214 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26216 if (!SWIG_IsOK(res1
)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26219 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26220 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26221 if (!SWIG_IsOK(ecode2
)) {
26222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26224 arg2
= static_cast< wxDouble
>(val2
);
26225 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26226 if (!SWIG_IsOK(ecode3
)) {
26227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26229 arg3
= static_cast< wxDouble
>(val3
);
26230 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26231 if (!SWIG_IsOK(ecode4
)) {
26232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26234 arg4
= static_cast< wxDouble
>(val4
);
26235 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26236 if (!SWIG_IsOK(ecode5
)) {
26237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26239 arg5
= static_cast< wxDouble
>(val5
);
26240 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26241 if (!SWIG_IsOK(ecode6
)) {
26242 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26244 arg6
= static_cast< wxDouble
>(val6
);
26245 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26246 if (!SWIG_IsOK(ecode7
)) {
26247 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26249 arg7
= static_cast< wxDouble
>(val7
);
26251 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= SWIG_Py_Void();
26261 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26262 PyObject
*resultobj
= 0;
26263 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26264 wxPoint2D
*arg2
= 0 ;
26265 wxPoint2D
*arg3
= 0 ;
26266 wxPoint2D
*arg4
= 0 ;
26273 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26275 if (!SWIG_IsOK(res1
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26278 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26281 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26285 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26289 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26292 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_Py_Void();
26302 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26306 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26309 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26312 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26316 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26321 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
= 0;
26323 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26324 wxGraphicsPath
*arg2
= 0 ;
26329 PyObject
* obj0
= 0 ;
26330 PyObject
* obj1
= 0 ;
26331 char * kwnames
[] = {
26332 (char *) "self",(char *) "path", NULL
26335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26340 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26342 if (!SWIG_IsOK(res2
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26348 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26350 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_Py_Void();
26360 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26361 PyObject
*resultobj
= 0;
26362 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26365 PyObject
*swig_obj
[1] ;
26367 if (!args
) SWIG_fail
;
26368 swig_obj
[0] = args
;
26369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26370 if (!SWIG_IsOK(res1
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26373 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26375 (arg1
)->CloseSubpath();
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_Py_Void();
26385 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26386 PyObject
*resultobj
= 0;
26387 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26391 PyObject
*swig_obj
[1] ;
26393 if (!args
) SWIG_fail
;
26394 swig_obj
[0] = args
;
26395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26399 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26401 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26411 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26412 PyObject
*resultobj
= 0;
26413 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26435 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26437 if (!SWIG_IsOK(res1
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26440 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26441 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26442 if (!SWIG_IsOK(ecode2
)) {
26443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26445 arg2
= static_cast< wxDouble
>(val2
);
26446 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26447 if (!SWIG_IsOK(ecode3
)) {
26448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26450 arg3
= static_cast< wxDouble
>(val3
);
26451 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26452 if (!SWIG_IsOK(ecode4
)) {
26453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26455 arg4
= static_cast< wxDouble
>(val4
);
26456 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26457 if (!SWIG_IsOK(ecode5
)) {
26458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26460 arg5
= static_cast< wxDouble
>(val5
);
26461 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26462 if (!SWIG_IsOK(ecode6
)) {
26463 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26465 arg6
= static_cast< wxDouble
>(val6
);
26466 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26467 if (!SWIG_IsOK(ecode7
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26470 arg7
= static_cast< bool >(val7
);
26472 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= SWIG_Py_Void();
26482 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26483 PyObject
*resultobj
= 0;
26484 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26485 wxPoint2D
*arg2
= 0 ;
26502 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26507 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26510 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26512 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26513 if (!SWIG_IsOK(ecode3
)) {
26514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26516 arg3
= static_cast< wxDouble
>(val3
);
26517 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26518 if (!SWIG_IsOK(ecode4
)) {
26519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26521 arg4
= static_cast< wxDouble
>(val4
);
26522 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26523 if (!SWIG_IsOK(ecode5
)) {
26524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26526 arg5
= static_cast< wxDouble
>(val5
);
26527 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26528 if (!SWIG_IsOK(ecode6
)) {
26529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26531 arg6
= static_cast< bool >(val6
);
26533 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= SWIG_Py_Void();
26543 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26547 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26550 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26553 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26557 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26562 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
= 0;
26564 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 PyObject
* obj2
= 0 ;
26582 PyObject
* obj3
= 0 ;
26583 PyObject
* obj4
= 0 ;
26584 char * kwnames
[] = {
26585 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26593 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26594 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26595 if (!SWIG_IsOK(ecode2
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26598 arg2
= static_cast< wxDouble
>(val2
);
26599 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26600 if (!SWIG_IsOK(ecode3
)) {
26601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26603 arg3
= static_cast< wxDouble
>(val3
);
26604 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26605 if (!SWIG_IsOK(ecode4
)) {
26606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26608 arg4
= static_cast< wxDouble
>(val4
);
26609 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26610 if (!SWIG_IsOK(ecode5
)) {
26611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26613 arg5
= static_cast< wxDouble
>(val5
);
26615 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_Py_Void();
26625 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
= 0;
26627 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26642 PyObject
* obj0
= 0 ;
26643 PyObject
* obj1
= 0 ;
26644 PyObject
* obj2
= 0 ;
26645 PyObject
* obj3
= 0 ;
26646 PyObject
* obj4
= 0 ;
26647 char * kwnames
[] = {
26648 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26653 if (!SWIG_IsOK(res1
)) {
26654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26656 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26657 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26658 if (!SWIG_IsOK(ecode2
)) {
26659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26661 arg2
= static_cast< wxDouble
>(val2
);
26662 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26663 if (!SWIG_IsOK(ecode3
)) {
26664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26666 arg3
= static_cast< wxDouble
>(val3
);
26667 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26668 if (!SWIG_IsOK(ecode4
)) {
26669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26671 arg4
= static_cast< wxDouble
>(val4
);
26672 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26673 if (!SWIG_IsOK(ecode5
)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26676 arg5
= static_cast< wxDouble
>(val5
);
26678 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= SWIG_Py_Void();
26688 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
= 0;
26690 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26704 PyObject
* obj2
= 0 ;
26705 PyObject
* obj3
= 0 ;
26706 char * kwnames
[] = {
26707 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26715 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26716 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26717 if (!SWIG_IsOK(ecode2
)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26720 arg2
= static_cast< wxDouble
>(val2
);
26721 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26722 if (!SWIG_IsOK(ecode3
)) {
26723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26725 arg3
= static_cast< wxDouble
>(val3
);
26726 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26727 if (!SWIG_IsOK(ecode4
)) {
26728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26730 arg4
= static_cast< wxDouble
>(val4
);
26732 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= SWIG_Py_Void();
26742 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
= 0;
26744 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 PyObject
* obj2
= 0 ;
26765 PyObject
* obj3
= 0 ;
26766 PyObject
* obj4
= 0 ;
26767 PyObject
* obj5
= 0 ;
26768 char * kwnames
[] = {
26769 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26777 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26778 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26779 if (!SWIG_IsOK(ecode2
)) {
26780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26782 arg2
= static_cast< wxDouble
>(val2
);
26783 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26784 if (!SWIG_IsOK(ecode3
)) {
26785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26787 arg3
= static_cast< wxDouble
>(val3
);
26788 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26789 if (!SWIG_IsOK(ecode4
)) {
26790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26792 arg4
= static_cast< wxDouble
>(val4
);
26793 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26794 if (!SWIG_IsOK(ecode5
)) {
26795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26797 arg5
= static_cast< wxDouble
>(val5
);
26798 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26799 if (!SWIG_IsOK(ecode6
)) {
26800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26802 arg6
= static_cast< wxDouble
>(val6
);
26804 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26807 resultobj
= SWIG_Py_Void();
26814 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
= 0;
26816 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 PyObject
* obj2
= 0 ;
26834 PyObject
* obj3
= 0 ;
26835 PyObject
* obj4
= 0 ;
26836 char * kwnames
[] = {
26837 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26842 if (!SWIG_IsOK(res1
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26845 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26846 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26847 if (!SWIG_IsOK(ecode2
)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26850 arg2
= static_cast< wxDouble
>(val2
);
26851 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26852 if (!SWIG_IsOK(ecode3
)) {
26853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26855 arg3
= static_cast< wxDouble
>(val3
);
26856 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26857 if (!SWIG_IsOK(ecode4
)) {
26858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26860 arg4
= static_cast< wxDouble
>(val4
);
26861 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26862 if (!SWIG_IsOK(ecode5
)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26865 arg5
= static_cast< wxDouble
>(val5
);
26867 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_Py_Void();
26877 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
= 0;
26879 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 PyObject
* obj2
= 0 ;
26900 PyObject
* obj3
= 0 ;
26901 PyObject
* obj4
= 0 ;
26902 PyObject
* obj5
= 0 ;
26903 char * kwnames
[] = {
26904 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26912 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26913 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26914 if (!SWIG_IsOK(ecode2
)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26917 arg2
= static_cast< wxDouble
>(val2
);
26918 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26919 if (!SWIG_IsOK(ecode3
)) {
26920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26922 arg3
= static_cast< wxDouble
>(val3
);
26923 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26924 if (!SWIG_IsOK(ecode4
)) {
26925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26927 arg4
= static_cast< wxDouble
>(val4
);
26928 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26929 if (!SWIG_IsOK(ecode5
)) {
26930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26932 arg5
= static_cast< wxDouble
>(val5
);
26933 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26934 if (!SWIG_IsOK(ecode6
)) {
26935 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26937 arg6
= static_cast< wxDouble
>(val6
);
26939 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= SWIG_Py_Void();
26949 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26950 PyObject
*resultobj
= 0;
26951 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26955 PyObject
*swig_obj
[1] ;
26957 if (!args
) SWIG_fail
;
26958 swig_obj
[0] = args
;
26959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26960 if (!SWIG_IsOK(res1
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26963 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26965 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26975 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
= 0;
26977 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26978 void *arg2
= (void *) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 char * kwnames
[] = {
26985 (char *) "self",(char *) "p", NULL
26988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26993 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26994 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
26995 if (!SWIG_IsOK(res2
)) {
26996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
26999 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27012 wxGraphicsMatrix
*arg2
= 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 char * kwnames
[] = {
27020 (char *) "self",(char *) "matrix", NULL
27023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27028 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27030 if (!SWIG_IsOK(res2
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27036 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27038 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_Py_Void();
27048 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27049 PyObject
*resultobj
= 0;
27050 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27051 wxRect2DDouble result
;
27054 PyObject
*swig_obj
[1] ;
27056 if (!args
) SWIG_fail
;
27057 swig_obj
[0] = args
;
27058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27062 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27064 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27074 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27075 PyObject
*resultobj
= 0;
27076 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27079 int arg4
= (int) wxODDEVEN_RULE
;
27090 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27095 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27096 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27097 if (!SWIG_IsOK(ecode2
)) {
27098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27100 arg2
= static_cast< wxDouble
>(val2
);
27101 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27102 if (!SWIG_IsOK(ecode3
)) {
27103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27105 arg3
= static_cast< wxDouble
>(val3
);
27107 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27108 if (!SWIG_IsOK(ecode4
)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27111 arg4
= static_cast< int >(val4
);
27114 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27126 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27127 PyObject
*resultobj
= 0;
27128 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27129 wxPoint2DDouble
*arg2
= 0 ;
27130 int arg3
= (int) wxODDEVEN_RULE
;
27139 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27144 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27145 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27146 if (!SWIG_IsOK(res2
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27152 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27154 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27155 if (!SWIG_IsOK(ecode3
)) {
27156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27158 arg3
= static_cast< int >(val3
);
27161 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27173 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27177 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27179 if ((argc
>= 2) && (argc
<= 3)) {
27182 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27183 _v
= SWIG_CheckState(res
);
27185 if (!_v
) goto check_1
;
27189 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27190 _v
= SWIG_CheckState(res
);
27193 if (!_v
) goto check_1
;
27195 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27199 if ((argc
>= 3) && (argc
<= 4)) {
27200 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27204 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27209 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27212 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27213 return SWIG_Py_Void();
27216 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27217 return SWIG_Python_InitShadowInstance(args
);
27220 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27221 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27226 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27227 PyObject
*pyobj
= 0;
27229 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27234 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27235 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27240 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27241 PyObject
*pyobj
= 0;
27243 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27248 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27249 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27254 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27255 PyObject
*pyobj
= 0;
27257 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27262 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27263 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27268 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27269 PyObject
*pyobj
= 0;
27271 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27276 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27277 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27282 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27283 PyObject
*pyobj
= 0;
27285 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27290 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27291 PyObject
*resultobj
= 0;
27292 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27295 PyObject
*swig_obj
[1] ;
27297 if (!args
) SWIG_fail
;
27298 swig_obj
[0] = args
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27303 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_Py_Void();
27316 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27317 PyObject
*resultobj
= 0;
27318 wxWindowDC
*arg1
= 0 ;
27319 wxGraphicsContext
*result
= 0 ;
27323 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27331 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27333 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27343 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27344 PyObject
*resultobj
= 0;
27345 wxWindow
*arg1
= (wxWindow
*) 0 ;
27346 wxGraphicsContext
*result
= 0 ;
27350 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27352 if (!SWIG_IsOK(res1
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27357 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27367 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27371 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27376 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27377 _v
= SWIG_CheckState(res
);
27379 if (!_v
) goto check_1
;
27380 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27385 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27389 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27394 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
= 0;
27396 void *arg1
= (void *) 0 ;
27397 wxGraphicsContext
*result
= 0 ;
27399 PyObject
* obj0
= 0 ;
27400 char * kwnames
[] = {
27401 (char *) "context", NULL
27404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27405 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27406 if (!SWIG_IsOK(res1
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27410 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27420 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27421 PyObject
*resultobj
= 0;
27422 void *arg1
= (void *) 0 ;
27423 wxGraphicsContext
*result
= 0 ;
27425 PyObject
* obj0
= 0 ;
27426 char * kwnames
[] = {
27427 (char *) "window", NULL
27430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27431 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27432 if (!SWIG_IsOK(res1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27436 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27446 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27447 PyObject
*resultobj
= 0;
27448 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27449 wxGraphicsPath result
;
27452 PyObject
*swig_obj
[1] ;
27454 if (!args
) SWIG_fail
;
27455 swig_obj
[0] = args
;
27456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27457 if (!SWIG_IsOK(res1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27460 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27462 result
= (arg1
)->CreatePath();
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27472 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
= 0;
27474 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27476 wxGraphicsPen result
;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 char * kwnames
[] = {
27484 (char *) "self",(char *) "pen", NULL
27487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27489 if (!SWIG_IsOK(res1
)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27492 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27494 if (!SWIG_IsOK(res2
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27500 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27502 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27512 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
= 0;
27514 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27515 wxBrush
*arg2
= 0 ;
27516 wxGraphicsBrush result
;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char * kwnames
[] = {
27524 (char *) "self",(char *) "brush", NULL
27527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27529 if (!SWIG_IsOK(res1
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27532 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27534 if (!SWIG_IsOK(res2
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27540 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27542 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27552 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
= 0;
27554 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27559 wxColour
*arg6
= 0 ;
27560 wxColour
*arg7
= 0 ;
27561 wxGraphicsBrush result
;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 PyObject
* obj2
= 0 ;
27577 PyObject
* obj3
= 0 ;
27578 PyObject
* obj4
= 0 ;
27579 PyObject
* obj5
= 0 ;
27580 PyObject
* obj6
= 0 ;
27581 char * kwnames
[] = {
27582 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27587 if (!SWIG_IsOK(res1
)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27590 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27591 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27592 if (!SWIG_IsOK(ecode2
)) {
27593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27595 arg2
= static_cast< wxDouble
>(val2
);
27596 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27597 if (!SWIG_IsOK(ecode3
)) {
27598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27600 arg3
= static_cast< wxDouble
>(val3
);
27601 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27602 if (!SWIG_IsOK(ecode4
)) {
27603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27605 arg4
= static_cast< wxDouble
>(val4
);
27606 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27607 if (!SWIG_IsOK(ecode5
)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27610 arg5
= static_cast< wxDouble
>(val5
);
27613 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27617 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27620 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27630 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
= 0;
27632 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27638 wxColour
*arg7
= 0 ;
27639 wxColour
*arg8
= 0 ;
27640 wxGraphicsBrush result
;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 PyObject
* obj2
= 0 ;
27658 PyObject
* obj3
= 0 ;
27659 PyObject
* obj4
= 0 ;
27660 PyObject
* obj5
= 0 ;
27661 PyObject
* obj6
= 0 ;
27662 PyObject
* obj7
= 0 ;
27663 char * kwnames
[] = {
27664 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27672 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27673 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', 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 '" "GraphicsContext_CreateRadialGradientBrush" "', 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 '" "GraphicsContext_CreateRadialGradientBrush" "', 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 '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27692 arg5
= static_cast< wxDouble
>(val5
);
27693 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27694 if (!SWIG_IsOK(ecode6
)) {
27695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27697 arg6
= static_cast< wxDouble
>(val6
);
27700 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27704 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27707 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27710 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27717 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27718 PyObject
*resultobj
= 0;
27719 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27721 wxColour
const &arg3_defvalue
= *wxBLACK
;
27722 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27723 wxGraphicsFont result
;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 PyObject
* obj2
= 0 ;
27732 char * kwnames
[] = {
27733 (char *) "self",(char *) "font",(char *) "col", NULL
27736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27741 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27743 if (!SWIG_IsOK(res2
)) {
27744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27749 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27753 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27757 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27767 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
= 0;
27769 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27770 wxDouble arg2
= (wxDouble
) 1.0 ;
27771 wxDouble arg3
= (wxDouble
) 0.0 ;
27772 wxDouble arg4
= (wxDouble
) 0.0 ;
27773 wxDouble arg5
= (wxDouble
) 1.0 ;
27774 wxDouble arg6
= (wxDouble
) 0.0 ;
27775 wxDouble arg7
= (wxDouble
) 0.0 ;
27776 wxGraphicsMatrix result
;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 PyObject
* obj2
= 0 ;
27794 PyObject
* obj3
= 0 ;
27795 PyObject
* obj4
= 0 ;
27796 PyObject
* obj5
= 0 ;
27797 PyObject
* obj6
= 0 ;
27798 char * kwnames
[] = {
27799 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27807 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27809 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27810 if (!SWIG_IsOK(ecode2
)) {
27811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27813 arg2
= static_cast< wxDouble
>(val2
);
27816 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27817 if (!SWIG_IsOK(ecode3
)) {
27818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27820 arg3
= static_cast< wxDouble
>(val3
);
27823 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27824 if (!SWIG_IsOK(ecode4
)) {
27825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27827 arg4
= static_cast< wxDouble
>(val4
);
27830 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27831 if (!SWIG_IsOK(ecode5
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27834 arg5
= static_cast< wxDouble
>(val5
);
27837 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27838 if (!SWIG_IsOK(ecode6
)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27841 arg6
= static_cast< wxDouble
>(val6
);
27844 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27845 if (!SWIG_IsOK(ecode7
)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27848 arg7
= static_cast< wxDouble
>(val7
);
27851 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27861 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27862 PyObject
*resultobj
= 0;
27863 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27866 PyObject
*swig_obj
[1] ;
27868 if (!args
) SWIG_fail
;
27869 swig_obj
[0] = args
;
27870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27874 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27876 (arg1
)->PushState();
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 resultobj
= SWIG_Py_Void();
27886 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27887 PyObject
*resultobj
= 0;
27888 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27891 PyObject
*swig_obj
[1] ;
27893 if (!args
) SWIG_fail
;
27894 swig_obj
[0] = args
;
27895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27896 if (!SWIG_IsOK(res1
)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27899 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27901 (arg1
)->PopState();
27902 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= SWIG_Py_Void();
27911 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
= 0;
27913 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27914 wxRegion
*arg2
= 0 ;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 char * kwnames
[] = {
27922 (char *) "self",(char *) "region", NULL
27925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27930 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27932 if (!SWIG_IsOK(res2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27938 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
27940 (arg1
)->Clip((wxRegion
const &)*arg2
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= SWIG_Py_Void();
27950 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
= 0;
27952 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27967 PyObject
* obj0
= 0 ;
27968 PyObject
* obj1
= 0 ;
27969 PyObject
* obj2
= 0 ;
27970 PyObject
* obj3
= 0 ;
27971 PyObject
* obj4
= 0 ;
27972 char * kwnames
[] = {
27973 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27978 if (!SWIG_IsOK(res1
)) {
27979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27981 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27982 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27983 if (!SWIG_IsOK(ecode2
)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
27986 arg2
= static_cast< wxDouble
>(val2
);
27987 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27988 if (!SWIG_IsOK(ecode3
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
27991 arg3
= static_cast< wxDouble
>(val3
);
27992 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27993 if (!SWIG_IsOK(ecode4
)) {
27994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
27996 arg4
= static_cast< wxDouble
>(val4
);
27997 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27998 if (!SWIG_IsOK(ecode5
)) {
27999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28001 arg5
= static_cast< wxDouble
>(val5
);
28003 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 resultobj
= SWIG_Py_Void();
28013 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28014 PyObject
*resultobj
= 0;
28015 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28018 PyObject
*swig_obj
[1] ;
28020 if (!args
) SWIG_fail
;
28021 swig_obj
[0] = args
;
28022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28026 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28028 (arg1
)->ResetClip();
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_Py_Void();
28038 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28039 PyObject
*resultobj
= 0;
28040 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28044 PyObject
*swig_obj
[1] ;
28046 if (!args
) SWIG_fail
;
28047 swig_obj
[0] = args
;
28048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28049 if (!SWIG_IsOK(res1
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28052 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28054 result
= (void *)(arg1
)->GetNativeContext();
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28064 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
= 0;
28066 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 PyObject
* obj2
= 0 ;
28078 char * kwnames
[] = {
28079 (char *) "self",(char *) "dx",(char *) "dy", NULL
28082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28084 if (!SWIG_IsOK(res1
)) {
28085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28087 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28088 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28089 if (!SWIG_IsOK(ecode2
)) {
28090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28092 arg2
= static_cast< wxDouble
>(val2
);
28093 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28094 if (!SWIG_IsOK(ecode3
)) {
28095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28097 arg3
= static_cast< wxDouble
>(val3
);
28099 (arg1
)->Translate(arg2
,arg3
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28102 resultobj
= SWIG_Py_Void();
28109 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
= 0;
28111 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 PyObject
* obj1
= 0 ;
28122 PyObject
* obj2
= 0 ;
28123 char * kwnames
[] = {
28124 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28132 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28133 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28134 if (!SWIG_IsOK(ecode2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28137 arg2
= static_cast< wxDouble
>(val2
);
28138 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28139 if (!SWIG_IsOK(ecode3
)) {
28140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28142 arg3
= static_cast< wxDouble
>(val3
);
28144 (arg1
)->Scale(arg2
,arg3
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= SWIG_Py_Void();
28154 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
= 0;
28156 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 PyObject
* obj1
= 0 ;
28164 char * kwnames
[] = {
28165 (char *) "self",(char *) "angle", NULL
28168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28173 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28174 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28175 if (!SWIG_IsOK(ecode2
)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28178 arg2
= static_cast< wxDouble
>(val2
);
28180 (arg1
)->Rotate(arg2
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_Py_Void();
28190 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
= 0;
28192 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28193 wxGraphicsMatrix
*arg2
= 0 ;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 char * kwnames
[] = {
28201 (char *) "self",(char *) "matrix", NULL
28204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28206 if (!SWIG_IsOK(res1
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28209 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28211 if (!SWIG_IsOK(res2
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28217 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28219 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_Py_Void();
28229 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
= 0;
28231 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28232 wxGraphicsMatrix
*arg2
= 0 ;
28237 PyObject
* obj0
= 0 ;
28238 PyObject
* obj1
= 0 ;
28239 char * kwnames
[] = {
28240 (char *) "self",(char *) "matrix", NULL
28243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28248 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28250 if (!SWIG_IsOK(res2
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28256 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28258 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= SWIG_Py_Void();
28268 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28269 PyObject
*resultobj
= 0;
28270 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28271 wxGraphicsMatrix result
;
28274 PyObject
*swig_obj
[1] ;
28276 if (!args
) SWIG_fail
;
28277 swig_obj
[0] = args
;
28278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28279 if (!SWIG_IsOK(res1
)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28282 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28284 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28294 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28295 PyObject
*resultobj
= 0;
28296 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28297 wxGraphicsPen
*arg2
= 0 ;
28303 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28308 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28309 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28310 if (!SWIG_IsOK(res2
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28316 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28318 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= SWIG_Py_Void();
28328 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28329 PyObject
*resultobj
= 0;
28330 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28337 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28339 if (!SWIG_IsOK(res1
)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28342 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28343 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28344 if (!SWIG_IsOK(res2
)) {
28345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28350 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28352 (arg1
)->SetPen((wxPen
const &)*arg2
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= SWIG_Py_Void();
28362 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28366 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28371 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28372 _v
= SWIG_CheckState(res
);
28374 if (!_v
) goto check_1
;
28375 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28380 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28384 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28389 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28390 PyObject
*resultobj
= 0;
28391 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28392 wxGraphicsBrush
*arg2
= 0 ;
28398 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28400 if (!SWIG_IsOK(res1
)) {
28401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28403 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28404 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28405 if (!SWIG_IsOK(res2
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28411 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28413 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_Py_Void();
28423 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28424 PyObject
*resultobj
= 0;
28425 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28426 wxBrush
*arg2
= 0 ;
28432 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28434 if (!SWIG_IsOK(res1
)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28437 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28438 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28439 if (!SWIG_IsOK(res2
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28445 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28447 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= SWIG_Py_Void();
28457 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28461 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28466 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28467 _v
= SWIG_CheckState(res
);
28469 if (!_v
) goto check_1
;
28470 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28475 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28479 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28484 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28485 PyObject
*resultobj
= 0;
28486 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28487 wxGraphicsFont
*arg2
= 0 ;
28493 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28495 if (!SWIG_IsOK(res1
)) {
28496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28498 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28499 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28500 if (!SWIG_IsOK(res2
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28506 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28508 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28511 resultobj
= SWIG_Py_Void();
28518 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28519 PyObject
*resultobj
= 0;
28520 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28522 wxColour
const &arg3_defvalue
= *wxBLACK
;
28523 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28530 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28532 if (!SWIG_IsOK(res1
)) {
28533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28535 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28536 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28537 if (!SWIG_IsOK(res2
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28543 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28547 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28551 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= SWIG_Py_Void();
28561 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28565 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28570 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28571 _v
= SWIG_CheckState(res
);
28573 if (!_v
) goto check_1
;
28574 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28578 if ((argc
>= 2) && (argc
<= 3)) {
28579 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28583 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28588 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
= 0;
28590 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28591 wxGraphicsPath
*arg2
= 0 ;
28596 PyObject
* obj0
= 0 ;
28597 PyObject
* obj1
= 0 ;
28598 char * kwnames
[] = {
28599 (char *) "self",(char *) "path", NULL
28602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28604 if (!SWIG_IsOK(res1
)) {
28605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28607 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28609 if (!SWIG_IsOK(res2
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28615 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28617 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_Py_Void();
28627 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
= 0;
28629 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28630 wxGraphicsPath
*arg2
= 0 ;
28631 int arg3
= (int) wxODDEVEN_RULE
;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 PyObject
* obj2
= 0 ;
28641 char * kwnames
[] = {
28642 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28650 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28652 if (!SWIG_IsOK(res2
)) {
28653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28658 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28661 if (!SWIG_IsOK(ecode3
)) {
28662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28664 arg3
= static_cast< int >(val3
);
28667 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= SWIG_Py_Void();
28677 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
= 0;
28679 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28680 wxGraphicsPath
*arg2
= 0 ;
28681 int arg3
= (int) wxODDEVEN_RULE
;
28688 PyObject
* obj0
= 0 ;
28689 PyObject
* obj1
= 0 ;
28690 PyObject
* obj2
= 0 ;
28691 char * kwnames
[] = {
28692 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28697 if (!SWIG_IsOK(res1
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28700 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28702 if (!SWIG_IsOK(res2
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28708 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28711 if (!SWIG_IsOK(ecode3
)) {
28712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28714 arg3
= static_cast< int >(val3
);
28717 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_Py_Void();
28727 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
= 0;
28729 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28730 wxString
*arg2
= 0 ;
28735 bool temp2
= false ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 PyObject
* obj2
= 0 ;
28743 PyObject
* obj3
= 0 ;
28744 char * kwnames
[] = {
28745 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28750 if (!SWIG_IsOK(res1
)) {
28751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28753 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28755 arg2
= wxString_in_helper(obj1
);
28756 if (arg2
== NULL
) SWIG_fail
;
28759 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28760 if (!SWIG_IsOK(ecode3
)) {
28761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28763 arg3
= static_cast< wxDouble
>(val3
);
28764 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28765 if (!SWIG_IsOK(ecode4
)) {
28766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28768 arg4
= static_cast< wxDouble
>(val4
);
28770 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_Py_Void();
28788 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
= 0;
28790 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28791 wxString
*arg2
= 0 ;
28797 bool temp2
= false ;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 PyObject
* obj2
= 0 ;
28807 PyObject
* obj3
= 0 ;
28808 PyObject
* obj4
= 0 ;
28809 char * kwnames
[] = {
28810 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
28813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28815 if (!SWIG_IsOK(res1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28818 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28820 arg2
= wxString_in_helper(obj1
);
28821 if (arg2
== NULL
) SWIG_fail
;
28824 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28825 if (!SWIG_IsOK(ecode3
)) {
28826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28828 arg3
= static_cast< wxDouble
>(val3
);
28829 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28830 if (!SWIG_IsOK(ecode4
)) {
28831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28833 arg4
= static_cast< wxDouble
>(val4
);
28834 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28835 if (!SWIG_IsOK(ecode5
)) {
28836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28838 arg5
= static_cast< wxDouble
>(val5
);
28840 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= SWIG_Py_Void();
28858 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
= 0;
28860 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28861 wxString
*arg2
= 0 ;
28862 wxDouble
*arg3
= (wxDouble
*) 0 ;
28863 wxDouble
*arg4
= (wxDouble
*) 0 ;
28864 wxDouble
*arg5
= (wxDouble
*) 0 ;
28865 wxDouble
*arg6
= (wxDouble
*) 0 ;
28868 bool temp2
= false ;
28870 int res3
= SWIG_TMPOBJ
;
28872 int res4
= SWIG_TMPOBJ
;
28874 int res5
= SWIG_TMPOBJ
;
28876 int res6
= SWIG_TMPOBJ
;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 char * kwnames
[] = {
28880 (char *) "self",(char *) "text", NULL
28887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28889 if (!SWIG_IsOK(res1
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28892 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28894 arg2
= wxString_in_helper(obj1
);
28895 if (arg2
== NULL
) SWIG_fail
;
28899 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_Py_Void();
28903 if (SWIG_IsTmpObj(res3
)) {
28904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28906 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28909 if (SWIG_IsTmpObj(res4
)) {
28910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28912 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28915 if (SWIG_IsTmpObj(res5
)) {
28916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
28918 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
28921 if (SWIG_IsTmpObj(res6
)) {
28922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
28924 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
28941 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
= 0;
28943 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28944 wxString
*arg2
= 0 ;
28945 PyObject
*result
= 0 ;
28948 bool temp2
= false ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 char * kwnames
[] = {
28952 (char *) "self",(char *) "text", NULL
28955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28960 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28962 arg2
= wxString_in_helper(obj1
);
28963 if (arg2
== NULL
) SWIG_fail
;
28967 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= result
;
28985 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28988 wxString
*arg2
= 0 ;
28989 wxArrayDouble result
;
28992 bool temp2
= false ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 char * kwnames
[] = {
28996 (char *) "self",(char *) "text", NULL
28999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29001 if (!SWIG_IsOK(res1
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29004 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29006 arg2
= wxString_in_helper(obj1
);
29007 if (arg2
== NULL
) SWIG_fail
;
29011 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= wxArrayDouble2PyList_helper(result
);
29031 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
= 0;
29033 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29034 wxBitmap
*arg2
= 0 ;
29051 PyObject
* obj0
= 0 ;
29052 PyObject
* obj1
= 0 ;
29053 PyObject
* obj2
= 0 ;
29054 PyObject
* obj3
= 0 ;
29055 PyObject
* obj4
= 0 ;
29056 PyObject
* obj5
= 0 ;
29057 char * kwnames
[] = {
29058 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29063 if (!SWIG_IsOK(res1
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29066 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29068 if (!SWIG_IsOK(res2
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29074 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29075 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29076 if (!SWIG_IsOK(ecode3
)) {
29077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29079 arg3
= static_cast< wxDouble
>(val3
);
29080 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29081 if (!SWIG_IsOK(ecode4
)) {
29082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29084 arg4
= static_cast< wxDouble
>(val4
);
29085 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29086 if (!SWIG_IsOK(ecode5
)) {
29087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29089 arg5
= static_cast< wxDouble
>(val5
);
29090 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29091 if (!SWIG_IsOK(ecode6
)) {
29092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29094 arg6
= static_cast< wxDouble
>(val6
);
29096 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= SWIG_Py_Void();
29106 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
= 0;
29108 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29126 PyObject
* obj0
= 0 ;
29127 PyObject
* obj1
= 0 ;
29128 PyObject
* obj2
= 0 ;
29129 PyObject
* obj3
= 0 ;
29130 PyObject
* obj4
= 0 ;
29131 PyObject
* obj5
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29141 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29143 if (!SWIG_IsOK(res2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29149 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29150 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29151 if (!SWIG_IsOK(ecode3
)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29154 arg3
= static_cast< wxDouble
>(val3
);
29155 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29156 if (!SWIG_IsOK(ecode4
)) {
29157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29159 arg4
= static_cast< wxDouble
>(val4
);
29160 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29161 if (!SWIG_IsOK(ecode5
)) {
29162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29164 arg5
= static_cast< wxDouble
>(val5
);
29165 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29166 if (!SWIG_IsOK(ecode6
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29169 arg6
= static_cast< wxDouble
>(val6
);
29171 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_Py_Void();
29181 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
= 0;
29183 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29198 PyObject
* obj0
= 0 ;
29199 PyObject
* obj1
= 0 ;
29200 PyObject
* obj2
= 0 ;
29201 PyObject
* obj3
= 0 ;
29202 PyObject
* obj4
= 0 ;
29203 char * kwnames
[] = {
29204 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29209 if (!SWIG_IsOK(res1
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29212 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29213 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29214 if (!SWIG_IsOK(ecode2
)) {
29215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29217 arg2
= static_cast< wxDouble
>(val2
);
29218 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29219 if (!SWIG_IsOK(ecode3
)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29222 arg3
= static_cast< wxDouble
>(val3
);
29223 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29224 if (!SWIG_IsOK(ecode4
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29227 arg4
= static_cast< wxDouble
>(val4
);
29228 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29229 if (!SWIG_IsOK(ecode5
)) {
29230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29232 arg5
= static_cast< wxDouble
>(val5
);
29234 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= SWIG_Py_Void();
29244 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= 0;
29246 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29248 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29251 PyObject
* obj0
= 0 ;
29252 PyObject
* obj1
= 0 ;
29253 char * kwnames
[] = {
29254 (char *) "self",(char *) "points", NULL
29257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29259 if (!SWIG_IsOK(res1
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29262 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29264 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29265 if (arg3
== NULL
) SWIG_fail
;
29268 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= SWIG_Py_Void();
29273 if (arg3
) delete [] arg3
;
29278 if (arg3
) delete [] arg3
;
29284 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
= 0;
29286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29287 PyObject
*arg2
= (PyObject
*) 0 ;
29288 PyObject
*arg3
= (PyObject
*) 0 ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 char * kwnames
[] = {
29295 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29300 if (!SWIG_IsOK(res1
)) {
29301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29303 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29307 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= SWIG_Py_Void();
29317 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
= 0;
29319 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29321 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29322 int arg4
= (int) wxODDEVEN_RULE
;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 PyObject
* obj2
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29339 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29341 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29342 if (arg3
== NULL
) SWIG_fail
;
29345 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29346 if (!SWIG_IsOK(ecode4
)) {
29347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29349 arg4
= static_cast< int >(val4
);
29352 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= SWIG_Py_Void();
29357 if (arg3
) delete [] arg3
;
29362 if (arg3
) delete [] arg3
;
29368 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
= 0;
29370 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29385 PyObject
* obj0
= 0 ;
29386 PyObject
* obj1
= 0 ;
29387 PyObject
* obj2
= 0 ;
29388 PyObject
* obj3
= 0 ;
29389 PyObject
* obj4
= 0 ;
29390 char * kwnames
[] = {
29391 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29399 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29400 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29401 if (!SWIG_IsOK(ecode2
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29404 arg2
= static_cast< wxDouble
>(val2
);
29405 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29406 if (!SWIG_IsOK(ecode3
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29409 arg3
= static_cast< wxDouble
>(val3
);
29410 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29411 if (!SWIG_IsOK(ecode4
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29414 arg4
= static_cast< wxDouble
>(val4
);
29415 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29416 if (!SWIG_IsOK(ecode5
)) {
29417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29419 arg5
= static_cast< wxDouble
>(val5
);
29421 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_Py_Void();
29431 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
= 0;
29433 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29448 PyObject
* obj0
= 0 ;
29449 PyObject
* obj1
= 0 ;
29450 PyObject
* obj2
= 0 ;
29451 PyObject
* obj3
= 0 ;
29452 PyObject
* obj4
= 0 ;
29453 char * kwnames
[] = {
29454 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29459 if (!SWIG_IsOK(res1
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29462 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29463 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29464 if (!SWIG_IsOK(ecode2
)) {
29465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29467 arg2
= static_cast< wxDouble
>(val2
);
29468 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29469 if (!SWIG_IsOK(ecode3
)) {
29470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29472 arg3
= static_cast< wxDouble
>(val3
);
29473 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29474 if (!SWIG_IsOK(ecode4
)) {
29475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29477 arg4
= static_cast< wxDouble
>(val4
);
29478 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29479 if (!SWIG_IsOK(ecode5
)) {
29480 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29482 arg5
= static_cast< wxDouble
>(val5
);
29484 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29487 resultobj
= SWIG_Py_Void();
29494 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
= 0;
29496 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj1
= 0 ;
29516 PyObject
* obj2
= 0 ;
29517 PyObject
* obj3
= 0 ;
29518 PyObject
* obj4
= 0 ;
29519 PyObject
* obj5
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29529 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29530 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29531 if (!SWIG_IsOK(ecode2
)) {
29532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29534 arg2
= static_cast< wxDouble
>(val2
);
29535 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29536 if (!SWIG_IsOK(ecode3
)) {
29537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29539 arg3
= static_cast< wxDouble
>(val3
);
29540 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29541 if (!SWIG_IsOK(ecode4
)) {
29542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29544 arg4
= static_cast< wxDouble
>(val4
);
29545 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29546 if (!SWIG_IsOK(ecode5
)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29549 arg5
= static_cast< wxDouble
>(val5
);
29550 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29551 if (!SWIG_IsOK(ecode6
)) {
29552 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29554 arg6
= static_cast< wxDouble
>(val6
);
29556 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= SWIG_Py_Void();
29566 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29567 PyObject
*resultobj
= 0;
29568 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29572 PyObject
*swig_obj
[1] ;
29574 if (!args
) SWIG_fail
;
29575 swig_obj
[0] = args
;
29576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29580 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29582 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29583 if (PyErr_Occurred()) SWIG_fail
;
29586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29594 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29597 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29598 return SWIG_Py_Void();
29601 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29602 PyObject
*resultobj
= 0;
29603 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29606 PyObject
*swig_obj
[1] ;
29608 if (!args
) SWIG_fail
;
29609 swig_obj
[0] = args
;
29610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29611 if (!SWIG_IsOK(res1
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29614 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_Py_Void();
29627 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxGraphicsRenderer
*result
= 0 ;
29631 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29633 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29643 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29644 PyObject
*resultobj
= 0;
29645 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29646 wxWindowDC
*arg2
= 0 ;
29647 wxGraphicsContext
*result
= 0 ;
29653 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29655 if (!SWIG_IsOK(res1
)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29658 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29659 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29660 if (!SWIG_IsOK(res2
)) {
29661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29666 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29668 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29678 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29679 PyObject
*resultobj
= 0;
29680 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29681 wxWindow
*arg2
= (wxWindow
*) 0 ;
29682 wxGraphicsContext
*result
= 0 ;
29688 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29690 if (!SWIG_IsOK(res1
)) {
29691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29693 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29694 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29695 if (!SWIG_IsOK(res2
)) {
29696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29698 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29700 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29710 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29714 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29719 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29720 _v
= SWIG_CheckState(res
);
29722 if (!_v
) goto check_1
;
29723 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29728 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29732 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29737 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
= 0;
29739 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29740 void *arg2
= (void *) 0 ;
29741 wxGraphicsContext
*result
= 0 ;
29745 PyObject
* obj0
= 0 ;
29746 PyObject
* obj1
= 0 ;
29747 char * kwnames
[] = {
29748 (char *) "self",(char *) "context", NULL
29751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29753 if (!SWIG_IsOK(res1
)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29756 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29757 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29758 if (!SWIG_IsOK(res2
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29762 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29772 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29773 PyObject
*resultobj
= 0;
29774 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29775 void *arg2
= (void *) 0 ;
29776 wxGraphicsContext
*result
= 0 ;
29780 PyObject
* obj0
= 0 ;
29781 PyObject
* obj1
= 0 ;
29782 char * kwnames
[] = {
29783 (char *) "self",(char *) "window", NULL
29786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29788 if (!SWIG_IsOK(res1
)) {
29789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29791 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29792 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29793 if (!SWIG_IsOK(res2
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29797 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29807 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29808 PyObject
*resultobj
= 0;
29809 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29810 wxGraphicsPath result
;
29813 PyObject
*swig_obj
[1] ;
29815 if (!args
) SWIG_fail
;
29816 swig_obj
[0] = args
;
29817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29818 if (!SWIG_IsOK(res1
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29821 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29823 result
= (arg1
)->CreatePath();
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29833 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
= 0;
29835 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29836 wxDouble arg2
= (wxDouble
) 1.0 ;
29837 wxDouble arg3
= (wxDouble
) 0.0 ;
29838 wxDouble arg4
= (wxDouble
) 0.0 ;
29839 wxDouble arg5
= (wxDouble
) 1.0 ;
29840 wxDouble arg6
= (wxDouble
) 0.0 ;
29841 wxDouble arg7
= (wxDouble
) 0.0 ;
29842 wxGraphicsMatrix result
;
29857 PyObject
* obj0
= 0 ;
29858 PyObject
* obj1
= 0 ;
29859 PyObject
* obj2
= 0 ;
29860 PyObject
* obj3
= 0 ;
29861 PyObject
* obj4
= 0 ;
29862 PyObject
* obj5
= 0 ;
29863 PyObject
* obj6
= 0 ;
29864 char * kwnames
[] = {
29865 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29870 if (!SWIG_IsOK(res1
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29873 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29875 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29876 if (!SWIG_IsOK(ecode2
)) {
29877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29879 arg2
= static_cast< wxDouble
>(val2
);
29882 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29883 if (!SWIG_IsOK(ecode3
)) {
29884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29886 arg3
= static_cast< wxDouble
>(val3
);
29889 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29890 if (!SWIG_IsOK(ecode4
)) {
29891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29893 arg4
= static_cast< wxDouble
>(val4
);
29896 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29897 if (!SWIG_IsOK(ecode5
)) {
29898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29900 arg5
= static_cast< wxDouble
>(val5
);
29903 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29904 if (!SWIG_IsOK(ecode6
)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29907 arg6
= static_cast< wxDouble
>(val6
);
29910 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29911 if (!SWIG_IsOK(ecode7
)) {
29912 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29914 arg7
= static_cast< wxDouble
>(val7
);
29917 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29927 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
= 0;
29929 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29931 wxGraphicsPen result
;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 char * kwnames
[] = {
29939 (char *) "self",(char *) "pen", NULL
29942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29944 if (!SWIG_IsOK(res1
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29947 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29949 if (!SWIG_IsOK(res2
)) {
29950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29955 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29957 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29967 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
= 0;
29969 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29970 wxBrush
*arg2
= 0 ;
29971 wxGraphicsBrush result
;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 char * kwnames
[] = {
29979 (char *) "self",(char *) "brush", NULL
29982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29984 if (!SWIG_IsOK(res1
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29987 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29989 if (!SWIG_IsOK(res2
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29995 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29997 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30007 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
= 0;
30009 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30014 wxColour
*arg6
= 0 ;
30015 wxColour
*arg7
= 0 ;
30016 wxGraphicsBrush result
;
30029 PyObject
* obj0
= 0 ;
30030 PyObject
* obj1
= 0 ;
30031 PyObject
* obj2
= 0 ;
30032 PyObject
* obj3
= 0 ;
30033 PyObject
* obj4
= 0 ;
30034 PyObject
* obj5
= 0 ;
30035 PyObject
* obj6
= 0 ;
30036 char * kwnames
[] = {
30037 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30042 if (!SWIG_IsOK(res1
)) {
30043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30045 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30046 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30047 if (!SWIG_IsOK(ecode2
)) {
30048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30050 arg2
= static_cast< wxDouble
>(val2
);
30051 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30052 if (!SWIG_IsOK(ecode3
)) {
30053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30055 arg3
= static_cast< wxDouble
>(val3
);
30056 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30057 if (!SWIG_IsOK(ecode4
)) {
30058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30060 arg4
= static_cast< wxDouble
>(val4
);
30061 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30062 if (!SWIG_IsOK(ecode5
)) {
30063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30065 arg5
= static_cast< wxDouble
>(val5
);
30068 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30072 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30075 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30085 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
= 0;
30087 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30093 wxColour
*arg7
= 0 ;
30094 wxColour
*arg8
= 0 ;
30095 wxGraphicsBrush result
;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 PyObject
* obj2
= 0 ;
30113 PyObject
* obj3
= 0 ;
30114 PyObject
* obj4
= 0 ;
30115 PyObject
* obj5
= 0 ;
30116 PyObject
* obj6
= 0 ;
30117 PyObject
* obj7
= 0 ;
30118 char * kwnames
[] = {
30119 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30124 if (!SWIG_IsOK(res1
)) {
30125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30127 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30128 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30129 if (!SWIG_IsOK(ecode2
)) {
30130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30132 arg2
= static_cast< wxDouble
>(val2
);
30133 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30134 if (!SWIG_IsOK(ecode3
)) {
30135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30137 arg3
= static_cast< wxDouble
>(val3
);
30138 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30139 if (!SWIG_IsOK(ecode4
)) {
30140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30142 arg4
= static_cast< wxDouble
>(val4
);
30143 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30144 if (!SWIG_IsOK(ecode5
)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30147 arg5
= static_cast< wxDouble
>(val5
);
30148 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30149 if (!SWIG_IsOK(ecode6
)) {
30150 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30152 arg6
= static_cast< wxDouble
>(val6
);
30155 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30159 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30162 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30172 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
= 0;
30174 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30176 wxColour
const &arg3_defvalue
= *wxBLACK
;
30177 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30178 wxGraphicsFont result
;
30184 PyObject
* obj0
= 0 ;
30185 PyObject
* obj1
= 0 ;
30186 PyObject
* obj2
= 0 ;
30187 char * kwnames
[] = {
30188 (char *) "self",(char *) "font",(char *) "col", NULL
30191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30193 if (!SWIG_IsOK(res1
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30196 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30198 if (!SWIG_IsOK(res2
)) {
30199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30204 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30208 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30212 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30222 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30225 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30226 return SWIG_Py_Void();
30229 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
= 0;
30231 wxWindowDC
*arg1
= 0 ;
30232 wxGCDC
*result
= 0 ;
30235 PyObject
* obj0
= 0 ;
30236 char * kwnames
[] = {
30237 (char *) "dc", NULL
30240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30241 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30242 if (!SWIG_IsOK(res1
)) {
30243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30248 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30250 if (!wxPyCheckForApp()) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30263 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30264 PyObject
*resultobj
= 0;
30265 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30268 PyObject
*swig_obj
[1] ;
30270 if (!args
) SWIG_fail
;
30271 swig_obj
[0] = args
;
30272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30273 if (!SWIG_IsOK(res1
)) {
30274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30276 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= SWIG_Py_Void();
30289 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30290 PyObject
*resultobj
= 0;
30291 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30292 wxGraphicsContext
*result
= 0 ;
30295 PyObject
*swig_obj
[1] ;
30297 if (!args
) SWIG_fail
;
30298 swig_obj
[0] = args
;
30299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30300 if (!SWIG_IsOK(res1
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30303 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30305 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30315 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
= 0;
30317 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30318 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 char * kwnames
[] = {
30326 (char *) "self",(char *) "ctx", NULL
30329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30331 if (!SWIG_IsOK(res1
)) {
30332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30334 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30336 if (!SWIG_IsOK(res2
)) {
30337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30339 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30341 (arg1
)->SetGraphicsContext(arg2
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= SWIG_Py_Void();
30351 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30354 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30355 return SWIG_Py_Void();
30358 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30359 return SWIG_Python_InitShadowInstance(args
);
30362 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 PyObject
*resultobj
= 0;
30364 wxOverlay
*result
= 0 ;
30366 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (wxOverlay
*)new wxOverlay();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30380 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30381 PyObject
*resultobj
= 0;
30382 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30385 PyObject
*swig_obj
[1] ;
30387 if (!args
) SWIG_fail
;
30388 swig_obj
[0] = args
;
30389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30393 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= SWIG_Py_Void();
30408 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30409 PyObject
*resultobj
= 0;
30410 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30413 PyObject
*swig_obj
[1] ;
30415 if (!args
) SWIG_fail
;
30416 swig_obj
[0] = args
;
30417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30421 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= SWIG_Py_Void();
30435 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30438 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30439 return SWIG_Py_Void();
30442 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30443 return SWIG_Python_InitShadowInstance(args
);
30446 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30447 PyObject
*resultobj
= 0;
30448 wxOverlay
*arg1
= 0 ;
30449 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30454 wxDCOverlay
*result
= 0 ;
30468 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30470 if (!SWIG_IsOK(res1
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30476 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30477 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30478 if (!SWIG_IsOK(res2
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30481 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30482 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30483 if (!SWIG_IsOK(ecode3
)) {
30484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30486 arg3
= static_cast< int >(val3
);
30487 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30488 if (!SWIG_IsOK(ecode4
)) {
30489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30491 arg4
= static_cast< int >(val4
);
30492 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30493 if (!SWIG_IsOK(ecode5
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30496 arg5
= static_cast< int >(val5
);
30497 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30498 if (!SWIG_IsOK(ecode6
)) {
30499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30501 arg6
= static_cast< int >(val6
);
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30515 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30516 PyObject
*resultobj
= 0;
30517 wxOverlay
*arg1
= 0 ;
30518 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30519 wxDCOverlay
*result
= 0 ;
30525 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30527 if (!SWIG_IsOK(res1
)) {
30528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30533 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30534 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30535 if (!SWIG_IsOK(res2
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30538 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30552 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30556 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30559 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30562 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30566 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30571 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30572 PyObject
*resultobj
= 0;
30573 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30576 PyObject
*swig_obj
[1] ;
30578 if (!args
) SWIG_fail
;
30579 swig_obj
[0] = args
;
30580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30581 if (!SWIG_IsOK(res1
)) {
30582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30584 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 resultobj
= SWIG_Py_Void();
30599 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30600 PyObject
*resultobj
= 0;
30601 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30604 PyObject
*swig_obj
[1] ;
30606 if (!args
) SWIG_fail
;
30607 swig_obj
[0] = args
;
30608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30609 if (!SWIG_IsOK(res1
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30612 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_Py_Void();
30626 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30629 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30630 return SWIG_Py_Void();
30633 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30634 return SWIG_Python_InitShadowInstance(args
);
30637 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
= 0;
30641 int arg3
= (int) true ;
30642 int arg4
= (int) 1 ;
30643 wxImageList
*result
= 0 ;
30652 PyObject
* obj0
= 0 ;
30653 PyObject
* obj1
= 0 ;
30654 PyObject
* obj2
= 0 ;
30655 PyObject
* obj3
= 0 ;
30656 char * kwnames
[] = {
30657 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30661 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30662 if (!SWIG_IsOK(ecode1
)) {
30663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30665 arg1
= static_cast< int >(val1
);
30666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30667 if (!SWIG_IsOK(ecode2
)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30670 arg2
= static_cast< int >(val2
);
30672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30673 if (!SWIG_IsOK(ecode3
)) {
30674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30676 arg3
= static_cast< int >(val3
);
30679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30680 if (!SWIG_IsOK(ecode4
)) {
30681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30683 arg4
= static_cast< int >(val4
);
30686 if (!wxPyCheckForApp()) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30699 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30700 PyObject
*resultobj
= 0;
30701 wxImageList
*arg1
= (wxImageList
*) 0 ;
30704 PyObject
*swig_obj
[1] ;
30706 if (!args
) SWIG_fail
;
30707 swig_obj
[0] = args
;
30708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30712 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_Py_Void();
30727 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
= 0;
30729 wxImageList
*arg1
= (wxImageList
*) 0 ;
30730 wxBitmap
*arg2
= 0 ;
30731 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30732 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30740 PyObject
* obj0
= 0 ;
30741 PyObject
* obj1
= 0 ;
30742 PyObject
* obj2
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30752 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30754 if (!SWIG_IsOK(res2
)) {
30755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30760 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30762 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30763 if (!SWIG_IsOK(res3
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30769 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= SWIG_From_int(static_cast< int >(result
));
30784 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
= 0;
30786 wxImageList
*arg1
= (wxImageList
*) 0 ;
30787 wxBitmap
*arg2
= 0 ;
30788 wxColour
*arg3
= 0 ;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 PyObject
* obj2
= 0 ;
30798 char * kwnames
[] = {
30799 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30804 if (!SWIG_IsOK(res1
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30807 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30809 if (!SWIG_IsOK(res2
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30815 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30818 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= SWIG_From_int(static_cast< int >(result
));
30833 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
= 0;
30835 wxImageList
*arg1
= (wxImageList
*) 0 ;
30842 PyObject
* obj0
= 0 ;
30843 PyObject
* obj1
= 0 ;
30844 char * kwnames
[] = {
30845 (char *) "self",(char *) "icon", NULL
30848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30850 if (!SWIG_IsOK(res1
)) {
30851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30853 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30855 if (!SWIG_IsOK(res2
)) {
30856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30861 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_From_int(static_cast< int >(result
));
30875 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
= 0;
30877 wxImageList
*arg1
= (wxImageList
*) 0 ;
30879 SwigValueWrapper
<wxBitmap
> result
;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 char * kwnames
[] = {
30887 (char *) "self",(char *) "index", NULL
30890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30892 if (!SWIG_IsOK(res1
)) {
30893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
30895 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30897 if (!SWIG_IsOK(ecode2
)) {
30898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
30900 arg2
= static_cast< int >(val2
);
30902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30903 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30907 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
30914 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30915 PyObject
*resultobj
= 0;
30916 wxImageList
*arg1
= (wxImageList
*) 0 ;
30923 PyObject
* obj0
= 0 ;
30924 PyObject
* obj1
= 0 ;
30925 char * kwnames
[] = {
30926 (char *) "self",(char *) "index", NULL
30929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
30934 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30936 if (!SWIG_IsOK(ecode2
)) {
30937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
30939 arg2
= static_cast< int >(val2
);
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30942 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
30943 wxPyEndAllowThreads(__tstate
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30946 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
30953 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30954 PyObject
*resultobj
= 0;
30955 wxImageList
*arg1
= (wxImageList
*) 0 ;
30957 wxBitmap
*arg3
= 0 ;
30958 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
30959 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 PyObject
* obj2
= 0 ;
30972 PyObject
* obj3
= 0 ;
30973 char * kwnames
[] = {
30974 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
30977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30979 if (!SWIG_IsOK(res1
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
30982 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30984 if (!SWIG_IsOK(ecode2
)) {
30985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
30987 arg2
= static_cast< int >(val2
);
30988 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30989 if (!SWIG_IsOK(res3
)) {
30990 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30995 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30997 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30998 if (!SWIG_IsOK(res4
)) {
30999 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31004 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31021 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
= 0;
31023 wxImageList
*arg1
= (wxImageList
*) 0 ;
31028 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31029 bool arg7
= (bool) (bool)false ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 PyObject
* obj2
= 0 ;
31048 PyObject
* obj3
= 0 ;
31049 PyObject
* obj4
= 0 ;
31050 PyObject
* obj5
= 0 ;
31051 PyObject
* obj6
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31061 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31066 arg2
= static_cast< int >(val2
);
31067 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31068 if (!SWIG_IsOK(res3
)) {
31069 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31074 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31076 if (!SWIG_IsOK(ecode4
)) {
31077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31079 arg4
= static_cast< int >(val4
);
31080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31081 if (!SWIG_IsOK(ecode5
)) {
31082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31084 arg5
= static_cast< int >(val5
);
31086 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31087 if (!SWIG_IsOK(ecode6
)) {
31088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31090 arg6
= static_cast< int >(val6
);
31093 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31094 if (!SWIG_IsOK(ecode7
)) {
31095 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31097 arg7
= static_cast< bool >(val7
);
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31114 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31115 PyObject
*resultobj
= 0;
31116 wxImageList
*arg1
= (wxImageList
*) 0 ;
31120 PyObject
*swig_obj
[1] ;
31122 if (!args
) SWIG_fail
;
31123 swig_obj
[0] = args
;
31124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31125 if (!SWIG_IsOK(res1
)) {
31126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31128 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= (int)(arg1
)->GetImageCount();
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_From_int(static_cast< int >(result
));
31142 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
= 0;
31144 wxImageList
*arg1
= (wxImageList
*) 0 ;
31151 PyObject
* obj0
= 0 ;
31152 PyObject
* obj1
= 0 ;
31153 char * kwnames
[] = {
31154 (char *) "self",(char *) "index", NULL
31157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31159 if (!SWIG_IsOK(res1
)) {
31160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31162 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31164 if (!SWIG_IsOK(ecode2
)) {
31165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31167 arg2
= static_cast< int >(val2
);
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (bool)(arg1
)->Remove(arg2
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31183 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31184 PyObject
*resultobj
= 0;
31185 wxImageList
*arg1
= (wxImageList
*) 0 ;
31189 PyObject
*swig_obj
[1] ;
31191 if (!args
) SWIG_fail
;
31192 swig_obj
[0] = args
;
31193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31194 if (!SWIG_IsOK(res1
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31197 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31200 result
= (bool)(arg1
)->RemoveAll();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31213 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= 0;
31215 wxImageList
*arg1
= (wxImageList
*) 0 ;
31224 int res3
= SWIG_TMPOBJ
;
31226 int res4
= SWIG_TMPOBJ
;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 char * kwnames
[] = {
31230 (char *) "self",(char *) "index", NULL
31235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31237 if (!SWIG_IsOK(res1
)) {
31238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31240 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31242 if (!SWIG_IsOK(ecode2
)) {
31243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31245 arg2
= static_cast< int >(val2
);
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31249 wxPyEndAllowThreads(__tstate
);
31250 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= SWIG_Py_Void();
31253 if (SWIG_IsTmpObj(res3
)) {
31254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31256 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31259 if (SWIG_IsTmpObj(res4
)) {
31260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31262 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31271 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31274 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31275 return SWIG_Py_Void();
31278 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31279 return SWIG_Python_InitShadowInstance(args
);
31282 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31283 PyObject
*resultobj
= 0;
31284 wxStockGDI
*result
= 0 ;
31286 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 result
= (wxStockGDI
*)new wxStockGDI();
31290 wxPyEndAllowThreads(__tstate
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31300 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31301 PyObject
*resultobj
= 0;
31302 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31305 PyObject
*swig_obj
[1] ;
31307 if (!args
) SWIG_fail
;
31308 swig_obj
[0] = args
;
31309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31310 if (!SWIG_IsOK(res1
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31313 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= SWIG_Py_Void();
31328 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31329 PyObject
*resultobj
= 0;
31331 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31334 wxStockGDI::DeleteAll();
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= SWIG_Py_Void();
31345 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31346 PyObject
*resultobj
= 0;
31347 wxStockGDI
*result
= 0 ;
31349 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31353 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31354 result
= (wxStockGDI
*) &_result_ref
;
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31366 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
= 0;
31368 wxStockGDI::Item arg1
;
31369 wxBrush
*result
= 0 ;
31372 PyObject
* obj0
= 0 ;
31373 char * kwnames
[] = {
31374 (char *) "item", NULL
31377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31379 if (!SWIG_IsOK(ecode1
)) {
31380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31382 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31396 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
= 0;
31398 wxStockGDI::Item arg1
;
31399 wxColour
*result
= 0 ;
31402 PyObject
* obj0
= 0 ;
31403 char * kwnames
[] = {
31404 (char *) "item", NULL
31407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31408 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31409 if (!SWIG_IsOK(ecode1
)) {
31410 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31412 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31426 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
= 0;
31428 wxStockGDI::Item arg1
;
31429 wxCursor
*result
= 0 ;
31432 PyObject
* obj0
= 0 ;
31433 char * kwnames
[] = {
31434 (char *) "item", NULL
31437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31439 if (!SWIG_IsOK(ecode1
)) {
31440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31442 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31456 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
= 0;
31458 wxStockGDI::Item arg1
;
31459 wxPen
*result
= 0 ;
31462 PyObject
* obj0
= 0 ;
31463 char * kwnames
[] = {
31464 (char *) "item", NULL
31467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31468 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31469 if (!SWIG_IsOK(ecode1
)) {
31470 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31472 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31486 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
= 0;
31488 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31489 wxStockGDI::Item arg2
;
31490 wxFont
*result
= 0 ;
31495 PyObject
* obj0
= 0 ;
31496 PyObject
* obj1
= 0 ;
31497 char * kwnames
[] = {
31498 (char *) "self",(char *) "item", NULL
31501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31503 if (!SWIG_IsOK(res1
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31506 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31508 if (!SWIG_IsOK(ecode2
)) {
31509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31511 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31515 wxPyEndAllowThreads(__tstate
);
31516 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31525 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31528 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31529 return SWIG_Py_Void();
31532 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31533 return SWIG_Python_InitShadowInstance(args
);
31536 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31537 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31542 SWIGINTERN PyObject
*NullBitmap_get(void) {
31543 PyObject
*pyobj
= 0;
31545 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31550 SWIGINTERN
int NullIcon_set(PyObject
*) {
31551 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31556 SWIGINTERN PyObject
*NullIcon_get(void) {
31557 PyObject
*pyobj
= 0;
31559 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31564 SWIGINTERN
int NullCursor_set(PyObject
*) {
31565 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31570 SWIGINTERN PyObject
*NullCursor_get(void) {
31571 PyObject
*pyobj
= 0;
31573 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31578 SWIGINTERN
int NullPen_set(PyObject
*) {
31579 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31584 SWIGINTERN PyObject
*NullPen_get(void) {
31585 PyObject
*pyobj
= 0;
31587 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31592 SWIGINTERN
int NullBrush_set(PyObject
*) {
31593 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31598 SWIGINTERN PyObject
*NullBrush_get(void) {
31599 PyObject
*pyobj
= 0;
31601 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31606 SWIGINTERN
int NullPalette_set(PyObject
*) {
31607 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31612 SWIGINTERN PyObject
*NullPalette_get(void) {
31613 PyObject
*pyobj
= 0;
31615 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31620 SWIGINTERN
int NullFont_set(PyObject
*) {
31621 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31626 SWIGINTERN PyObject
*NullFont_get(void) {
31627 PyObject
*pyobj
= 0;
31629 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31634 SWIGINTERN
int NullColour_set(PyObject
*) {
31635 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31640 SWIGINTERN PyObject
*NullColour_get(void) {
31641 PyObject
*pyobj
= 0;
31643 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31648 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31649 PyObject
*resultobj
= 0;
31650 wxGDIObjListBase
*result
= 0 ;
31652 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31666 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31667 PyObject
*resultobj
= 0;
31668 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31671 PyObject
*swig_obj
[1] ;
31673 if (!args
) SWIG_fail
;
31674 swig_obj
[0] = args
;
31675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31676 if (!SWIG_IsOK(res1
)) {
31677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31679 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= SWIG_Py_Void();
31694 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31697 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31698 return SWIG_Py_Void();
31701 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31702 return SWIG_Python_InitShadowInstance(args
);
31705 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
= 0;
31707 wxPenList
*arg1
= (wxPenList
*) 0 ;
31708 wxColour
*arg2
= 0 ;
31711 wxPen
*result
= 0 ;
31719 PyObject
* obj0
= 0 ;
31720 PyObject
* obj1
= 0 ;
31721 PyObject
* obj2
= 0 ;
31722 PyObject
* obj3
= 0 ;
31723 char * kwnames
[] = {
31724 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31729 if (!SWIG_IsOK(res1
)) {
31730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31732 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31738 if (!SWIG_IsOK(ecode3
)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31741 arg3
= static_cast< int >(val3
);
31742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31743 if (!SWIG_IsOK(ecode4
)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31746 arg4
= static_cast< int >(val4
);
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31760 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
= 0;
31762 wxPenList
*arg1
= (wxPenList
*) 0 ;
31763 wxPen
*arg2
= (wxPen
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 PyObject
* obj1
= 0 ;
31770 char * kwnames
[] = {
31771 (char *) "self",(char *) "pen", NULL
31774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31776 if (!SWIG_IsOK(res1
)) {
31777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31779 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31781 if (!SWIG_IsOK(res2
)) {
31782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31784 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31787 (arg1
)->AddPen(arg2
);
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31791 resultobj
= SWIG_Py_Void();
31798 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31799 PyObject
*resultobj
= 0;
31800 wxPenList
*arg1
= (wxPenList
*) 0 ;
31801 wxPen
*arg2
= (wxPen
*) 0 ;
31806 PyObject
* obj0
= 0 ;
31807 PyObject
* obj1
= 0 ;
31808 char * kwnames
[] = {
31809 (char *) "self",(char *) "pen", NULL
31812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31814 if (!SWIG_IsOK(res1
)) {
31815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31817 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31819 if (!SWIG_IsOK(res2
)) {
31820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31822 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 (arg1
)->RemovePen(arg2
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= SWIG_Py_Void();
31836 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31839 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31840 return SWIG_Py_Void();
31843 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31844 PyObject
*resultobj
= 0;
31845 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31846 wxColour
*arg2
= 0 ;
31847 int arg3
= (int) wxSOLID
;
31848 wxBrush
*result
= 0 ;
31854 PyObject
* obj0
= 0 ;
31855 PyObject
* obj1
= 0 ;
31856 PyObject
* obj2
= 0 ;
31857 char * kwnames
[] = {
31858 (char *) "self",(char *) "colour",(char *) "style", NULL
31861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31863 if (!SWIG_IsOK(res1
)) {
31864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31866 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31869 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31873 if (!SWIG_IsOK(ecode3
)) {
31874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31876 arg3
= static_cast< int >(val3
);
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31891 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31894 wxBrush
*arg2
= (wxBrush
*) 0 ;
31899 PyObject
* obj0
= 0 ;
31900 PyObject
* obj1
= 0 ;
31901 char * kwnames
[] = {
31902 (char *) "self",(char *) "brush", NULL
31905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31907 if (!SWIG_IsOK(res1
)) {
31908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31910 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31912 if (!SWIG_IsOK(res2
)) {
31913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31915 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 (arg1
)->AddBrush(arg2
);
31919 wxPyEndAllowThreads(__tstate
);
31920 if (PyErr_Occurred()) SWIG_fail
;
31922 resultobj
= SWIG_Py_Void();
31929 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31930 PyObject
*resultobj
= 0;
31931 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31932 wxBrush
*arg2
= (wxBrush
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 char * kwnames
[] = {
31940 (char *) "self",(char *) "brush", NULL
31943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31948 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31950 if (!SWIG_IsOK(res2
)) {
31951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31953 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 (arg1
)->RemoveBrush(arg2
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_Py_Void();
31967 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31970 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
31971 return SWIG_Py_Void();
31974 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
= 0;
31976 wxFontList
*arg1
= (wxFontList
*) 0 ;
31981 bool arg6
= (bool) false ;
31982 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31983 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31984 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
31985 wxFont
*result
= 0 ;
31998 bool temp7
= false ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 PyObject
* obj2
= 0 ;
32004 PyObject
* obj3
= 0 ;
32005 PyObject
* obj4
= 0 ;
32006 PyObject
* obj5
= 0 ;
32007 PyObject
* obj6
= 0 ;
32008 PyObject
* obj7
= 0 ;
32009 char * kwnames
[] = {
32010 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32015 if (!SWIG_IsOK(res1
)) {
32016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32018 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32020 if (!SWIG_IsOK(ecode2
)) {
32021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32023 arg2
= static_cast< int >(val2
);
32024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32025 if (!SWIG_IsOK(ecode3
)) {
32026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32028 arg3
= static_cast< int >(val3
);
32029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32030 if (!SWIG_IsOK(ecode4
)) {
32031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32033 arg4
= static_cast< int >(val4
);
32034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32035 if (!SWIG_IsOK(ecode5
)) {
32036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32038 arg5
= static_cast< int >(val5
);
32040 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32041 if (!SWIG_IsOK(ecode6
)) {
32042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32044 arg6
= static_cast< bool >(val6
);
32048 arg7
= wxString_in_helper(obj6
);
32049 if (arg7
== NULL
) SWIG_fail
;
32054 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32055 if (!SWIG_IsOK(ecode8
)) {
32056 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32058 arg8
= static_cast< wxFontEncoding
>(val8
);
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32081 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32082 PyObject
*resultobj
= 0;
32083 wxFontList
*arg1
= (wxFontList
*) 0 ;
32084 wxFont
*arg2
= (wxFont
*) 0 ;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 char * kwnames
[] = {
32092 (char *) "self",(char *) "font", NULL
32095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32097 if (!SWIG_IsOK(res1
)) {
32098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32100 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32102 if (!SWIG_IsOK(res2
)) {
32103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32105 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 (arg1
)->AddFont(arg2
);
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 resultobj
= SWIG_Py_Void();
32119 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
= 0;
32121 wxFontList
*arg1
= (wxFontList
*) 0 ;
32122 wxFont
*arg2
= (wxFont
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 PyObject
* obj1
= 0 ;
32129 char * kwnames
[] = {
32130 (char *) "self",(char *) "font", NULL
32133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32135 if (!SWIG_IsOK(res1
)) {
32136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32138 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32140 if (!SWIG_IsOK(res2
)) {
32141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32143 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 (arg1
)->RemoveFont(arg2
);
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= SWIG_Py_Void();
32157 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32160 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32161 return SWIG_Py_Void();
32164 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32165 PyObject
*resultobj
= 0;
32166 wxColourDatabase
*result
= 0 ;
32168 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32170 if (!wxPyCheckForApp()) SWIG_fail
;
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 result
= (wxColourDatabase
*)new wxColourDatabase();
32173 wxPyEndAllowThreads(__tstate
);
32174 if (PyErr_Occurred()) SWIG_fail
;
32176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32183 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32184 PyObject
*resultobj
= 0;
32185 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32188 PyObject
*swig_obj
[1] ;
32190 if (!args
) SWIG_fail
;
32191 swig_obj
[0] = args
;
32192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32193 if (!SWIG_IsOK(res1
)) {
32194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32196 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_Py_Void();
32211 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
= 0;
32213 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32214 wxString
*arg2
= 0 ;
32218 bool temp2
= false ;
32219 PyObject
* obj0
= 0 ;
32220 PyObject
* obj1
= 0 ;
32221 char * kwnames
[] = {
32222 (char *) "self",(char *) "name", NULL
32225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32227 if (!SWIG_IsOK(res1
)) {
32228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32230 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32232 arg2
= wxString_in_helper(obj1
);
32233 if (arg2
== NULL
) SWIG_fail
;
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32257 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
= 0;
32259 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32260 wxColour
*arg2
= 0 ;
32265 PyObject
* obj0
= 0 ;
32266 PyObject
* obj1
= 0 ;
32267 char * kwnames
[] = {
32268 (char *) "self",(char *) "colour", NULL
32271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32273 if (!SWIG_IsOK(res1
)) {
32274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32276 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32300 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
= 0;
32302 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32303 wxString
*arg2
= 0 ;
32304 wxColour
*arg3
= 0 ;
32307 bool temp2
= false ;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 PyObject
* obj2
= 0 ;
32312 char * kwnames
[] = {
32313 (char *) "self",(char *) "name",(char *) "colour", NULL
32316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32318 if (!SWIG_IsOK(res1
)) {
32319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32321 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32323 arg2
= wxString_in_helper(obj1
);
32324 if (arg2
== NULL
) SWIG_fail
;
32329 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= SWIG_Py_Void();
32352 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
= 0;
32354 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32355 wxString
*arg2
= 0 ;
32361 bool temp2
= false ;
32368 PyObject
* obj0
= 0 ;
32369 PyObject
* obj1
= 0 ;
32370 PyObject
* obj2
= 0 ;
32371 PyObject
* obj3
= 0 ;
32372 PyObject
* obj4
= 0 ;
32373 char * kwnames
[] = {
32374 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32379 if (!SWIG_IsOK(res1
)) {
32380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32382 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32384 arg2
= wxString_in_helper(obj1
);
32385 if (arg2
== NULL
) SWIG_fail
;
32388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32389 if (!SWIG_IsOK(ecode3
)) {
32390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32392 arg3
= static_cast< int >(val3
);
32393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32394 if (!SWIG_IsOK(ecode4
)) {
32395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32397 arg4
= static_cast< int >(val4
);
32398 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32399 if (!SWIG_IsOK(ecode5
)) {
32400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32402 arg5
= static_cast< int >(val5
);
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= SWIG_Py_Void();
32424 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32427 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32428 return SWIG_Py_Void();
32431 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32432 return SWIG_Python_InitShadowInstance(args
);
32435 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32436 PyObject
*resultobj
= 0;
32437 wxFontList
*result
= 0 ;
32439 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 result
= (wxFontList
*)_wxPyInitTheFontList();
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32453 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32454 PyObject
*resultobj
= 0;
32455 wxPenList
*result
= 0 ;
32457 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 result
= (wxPenList
*)_wxPyInitThePenList();
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32471 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32472 PyObject
*resultobj
= 0;
32473 wxBrushList
*result
= 0 ;
32475 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32489 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32490 PyObject
*resultobj
= 0;
32491 wxColourDatabase
*result
= 0 ;
32493 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32507 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32508 PyObject
*resultobj
= 0;
32509 wxEffects
*result
= 0 ;
32511 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 result
= (wxEffects
*)new wxEffects();
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32525 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32526 PyObject
*resultobj
= 0;
32527 wxEffects
*arg1
= (wxEffects
*) 0 ;
32531 PyObject
*swig_obj
[1] ;
32533 if (!args
) SWIG_fail
;
32534 swig_obj
[0] = args
;
32535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32536 if (!SWIG_IsOK(res1
)) {
32537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32539 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32553 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32554 PyObject
*resultobj
= 0;
32555 wxEffects
*arg1
= (wxEffects
*) 0 ;
32559 PyObject
*swig_obj
[1] ;
32561 if (!args
) SWIG_fail
;
32562 swig_obj
[0] = args
;
32563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32564 if (!SWIG_IsOK(res1
)) {
32565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32567 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32570 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32571 wxPyEndAllowThreads(__tstate
);
32572 if (PyErr_Occurred()) SWIG_fail
;
32574 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32581 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32582 PyObject
*resultobj
= 0;
32583 wxEffects
*arg1
= (wxEffects
*) 0 ;
32587 PyObject
*swig_obj
[1] ;
32589 if (!args
) SWIG_fail
;
32590 swig_obj
[0] = args
;
32591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32592 if (!SWIG_IsOK(res1
)) {
32593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32595 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32609 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32610 PyObject
*resultobj
= 0;
32611 wxEffects
*arg1
= (wxEffects
*) 0 ;
32615 PyObject
*swig_obj
[1] ;
32617 if (!args
) SWIG_fail
;
32618 swig_obj
[0] = args
;
32619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32620 if (!SWIG_IsOK(res1
)) {
32621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32623 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32637 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 PyObject
*resultobj
= 0;
32639 wxEffects
*arg1
= (wxEffects
*) 0 ;
32643 PyObject
*swig_obj
[1] ;
32645 if (!args
) SWIG_fail
;
32646 swig_obj
[0] = args
;
32647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32648 if (!SWIG_IsOK(res1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32651 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32658 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32665 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
= 0;
32667 wxEffects
*arg1
= (wxEffects
*) 0 ;
32668 wxColour
*arg2
= 0 ;
32672 PyObject
* obj0
= 0 ;
32673 PyObject
* obj1
= 0 ;
32674 char * kwnames
[] = {
32675 (char *) "self",(char *) "c", NULL
32678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32680 if (!SWIG_IsOK(res1
)) {
32681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32683 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 resultobj
= SWIG_Py_Void();
32701 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
= 0;
32703 wxEffects
*arg1
= (wxEffects
*) 0 ;
32704 wxColour
*arg2
= 0 ;
32708 PyObject
* obj0
= 0 ;
32709 PyObject
* obj1
= 0 ;
32710 char * kwnames
[] = {
32711 (char *) "self",(char *) "c", NULL
32714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32716 if (!SWIG_IsOK(res1
)) {
32717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32719 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32726 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32727 wxPyEndAllowThreads(__tstate
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32730 resultobj
= SWIG_Py_Void();
32737 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32738 PyObject
*resultobj
= 0;
32739 wxEffects
*arg1
= (wxEffects
*) 0 ;
32740 wxColour
*arg2
= 0 ;
32744 PyObject
* obj0
= 0 ;
32745 PyObject
* obj1
= 0 ;
32746 char * kwnames
[] = {
32747 (char *) "self",(char *) "c", NULL
32750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32752 if (!SWIG_IsOK(res1
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32755 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32762 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32763 wxPyEndAllowThreads(__tstate
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32766 resultobj
= SWIG_Py_Void();
32773 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
= 0;
32775 wxEffects
*arg1
= (wxEffects
*) 0 ;
32776 wxColour
*arg2
= 0 ;
32780 PyObject
* obj0
= 0 ;
32781 PyObject
* obj1
= 0 ;
32782 char * kwnames
[] = {
32783 (char *) "self",(char *) "c", NULL
32786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32788 if (!SWIG_IsOK(res1
)) {
32789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32791 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32794 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32799 wxPyEndAllowThreads(__tstate
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32802 resultobj
= SWIG_Py_Void();
32809 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32810 PyObject
*resultobj
= 0;
32811 wxEffects
*arg1
= (wxEffects
*) 0 ;
32812 wxColour
*arg2
= 0 ;
32816 PyObject
* obj0
= 0 ;
32817 PyObject
* obj1
= 0 ;
32818 char * kwnames
[] = {
32819 (char *) "self",(char *) "c", NULL
32822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32824 if (!SWIG_IsOK(res1
)) {
32825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32827 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32830 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32838 resultobj
= SWIG_Py_Void();
32845 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32846 PyObject
*resultobj
= 0;
32847 wxEffects
*arg1
= (wxEffects
*) 0 ;
32848 wxColour
*arg2
= 0 ;
32849 wxColour
*arg3
= 0 ;
32850 wxColour
*arg4
= 0 ;
32851 wxColour
*arg5
= 0 ;
32852 wxColour
*arg6
= 0 ;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 PyObject
* obj2
= 0 ;
32863 PyObject
* obj3
= 0 ;
32864 PyObject
* obj4
= 0 ;
32865 PyObject
* obj5
= 0 ;
32866 char * kwnames
[] = {
32867 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32872 if (!SWIG_IsOK(res1
)) {
32873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32875 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32878 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32882 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32886 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32890 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
32894 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32902 resultobj
= SWIG_Py_Void();
32909 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32910 PyObject
*resultobj
= 0;
32911 wxEffects
*arg1
= (wxEffects
*) 0 ;
32914 int arg4
= (int) 1 ;
32922 PyObject
* obj0
= 0 ;
32923 PyObject
* obj1
= 0 ;
32924 PyObject
* obj2
= 0 ;
32925 PyObject
* obj3
= 0 ;
32926 char * kwnames
[] = {
32927 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
32930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32932 if (!SWIG_IsOK(res1
)) {
32933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
32935 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
32937 if (!SWIG_IsOK(res2
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32943 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32946 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32950 if (!SWIG_IsOK(ecode4
)) {
32951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
32953 arg4
= static_cast< int >(val4
);
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32961 resultobj
= SWIG_Py_Void();
32968 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32969 PyObject
*resultobj
= 0;
32970 wxEffects
*arg1
= (wxEffects
*) 0 ;
32973 wxBitmap
*arg4
= 0 ;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 PyObject
* obj2
= 0 ;
32985 PyObject
* obj3
= 0 ;
32986 char * kwnames
[] = {
32987 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
32990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32992 if (!SWIG_IsOK(res1
)) {
32993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
32995 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32998 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33000 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33001 if (!SWIG_IsOK(res3
)) {
33002 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33007 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33008 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33009 if (!SWIG_IsOK(res4
)) {
33010 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33015 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33031 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33034 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33035 return SWIG_Py_Void();
33038 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33039 return SWIG_Python_InitShadowInstance(args
);
33042 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
= 0;
33047 wxSplitterRenderParams
*result
= 0 ;
33054 PyObject
* obj0
= 0 ;
33055 PyObject
* obj1
= 0 ;
33056 PyObject
* obj2
= 0 ;
33057 char * kwnames
[] = {
33058 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33062 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33063 if (!SWIG_IsOK(ecode1
)) {
33064 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33066 arg1
= static_cast< int >(val1
);
33067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33068 if (!SWIG_IsOK(ecode2
)) {
33069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33071 arg2
= static_cast< int >(val2
);
33072 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33073 if (!SWIG_IsOK(ecode3
)) {
33074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33076 arg3
= static_cast< bool >(val3
);
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33090 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33091 PyObject
*resultobj
= 0;
33092 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33095 PyObject
*swig_obj
[1] ;
33097 if (!args
) SWIG_fail
;
33098 swig_obj
[0] = args
;
33099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33100 if (!SWIG_IsOK(res1
)) {
33101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33103 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= SWIG_Py_Void();
33118 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33119 PyObject
*resultobj
= 0;
33120 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33124 PyObject
*swig_obj
[1] ;
33126 if (!args
) SWIG_fail
;
33127 swig_obj
[0] = args
;
33128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33129 if (!SWIG_IsOK(res1
)) {
33130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33132 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33133 result
= (int)(int) ((arg1
)->widthSash
);
33134 resultobj
= SWIG_From_int(static_cast< int >(result
));
33141 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33142 PyObject
*resultobj
= 0;
33143 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33147 PyObject
*swig_obj
[1] ;
33149 if (!args
) SWIG_fail
;
33150 swig_obj
[0] = args
;
33151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33152 if (!SWIG_IsOK(res1
)) {
33153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33155 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33156 result
= (int)(int) ((arg1
)->border
);
33157 resultobj
= SWIG_From_int(static_cast< int >(result
));
33164 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33165 PyObject
*resultobj
= 0;
33166 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33170 PyObject
*swig_obj
[1] ;
33172 if (!args
) SWIG_fail
;
33173 swig_obj
[0] = args
;
33174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33175 if (!SWIG_IsOK(res1
)) {
33176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33178 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33179 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33180 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33187 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33190 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33191 return SWIG_Py_Void();
33194 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33195 return SWIG_Python_InitShadowInstance(args
);
33198 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33199 PyObject
*resultobj
= 0;
33200 wxHeaderButtonParams
*result
= 0 ;
33202 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33216 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33217 PyObject
*resultobj
= 0;
33218 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33221 PyObject
*swig_obj
[1] ;
33223 if (!args
) SWIG_fail
;
33224 swig_obj
[0] = args
;
33225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33226 if (!SWIG_IsOK(res1
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33229 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 wxPyEndAllowThreads(__tstate
);
33235 if (PyErr_Occurred()) SWIG_fail
;
33237 resultobj
= SWIG_Py_Void();
33244 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33245 PyObject
*resultobj
= 0;
33246 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33247 wxColour
*arg2
= (wxColour
*) 0 ;
33251 PyObject
*swig_obj
[2] ;
33253 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33255 if (!SWIG_IsOK(res1
)) {
33256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33258 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33261 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33263 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33265 resultobj
= SWIG_Py_Void();
33272 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33273 PyObject
*resultobj
= 0;
33274 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33275 wxColour
*result
= 0 ;
33278 PyObject
*swig_obj
[1] ;
33280 if (!args
) SWIG_fail
;
33281 swig_obj
[0] = args
;
33282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33283 if (!SWIG_IsOK(res1
)) {
33284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33286 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33287 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33295 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33296 PyObject
*resultobj
= 0;
33297 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33298 wxColour
*arg2
= (wxColour
*) 0 ;
33302 PyObject
*swig_obj
[2] ;
33304 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33306 if (!SWIG_IsOK(res1
)) {
33307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33309 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33312 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33314 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33316 resultobj
= SWIG_Py_Void();
33323 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33324 PyObject
*resultobj
= 0;
33325 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33326 wxColour
*result
= 0 ;
33329 PyObject
*swig_obj
[1] ;
33331 if (!args
) SWIG_fail
;
33332 swig_obj
[0] = args
;
33333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33334 if (!SWIG_IsOK(res1
)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33337 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33338 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33346 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33347 PyObject
*resultobj
= 0;
33348 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33349 wxString
*arg2
= (wxString
*) 0 ;
33352 bool temp2
= false ;
33353 PyObject
*swig_obj
[2] ;
33355 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33357 if (!SWIG_IsOK(res1
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33360 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33362 arg2
= wxString_in_helper(swig_obj
[1]);
33363 if (arg2
== NULL
) SWIG_fail
;
33366 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33368 resultobj
= SWIG_Py_Void();
33383 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33384 PyObject
*resultobj
= 0;
33385 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33386 wxString
*result
= 0 ;
33389 PyObject
*swig_obj
[1] ;
33391 if (!args
) SWIG_fail
;
33392 swig_obj
[0] = args
;
33393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33394 if (!SWIG_IsOK(res1
)) {
33395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33397 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33398 result
= (wxString
*)& ((arg1
)->m_labelText
);
33401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33412 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33413 PyObject
*resultobj
= 0;
33414 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33415 wxFont
*arg2
= (wxFont
*) 0 ;
33420 PyObject
*swig_obj
[2] ;
33422 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33424 if (!SWIG_IsOK(res1
)) {
33425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33427 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33428 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33429 if (!SWIG_IsOK(res2
)) {
33430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33432 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33433 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33435 resultobj
= SWIG_Py_Void();
33442 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33443 PyObject
*resultobj
= 0;
33444 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33445 wxFont
*result
= 0 ;
33448 PyObject
*swig_obj
[1] ;
33450 if (!args
) SWIG_fail
;
33451 swig_obj
[0] = args
;
33452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33456 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33457 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33465 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33466 PyObject
*resultobj
= 0;
33467 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33468 wxColour
*arg2
= (wxColour
*) 0 ;
33472 PyObject
*swig_obj
[2] ;
33474 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33476 if (!SWIG_IsOK(res1
)) {
33477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33479 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33482 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33484 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33486 resultobj
= SWIG_Py_Void();
33493 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33496 wxColour
*result
= 0 ;
33499 PyObject
*swig_obj
[1] ;
33501 if (!args
) SWIG_fail
;
33502 swig_obj
[0] = args
;
33503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33504 if (!SWIG_IsOK(res1
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33507 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33508 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33516 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33517 PyObject
*resultobj
= 0;
33518 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33519 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33524 PyObject
*swig_obj
[2] ;
33526 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33528 if (!SWIG_IsOK(res1
)) {
33529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33531 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33532 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33533 if (!SWIG_IsOK(res2
)) {
33534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33536 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33537 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33539 resultobj
= SWIG_Py_Void();
33546 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33547 PyObject
*resultobj
= 0;
33548 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33549 wxBitmap
*result
= 0 ;
33552 PyObject
*swig_obj
[1] ;
33554 if (!args
) SWIG_fail
;
33555 swig_obj
[0] = args
;
33556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33557 if (!SWIG_IsOK(res1
)) {
33558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33560 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33561 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33569 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33570 PyObject
*resultobj
= 0;
33571 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33577 PyObject
*swig_obj
[2] ;
33579 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33581 if (!SWIG_IsOK(res1
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33584 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33585 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33586 if (!SWIG_IsOK(ecode2
)) {
33587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33589 arg2
= static_cast< int >(val2
);
33590 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33592 resultobj
= SWIG_Py_Void();
33599 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33600 PyObject
*resultobj
= 0;
33601 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33605 PyObject
*swig_obj
[1] ;
33607 if (!args
) SWIG_fail
;
33608 swig_obj
[0] = args
;
33609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33610 if (!SWIG_IsOK(res1
)) {
33611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33613 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33614 result
= (int) ((arg1
)->m_labelAlignment
);
33615 resultobj
= SWIG_From_int(static_cast< int >(result
));
33622 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33625 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33626 return SWIG_Py_Void();
33629 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33630 return SWIG_Python_InitShadowInstance(args
);
33633 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33634 PyObject
*resultobj
= 0;
33637 wxRendererVersion
*result
= 0 ;
33642 PyObject
* obj0
= 0 ;
33643 PyObject
* obj1
= 0 ;
33644 char * kwnames
[] = {
33645 (char *) "version_",(char *) "age_", NULL
33648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33650 if (!SWIG_IsOK(ecode1
)) {
33651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33653 arg1
= static_cast< int >(val1
);
33654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33655 if (!SWIG_IsOK(ecode2
)) {
33656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33658 arg2
= static_cast< int >(val2
);
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33672 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33673 PyObject
*resultobj
= 0;
33674 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33677 PyObject
*swig_obj
[1] ;
33679 if (!args
) SWIG_fail
;
33680 swig_obj
[0] = args
;
33681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33682 if (!SWIG_IsOK(res1
)) {
33683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33685 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 wxPyEndAllowThreads(__tstate
);
33691 if (PyErr_Occurred()) SWIG_fail
;
33693 resultobj
= SWIG_Py_Void();
33700 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33701 PyObject
*resultobj
= 0;
33702 wxRendererVersion
*arg1
= 0 ;
33706 PyObject
* obj0
= 0 ;
33707 char * kwnames
[] = {
33708 (char *) "ver", NULL
33711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33712 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33713 if (!SWIG_IsOK(res1
)) {
33714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33719 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33735 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33736 PyObject
*resultobj
= 0;
33737 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33741 PyObject
*swig_obj
[1] ;
33743 if (!args
) SWIG_fail
;
33744 swig_obj
[0] = args
;
33745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33746 if (!SWIG_IsOK(res1
)) {
33747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33749 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33750 result
= (int)(int) ((arg1
)->version
);
33751 resultobj
= SWIG_From_int(static_cast< int >(result
));
33758 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33759 PyObject
*resultobj
= 0;
33760 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33764 PyObject
*swig_obj
[1] ;
33766 if (!args
) SWIG_fail
;
33767 swig_obj
[0] = args
;
33768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33769 if (!SWIG_IsOK(res1
)) {
33770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33772 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33773 result
= (int)(int) ((arg1
)->age
);
33774 resultobj
= SWIG_From_int(static_cast< int >(result
));
33781 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33784 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33785 return SWIG_Py_Void();
33788 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33789 return SWIG_Python_InitShadowInstance(args
);
33792 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33793 PyObject
*resultobj
= 0;
33794 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33795 wxWindow
*arg2
= (wxWindow
*) 0 ;
33798 int arg5
= (int) 0 ;
33799 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33800 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33814 PyObject
* obj0
= 0 ;
33815 PyObject
* obj1
= 0 ;
33816 PyObject
* obj2
= 0 ;
33817 PyObject
* obj3
= 0 ;
33818 PyObject
* obj4
= 0 ;
33819 PyObject
* obj5
= 0 ;
33820 PyObject
* obj6
= 0 ;
33821 char * kwnames
[] = {
33822 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33827 if (!SWIG_IsOK(res1
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33830 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33832 if (!SWIG_IsOK(res2
)) {
33833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33836 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33837 if (!SWIG_IsOK(res3
)) {
33838 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33843 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33846 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33849 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33850 if (!SWIG_IsOK(ecode5
)) {
33851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33853 arg5
= static_cast< int >(val5
);
33856 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33857 if (!SWIG_IsOK(ecode6
)) {
33858 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33860 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33863 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33864 if (!SWIG_IsOK(res7
)) {
33865 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33867 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 resultobj
= SWIG_Py_Void();
33882 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
= 0;
33884 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33885 wxWindow
*arg2
= (wxWindow
*) 0 ;
33888 int arg5
= (int) 0 ;
33889 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33890 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33904 PyObject
* obj0
= 0 ;
33905 PyObject
* obj1
= 0 ;
33906 PyObject
* obj2
= 0 ;
33907 PyObject
* obj3
= 0 ;
33908 PyObject
* obj4
= 0 ;
33909 PyObject
* obj5
= 0 ;
33910 PyObject
* obj6
= 0 ;
33911 char * kwnames
[] = {
33912 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33917 if (!SWIG_IsOK(res1
)) {
33918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33920 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33922 if (!SWIG_IsOK(res2
)) {
33923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
33925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33927 if (!SWIG_IsOK(res3
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33933 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33936 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33940 if (!SWIG_IsOK(ecode5
)) {
33941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
33943 arg5
= static_cast< int >(val5
);
33946 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33947 if (!SWIG_IsOK(ecode6
)) {
33948 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33950 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33953 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33954 if (!SWIG_IsOK(res7
)) {
33955 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33957 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_Py_Void();
33972 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
= 0;
33974 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33975 wxWindow
*arg2
= (wxWindow
*) 0 ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 char * kwnames
[] = {
33984 (char *) "self",(char *) "win", NULL
33987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33989 if (!SWIG_IsOK(res1
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33992 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33994 if (!SWIG_IsOK(res2
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
33997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34004 resultobj
= SWIG_From_int(static_cast< int >(result
));
34011 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34012 PyObject
*resultobj
= 0;
34013 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34014 wxWindow
*arg2
= (wxWindow
*) 0 ;
34017 int arg5
= (int) 0 ;
34027 PyObject
* obj0
= 0 ;
34028 PyObject
* obj1
= 0 ;
34029 PyObject
* obj2
= 0 ;
34030 PyObject
* obj3
= 0 ;
34031 PyObject
* obj4
= 0 ;
34032 char * kwnames
[] = {
34033 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34038 if (!SWIG_IsOK(res1
)) {
34039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34041 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34042 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34043 if (!SWIG_IsOK(res2
)) {
34044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34046 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34047 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34048 if (!SWIG_IsOK(res3
)) {
34049 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34054 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34057 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34060 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34061 if (!SWIG_IsOK(ecode5
)) {
34062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34064 arg5
= static_cast< int >(val5
);
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= SWIG_Py_Void();
34079 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34080 PyObject
*resultobj
= 0;
34081 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34082 wxWindow
*arg2
= (wxWindow
*) 0 ;
34085 int arg5
= (int) 0 ;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 PyObject
* obj2
= 0 ;
34098 PyObject
* obj3
= 0 ;
34099 PyObject
* obj4
= 0 ;
34100 char * kwnames
[] = {
34101 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34106 if (!SWIG_IsOK(res1
)) {
34107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34109 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34111 if (!SWIG_IsOK(res2
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34114 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34115 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34116 if (!SWIG_IsOK(res3
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34122 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34125 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34128 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34129 if (!SWIG_IsOK(ecode5
)) {
34130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34132 arg5
= static_cast< int >(val5
);
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= SWIG_Py_Void();
34147 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34148 PyObject
*resultobj
= 0;
34149 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34150 wxWindow
*arg2
= (wxWindow
*) 0 ;
34154 wxOrientation arg6
;
34155 int arg7
= (int) 0 ;
34169 PyObject
* obj0
= 0 ;
34170 PyObject
* obj1
= 0 ;
34171 PyObject
* obj2
= 0 ;
34172 PyObject
* obj3
= 0 ;
34173 PyObject
* obj4
= 0 ;
34174 PyObject
* obj5
= 0 ;
34175 PyObject
* obj6
= 0 ;
34176 char * kwnames
[] = {
34177 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34182 if (!SWIG_IsOK(res1
)) {
34183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34185 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34187 if (!SWIG_IsOK(res2
)) {
34188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34191 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34192 if (!SWIG_IsOK(res3
)) {
34193 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34198 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34201 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34203 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34204 if (!SWIG_IsOK(ecode5
)) {
34205 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34207 arg5
= static_cast< int >(val5
);
34208 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34209 if (!SWIG_IsOK(ecode6
)) {
34210 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34212 arg6
= static_cast< wxOrientation
>(val6
);
34214 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34215 if (!SWIG_IsOK(ecode7
)) {
34216 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34218 arg7
= static_cast< int >(val7
);
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_Py_Void();
34233 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
= 0;
34235 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34236 wxWindow
*arg2
= (wxWindow
*) 0 ;
34239 int arg5
= (int) 0 ;
34249 PyObject
* obj0
= 0 ;
34250 PyObject
* obj1
= 0 ;
34251 PyObject
* obj2
= 0 ;
34252 PyObject
* obj3
= 0 ;
34253 PyObject
* obj4
= 0 ;
34254 char * kwnames
[] = {
34255 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34260 if (!SWIG_IsOK(res1
)) {
34261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34263 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34265 if (!SWIG_IsOK(res2
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34269 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34270 if (!SWIG_IsOK(res3
)) {
34271 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34276 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34279 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34283 if (!SWIG_IsOK(ecode5
)) {
34284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34286 arg5
= static_cast< int >(val5
);
34289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34290 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34294 resultobj
= SWIG_Py_Void();
34301 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34302 PyObject
*resultobj
= 0;
34303 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34304 wxWindow
*arg2
= (wxWindow
*) 0 ;
34307 int arg5
= (int) 0 ;
34317 PyObject
* obj0
= 0 ;
34318 PyObject
* obj1
= 0 ;
34319 PyObject
* obj2
= 0 ;
34320 PyObject
* obj3
= 0 ;
34321 PyObject
* obj4
= 0 ;
34322 char * kwnames
[] = {
34323 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34328 if (!SWIG_IsOK(res1
)) {
34329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34331 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34333 if (!SWIG_IsOK(res2
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34336 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34337 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34338 if (!SWIG_IsOK(res3
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34344 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34347 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34350 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34351 if (!SWIG_IsOK(ecode5
)) {
34352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34354 arg5
= static_cast< int >(val5
);
34357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34358 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34362 resultobj
= SWIG_Py_Void();
34369 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34370 PyObject
*resultobj
= 0;
34371 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34372 wxWindow
*arg2
= (wxWindow
*) 0 ;
34375 int arg5
= (int) 0 ;
34385 PyObject
* obj0
= 0 ;
34386 PyObject
* obj1
= 0 ;
34387 PyObject
* obj2
= 0 ;
34388 PyObject
* obj3
= 0 ;
34389 PyObject
* obj4
= 0 ;
34390 char * kwnames
[] = {
34391 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34396 if (!SWIG_IsOK(res1
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34399 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34401 if (!SWIG_IsOK(res2
)) {
34402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34404 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34405 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34406 if (!SWIG_IsOK(res3
)) {
34407 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34412 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34415 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34418 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34419 if (!SWIG_IsOK(ecode5
)) {
34420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34422 arg5
= static_cast< int >(val5
);
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= SWIG_Py_Void();
34437 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34438 PyObject
*resultobj
= 0;
34439 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34440 wxWindow
*arg2
= (wxWindow
*) 0 ;
34443 int arg5
= (int) 0 ;
34453 PyObject
* obj0
= 0 ;
34454 PyObject
* obj1
= 0 ;
34455 PyObject
* obj2
= 0 ;
34456 PyObject
* obj3
= 0 ;
34457 PyObject
* obj4
= 0 ;
34458 char * kwnames
[] = {
34459 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34464 if (!SWIG_IsOK(res1
)) {
34465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34467 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34469 if (!SWIG_IsOK(res2
)) {
34470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34472 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34473 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34474 if (!SWIG_IsOK(res3
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34480 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34483 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34486 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34487 if (!SWIG_IsOK(ecode5
)) {
34488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34490 arg5
= static_cast< int >(val5
);
34493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34495 wxPyEndAllowThreads(__tstate
);
34496 if (PyErr_Occurred()) SWIG_fail
;
34498 resultobj
= SWIG_Py_Void();
34505 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34506 PyObject
*resultobj
= 0;
34507 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34508 wxWindow
*arg2
= (wxWindow
*) 0 ;
34511 int arg5
= (int) 0 ;
34521 PyObject
* obj0
= 0 ;
34522 PyObject
* obj1
= 0 ;
34523 PyObject
* obj2
= 0 ;
34524 PyObject
* obj3
= 0 ;
34525 PyObject
* obj4
= 0 ;
34526 char * kwnames
[] = {
34527 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34532 if (!SWIG_IsOK(res1
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34535 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34537 if (!SWIG_IsOK(res2
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34541 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34542 if (!SWIG_IsOK(res3
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34548 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34551 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34554 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34555 if (!SWIG_IsOK(ecode5
)) {
34556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34558 arg5
= static_cast< int >(val5
);
34561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34562 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= SWIG_Py_Void();
34573 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
= 0;
34575 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34576 wxWindow
*arg2
= (wxWindow
*) 0 ;
34577 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34582 PyObject
* obj0
= 0 ;
34583 PyObject
* obj1
= 0 ;
34584 char * kwnames
[] = {
34585 (char *) "self",(char *) "win", NULL
34588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34590 if (!SWIG_IsOK(res1
)) {
34591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34593 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34595 if (!SWIG_IsOK(res2
)) {
34596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34601 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34602 wxPyEndAllowThreads(__tstate
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34605 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34612 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34613 PyObject
*resultobj
= 0;
34614 wxRendererNative
*result
= 0 ;
34616 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34618 if (!wxPyCheckForApp()) SWIG_fail
;
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34622 result
= (wxRendererNative
*) &_result_ref
;
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34634 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34635 PyObject
*resultobj
= 0;
34636 wxRendererNative
*result
= 0 ;
34638 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34640 if (!wxPyCheckForApp()) SWIG_fail
;
34641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34643 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34644 result
= (wxRendererNative
*) &_result_ref
;
34646 wxPyEndAllowThreads(__tstate
);
34647 if (PyErr_Occurred()) SWIG_fail
;
34649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34656 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34657 PyObject
*resultobj
= 0;
34658 wxRendererNative
*result
= 0 ;
34660 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34662 if (!wxPyCheckForApp()) SWIG_fail
;
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34666 result
= (wxRendererNative
*) &_result_ref
;
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34678 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34679 PyObject
*resultobj
= 0;
34680 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34681 wxRendererNative
*result
= 0 ;
34684 PyObject
* obj0
= 0 ;
34685 char * kwnames
[] = {
34686 (char *) "renderer", NULL
34689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34691 if (!SWIG_IsOK(res1
)) {
34692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34694 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34696 if (!wxPyCheckForApp()) SWIG_fail
;
34697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34698 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34709 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34710 PyObject
*resultobj
= 0;
34711 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34712 SwigValueWrapper
<wxRendererVersion
> result
;
34715 PyObject
*swig_obj
[1] ;
34717 if (!args
) SWIG_fail
;
34718 swig_obj
[0] = args
;
34719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34723 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34726 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34727 wxPyEndAllowThreads(__tstate
);
34728 if (PyErr_Occurred()) SWIG_fail
;
34730 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34737 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34740 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34741 return SWIG_Py_Void();
34744 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34745 PyObject
*resultobj
= 0;
34746 wxPseudoDC
*result
= 0 ;
34748 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34751 result
= (wxPseudoDC
*)new wxPseudoDC();
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34762 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34763 PyObject
*resultobj
= 0;
34764 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34767 PyObject
*swig_obj
[1] ;
34769 if (!args
) SWIG_fail
;
34770 swig_obj
[0] = args
;
34771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34772 if (!SWIG_IsOK(res1
)) {
34773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34778 (arg1
)->BeginDrawing();
34779 wxPyEndAllowThreads(__tstate
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 resultobj
= SWIG_Py_Void();
34789 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34790 PyObject
*resultobj
= 0;
34791 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34794 PyObject
*swig_obj
[1] ;
34796 if (!args
) SWIG_fail
;
34797 swig_obj
[0] = args
;
34798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34799 if (!SWIG_IsOK(res1
)) {
34800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34802 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34805 (arg1
)->EndDrawing();
34806 wxPyEndAllowThreads(__tstate
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34809 resultobj
= SWIG_Py_Void();
34816 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34817 PyObject
*resultobj
= 0;
34818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34821 PyObject
*swig_obj
[1] ;
34823 if (!args
) SWIG_fail
;
34824 swig_obj
[0] = args
;
34825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34826 if (!SWIG_IsOK(res1
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34829 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 resultobj
= SWIG_Py_Void();
34844 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34845 PyObject
*resultobj
= 0;
34846 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34849 PyObject
*swig_obj
[1] ;
34851 if (!args
) SWIG_fail
;
34852 swig_obj
[0] = args
;
34853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34854 if (!SWIG_IsOK(res1
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34857 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 (arg1
)->RemoveAll();
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34864 resultobj
= SWIG_Py_Void();
34871 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34872 PyObject
*resultobj
= 0;
34873 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34877 PyObject
*swig_obj
[1] ;
34879 if (!args
) SWIG_fail
;
34880 swig_obj
[0] = args
;
34881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34882 if (!SWIG_IsOK(res1
)) {
34883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34885 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34888 result
= (int)(arg1
)->GetLen();
34889 wxPyEndAllowThreads(__tstate
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34892 resultobj
= SWIG_From_int(static_cast< int >(result
));
34899 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34900 PyObject
*resultobj
= 0;
34901 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34907 PyObject
* obj0
= 0 ;
34908 PyObject
* obj1
= 0 ;
34909 char * kwnames
[] = {
34910 (char *) "self",(char *) "id", NULL
34913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34915 if (!SWIG_IsOK(res1
)) {
34916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34918 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34920 if (!SWIG_IsOK(ecode2
)) {
34921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
34923 arg2
= static_cast< int >(val2
);
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 (arg1
)->SetId(arg2
);
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34930 resultobj
= SWIG_Py_Void();
34937 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34938 PyObject
*resultobj
= 0;
34939 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 char * kwnames
[] = {
34948 (char *) "self",(char *) "id", NULL
34951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34953 if (!SWIG_IsOK(res1
)) {
34954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34956 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34958 if (!SWIG_IsOK(ecode2
)) {
34959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
34961 arg2
= static_cast< int >(val2
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 (arg1
)->ClearId(arg2
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_Py_Void();
34975 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
= 0;
34977 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34983 PyObject
* obj0
= 0 ;
34984 PyObject
* obj1
= 0 ;
34985 char * kwnames
[] = {
34986 (char *) "self",(char *) "id", NULL
34989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34991 if (!SWIG_IsOK(res1
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34996 if (!SWIG_IsOK(ecode2
)) {
34997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
34999 arg2
= static_cast< int >(val2
);
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 (arg1
)->RemoveId(arg2
);
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= SWIG_Py_Void();
35013 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
= 0;
35015 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35027 PyObject
* obj0
= 0 ;
35028 PyObject
* obj1
= 0 ;
35029 PyObject
* obj2
= 0 ;
35030 PyObject
* obj3
= 0 ;
35031 char * kwnames
[] = {
35032 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35037 if (!SWIG_IsOK(res1
)) {
35038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35042 if (!SWIG_IsOK(ecode2
)) {
35043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35045 arg2
= static_cast< int >(val2
);
35046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35047 if (!SWIG_IsOK(ecode3
)) {
35048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35050 arg3
= static_cast< int >(val3
);
35051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35052 if (!SWIG_IsOK(ecode4
)) {
35053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35055 arg4
= static_cast< int >(val4
);
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35059 wxPyEndAllowThreads(__tstate
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35062 resultobj
= SWIG_Py_Void();
35069 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35070 PyObject
*resultobj
= 0;
35071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35073 bool arg3
= (bool) true ;
35080 PyObject
* obj0
= 0 ;
35081 PyObject
* obj1
= 0 ;
35082 PyObject
* obj2
= 0 ;
35083 char * kwnames
[] = {
35084 (char *) "self",(char *) "id",(char *) "greyout", NULL
35087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35089 if (!SWIG_IsOK(res1
)) {
35090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35094 if (!SWIG_IsOK(ecode2
)) {
35095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35097 arg2
= static_cast< int >(val2
);
35099 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35100 if (!SWIG_IsOK(ecode3
)) {
35101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35103 arg3
= static_cast< bool >(val3
);
35106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35107 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35108 wxPyEndAllowThreads(__tstate
);
35109 if (PyErr_Occurred()) SWIG_fail
;
35111 resultobj
= SWIG_Py_Void();
35118 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35119 PyObject
*resultobj
= 0;
35120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35127 PyObject
* obj0
= 0 ;
35128 PyObject
* obj1
= 0 ;
35129 char * kwnames
[] = {
35130 (char *) "self",(char *) "id", NULL
35133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35135 if (!SWIG_IsOK(res1
)) {
35136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35140 if (!SWIG_IsOK(ecode2
)) {
35141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35143 arg2
= static_cast< int >(val2
);
35145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35146 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35147 wxPyEndAllowThreads(__tstate
);
35148 if (PyErr_Occurred()) SWIG_fail
;
35151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35159 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
= 0;
35161 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35164 int arg4
= (int) 1 ;
35165 wxColor
const &arg5_defvalue
= *wxWHITE
;
35166 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35167 PyObject
*result
= 0 ;
35178 PyObject
* obj0
= 0 ;
35179 PyObject
* obj1
= 0 ;
35180 PyObject
* obj2
= 0 ;
35181 PyObject
* obj3
= 0 ;
35182 PyObject
* obj4
= 0 ;
35183 char * kwnames
[] = {
35184 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35189 if (!SWIG_IsOK(res1
)) {
35190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35194 if (!SWIG_IsOK(ecode2
)) {
35195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35197 arg2
= static_cast< int >(val2
);
35198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35199 if (!SWIG_IsOK(ecode3
)) {
35200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35202 arg3
= static_cast< int >(val3
);
35204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35205 if (!SWIG_IsOK(ecode4
)) {
35206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35208 arg4
= static_cast< int >(val4
);
35211 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35212 if (!SWIG_IsOK(res5
)) {
35213 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35218 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35221 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35224 resultobj
= result
;
35231 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35232 PyObject
*resultobj
= 0;
35233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35236 PyObject
*result
= 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 PyObject
* obj2
= 0 ;
35246 char * kwnames
[] = {
35247 (char *) "self",(char *) "x",(char *) "y", NULL
35250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35252 if (!SWIG_IsOK(res1
)) {
35253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35257 if (!SWIG_IsOK(ecode2
)) {
35258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35260 arg2
= static_cast< int >(val2
);
35261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35262 if (!SWIG_IsOK(ecode3
)) {
35263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35265 arg3
= static_cast< int >(val3
);
35267 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= result
;
35277 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
= 0;
35279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35281 wxDC
*arg3
= (wxDC
*) 0 ;
35288 PyObject
* obj0
= 0 ;
35289 PyObject
* obj1
= 0 ;
35290 PyObject
* obj2
= 0 ;
35291 char * kwnames
[] = {
35292 (char *) "self",(char *) "id",(char *) "dc", NULL
35295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35297 if (!SWIG_IsOK(res1
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35302 if (!SWIG_IsOK(ecode2
)) {
35303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35305 arg2
= static_cast< int >(val2
);
35306 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35307 if (!SWIG_IsOK(res3
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35310 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35313 (arg1
)->DrawIdToDC(arg2
,arg3
);
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= SWIG_Py_Void();
35324 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
= 0;
35326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35334 PyObject
* obj0
= 0 ;
35335 PyObject
* obj1
= 0 ;
35336 PyObject
* obj2
= 0 ;
35337 char * kwnames
[] = {
35338 (char *) "self",(char *) "id",(char *) "rect", NULL
35341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35343 if (!SWIG_IsOK(res1
)) {
35344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35346 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35348 if (!SWIG_IsOK(ecode2
)) {
35349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35351 arg2
= static_cast< int >(val2
);
35354 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35358 (arg1
)->SetIdBounds(arg2
,*arg3
);
35359 wxPyEndAllowThreads(__tstate
);
35360 if (PyErr_Occurred()) SWIG_fail
;
35362 resultobj
= SWIG_Py_Void();
35369 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35370 PyObject
*resultobj
= 0;
35371 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35378 PyObject
* obj0
= 0 ;
35379 PyObject
* obj1
= 0 ;
35380 char * kwnames
[] = {
35381 (char *) "self",(char *) "id", NULL
35384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35386 if (!SWIG_IsOK(res1
)) {
35387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35391 if (!SWIG_IsOK(ecode2
)) {
35392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35394 arg2
= static_cast< int >(val2
);
35396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35397 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35401 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35408 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
= 0;
35410 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35411 wxDC
*arg2
= (wxDC
*) 0 ;
35418 PyObject
* obj0
= 0 ;
35419 PyObject
* obj1
= 0 ;
35420 PyObject
* obj2
= 0 ;
35421 char * kwnames
[] = {
35422 (char *) "self",(char *) "dc",(char *) "rect", NULL
35425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35427 if (!SWIG_IsOK(res1
)) {
35428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35432 if (!SWIG_IsOK(res2
)) {
35433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35435 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35438 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35442 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35443 wxPyEndAllowThreads(__tstate
);
35444 if (PyErr_Occurred()) SWIG_fail
;
35446 resultobj
= SWIG_Py_Void();
35453 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
= 0;
35455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35456 wxDC
*arg2
= (wxDC
*) 0 ;
35457 wxRegion
*arg3
= 0 ;
35464 PyObject
* obj0
= 0 ;
35465 PyObject
* obj1
= 0 ;
35466 PyObject
* obj2
= 0 ;
35467 char * kwnames
[] = {
35468 (char *) "self",(char *) "dc",(char *) "region", NULL
35471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35473 if (!SWIG_IsOK(res1
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35476 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35478 if (!SWIG_IsOK(res2
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35481 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35482 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35483 if (!SWIG_IsOK(res3
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35489 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 resultobj
= SWIG_Py_Void();
35503 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
= 0;
35505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35506 wxDC
*arg2
= (wxDC
*) 0 ;
35511 PyObject
* obj0
= 0 ;
35512 PyObject
* obj1
= 0 ;
35513 char * kwnames
[] = {
35514 (char *) "self",(char *) "dc", NULL
35517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35519 if (!SWIG_IsOK(res1
)) {
35520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35522 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35524 if (!SWIG_IsOK(res2
)) {
35525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35527 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35530 (arg1
)->DrawToDC(arg2
);
35531 wxPyEndAllowThreads(__tstate
);
35532 if (PyErr_Occurred()) SWIG_fail
;
35534 resultobj
= SWIG_Py_Void();
35541 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35542 PyObject
*resultobj
= 0;
35543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35546 wxColour
*arg4
= 0 ;
35547 int arg5
= (int) wxFLOOD_SURFACE
;
35557 PyObject
* obj0
= 0 ;
35558 PyObject
* obj1
= 0 ;
35559 PyObject
* obj2
= 0 ;
35560 PyObject
* obj3
= 0 ;
35561 PyObject
* obj4
= 0 ;
35562 char * kwnames
[] = {
35563 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35568 if (!SWIG_IsOK(res1
)) {
35569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35573 if (!SWIG_IsOK(ecode2
)) {
35574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35576 arg2
= static_cast< int >(val2
);
35577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35578 if (!SWIG_IsOK(ecode3
)) {
35579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35581 arg3
= static_cast< int >(val3
);
35584 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35588 if (!SWIG_IsOK(ecode5
)) {
35589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35591 arg5
= static_cast< int >(val5
);
35594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35595 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35596 wxPyEndAllowThreads(__tstate
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35599 resultobj
= SWIG_Py_Void();
35606 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
= 0;
35608 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35609 wxPoint
*arg2
= 0 ;
35610 wxColour
*arg3
= 0 ;
35611 int arg4
= (int) wxFLOOD_SURFACE
;
35618 PyObject
* obj0
= 0 ;
35619 PyObject
* obj1
= 0 ;
35620 PyObject
* obj2
= 0 ;
35621 PyObject
* obj3
= 0 ;
35622 char * kwnames
[] = {
35623 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35628 if (!SWIG_IsOK(res1
)) {
35629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35642 if (!SWIG_IsOK(ecode4
)) {
35643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35645 arg4
= static_cast< int >(val4
);
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35653 resultobj
= SWIG_Py_Void();
35660 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35661 PyObject
*resultobj
= 0;
35662 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 PyObject
* obj2
= 0 ;
35680 PyObject
* obj3
= 0 ;
35681 PyObject
* obj4
= 0 ;
35682 char * kwnames
[] = {
35683 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35688 if (!SWIG_IsOK(res1
)) {
35689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35691 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35693 if (!SWIG_IsOK(ecode2
)) {
35694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35696 arg2
= static_cast< int >(val2
);
35697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35698 if (!SWIG_IsOK(ecode3
)) {
35699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35701 arg3
= static_cast< int >(val3
);
35702 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35703 if (!SWIG_IsOK(ecode4
)) {
35704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35706 arg4
= static_cast< int >(val4
);
35707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35708 if (!SWIG_IsOK(ecode5
)) {
35709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35711 arg5
= static_cast< int >(val5
);
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35718 resultobj
= SWIG_Py_Void();
35725 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35726 PyObject
*resultobj
= 0;
35727 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35728 wxPoint
*arg2
= 0 ;
35729 wxPoint
*arg3
= 0 ;
35734 PyObject
* obj0
= 0 ;
35735 PyObject
* obj1
= 0 ;
35736 PyObject
* obj2
= 0 ;
35737 char * kwnames
[] = {
35738 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35743 if (!SWIG_IsOK(res1
)) {
35744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35746 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35758 wxPyEndAllowThreads(__tstate
);
35759 if (PyErr_Occurred()) SWIG_fail
;
35761 resultobj
= SWIG_Py_Void();
35768 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35769 PyObject
*resultobj
= 0;
35770 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35779 PyObject
* obj0
= 0 ;
35780 PyObject
* obj1
= 0 ;
35781 PyObject
* obj2
= 0 ;
35782 char * kwnames
[] = {
35783 (char *) "self",(char *) "x",(char *) "y", NULL
35786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35788 if (!SWIG_IsOK(res1
)) {
35789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35793 if (!SWIG_IsOK(ecode2
)) {
35794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35796 arg2
= static_cast< int >(val2
);
35797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35798 if (!SWIG_IsOK(ecode3
)) {
35799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35801 arg3
= static_cast< int >(val3
);
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 (arg1
)->CrossHair(arg2
,arg3
);
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= SWIG_Py_Void();
35815 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
= 0;
35817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35818 wxPoint
*arg2
= 0 ;
35822 PyObject
* obj0
= 0 ;
35823 PyObject
* obj1
= 0 ;
35824 char * kwnames
[] = {
35825 (char *) "self",(char *) "pt", NULL
35828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35830 if (!SWIG_IsOK(res1
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35841 wxPyEndAllowThreads(__tstate
);
35842 if (PyErr_Occurred()) SWIG_fail
;
35844 resultobj
= SWIG_Py_Void();
35851 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35852 PyObject
*resultobj
= 0;
35853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35874 PyObject
* obj0
= 0 ;
35875 PyObject
* obj1
= 0 ;
35876 PyObject
* obj2
= 0 ;
35877 PyObject
* obj3
= 0 ;
35878 PyObject
* obj4
= 0 ;
35879 PyObject
* obj5
= 0 ;
35880 PyObject
* obj6
= 0 ;
35881 char * kwnames
[] = {
35882 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35887 if (!SWIG_IsOK(res1
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35890 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35892 if (!SWIG_IsOK(ecode2
)) {
35893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
35895 arg2
= static_cast< int >(val2
);
35896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35897 if (!SWIG_IsOK(ecode3
)) {
35898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
35900 arg3
= static_cast< int >(val3
);
35901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35902 if (!SWIG_IsOK(ecode4
)) {
35903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
35905 arg4
= static_cast< int >(val4
);
35906 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35907 if (!SWIG_IsOK(ecode5
)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
35910 arg5
= static_cast< int >(val5
);
35911 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35912 if (!SWIG_IsOK(ecode6
)) {
35913 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
35915 arg6
= static_cast< int >(val6
);
35916 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35917 if (!SWIG_IsOK(ecode7
)) {
35918 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
35920 arg7
= static_cast< int >(val7
);
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_Py_Void();
35934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= 0;
35936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35937 wxPoint
*arg2
= 0 ;
35938 wxPoint
*arg3
= 0 ;
35939 wxPoint
*arg4
= 0 ;
35945 PyObject
* obj0
= 0 ;
35946 PyObject
* obj1
= 0 ;
35947 PyObject
* obj2
= 0 ;
35948 PyObject
* obj3
= 0 ;
35949 char * kwnames
[] = {
35950 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
35953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35955 if (!SWIG_IsOK(res1
)) {
35956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35973 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
35974 wxPyEndAllowThreads(__tstate
);
35975 if (PyErr_Occurred()) SWIG_fail
;
35977 resultobj
= SWIG_Py_Void();
35984 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35985 PyObject
*resultobj
= 0;
35986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 PyObject
* obj2
= 0 ;
36004 PyObject
* obj3
= 0 ;
36005 PyObject
* obj4
= 0 ;
36006 char * kwnames
[] = {
36007 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36012 if (!SWIG_IsOK(res1
)) {
36013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36015 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36017 if (!SWIG_IsOK(ecode2
)) {
36018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36020 arg2
= static_cast< int >(val2
);
36021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36022 if (!SWIG_IsOK(ecode3
)) {
36023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36025 arg3
= static_cast< int >(val3
);
36026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36027 if (!SWIG_IsOK(ecode4
)) {
36028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36030 arg4
= static_cast< int >(val4
);
36031 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36032 if (!SWIG_IsOK(ecode5
)) {
36033 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36035 arg5
= static_cast< int >(val5
);
36037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36038 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36039 wxPyEndAllowThreads(__tstate
);
36040 if (PyErr_Occurred()) SWIG_fail
;
36042 resultobj
= SWIG_Py_Void();
36049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36050 PyObject
*resultobj
= 0;
36051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36056 PyObject
* obj0
= 0 ;
36057 PyObject
* obj1
= 0 ;
36058 char * kwnames
[] = {
36059 (char *) "self",(char *) "rect", NULL
36062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36064 if (!SWIG_IsOK(res1
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36067 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36070 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36074 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36075 wxPyEndAllowThreads(__tstate
);
36076 if (PyErr_Occurred()) SWIG_fail
;
36078 resultobj
= SWIG_Py_Void();
36085 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36086 PyObject
*resultobj
= 0;
36087 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36108 PyObject
* obj0
= 0 ;
36109 PyObject
* obj1
= 0 ;
36110 PyObject
* obj2
= 0 ;
36111 PyObject
* obj3
= 0 ;
36112 PyObject
* obj4
= 0 ;
36113 PyObject
* obj5
= 0 ;
36114 PyObject
* obj6
= 0 ;
36115 char * kwnames
[] = {
36116 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36121 if (!SWIG_IsOK(res1
)) {
36122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36126 if (!SWIG_IsOK(ecode2
)) {
36127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36129 arg2
= static_cast< int >(val2
);
36130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36131 if (!SWIG_IsOK(ecode3
)) {
36132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36134 arg3
= static_cast< int >(val3
);
36135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36136 if (!SWIG_IsOK(ecode4
)) {
36137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36139 arg4
= static_cast< int >(val4
);
36140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36141 if (!SWIG_IsOK(ecode5
)) {
36142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36144 arg5
= static_cast< int >(val5
);
36145 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36146 if (!SWIG_IsOK(ecode6
)) {
36147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36149 arg6
= static_cast< double >(val6
);
36150 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36151 if (!SWIG_IsOK(ecode7
)) {
36152 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36154 arg7
= static_cast< double >(val7
);
36156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36157 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36158 wxPyEndAllowThreads(__tstate
);
36159 if (PyErr_Occurred()) SWIG_fail
;
36161 resultobj
= SWIG_Py_Void();
36168 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
= 0;
36170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36171 wxPoint
*arg2
= 0 ;
36183 PyObject
* obj0
= 0 ;
36184 PyObject
* obj1
= 0 ;
36185 PyObject
* obj2
= 0 ;
36186 PyObject
* obj3
= 0 ;
36187 PyObject
* obj4
= 0 ;
36188 char * kwnames
[] = {
36189 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36194 if (!SWIG_IsOK(res1
)) {
36195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36197 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36204 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36206 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36207 if (!SWIG_IsOK(ecode4
)) {
36208 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36210 arg4
= static_cast< double >(val4
);
36211 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36212 if (!SWIG_IsOK(ecode5
)) {
36213 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36215 arg5
= static_cast< double >(val5
);
36217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36218 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36219 wxPyEndAllowThreads(__tstate
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36222 resultobj
= SWIG_Py_Void();
36229 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36230 PyObject
*resultobj
= 0;
36231 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36240 PyObject
* obj0
= 0 ;
36241 PyObject
* obj1
= 0 ;
36242 PyObject
* obj2
= 0 ;
36243 char * kwnames
[] = {
36244 (char *) "self",(char *) "x",(char *) "y", NULL
36247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36249 if (!SWIG_IsOK(res1
)) {
36250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36252 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36254 if (!SWIG_IsOK(ecode2
)) {
36255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36257 arg2
= static_cast< int >(val2
);
36258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36259 if (!SWIG_IsOK(ecode3
)) {
36260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36262 arg3
= static_cast< int >(val3
);
36264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36265 (arg1
)->DrawPoint(arg2
,arg3
);
36266 wxPyEndAllowThreads(__tstate
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36269 resultobj
= SWIG_Py_Void();
36276 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36277 PyObject
*resultobj
= 0;
36278 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36279 wxPoint
*arg2
= 0 ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 char * kwnames
[] = {
36286 (char *) "self",(char *) "pt", NULL
36289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36291 if (!SWIG_IsOK(res1
)) {
36292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36302 wxPyEndAllowThreads(__tstate
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36305 resultobj
= SWIG_Py_Void();
36312 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
= 0;
36314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36329 PyObject
* obj0
= 0 ;
36330 PyObject
* obj1
= 0 ;
36331 PyObject
* obj2
= 0 ;
36332 PyObject
* obj3
= 0 ;
36333 PyObject
* obj4
= 0 ;
36334 char * kwnames
[] = {
36335 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36340 if (!SWIG_IsOK(res1
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36345 if (!SWIG_IsOK(ecode2
)) {
36346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36348 arg2
= static_cast< int >(val2
);
36349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36350 if (!SWIG_IsOK(ecode3
)) {
36351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36353 arg3
= static_cast< int >(val3
);
36354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36355 if (!SWIG_IsOK(ecode4
)) {
36356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36358 arg4
= static_cast< int >(val4
);
36359 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36360 if (!SWIG_IsOK(ecode5
)) {
36361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36363 arg5
= static_cast< int >(val5
);
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36367 wxPyEndAllowThreads(__tstate
);
36368 if (PyErr_Occurred()) SWIG_fail
;
36370 resultobj
= SWIG_Py_Void();
36377 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36378 PyObject
*resultobj
= 0;
36379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36384 PyObject
* obj0
= 0 ;
36385 PyObject
* obj1
= 0 ;
36386 char * kwnames
[] = {
36387 (char *) "self",(char *) "rect", NULL
36390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36392 if (!SWIG_IsOK(res1
)) {
36393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36395 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36398 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36402 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36403 wxPyEndAllowThreads(__tstate
);
36404 if (PyErr_Occurred()) SWIG_fail
;
36406 resultobj
= SWIG_Py_Void();
36413 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
= 0;
36415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36416 wxPoint
*arg2
= 0 ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 PyObject
* obj2
= 0 ;
36425 char * kwnames
[] = {
36426 (char *) "self",(char *) "pt",(char *) "sz", NULL
36429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36431 if (!SWIG_IsOK(res1
)) {
36432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36441 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36449 resultobj
= SWIG_Py_Void();
36456 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36457 PyObject
*resultobj
= 0;
36458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36476 PyObject
* obj0
= 0 ;
36477 PyObject
* obj1
= 0 ;
36478 PyObject
* obj2
= 0 ;
36479 PyObject
* obj3
= 0 ;
36480 PyObject
* obj4
= 0 ;
36481 PyObject
* obj5
= 0 ;
36482 char * kwnames
[] = {
36483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36488 if (!SWIG_IsOK(res1
)) {
36489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36493 if (!SWIG_IsOK(ecode2
)) {
36494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36496 arg2
= static_cast< int >(val2
);
36497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36498 if (!SWIG_IsOK(ecode3
)) {
36499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36501 arg3
= static_cast< int >(val3
);
36502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36503 if (!SWIG_IsOK(ecode4
)) {
36504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36506 arg4
= static_cast< int >(val4
);
36507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36508 if (!SWIG_IsOK(ecode5
)) {
36509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36511 arg5
= static_cast< int >(val5
);
36512 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36513 if (!SWIG_IsOK(ecode6
)) {
36514 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36516 arg6
= static_cast< double >(val6
);
36518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36519 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36520 wxPyEndAllowThreads(__tstate
);
36521 if (PyErr_Occurred()) SWIG_fail
;
36523 resultobj
= SWIG_Py_Void();
36530 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36531 PyObject
*resultobj
= 0;
36532 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36540 PyObject
* obj0
= 0 ;
36541 PyObject
* obj1
= 0 ;
36542 PyObject
* obj2
= 0 ;
36543 char * kwnames
[] = {
36544 (char *) "self",(char *) "r",(char *) "radius", NULL
36547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36549 if (!SWIG_IsOK(res1
)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36552 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36555 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36557 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36558 if (!SWIG_IsOK(ecode3
)) {
36559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36561 arg3
= static_cast< double >(val3
);
36563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36564 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36565 wxPyEndAllowThreads(__tstate
);
36566 if (PyErr_Occurred()) SWIG_fail
;
36568 resultobj
= SWIG_Py_Void();
36575 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36576 PyObject
*resultobj
= 0;
36577 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36578 wxPoint
*arg2
= 0 ;
36587 PyObject
* obj0
= 0 ;
36588 PyObject
* obj1
= 0 ;
36589 PyObject
* obj2
= 0 ;
36590 PyObject
* obj3
= 0 ;
36591 char * kwnames
[] = {
36592 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36597 if (!SWIG_IsOK(res1
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36600 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36607 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36609 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36610 if (!SWIG_IsOK(ecode4
)) {
36611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36613 arg4
= static_cast< double >(val4
);
36615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36616 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 resultobj
= SWIG_Py_Void();
36627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
= 0;
36629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36641 PyObject
* obj0
= 0 ;
36642 PyObject
* obj1
= 0 ;
36643 PyObject
* obj2
= 0 ;
36644 PyObject
* obj3
= 0 ;
36645 char * kwnames
[] = {
36646 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36651 if (!SWIG_IsOK(res1
)) {
36652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36654 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36656 if (!SWIG_IsOK(ecode2
)) {
36657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36659 arg2
= static_cast< int >(val2
);
36660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36661 if (!SWIG_IsOK(ecode3
)) {
36662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36664 arg3
= static_cast< int >(val3
);
36665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36666 if (!SWIG_IsOK(ecode4
)) {
36667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36669 arg4
= static_cast< int >(val4
);
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 resultobj
= SWIG_Py_Void();
36683 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
= 0;
36685 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36686 wxPoint
*arg2
= 0 ;
36693 PyObject
* obj0
= 0 ;
36694 PyObject
* obj1
= 0 ;
36695 PyObject
* obj2
= 0 ;
36696 char * kwnames
[] = {
36697 (char *) "self",(char *) "pt",(char *) "radius", NULL
36700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36702 if (!SWIG_IsOK(res1
)) {
36703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36705 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36711 if (!SWIG_IsOK(ecode3
)) {
36712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36714 arg3
= static_cast< int >(val3
);
36716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36717 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36718 wxPyEndAllowThreads(__tstate
);
36719 if (PyErr_Occurred()) SWIG_fail
;
36721 resultobj
= SWIG_Py_Void();
36728 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36729 PyObject
*resultobj
= 0;
36730 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36745 PyObject
* obj0
= 0 ;
36746 PyObject
* obj1
= 0 ;
36747 PyObject
* obj2
= 0 ;
36748 PyObject
* obj3
= 0 ;
36749 PyObject
* obj4
= 0 ;
36750 char * kwnames
[] = {
36751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36756 if (!SWIG_IsOK(res1
)) {
36757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36761 if (!SWIG_IsOK(ecode2
)) {
36762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36764 arg2
= static_cast< int >(val2
);
36765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36766 if (!SWIG_IsOK(ecode3
)) {
36767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36769 arg3
= static_cast< int >(val3
);
36770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36771 if (!SWIG_IsOK(ecode4
)) {
36772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36774 arg4
= static_cast< int >(val4
);
36775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36776 if (!SWIG_IsOK(ecode5
)) {
36777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36779 arg5
= static_cast< int >(val5
);
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36782 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36783 wxPyEndAllowThreads(__tstate
);
36784 if (PyErr_Occurred()) SWIG_fail
;
36786 resultobj
= SWIG_Py_Void();
36793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36794 PyObject
*resultobj
= 0;
36795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36800 PyObject
* obj0
= 0 ;
36801 PyObject
* obj1
= 0 ;
36802 char * kwnames
[] = {
36803 (char *) "self",(char *) "rect", NULL
36806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36808 if (!SWIG_IsOK(res1
)) {
36809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36814 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36818 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36819 wxPyEndAllowThreads(__tstate
);
36820 if (PyErr_Occurred()) SWIG_fail
;
36822 resultobj
= SWIG_Py_Void();
36829 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36830 PyObject
*resultobj
= 0;
36831 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36832 wxPoint
*arg2
= 0 ;
36838 PyObject
* obj0
= 0 ;
36839 PyObject
* obj1
= 0 ;
36840 PyObject
* obj2
= 0 ;
36841 char * kwnames
[] = {
36842 (char *) "self",(char *) "pt",(char *) "sz", NULL
36845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36847 if (!SWIG_IsOK(res1
)) {
36848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36850 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36857 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36861 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 resultobj
= SWIG_Py_Void();
36872 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
= 0;
36874 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36886 PyObject
* obj0
= 0 ;
36887 PyObject
* obj1
= 0 ;
36888 PyObject
* obj2
= 0 ;
36889 PyObject
* obj3
= 0 ;
36890 char * kwnames
[] = {
36891 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
36894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36896 if (!SWIG_IsOK(res1
)) {
36897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36901 if (!SWIG_IsOK(res2
)) {
36902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36907 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36909 if (!SWIG_IsOK(ecode3
)) {
36910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
36912 arg3
= static_cast< int >(val3
);
36913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36914 if (!SWIG_IsOK(ecode4
)) {
36915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
36917 arg4
= static_cast< int >(val4
);
36919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36920 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
36921 wxPyEndAllowThreads(__tstate
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36924 resultobj
= SWIG_Py_Void();
36931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36932 PyObject
*resultobj
= 0;
36933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36935 wxPoint
*arg3
= 0 ;
36941 PyObject
* obj0
= 0 ;
36942 PyObject
* obj1
= 0 ;
36943 PyObject
* obj2
= 0 ;
36944 char * kwnames
[] = {
36945 (char *) "self",(char *) "icon",(char *) "pt", NULL
36948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36950 if (!SWIG_IsOK(res1
)) {
36951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36953 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36955 if (!SWIG_IsOK(res2
)) {
36956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36961 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36968 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
36969 wxPyEndAllowThreads(__tstate
);
36970 if (PyErr_Occurred()) SWIG_fail
;
36972 resultobj
= SWIG_Py_Void();
36979 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36980 PyObject
*resultobj
= 0;
36981 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36982 wxBitmap
*arg2
= 0 ;
36985 bool arg5
= (bool) false ;
36996 PyObject
* obj0
= 0 ;
36997 PyObject
* obj1
= 0 ;
36998 PyObject
* obj2
= 0 ;
36999 PyObject
* obj3
= 0 ;
37000 PyObject
* obj4
= 0 ;
37001 char * kwnames
[] = {
37002 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37007 if (!SWIG_IsOK(res1
)) {
37008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37012 if (!SWIG_IsOK(res2
)) {
37013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37018 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37020 if (!SWIG_IsOK(ecode3
)) {
37021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37023 arg3
= static_cast< int >(val3
);
37024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37025 if (!SWIG_IsOK(ecode4
)) {
37026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37028 arg4
= static_cast< int >(val4
);
37030 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37031 if (!SWIG_IsOK(ecode5
)) {
37032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37034 arg5
= static_cast< bool >(val5
);
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 resultobj
= SWIG_Py_Void();
37049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37050 PyObject
*resultobj
= 0;
37051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37052 wxBitmap
*arg2
= 0 ;
37053 wxPoint
*arg3
= 0 ;
37054 bool arg4
= (bool) false ;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 PyObject
* obj2
= 0 ;
37065 PyObject
* obj3
= 0 ;
37066 char * kwnames
[] = {
37067 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37072 if (!SWIG_IsOK(res1
)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37075 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37077 if (!SWIG_IsOK(res2
)) {
37078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37083 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37089 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37090 if (!SWIG_IsOK(ecode4
)) {
37091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37093 arg4
= static_cast< bool >(val4
);
37096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37097 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37098 wxPyEndAllowThreads(__tstate
);
37099 if (PyErr_Occurred()) SWIG_fail
;
37101 resultobj
= SWIG_Py_Void();
37108 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37109 PyObject
*resultobj
= 0;
37110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37111 wxString
*arg2
= 0 ;
37116 bool temp2
= false ;
37121 PyObject
* obj0
= 0 ;
37122 PyObject
* obj1
= 0 ;
37123 PyObject
* obj2
= 0 ;
37124 PyObject
* obj3
= 0 ;
37125 char * kwnames
[] = {
37126 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37131 if (!SWIG_IsOK(res1
)) {
37132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37136 arg2
= wxString_in_helper(obj1
);
37137 if (arg2
== NULL
) SWIG_fail
;
37140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37141 if (!SWIG_IsOK(ecode3
)) {
37142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37144 arg3
= static_cast< int >(val3
);
37145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37146 if (!SWIG_IsOK(ecode4
)) {
37147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37149 arg4
= static_cast< int >(val4
);
37151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37152 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37153 wxPyEndAllowThreads(__tstate
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37156 resultobj
= SWIG_Py_Void();
37171 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
= 0;
37173 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37174 wxString
*arg2
= 0 ;
37175 wxPoint
*arg3
= 0 ;
37178 bool temp2
= false ;
37180 PyObject
* obj0
= 0 ;
37181 PyObject
* obj1
= 0 ;
37182 PyObject
* obj2
= 0 ;
37183 char * kwnames
[] = {
37184 (char *) "self",(char *) "text",(char *) "pt", NULL
37187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37189 if (!SWIG_IsOK(res1
)) {
37190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37194 arg2
= wxString_in_helper(obj1
);
37195 if (arg2
== NULL
) SWIG_fail
;
37200 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37205 wxPyEndAllowThreads(__tstate
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37208 resultobj
= SWIG_Py_Void();
37223 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
= 0;
37225 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37226 wxString
*arg2
= 0 ;
37232 bool temp2
= false ;
37239 PyObject
* obj0
= 0 ;
37240 PyObject
* obj1
= 0 ;
37241 PyObject
* obj2
= 0 ;
37242 PyObject
* obj3
= 0 ;
37243 PyObject
* obj4
= 0 ;
37244 char * kwnames
[] = {
37245 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37250 if (!SWIG_IsOK(res1
)) {
37251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37253 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37255 arg2
= wxString_in_helper(obj1
);
37256 if (arg2
== NULL
) SWIG_fail
;
37259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37260 if (!SWIG_IsOK(ecode3
)) {
37261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37263 arg3
= static_cast< int >(val3
);
37264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37265 if (!SWIG_IsOK(ecode4
)) {
37266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37268 arg4
= static_cast< int >(val4
);
37269 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37270 if (!SWIG_IsOK(ecode5
)) {
37271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37273 arg5
= static_cast< double >(val5
);
37275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37276 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37277 wxPyEndAllowThreads(__tstate
);
37278 if (PyErr_Occurred()) SWIG_fail
;
37280 resultobj
= SWIG_Py_Void();
37295 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37296 PyObject
*resultobj
= 0;
37297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37298 wxString
*arg2
= 0 ;
37299 wxPoint
*arg3
= 0 ;
37303 bool temp2
= false ;
37307 PyObject
* obj0
= 0 ;
37308 PyObject
* obj1
= 0 ;
37309 PyObject
* obj2
= 0 ;
37310 PyObject
* obj3
= 0 ;
37311 char * kwnames
[] = {
37312 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37317 if (!SWIG_IsOK(res1
)) {
37318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37322 arg2
= wxString_in_helper(obj1
);
37323 if (arg2
== NULL
) SWIG_fail
;
37328 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37330 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37331 if (!SWIG_IsOK(ecode4
)) {
37332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37334 arg4
= static_cast< double >(val4
);
37336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37337 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37338 wxPyEndAllowThreads(__tstate
);
37339 if (PyErr_Occurred()) SWIG_fail
;
37341 resultobj
= SWIG_Py_Void();
37356 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37357 PyObject
*resultobj
= 0;
37358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37360 wxPoint
*arg3
= (wxPoint
*) 0 ;
37361 int arg4
= (int) 0 ;
37362 int arg5
= (int) 0 ;
37369 PyObject
* obj0
= 0 ;
37370 PyObject
* obj1
= 0 ;
37371 PyObject
* obj2
= 0 ;
37372 PyObject
* obj3
= 0 ;
37373 char * kwnames
[] = {
37374 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37379 if (!SWIG_IsOK(res1
)) {
37380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37382 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37384 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37385 if (arg3
== NULL
) SWIG_fail
;
37388 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37389 if (!SWIG_IsOK(ecode4
)) {
37390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37392 arg4
= static_cast< int >(val4
);
37395 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37396 if (!SWIG_IsOK(ecode5
)) {
37397 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37399 arg5
= static_cast< int >(val5
);
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37407 resultobj
= SWIG_Py_Void();
37409 if (arg3
) delete [] arg3
;
37414 if (arg3
) delete [] arg3
;
37420 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37421 PyObject
*resultobj
= 0;
37422 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37424 wxPoint
*arg3
= (wxPoint
*) 0 ;
37425 int arg4
= (int) 0 ;
37426 int arg5
= (int) 0 ;
37427 int arg6
= (int) wxODDEVEN_RULE
;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 PyObject
* obj2
= 0 ;
37439 PyObject
* obj3
= 0 ;
37440 PyObject
* obj4
= 0 ;
37441 char * kwnames
[] = {
37442 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37447 if (!SWIG_IsOK(res1
)) {
37448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37452 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37453 if (arg3
== NULL
) SWIG_fail
;
37456 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37457 if (!SWIG_IsOK(ecode4
)) {
37458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37460 arg4
= static_cast< int >(val4
);
37463 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37464 if (!SWIG_IsOK(ecode5
)) {
37465 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37467 arg5
= static_cast< int >(val5
);
37470 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37471 if (!SWIG_IsOK(ecode6
)) {
37472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37474 arg6
= static_cast< int >(val6
);
37477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37478 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37479 wxPyEndAllowThreads(__tstate
);
37480 if (PyErr_Occurred()) SWIG_fail
;
37482 resultobj
= SWIG_Py_Void();
37484 if (arg3
) delete [] arg3
;
37489 if (arg3
) delete [] arg3
;
37495 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37496 PyObject
*resultobj
= 0;
37497 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37498 wxString
*arg2
= 0 ;
37500 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37501 int arg5
= (int) -1 ;
37504 bool temp2
= false ;
37510 PyObject
* obj0
= 0 ;
37511 PyObject
* obj1
= 0 ;
37512 PyObject
* obj2
= 0 ;
37513 PyObject
* obj3
= 0 ;
37514 PyObject
* obj4
= 0 ;
37515 char * kwnames
[] = {
37516 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37521 if (!SWIG_IsOK(res1
)) {
37522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37524 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37526 arg2
= wxString_in_helper(obj1
);
37527 if (arg2
== NULL
) SWIG_fail
;
37532 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37536 if (!SWIG_IsOK(ecode4
)) {
37537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37539 arg4
= static_cast< int >(val4
);
37542 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37543 if (!SWIG_IsOK(ecode5
)) {
37544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37546 arg5
= static_cast< int >(val5
);
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37554 resultobj
= SWIG_Py_Void();
37569 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
= 0;
37571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37572 wxString
*arg2
= 0 ;
37573 wxBitmap
*arg3
= 0 ;
37575 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37576 int arg6
= (int) -1 ;
37579 bool temp2
= false ;
37587 PyObject
* obj0
= 0 ;
37588 PyObject
* obj1
= 0 ;
37589 PyObject
* obj2
= 0 ;
37590 PyObject
* obj3
= 0 ;
37591 PyObject
* obj4
= 0 ;
37592 PyObject
* obj5
= 0 ;
37593 char * kwnames
[] = {
37594 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37599 if (!SWIG_IsOK(res1
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37604 arg2
= wxString_in_helper(obj1
);
37605 if (arg2
== NULL
) SWIG_fail
;
37608 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37609 if (!SWIG_IsOK(res3
)) {
37610 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37615 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37618 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37621 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37622 if (!SWIG_IsOK(ecode5
)) {
37623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37625 arg5
= static_cast< int >(val5
);
37628 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37629 if (!SWIG_IsOK(ecode6
)) {
37630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37632 arg6
= static_cast< int >(val6
);
37635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37636 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37640 resultobj
= SWIG_Py_Void();
37655 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37656 PyObject
*resultobj
= 0;
37657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37659 wxPoint
*arg3
= (wxPoint
*) 0 ;
37662 PyObject
* obj0
= 0 ;
37663 PyObject
* obj1
= 0 ;
37664 char * kwnames
[] = {
37665 (char *) "self",(char *) "points", NULL
37668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37670 if (!SWIG_IsOK(res1
)) {
37671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37673 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37675 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37676 if (arg3
== NULL
) SWIG_fail
;
37679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37680 (arg1
)->DrawSpline(arg2
,arg3
);
37681 wxPyEndAllowThreads(__tstate
);
37682 if (PyErr_Occurred()) SWIG_fail
;
37684 resultobj
= SWIG_Py_Void();
37686 if (arg3
) delete [] arg3
;
37691 if (arg3
) delete [] arg3
;
37697 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37698 PyObject
*resultobj
= 0;
37699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37702 PyObject
*swig_obj
[1] ;
37704 if (!args
) SWIG_fail
;
37705 swig_obj
[0] = args
;
37706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37707 if (!SWIG_IsOK(res1
)) {
37708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 wxPyEndAllowThreads(__tstate
);
37715 if (PyErr_Occurred()) SWIG_fail
;
37717 resultobj
= SWIG_Py_Void();
37724 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37725 PyObject
*resultobj
= 0;
37726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37732 PyObject
* obj0
= 0 ;
37733 PyObject
* obj1
= 0 ;
37734 char * kwnames
[] = {
37735 (char *) "self",(char *) "font", NULL
37738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37740 if (!SWIG_IsOK(res1
)) {
37741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37745 if (!SWIG_IsOK(res2
)) {
37746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37751 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 (arg1
)->SetFont((wxFont
const &)*arg2
);
37755 wxPyEndAllowThreads(__tstate
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37758 resultobj
= SWIG_Py_Void();
37765 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37766 PyObject
*resultobj
= 0;
37767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37773 PyObject
* obj0
= 0 ;
37774 PyObject
* obj1
= 0 ;
37775 char * kwnames
[] = {
37776 (char *) "self",(char *) "pen", NULL
37779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37781 if (!SWIG_IsOK(res1
)) {
37782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37784 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37786 if (!SWIG_IsOK(res2
)) {
37787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37792 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37795 (arg1
)->SetPen((wxPen
const &)*arg2
);
37796 wxPyEndAllowThreads(__tstate
);
37797 if (PyErr_Occurred()) SWIG_fail
;
37799 resultobj
= SWIG_Py_Void();
37806 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37807 PyObject
*resultobj
= 0;
37808 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37809 wxBrush
*arg2
= 0 ;
37814 PyObject
* obj0
= 0 ;
37815 PyObject
* obj1
= 0 ;
37816 char * kwnames
[] = {
37817 (char *) "self",(char *) "brush", NULL
37820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37822 if (!SWIG_IsOK(res1
)) {
37823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37825 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37827 if (!SWIG_IsOK(res2
)) {
37828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37833 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37836 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37837 wxPyEndAllowThreads(__tstate
);
37838 if (PyErr_Occurred()) SWIG_fail
;
37840 resultobj
= SWIG_Py_Void();
37847 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37848 PyObject
*resultobj
= 0;
37849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37850 wxBrush
*arg2
= 0 ;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37857 char * kwnames
[] = {
37858 (char *) "self",(char *) "brush", NULL
37861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37863 if (!SWIG_IsOK(res1
)) {
37864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37866 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37868 if (!SWIG_IsOK(res2
)) {
37869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37874 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37877 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37878 wxPyEndAllowThreads(__tstate
);
37879 if (PyErr_Occurred()) SWIG_fail
;
37881 resultobj
= SWIG_Py_Void();
37888 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37889 PyObject
*resultobj
= 0;
37890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 char * kwnames
[] = {
37899 (char *) "self",(char *) "mode", NULL
37902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37904 if (!SWIG_IsOK(res1
)) {
37905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37909 if (!SWIG_IsOK(ecode2
)) {
37910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
37912 arg2
= static_cast< int >(val2
);
37914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37915 (arg1
)->SetBackgroundMode(arg2
);
37916 wxPyEndAllowThreads(__tstate
);
37917 if (PyErr_Occurred()) SWIG_fail
;
37919 resultobj
= SWIG_Py_Void();
37926 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37927 PyObject
*resultobj
= 0;
37928 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37929 wxPalette
*arg2
= 0 ;
37934 PyObject
* obj0
= 0 ;
37935 PyObject
* obj1
= 0 ;
37936 char * kwnames
[] = {
37937 (char *) "self",(char *) "palette", NULL
37940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37942 if (!SWIG_IsOK(res1
)) {
37943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37945 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
37947 if (!SWIG_IsOK(res2
)) {
37948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37953 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
37955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37956 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
37957 wxPyEndAllowThreads(__tstate
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= SWIG_Py_Void();
37967 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
= 0;
37969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37970 wxColour
*arg2
= 0 ;
37974 PyObject
* obj0
= 0 ;
37975 PyObject
* obj1
= 0 ;
37976 char * kwnames
[] = {
37977 (char *) "self",(char *) "colour", NULL
37980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37982 if (!SWIG_IsOK(res1
)) {
37983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37985 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37996 resultobj
= SWIG_Py_Void();
38003 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38004 PyObject
*resultobj
= 0;
38005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38006 wxColour
*arg2
= 0 ;
38010 PyObject
* obj0
= 0 ;
38011 PyObject
* obj1
= 0 ;
38012 char * kwnames
[] = {
38013 (char *) "self",(char *) "colour", NULL
38016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38018 if (!SWIG_IsOK(res1
)) {
38019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38021 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38028 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38029 wxPyEndAllowThreads(__tstate
);
38030 if (PyErr_Occurred()) SWIG_fail
;
38032 resultobj
= SWIG_Py_Void();
38039 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38040 PyObject
*resultobj
= 0;
38041 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38047 PyObject
* obj0
= 0 ;
38048 PyObject
* obj1
= 0 ;
38049 char * kwnames
[] = {
38050 (char *) "self",(char *) "function", NULL
38053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38055 if (!SWIG_IsOK(res1
)) {
38056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38058 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38060 if (!SWIG_IsOK(ecode2
)) {
38061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38063 arg2
= static_cast< int >(val2
);
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 (arg1
)->SetLogicalFunction(arg2
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38070 resultobj
= SWIG_Py_Void();
38077 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38080 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38081 return SWIG_Py_Void();
38084 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38085 return SWIG_Python_InitShadowInstance(args
);
38088 static PyMethodDef SwigMethods
[] = {
38089 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38090 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38091 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38092 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38093 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38094 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38095 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38096 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38097 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38098 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38099 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38100 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38101 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38102 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38103 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38104 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38105 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38106 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38107 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38108 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38109 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38110 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38111 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38112 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38113 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38114 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38115 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38116 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38117 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38118 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38119 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38120 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38121 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38122 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38123 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38124 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38125 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38126 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38127 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38128 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38129 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38130 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38131 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38134 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38135 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38136 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38137 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38138 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38139 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38140 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38141 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38142 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38143 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38144 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38145 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38146 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38147 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38148 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38149 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38150 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38151 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38152 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38153 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38154 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38155 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38156 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38157 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38158 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38159 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38160 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38161 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38163 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38164 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38165 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38166 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38167 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38168 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38169 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38170 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38171 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38172 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38173 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38174 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38175 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38176 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38177 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38178 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38179 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38180 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38181 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38182 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38183 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38184 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38185 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38186 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38187 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38188 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38189 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38191 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38192 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38193 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38194 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38195 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38196 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38197 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38198 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38199 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38200 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38201 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38202 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38203 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38204 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38205 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38206 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38207 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38208 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38209 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38210 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38211 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38212 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38213 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38214 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38215 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38216 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38217 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38218 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38219 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38220 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38221 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38222 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38223 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38224 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38225 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38226 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38227 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38228 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38229 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38230 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38231 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38232 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38233 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38234 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38235 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38236 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38237 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38238 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38239 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38240 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38241 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38242 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38243 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38244 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38245 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38246 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38247 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38248 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38249 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38250 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38251 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38252 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38253 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38255 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38256 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38257 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38258 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38259 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38260 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38261 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38262 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38263 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38264 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38265 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38266 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38267 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38268 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38269 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38270 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38271 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38272 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38273 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38274 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38275 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38276 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38277 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38278 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38279 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38280 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38281 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38282 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38283 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38285 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38286 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38287 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38288 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38289 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38290 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38291 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38292 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38294 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38295 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38298 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38299 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38300 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38301 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38302 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38303 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38305 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38306 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38307 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38308 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38309 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38310 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38311 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38312 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38313 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38314 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38315 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38316 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38317 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38318 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38319 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38320 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38321 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38322 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38323 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38324 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38325 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38326 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38327 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38328 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38329 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38330 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38331 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38332 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38333 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38334 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38335 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38336 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38337 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38338 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38339 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38342 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38345 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38347 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38348 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38349 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38350 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38351 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38352 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38353 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38354 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38355 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38356 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38357 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38358 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38359 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38360 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38361 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38362 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38363 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38365 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38366 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38367 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38368 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38371 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38374 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38375 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38376 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38377 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38379 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38380 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38382 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38383 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38384 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38385 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38386 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38387 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38388 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38390 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38391 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38393 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38394 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38395 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38396 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38397 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38398 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38399 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38400 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38401 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38402 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38403 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38404 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38405 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38406 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38417 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38418 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38419 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38420 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38421 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38422 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38423 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38425 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38426 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38427 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38428 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38429 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38430 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38431 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38432 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38433 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38434 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38435 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38436 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38437 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38438 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38439 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38440 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38441 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38442 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38443 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38444 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38445 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38448 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38449 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38450 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38451 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38452 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38453 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38454 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38455 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38464 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38465 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38466 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38467 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38469 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38473 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38474 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38475 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38476 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38477 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38478 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38484 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38485 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38486 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38536 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38538 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38539 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38540 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38547 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38548 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38549 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38550 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38551 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38556 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38557 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38558 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38559 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38568 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38569 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38570 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38571 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38572 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38573 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38574 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38575 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38576 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38577 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38578 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38579 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38582 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38584 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38586 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38588 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38589 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38592 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38593 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38597 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38599 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38602 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38603 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38604 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38605 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38606 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38607 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38608 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38616 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38618 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38619 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38620 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38622 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38623 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38624 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38626 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38627 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38628 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38629 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38630 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38631 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38632 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38637 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38638 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38639 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38642 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38643 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38644 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38646 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38647 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38649 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38650 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38652 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38653 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38654 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38655 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38656 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38657 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38658 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38660 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38661 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38663 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38664 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38667 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38668 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38670 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38673 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38674 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38675 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38677 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38678 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38680 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38681 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38683 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38684 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38686 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38687 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38688 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38689 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38690 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38691 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38692 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38693 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38694 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38695 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38696 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38697 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38698 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38699 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38700 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38701 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38702 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38703 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38704 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38708 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38710 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38716 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38717 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38718 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38719 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38720 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38721 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38722 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38723 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38725 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38726 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38727 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38734 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38737 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38738 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38739 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38740 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38741 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38742 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38745 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38752 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38753 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38756 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38757 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38763 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38764 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38765 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38766 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38784 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38785 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38786 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38787 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38788 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38791 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38798 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38800 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38801 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38803 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38804 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38805 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38806 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38807 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38808 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38809 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38810 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38811 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38812 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38813 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38814 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38816 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38824 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38826 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38830 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38831 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38832 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38833 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38839 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38840 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38841 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38842 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38843 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38844 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38848 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38852 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38856 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38857 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38858 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38863 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38864 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38865 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38866 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38867 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38868 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38869 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38870 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38871 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38872 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38873 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38874 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38883 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38884 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38886 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38887 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
38888 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
38889 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
38890 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
38891 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
38892 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
38893 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
38894 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
38895 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
38896 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
38897 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
38898 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
38899 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
38900 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
38901 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
38902 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
38903 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
38904 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
38905 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
38906 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
38907 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
38908 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
38909 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
38911 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
38913 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
38914 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
38915 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
38916 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
38929 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
38930 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
38931 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
38933 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
38934 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
38935 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
38936 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
38937 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
38938 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
38939 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
38940 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
38993 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39003 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39004 { NULL
, NULL
, 0, NULL
}
39008 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39010 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39011 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39013 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39014 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39016 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39017 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39019 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39020 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39022 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39023 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39025 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39026 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39028 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39029 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39031 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39032 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39034 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39035 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39037 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39038 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39040 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39041 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39043 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39044 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39046 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39047 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39049 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39050 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39052 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39053 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39055 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39056 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39058 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39059 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39061 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39062 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39064 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39065 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39067 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39068 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39070 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39071 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39073 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39074 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39076 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39077 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39079 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39080 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39082 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39083 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39085 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39086 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39088 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39089 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39091 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39092 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39094 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39095 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39097 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39098 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39100 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39101 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39103 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39104 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39106 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39107 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39109 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39110 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39112 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39113 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39115 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39116 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39118 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39119 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39121 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39122 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39124 static void *_p_wxPenTo_p_wxObject(void *x
) {
39125 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39127 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39128 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39130 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39131 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39133 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39134 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39136 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39139 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39140 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39142 static void *_p_wxIconTo_p_wxObject(void *x
) {
39143 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39145 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39146 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39148 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39149 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39151 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39152 return (void *)((wxObject
*) ((wxSizer
*) x
));
39154 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39155 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39157 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39158 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39160 static void *_p_wxEventTo_p_wxObject(void *x
) {
39161 return (void *)((wxObject
*) ((wxEvent
*) x
));
39163 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39164 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39166 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39167 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39169 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39170 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39172 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39173 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39175 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39178 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39179 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39181 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39182 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39184 static void *_p_wxDCTo_p_wxObject(void *x
) {
39185 return (void *)((wxObject
*) ((wxDC
*) x
));
39187 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39188 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39190 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39191 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39193 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39194 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39196 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39197 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39199 static void *_p_wxControlTo_p_wxObject(void *x
) {
39200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39202 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39203 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39205 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39206 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39208 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39209 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39211 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39212 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39214 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39215 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39217 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39218 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39220 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39221 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39223 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39224 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39226 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39227 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39229 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39230 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39232 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39233 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39235 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39236 return (void *)((wxObject
*) ((wxEffects
*) x
));
39238 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39239 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39241 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39244 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39245 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39247 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39248 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39250 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39251 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39253 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39254 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39256 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39259 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39260 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39262 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39265 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39266 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39268 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39269 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39271 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39272 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39274 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39275 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39277 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39278 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39280 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39281 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39283 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39286 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39289 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39292 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39295 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39296 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39298 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39301 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39302 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39304 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39305 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39307 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39310 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39313 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39314 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39316 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39317 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39319 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39320 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39322 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39323 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39325 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39326 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39328 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39329 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39331 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39332 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39334 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39335 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39337 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39338 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39340 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39341 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39343 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39344 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39346 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39347 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39349 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39350 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39352 static void *_p_wxImageTo_p_wxObject(void *x
) {
39353 return (void *)((wxObject
*) ((wxImage
*) x
));
39355 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39356 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39358 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39359 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39361 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39362 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39364 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39365 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39367 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39368 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39370 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39371 return (void *)((wxObject
*) ((wxImageList
*) x
));
39373 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39374 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39376 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39377 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39379 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39380 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39382 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39383 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39385 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39386 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39388 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39391 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39392 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39394 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39395 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39397 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39398 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39400 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39403 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39406 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39407 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39409 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39410 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39412 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39413 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39415 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39416 return (void *)((wxObject
*) ((wxMask
*) x
));
39418 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39419 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39421 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39422 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39424 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39425 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39427 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39428 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39430 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39431 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39433 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39434 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39436 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39437 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39439 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39442 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39443 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39445 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39446 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39448 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39449 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39451 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39454 static void *_p_wxFontTo_p_wxObject(void *x
) {
39455 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39457 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39458 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39460 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39461 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39463 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39466 static void *_p_wxColourTo_p_wxObject(void *x
) {
39467 return (void *)((wxObject
*) ((wxColour
*) x
));
39469 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39472 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39473 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39475 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39476 return (void *)((wxWindow
*) ((wxControl
*) x
));
39478 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39479 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39481 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39482 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39484 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39485 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39487 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39488 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39490 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39491 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39492 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39493 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};
39494 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39495 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39496 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39497 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39498 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39499 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39500 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39501 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39502 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39503 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39504 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39505 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39506 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39507 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39508 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39509 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39510 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39511 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39512 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39513 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39514 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39515 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39516 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39517 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39518 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39519 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39520 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39521 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39522 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39523 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39524 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39525 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39526 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39527 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39528 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39529 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39530 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39531 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39532 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39533 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39534 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39535 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39536 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39537 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39538 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39539 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39540 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39541 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39542 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39543 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39544 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39545 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39546 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39547 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39548 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39549 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39550 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39551 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39552 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39553 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39554 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39555 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39556 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39557 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39558 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39559 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39560 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39561 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39562 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39563 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39564 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39565 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39566 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39567 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39568 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39569 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39570 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39571 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39572 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39573 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39574 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39575 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39576 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39577 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39578 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39579 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39580 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39581 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39582 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39583 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39584 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39585 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39586 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39587 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39588 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39589 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39590 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39591 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39592 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39593 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39594 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39595 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39596 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39597 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39598 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39599 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39600 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39601 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39602 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39603 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39604 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39605 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39606 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39607 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39608 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39609 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39610 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39611 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39612 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39613 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39614 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39615 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39616 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39617 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39618 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39619 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39620 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39621 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39622 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39623 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39624 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39625 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39626 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39627 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39628 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39629 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39630 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39631 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39632 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39633 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39634 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39635 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39636 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39637 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39638 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39639 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39640 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39641 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39642 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39643 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39644 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39645 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39646 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39647 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39648 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39649 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39650 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39651 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39652 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39653 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39654 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39655 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39656 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39657 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39658 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39659 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39660 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39662 static swig_type_info
*swig_type_initial
[] = {
39666 &_swigt__p_form_ops_t
,
39668 &_swigt__p_unsigned_char
,
39669 &_swigt__p_unsigned_int
,
39670 &_swigt__p_unsigned_long
,
39672 &_swigt__p_wxANIHandler
,
39673 &_swigt__p_wxAcceleratorTable
,
39674 &_swigt__p_wxActivateEvent
,
39675 &_swigt__p_wxAlphaPixelData
,
39676 &_swigt__p_wxAlphaPixelData_Accessor
,
39677 &_swigt__p_wxAutoBufferedPaintDC
,
39678 &_swigt__p_wxBMPHandler
,
39679 &_swigt__p_wxBitmap
,
39680 &_swigt__p_wxBoxSizer
,
39681 &_swigt__p_wxBrush
,
39682 &_swigt__p_wxBrushList
,
39683 &_swigt__p_wxBufferedDC
,
39684 &_swigt__p_wxBufferedPaintDC
,
39685 &_swigt__p_wxCURHandler
,
39687 &_swigt__p_wxChildFocusEvent
,
39688 &_swigt__p_wxClientDC
,
39689 &_swigt__p_wxClipboardTextEvent
,
39690 &_swigt__p_wxCloseEvent
,
39691 &_swigt__p_wxColor
,
39692 &_swigt__p_wxColour
,
39693 &_swigt__p_wxColourDatabase
,
39694 &_swigt__p_wxCommandEvent
,
39695 &_swigt__p_wxContextMenuEvent
,
39696 &_swigt__p_wxControl
,
39697 &_swigt__p_wxControlWithItems
,
39698 &_swigt__p_wxCursor
,
39700 &_swigt__p_wxDCBrushChanger
,
39701 &_swigt__p_wxDCClipper
,
39702 &_swigt__p_wxDCOverlay
,
39703 &_swigt__p_wxDCPenChanger
,
39704 &_swigt__p_wxDCTextColourChanger
,
39706 &_swigt__p_wxDateEvent
,
39707 &_swigt__p_wxDisplayChangedEvent
,
39708 &_swigt__p_wxDropFilesEvent
,
39709 &_swigt__p_wxDuplexMode
,
39710 &_swigt__p_wxEffects
,
39711 &_swigt__p_wxEncodingConverter
,
39712 &_swigt__p_wxEraseEvent
,
39713 &_swigt__p_wxEvent
,
39714 &_swigt__p_wxEvtHandler
,
39715 &_swigt__p_wxFSFile
,
39716 &_swigt__p_wxFileSystem
,
39717 &_swigt__p_wxFlexGridSizer
,
39718 &_swigt__p_wxFocusEvent
,
39720 &_swigt__p_wxFontList
,
39721 &_swigt__p_wxFontMapper
,
39722 &_swigt__p_wxGBSizerItem
,
39724 &_swigt__p_wxGDIObjListBase
,
39725 &_swigt__p_wxGDIObject
,
39726 &_swigt__p_wxGIFHandler
,
39727 &_swigt__p_wxGraphicsBrush
,
39728 &_swigt__p_wxGraphicsContext
,
39729 &_swigt__p_wxGraphicsFont
,
39730 &_swigt__p_wxGraphicsMatrix
,
39731 &_swigt__p_wxGraphicsObject
,
39732 &_swigt__p_wxGraphicsPath
,
39733 &_swigt__p_wxGraphicsPen
,
39734 &_swigt__p_wxGraphicsRenderer
,
39735 &_swigt__p_wxGridBagSizer
,
39736 &_swigt__p_wxGridSizer
,
39737 &_swigt__p_wxHeaderButtonParams
,
39738 &_swigt__p_wxICOHandler
,
39740 &_swigt__p_wxIconBundle
,
39741 &_swigt__p_wxIconLocation
,
39742 &_swigt__p_wxIconizeEvent
,
39743 &_swigt__p_wxIdleEvent
,
39744 &_swigt__p_wxImage
,
39745 &_swigt__p_wxImageHandler
,
39746 &_swigt__p_wxImageList
,
39747 &_swigt__p_wxIndividualLayoutConstraint
,
39748 &_swigt__p_wxInitDialogEvent
,
39749 &_swigt__p_wxJPEGHandler
,
39750 &_swigt__p_wxKeyEvent
,
39751 &_swigt__p_wxLanguageInfo
,
39752 &_swigt__p_wxLayoutConstraints
,
39753 &_swigt__p_wxLocale
,
39755 &_swigt__p_wxMaximizeEvent
,
39756 &_swigt__p_wxMemoryDC
,
39758 &_swigt__p_wxMenuBar
,
39759 &_swigt__p_wxMenuEvent
,
39760 &_swigt__p_wxMenuItem
,
39761 &_swigt__p_wxMetaFile
,
39762 &_swigt__p_wxMetaFileDC
,
39763 &_swigt__p_wxMirrorDC
,
39764 &_swigt__p_wxMouseCaptureChangedEvent
,
39765 &_swigt__p_wxMouseCaptureLostEvent
,
39766 &_swigt__p_wxMouseEvent
,
39767 &_swigt__p_wxMoveEvent
,
39768 &_swigt__p_wxNativeEncodingInfo
,
39769 &_swigt__p_wxNativeFontInfo
,
39770 &_swigt__p_wxNativePixelData
,
39771 &_swigt__p_wxNativePixelData_Accessor
,
39772 &_swigt__p_wxNavigationKeyEvent
,
39773 &_swigt__p_wxNcPaintEvent
,
39774 &_swigt__p_wxNotifyEvent
,
39775 &_swigt__p_wxObject
,
39776 &_swigt__p_wxOverlay
,
39777 &_swigt__p_wxPCXHandler
,
39778 &_swigt__p_wxPNGHandler
,
39779 &_swigt__p_wxPNMHandler
,
39780 &_swigt__p_wxPaintDC
,
39781 &_swigt__p_wxPaintEvent
,
39782 &_swigt__p_wxPalette
,
39783 &_swigt__p_wxPaletteChangedEvent
,
39784 &_swigt__p_wxPaperSize
,
39786 &_swigt__p_wxPenList
,
39787 &_swigt__p_wxPixelDataBase
,
39788 &_swigt__p_wxPoint
,
39789 &_swigt__p_wxPoint2D
,
39790 &_swigt__p_wxPoint2DDouble
,
39791 &_swigt__p_wxPostScriptDC
,
39792 &_swigt__p_wxPrintData
,
39793 &_swigt__p_wxPrinterDC
,
39794 &_swigt__p_wxPseudoDC
,
39795 &_swigt__p_wxPyApp
,
39796 &_swigt__p_wxPyCommandEvent
,
39797 &_swigt__p_wxPyEvent
,
39798 &_swigt__p_wxPyFontEnumerator
,
39799 &_swigt__p_wxPyImageHandler
,
39800 &_swigt__p_wxPyLocale
,
39801 &_swigt__p_wxPySizer
,
39802 &_swigt__p_wxPyValidator
,
39803 &_swigt__p_wxQueryNewPaletteEvent
,
39805 &_swigt__p_wxRect2DDouble
,
39806 &_swigt__p_wxRegion
,
39807 &_swigt__p_wxRegionIterator
,
39808 &_swigt__p_wxRendererNative
,
39809 &_swigt__p_wxRendererVersion
,
39810 &_swigt__p_wxScreenDC
,
39811 &_swigt__p_wxScrollEvent
,
39812 &_swigt__p_wxScrollWinEvent
,
39813 &_swigt__p_wxSetCursorEvent
,
39814 &_swigt__p_wxShowEvent
,
39816 &_swigt__p_wxSizeEvent
,
39817 &_swigt__p_wxSizer
,
39818 &_swigt__p_wxSizerItem
,
39819 &_swigt__p_wxSplitterRenderParams
,
39820 &_swigt__p_wxStaticBoxSizer
,
39821 &_swigt__p_wxStdDialogButtonSizer
,
39822 &_swigt__p_wxStockGDI
,
39823 &_swigt__p_wxString
,
39824 &_swigt__p_wxSysColourChangedEvent
,
39825 &_swigt__p_wxTGAHandler
,
39826 &_swigt__p_wxTIFFHandler
,
39827 &_swigt__p_wxUpdateUIEvent
,
39828 &_swigt__p_wxValidator
,
39829 &_swigt__p_wxWindow
,
39830 &_swigt__p_wxWindowCreateEvent
,
39831 &_swigt__p_wxWindowDC
,
39832 &_swigt__p_wxWindowDestroyEvent
,
39833 &_swigt__p_wxXPMHandler
,
39836 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39837 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39838 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39839 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39840 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39841 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39842 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39843 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39844 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39845 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39846 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39847 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39848 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39849 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39850 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39851 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}};
39852 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39853 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39854 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}};
39855 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39856 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39857 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39858 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39859 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}};
39860 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39861 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39862 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39863 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39864 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39865 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39866 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39867 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39868 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39869 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39870 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39871 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39872 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39873 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}};
39874 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}};
39875 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39876 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39877 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39878 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
39879 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}};
39880 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
39881 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
39882 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
39883 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
39884 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39885 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
39886 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
39887 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39888 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
39889 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
39890 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}};
39891 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
39892 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}};
39893 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
39894 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
39895 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
39896 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
39897 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
39898 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
39899 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39900 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39901 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39902 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39903 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39904 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39905 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39906 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39907 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39908 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39909 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39910 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39911 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
39912 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39913 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39914 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39915 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39916 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39917 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39918 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39919 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39920 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39921 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39922 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39923 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39924 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39925 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39926 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39927 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39928 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39929 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39930 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39931 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39932 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39933 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39934 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39935 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39936 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39937 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39938 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39939 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
39940 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
39941 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39942 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39943 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39944 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39945 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39946 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39947 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39948 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39949 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39950 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39951 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39952 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39953 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39954 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39955 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39956 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39957 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39958 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39959 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39960 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39961 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39962 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39963 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39964 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39965 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39966 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39967 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39968 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39969 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39970 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39971 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39972 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39973 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39974 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39975 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39976 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39977 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}};
39978 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39979 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39980 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
39981 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39982 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
39983 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
39984 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}};
39985 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39986 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
39987 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39988 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
39989 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
39990 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
39991 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
39992 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
39993 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
39994 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39995 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39996 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
39997 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
39998 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
39999 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40000 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40001 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40002 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40003 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40004 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40005 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}};
40006 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40008 static swig_cast_info
*swig_cast_initial
[] = {
40012 _swigc__p_form_ops_t
,
40014 _swigc__p_unsigned_char
,
40015 _swigc__p_unsigned_int
,
40016 _swigc__p_unsigned_long
,
40018 _swigc__p_wxANIHandler
,
40019 _swigc__p_wxAcceleratorTable
,
40020 _swigc__p_wxActivateEvent
,
40021 _swigc__p_wxAlphaPixelData
,
40022 _swigc__p_wxAlphaPixelData_Accessor
,
40023 _swigc__p_wxAutoBufferedPaintDC
,
40024 _swigc__p_wxBMPHandler
,
40025 _swigc__p_wxBitmap
,
40026 _swigc__p_wxBoxSizer
,
40028 _swigc__p_wxBrushList
,
40029 _swigc__p_wxBufferedDC
,
40030 _swigc__p_wxBufferedPaintDC
,
40031 _swigc__p_wxCURHandler
,
40033 _swigc__p_wxChildFocusEvent
,
40034 _swigc__p_wxClientDC
,
40035 _swigc__p_wxClipboardTextEvent
,
40036 _swigc__p_wxCloseEvent
,
40038 _swigc__p_wxColour
,
40039 _swigc__p_wxColourDatabase
,
40040 _swigc__p_wxCommandEvent
,
40041 _swigc__p_wxContextMenuEvent
,
40042 _swigc__p_wxControl
,
40043 _swigc__p_wxControlWithItems
,
40044 _swigc__p_wxCursor
,
40046 _swigc__p_wxDCBrushChanger
,
40047 _swigc__p_wxDCClipper
,
40048 _swigc__p_wxDCOverlay
,
40049 _swigc__p_wxDCPenChanger
,
40050 _swigc__p_wxDCTextColourChanger
,
40052 _swigc__p_wxDateEvent
,
40053 _swigc__p_wxDisplayChangedEvent
,
40054 _swigc__p_wxDropFilesEvent
,
40055 _swigc__p_wxDuplexMode
,
40056 _swigc__p_wxEffects
,
40057 _swigc__p_wxEncodingConverter
,
40058 _swigc__p_wxEraseEvent
,
40060 _swigc__p_wxEvtHandler
,
40061 _swigc__p_wxFSFile
,
40062 _swigc__p_wxFileSystem
,
40063 _swigc__p_wxFlexGridSizer
,
40064 _swigc__p_wxFocusEvent
,
40066 _swigc__p_wxFontList
,
40067 _swigc__p_wxFontMapper
,
40068 _swigc__p_wxGBSizerItem
,
40070 _swigc__p_wxGDIObjListBase
,
40071 _swigc__p_wxGDIObject
,
40072 _swigc__p_wxGIFHandler
,
40073 _swigc__p_wxGraphicsBrush
,
40074 _swigc__p_wxGraphicsContext
,
40075 _swigc__p_wxGraphicsFont
,
40076 _swigc__p_wxGraphicsMatrix
,
40077 _swigc__p_wxGraphicsObject
,
40078 _swigc__p_wxGraphicsPath
,
40079 _swigc__p_wxGraphicsPen
,
40080 _swigc__p_wxGraphicsRenderer
,
40081 _swigc__p_wxGridBagSizer
,
40082 _swigc__p_wxGridSizer
,
40083 _swigc__p_wxHeaderButtonParams
,
40084 _swigc__p_wxICOHandler
,
40086 _swigc__p_wxIconBundle
,
40087 _swigc__p_wxIconLocation
,
40088 _swigc__p_wxIconizeEvent
,
40089 _swigc__p_wxIdleEvent
,
40091 _swigc__p_wxImageHandler
,
40092 _swigc__p_wxImageList
,
40093 _swigc__p_wxIndividualLayoutConstraint
,
40094 _swigc__p_wxInitDialogEvent
,
40095 _swigc__p_wxJPEGHandler
,
40096 _swigc__p_wxKeyEvent
,
40097 _swigc__p_wxLanguageInfo
,
40098 _swigc__p_wxLayoutConstraints
,
40099 _swigc__p_wxLocale
,
40101 _swigc__p_wxMaximizeEvent
,
40102 _swigc__p_wxMemoryDC
,
40104 _swigc__p_wxMenuBar
,
40105 _swigc__p_wxMenuEvent
,
40106 _swigc__p_wxMenuItem
,
40107 _swigc__p_wxMetaFile
,
40108 _swigc__p_wxMetaFileDC
,
40109 _swigc__p_wxMirrorDC
,
40110 _swigc__p_wxMouseCaptureChangedEvent
,
40111 _swigc__p_wxMouseCaptureLostEvent
,
40112 _swigc__p_wxMouseEvent
,
40113 _swigc__p_wxMoveEvent
,
40114 _swigc__p_wxNativeEncodingInfo
,
40115 _swigc__p_wxNativeFontInfo
,
40116 _swigc__p_wxNativePixelData
,
40117 _swigc__p_wxNativePixelData_Accessor
,
40118 _swigc__p_wxNavigationKeyEvent
,
40119 _swigc__p_wxNcPaintEvent
,
40120 _swigc__p_wxNotifyEvent
,
40121 _swigc__p_wxObject
,
40122 _swigc__p_wxOverlay
,
40123 _swigc__p_wxPCXHandler
,
40124 _swigc__p_wxPNGHandler
,
40125 _swigc__p_wxPNMHandler
,
40126 _swigc__p_wxPaintDC
,
40127 _swigc__p_wxPaintEvent
,
40128 _swigc__p_wxPalette
,
40129 _swigc__p_wxPaletteChangedEvent
,
40130 _swigc__p_wxPaperSize
,
40132 _swigc__p_wxPenList
,
40133 _swigc__p_wxPixelDataBase
,
40135 _swigc__p_wxPoint2D
,
40136 _swigc__p_wxPoint2DDouble
,
40137 _swigc__p_wxPostScriptDC
,
40138 _swigc__p_wxPrintData
,
40139 _swigc__p_wxPrinterDC
,
40140 _swigc__p_wxPseudoDC
,
40142 _swigc__p_wxPyCommandEvent
,
40143 _swigc__p_wxPyEvent
,
40144 _swigc__p_wxPyFontEnumerator
,
40145 _swigc__p_wxPyImageHandler
,
40146 _swigc__p_wxPyLocale
,
40147 _swigc__p_wxPySizer
,
40148 _swigc__p_wxPyValidator
,
40149 _swigc__p_wxQueryNewPaletteEvent
,
40151 _swigc__p_wxRect2DDouble
,
40152 _swigc__p_wxRegion
,
40153 _swigc__p_wxRegionIterator
,
40154 _swigc__p_wxRendererNative
,
40155 _swigc__p_wxRendererVersion
,
40156 _swigc__p_wxScreenDC
,
40157 _swigc__p_wxScrollEvent
,
40158 _swigc__p_wxScrollWinEvent
,
40159 _swigc__p_wxSetCursorEvent
,
40160 _swigc__p_wxShowEvent
,
40162 _swigc__p_wxSizeEvent
,
40164 _swigc__p_wxSizerItem
,
40165 _swigc__p_wxSplitterRenderParams
,
40166 _swigc__p_wxStaticBoxSizer
,
40167 _swigc__p_wxStdDialogButtonSizer
,
40168 _swigc__p_wxStockGDI
,
40169 _swigc__p_wxString
,
40170 _swigc__p_wxSysColourChangedEvent
,
40171 _swigc__p_wxTGAHandler
,
40172 _swigc__p_wxTIFFHandler
,
40173 _swigc__p_wxUpdateUIEvent
,
40174 _swigc__p_wxValidator
,
40175 _swigc__p_wxWindow
,
40176 _swigc__p_wxWindowCreateEvent
,
40177 _swigc__p_wxWindowDC
,
40178 _swigc__p_wxWindowDestroyEvent
,
40179 _swigc__p_wxXPMHandler
,
40183 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40185 static swig_const_info swig_const_table
[] = {
40186 {0, 0, 0, 0.0, 0, 0}};
40191 /* -----------------------------------------------------------------------------
40192 * Type initialization:
40193 * This problem is tough by the requirement that no dynamic
40194 * memory is used. Also, since swig_type_info structures store pointers to
40195 * swig_cast_info structures and swig_cast_info structures store pointers back
40196 * to swig_type_info structures, we need some lookup code at initialization.
40197 * The idea is that swig generates all the structures that are needed.
40198 * The runtime then collects these partially filled structures.
40199 * The SWIG_InitializeModule function takes these initial arrays out of
40200 * swig_module, and does all the lookup, filling in the swig_module.types
40201 * array with the correct data and linking the correct swig_cast_info
40202 * structures together.
40204 * The generated swig_type_info structures are assigned staticly to an initial
40205 * array. We just loop though that array, and handle each type individually.
40206 * First we lookup if this type has been already loaded, and if so, use the
40207 * loaded structure instead of the generated one. Then we have to fill in the
40208 * cast linked list. The cast data is initially stored in something like a
40209 * two-dimensional array. Each row corresponds to a type (there are the same
40210 * number of rows as there are in the swig_type_initial array). Each entry in
40211 * a column is one of the swig_cast_info structures for that type.
40212 * The cast_initial array is actually an array of arrays, because each row has
40213 * a variable number of columns. So to actually build the cast linked list,
40214 * we find the array of casts associated with the type, and loop through it
40215 * adding the casts to the list. The one last trick we need to do is making
40216 * sure the type pointer in the swig_cast_info struct is correct.
40218 * First off, we lookup the cast->type name to see if it is already loaded.
40219 * There are three cases to handle:
40220 * 1) If the cast->type has already been loaded AND the type we are adding
40221 * casting info to has not been loaded (it is in this module), THEN we
40222 * replace the cast->type pointer with the type pointer that has already
40224 * 2) If BOTH types (the one we are adding casting info to, and the
40225 * cast->type) are loaded, THEN the cast info has already been loaded by
40226 * the previous module so we just ignore it.
40227 * 3) Finally, if cast->type has not already been loaded, then we add that
40228 * swig_cast_info to the linked list (because the cast->type) pointer will
40230 * ----------------------------------------------------------------------------- */
40240 #define SWIGRUNTIME_DEBUG
40244 SWIG_InitializeModule(void *clientdata
) {
40246 swig_module_info
*module_head
;
40247 static int init_run
= 0;
40249 clientdata
= clientdata
;
40251 if (init_run
) return;
40254 /* Initialize the swig_module */
40255 swig_module
.type_initial
= swig_type_initial
;
40256 swig_module
.cast_initial
= swig_cast_initial
;
40258 /* Try and load any already created modules */
40259 module_head
= SWIG_GetModule(clientdata
);
40261 swig_module
.next
= module_head
->next
;
40262 module_head
->next
= &swig_module
;
40264 /* This is the first module loaded */
40265 swig_module
.next
= &swig_module
;
40266 SWIG_SetModule(clientdata
, &swig_module
);
40269 /* Now work on filling in swig_module.types */
40270 #ifdef SWIGRUNTIME_DEBUG
40271 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40273 for (i
= 0; i
< swig_module
.size
; ++i
) {
40274 swig_type_info
*type
= 0;
40275 swig_type_info
*ret
;
40276 swig_cast_info
*cast
;
40278 #ifdef SWIGRUNTIME_DEBUG
40279 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40282 /* if there is another module already loaded */
40283 if (swig_module
.next
!= &swig_module
) {
40284 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40287 /* Overwrite clientdata field */
40288 #ifdef SWIGRUNTIME_DEBUG
40289 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40291 if (swig_module
.type_initial
[i
]->clientdata
) {
40292 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40293 #ifdef SWIGRUNTIME_DEBUG
40294 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40298 type
= swig_module
.type_initial
[i
];
40301 /* Insert casting types */
40302 cast
= swig_module
.cast_initial
[i
];
40303 while (cast
->type
) {
40304 /* Don't need to add information already in the list */
40306 #ifdef SWIGRUNTIME_DEBUG
40307 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40309 if (swig_module
.next
!= &swig_module
) {
40310 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40311 #ifdef SWIGRUNTIME_DEBUG
40312 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40316 if (type
== swig_module
.type_initial
[i
]) {
40317 #ifdef SWIGRUNTIME_DEBUG
40318 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40323 /* Check for casting already in the list */
40324 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40325 #ifdef SWIGRUNTIME_DEBUG
40326 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40328 if (!ocast
) ret
= 0;
40333 #ifdef SWIGRUNTIME_DEBUG
40334 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40337 type
->cast
->prev
= cast
;
40338 cast
->next
= type
->cast
;
40344 /* Set entry in modules->types array equal to the type */
40345 swig_module
.types
[i
] = type
;
40347 swig_module
.types
[i
] = 0;
40349 #ifdef SWIGRUNTIME_DEBUG
40350 printf("**** SWIG_InitializeModule: Cast List ******\n");
40351 for (i
= 0; i
< swig_module
.size
; ++i
) {
40353 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40354 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40355 while (cast
->type
) {
40356 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40360 printf("---- Total casts: %d\n",j
);
40362 printf("**** SWIG_InitializeModule: Cast List ******\n");
40366 /* This function will propagate the clientdata field of type to
40367 * any new swig_type_info structures that have been added into the list
40368 * of equivalent types. It is like calling
40369 * SWIG_TypeClientData(type, clientdata) a second time.
40372 SWIG_PropagateClientData(void) {
40374 swig_cast_info
*equiv
;
40375 static int init_run
= 0;
40377 if (init_run
) return;
40380 for (i
= 0; i
< swig_module
.size
; i
++) {
40381 if (swig_module
.types
[i
]->clientdata
) {
40382 equiv
= swig_module
.types
[i
]->cast
;
40384 if (!equiv
->converter
) {
40385 if (equiv
->type
&& !equiv
->type
->clientdata
)
40386 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40388 equiv
= equiv
->next
;
40408 /* Python-specific SWIG API */
40409 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40410 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40411 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40413 /* -----------------------------------------------------------------------------
40414 * global variable support code.
40415 * ----------------------------------------------------------------------------- */
40417 typedef struct swig_globalvar
{
40418 char *name
; /* Name of global variable */
40419 PyObject
*(*get_attr
)(void); /* Return the current value */
40420 int (*set_attr
)(PyObject
*); /* Set the value */
40421 struct swig_globalvar
*next
;
40424 typedef struct swig_varlinkobject
{
40426 swig_globalvar
*vars
;
40427 } swig_varlinkobject
;
40429 SWIGINTERN PyObject
*
40430 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40431 return PyString_FromString("<Swig global variables>");
40434 SWIGINTERN PyObject
*
40435 swig_varlink_str(swig_varlinkobject
*v
) {
40436 PyObject
*str
= PyString_FromString("(");
40437 swig_globalvar
*var
;
40438 for (var
= v
->vars
; var
; var
=var
->next
) {
40439 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40440 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40442 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40447 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40448 PyObject
*str
= swig_varlink_str(v
);
40449 fprintf(fp
,"Swig global variables ");
40450 fprintf(fp
,"%s\n", PyString_AsString(str
));
40456 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40457 swig_globalvar
*var
= v
->vars
;
40459 swig_globalvar
*n
= var
->next
;
40466 SWIGINTERN PyObject
*
40467 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40468 PyObject
*res
= NULL
;
40469 swig_globalvar
*var
= v
->vars
;
40471 if (strcmp(var
->name
,n
) == 0) {
40472 res
= (*var
->get_attr
)();
40477 if (res
== NULL
&& !PyErr_Occurred()) {
40478 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40484 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40486 swig_globalvar
*var
= v
->vars
;
40488 if (strcmp(var
->name
,n
) == 0) {
40489 res
= (*var
->set_attr
)(p
);
40494 if (res
== 1 && !PyErr_Occurred()) {
40495 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40500 SWIGINTERN PyTypeObject
*
40501 swig_varlink_type(void) {
40502 static char varlink__doc__
[] = "Swig var link object";
40503 static PyTypeObject varlink_type
;
40504 static int type_init
= 0;
40506 const PyTypeObject tmp
40508 PyObject_HEAD_INIT(NULL
)
40509 0, /* Number of items in variable part (ob_size) */
40510 (char *)"swigvarlink", /* Type name (tp_name) */
40511 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40512 0, /* Itemsize (tp_itemsize) */
40513 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40514 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40515 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40516 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40517 0, /* tp_compare */
40518 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40519 0, /* tp_as_number */
40520 0, /* tp_as_sequence */
40521 0, /* tp_as_mapping */
40524 (reprfunc
)swig_varlink_str
, /* tp_str */
40525 0, /* tp_getattro */
40526 0, /* tp_setattro */
40527 0, /* tp_as_buffer */
40529 varlink__doc__
, /* tp_doc */
40530 0, /* tp_traverse */
40532 0, /* tp_richcompare */
40533 0, /* tp_weaklistoffset */
40534 #if PY_VERSION_HEX >= 0x02020000
40535 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40537 #if PY_VERSION_HEX >= 0x02030000
40540 #ifdef COUNT_ALLOCS
40541 0,0,0,0 /* tp_alloc -> tp_next */
40544 varlink_type
= tmp
;
40545 varlink_type
.ob_type
= &PyType_Type
;
40548 return &varlink_type
;
40551 /* Create a variable linking object for use later */
40552 SWIGINTERN PyObject
*
40553 SWIG_Python_newvarlink(void) {
40554 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40558 return ((PyObject
*) result
);
40562 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40563 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40564 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40566 size_t size
= strlen(name
)+1;
40567 gv
->name
= (char *)malloc(size
);
40569 strncpy(gv
->name
,name
,size
);
40570 gv
->get_attr
= get_attr
;
40571 gv
->set_attr
= set_attr
;
40572 gv
->next
= v
->vars
;
40578 SWIGINTERN PyObject
*
40580 static PyObject
*_SWIG_globals
= 0;
40581 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40582 return _SWIG_globals
;
40585 /* -----------------------------------------------------------------------------
40586 * constants/methods manipulation
40587 * ----------------------------------------------------------------------------- */
40589 /* Install Constants */
40591 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40594 for (i
= 0; constants
[i
].type
; ++i
) {
40595 switch(constants
[i
].type
) {
40596 case SWIG_PY_POINTER
:
40597 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40599 case SWIG_PY_BINARY
:
40600 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40607 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40613 /* -----------------------------------------------------------------------------*/
40614 /* Fix SwigMethods to carry the callback ptrs when needed */
40615 /* -----------------------------------------------------------------------------*/
40618 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40619 swig_const_info
*const_table
,
40620 swig_type_info
**types
,
40621 swig_type_info
**types_initial
) {
40623 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40624 const char *c
= methods
[i
].ml_doc
;
40625 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40627 swig_const_info
*ci
= 0;
40628 const char *name
= c
+ 10;
40629 for (j
= 0; const_table
[j
].type
; ++j
) {
40630 if (strncmp(const_table
[j
].name
, name
,
40631 strlen(const_table
[j
].name
)) == 0) {
40632 ci
= &(const_table
[j
]);
40637 size_t shift
= (ci
->ptype
) - types
;
40638 swig_type_info
*ty
= types_initial
[shift
];
40639 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40640 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40641 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40644 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40646 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40648 strncpy(buff
, "swig_ptr: ", 10);
40650 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40651 methods
[i
].ml_doc
= ndoc
;
40663 /* -----------------------------------------------------------------------------*
40664 * Partial Init method
40665 * -----------------------------------------------------------------------------*/
40670 SWIGEXPORT
void SWIG_init(void) {
40673 /* Fix SwigMethods to carry the callback ptrs when needed */
40674 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40676 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40677 d
= PyModule_GetDict(m
);
40679 SWIG_InitializeModule(0);
40680 SWIG_InstallConstants(d
,swig_const_table
);
40683 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40684 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40685 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40686 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40687 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40688 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40689 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40690 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40691 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40692 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40693 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40694 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40695 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40696 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40697 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40698 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40699 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40700 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40701 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40702 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40703 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40704 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40705 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40706 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40707 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40708 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40709 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40710 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40711 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40712 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40713 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40714 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40715 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40716 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40717 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40718 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40719 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40720 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40721 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40722 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40723 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40724 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40725 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40726 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40727 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40728 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40729 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40730 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40731 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40732 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40733 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40734 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40735 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40736 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40737 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40738 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40739 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40740 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40741 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40742 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40743 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40744 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40745 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40746 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40747 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40748 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40749 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40750 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40751 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40752 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40753 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40754 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40755 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40756 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40757 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40758 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40759 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40760 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40761 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40762 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40763 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40764 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40765 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40766 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40767 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40768 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40769 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40770 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40771 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40772 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40773 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40774 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40775 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40776 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40777 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40778 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40779 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40780 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40781 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40782 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40783 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40784 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40785 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40786 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40787 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40788 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40789 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40790 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40791 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40792 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40793 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40794 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40795 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40796 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40797 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40798 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40799 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40800 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40801 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40802 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40803 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40804 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40805 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40806 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40807 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40808 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40809 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40810 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40811 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40812 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40813 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40814 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40816 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40818 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40819 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40820 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40821 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40822 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40823 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40824 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40825 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40826 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40827 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40828 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40829 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40830 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40831 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40832 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40833 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40834 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40835 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40836 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40837 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40838 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40839 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40840 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40841 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40842 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40843 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40844 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40845 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40846 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40847 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40848 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40849 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40850 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40851 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40852 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40853 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40854 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40855 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40856 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40857 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40858 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40859 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40860 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40861 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40862 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40863 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40864 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40865 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40866 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40867 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40868 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40869 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40870 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40871 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40872 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40873 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40874 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40875 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40876 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40877 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40878 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
40879 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
40880 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
40881 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
40882 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
40883 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
40884 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
40885 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
40886 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
40887 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
40888 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
40889 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
40890 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
40891 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
40892 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
40893 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
40894 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
40895 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
40896 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
40897 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
40898 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
40899 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
40900 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
40901 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
40902 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
40903 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
40904 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
40905 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
40906 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
40907 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
40908 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
40909 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
40910 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
40911 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
40912 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
40913 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
40914 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
40915 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
40916 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
40917 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
40918 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
40919 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
40920 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
40921 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
40922 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
40923 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
40924 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
40925 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
40926 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
40927 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
40928 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
40929 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
40930 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
40931 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
40932 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
40933 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
40934 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
40935 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
40936 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
40937 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
40938 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
40939 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
40940 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
40941 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
40942 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
40943 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
40944 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
40945 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
40946 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
40947 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
40948 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
40949 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
40950 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
40951 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
40952 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
40953 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
40954 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
40955 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
40956 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
40957 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
40958 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
40959 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
40960 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
40961 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
40962 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
40963 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
40964 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
40965 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
40966 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
40967 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
40968 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
40969 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
40970 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
40971 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
40972 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
40973 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
40974 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
40975 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
40976 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
40977 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
40978 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
40979 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
40980 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
40981 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
40982 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
40983 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
40984 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
40985 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
40986 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
40987 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
40988 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
40989 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
40990 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
40991 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
40992 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
40993 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
40994 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
40995 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
40996 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
40997 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
40998 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
40999 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41000 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41001 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41002 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41003 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41004 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41005 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41006 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41007 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41008 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41009 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41010 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41011 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41012 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41013 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41014 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41015 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41016 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41017 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41018 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41049 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41050 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41051 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41052 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41053 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41054 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41055 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41056 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41057 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41058 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41059 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41060 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41061 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41062 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41063 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41064 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41065 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41066 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41067 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41068 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41069 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41070 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41071 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41072 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41073 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41074 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41075 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41076 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41077 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41078 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41079 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41080 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41081 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41082 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41083 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41084 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41085 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41086 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41087 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41088 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41089 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41090 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41091 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41092 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41093 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41094 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41095 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41096 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41097 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41098 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41099 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41100 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41101 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41102 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41103 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41104 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41105 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41106 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41107 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41108 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41109 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41110 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41111 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41112 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41113 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41114 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41115 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41116 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41117 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41118 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41119 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41120 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41121 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41122 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41123 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41124 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41125 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41126 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41127 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41128 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41129 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41130 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41131 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41132 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41133 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41134 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41135 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41136 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41137 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41138 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41139 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41140 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41141 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41143 // Work around a chicken/egg problem in drawlist.cpp
41144 wxPyDrawList_SetAPIPtr();