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 PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3905 wxDouble width
= 0.0,
3907 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3908 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3909 PyObject
* rv
= PyTuple_New(2);
3910 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3911 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3914 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3915 wxArrayDouble widths
;
3916 self
->GetPartialTextExtents(text
, widths
);
3919 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3920 size_t c1
, c2
, count
;
3921 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3922 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3924 if ( beginP
!= NULL
&& endP
!= NULL
)
3926 count
= wxMin(c1
, c2
);
3927 self
->StrokeLines(count
, beginP
, endP
);
3933 #include "wx/dcgraph.h"
3936 #include <wx/overlay.h>
3940 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3941 self
->AddColour(name
, wxColour(red
, green
, blue
));
3944 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3945 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3946 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3947 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3950 #include <wx/effects.h>
3953 #include "wx/renderer.h"
3956 SWIGINTERNINLINE PyObject
*
3957 SWIG_From_bool (bool value
)
3959 return PyBool_FromLong(value
? 1 : 0);
3963 #include "wx/wxPython/pseudodc.h"
3965 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3967 self
->GetIdBounds(id
, rect
);
3973 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3974 PyObject
*resultobj
= 0;
3975 wxGDIObject
*result
= 0 ;
3977 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3979 if (!wxPyCheckForApp()) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (wxGDIObject
*)new wxGDIObject();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3992 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3993 PyObject
*resultobj
= 0;
3994 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3997 PyObject
*swig_obj
[1] ;
3999 if (!args
) SWIG_fail
;
4001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4002 if (!SWIG_IsOK(res1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4005 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_Py_Void();
4020 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 PyObject
*resultobj
= 0;
4022 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4026 PyObject
*swig_obj
[1] ;
4028 if (!args
) SWIG_fail
;
4030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4031 if (!SWIG_IsOK(res1
)) {
4032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4034 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= (bool)(arg1
)->IsNull();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4050 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4053 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4054 return SWIG_Py_Void();
4057 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4058 return SWIG_Python_InitShadowInstance(args
);
4061 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
= 0;
4063 byte arg1
= (byte
) 0 ;
4064 byte arg2
= (byte
) 0 ;
4065 byte arg3
= (byte
) 0 ;
4066 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4067 wxColour
*result
= 0 ;
4068 unsigned char val1
;
4070 unsigned char val2
;
4072 unsigned char val3
;
4074 unsigned char val4
;
4076 PyObject
* obj0
= 0 ;
4077 PyObject
* obj1
= 0 ;
4078 PyObject
* obj2
= 0 ;
4079 PyObject
* obj3
= 0 ;
4080 char * kwnames
[] = {
4081 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4086 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4087 if (!SWIG_IsOK(ecode1
)) {
4088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4090 arg1
= static_cast< byte
>(val1
);
4093 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4094 if (!SWIG_IsOK(ecode2
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4097 arg2
= static_cast< byte
>(val2
);
4100 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4101 if (!SWIG_IsOK(ecode3
)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4104 arg3
= static_cast< byte
>(val3
);
4107 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4108 if (!SWIG_IsOK(ecode4
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4111 arg4
= static_cast< byte
>(val4
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4126 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
= 0;
4128 wxString
*arg1
= 0 ;
4129 wxColour
*result
= 0 ;
4130 bool temp1
= false ;
4131 PyObject
* obj0
= 0 ;
4132 char * kwnames
[] = {
4133 (char *) "colorName", NULL
4136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4138 arg1
= wxString_in_helper(obj0
);
4139 if (arg1
== NULL
) SWIG_fail
;
4143 if (!wxPyCheckForApp()) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4164 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
= 0;
4166 unsigned long arg1
;
4167 wxColour
*result
= 0 ;
4168 unsigned long val1
;
4170 PyObject
* obj0
= 0 ;
4171 char * kwnames
[] = {
4172 (char *) "colRGB", NULL
4175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4176 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4177 if (!SWIG_IsOK(ecode1
)) {
4178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4180 arg1
= static_cast< unsigned long >(val1
);
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (wxColour
*)new wxColour(arg1
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4194 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4195 PyObject
*resultobj
= 0;
4196 wxColour
*arg1
= (wxColour
*) 0 ;
4199 PyObject
*swig_obj
[1] ;
4201 if (!args
) SWIG_fail
;
4203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4204 if (!SWIG_IsOK(res1
)) {
4205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4207 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4223 PyObject
*resultobj
= 0;
4224 wxColour
*arg1
= (wxColour
*) 0 ;
4228 PyObject
*swig_obj
[1] ;
4230 if (!args
) SWIG_fail
;
4232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4233 if (!SWIG_IsOK(res1
)) {
4234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4236 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (byte
)(arg1
)->Red();
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4250 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4251 PyObject
*resultobj
= 0;
4252 wxColour
*arg1
= (wxColour
*) 0 ;
4256 PyObject
*swig_obj
[1] ;
4258 if (!args
) SWIG_fail
;
4260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4261 if (!SWIG_IsOK(res1
)) {
4262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4264 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= (byte
)(arg1
)->Green();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4278 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4279 PyObject
*resultobj
= 0;
4280 wxColour
*arg1
= (wxColour
*) 0 ;
4284 PyObject
*swig_obj
[1] ;
4286 if (!args
) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4292 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (byte
)(arg1
)->Blue();
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4299 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4306 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4307 PyObject
*resultobj
= 0;
4308 wxColour
*arg1
= (wxColour
*) 0 ;
4312 PyObject
*swig_obj
[1] ;
4314 if (!args
) SWIG_fail
;
4316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4317 if (!SWIG_IsOK(res1
)) {
4318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4320 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= (byte
)(arg1
)->Alpha();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4334 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4335 PyObject
*resultobj
= 0;
4336 wxColour
*arg1
= (wxColour
*) 0 ;
4340 PyObject
*swig_obj
[1] ;
4342 if (!args
) SWIG_fail
;
4344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4345 if (!SWIG_IsOK(res1
)) {
4346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4348 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (bool)(arg1
)->IsOk();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4364 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
= 0;
4366 wxColour
*arg1
= (wxColour
*) 0 ;
4370 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4373 unsigned char val2
;
4375 unsigned char val3
;
4377 unsigned char val4
;
4379 unsigned char val5
;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4383 PyObject
* obj2
= 0 ;
4384 PyObject
* obj3
= 0 ;
4385 PyObject
* obj4
= 0 ;
4386 char * kwnames
[] = {
4387 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4392 if (!SWIG_IsOK(res1
)) {
4393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4395 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4396 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4397 if (!SWIG_IsOK(ecode2
)) {
4398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4400 arg2
= static_cast< byte
>(val2
);
4401 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4402 if (!SWIG_IsOK(ecode3
)) {
4403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4405 arg3
= static_cast< byte
>(val3
);
4406 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4407 if (!SWIG_IsOK(ecode4
)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4410 arg4
= static_cast< byte
>(val4
);
4412 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4413 if (!SWIG_IsOK(ecode5
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4416 arg5
= static_cast< byte
>(val5
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_Py_Void();
4431 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxColour
*arg1
= (wxColour
*) 0 ;
4434 unsigned long arg2
;
4437 unsigned long val2
;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4441 char * kwnames
[] = {
4442 (char *) "self",(char *) "colRGB", NULL
4445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4447 if (!SWIG_IsOK(res1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4450 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4451 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4452 if (!SWIG_IsOK(ecode2
)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4455 arg2
= static_cast< unsigned long >(val2
);
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_Py_Void();
4469 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
= 0;
4471 wxColour
*arg1
= (wxColour
*) 0 ;
4472 wxString
*arg2
= 0 ;
4475 bool temp2
= false ;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4478 char * kwnames
[] = {
4479 (char *) "self",(char *) "colourName", NULL
4482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4484 if (!SWIG_IsOK(res1
)) {
4485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4487 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4489 arg2
= wxString_in_helper(obj1
);
4490 if (arg2
== NULL
) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 (arg1
)->Set((wxString
const &)*arg2
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= SWIG_Py_Void();
4514 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
= 0;
4516 wxColour
*arg1
= (wxColour
*) 0 ;
4517 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "self",(char *) "flags", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4534 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4536 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4537 if (!SWIG_IsOK(ecode2
)) {
4538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4540 arg2
= static_cast< long >(val2
);
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4561 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4562 PyObject
*resultobj
= 0;
4563 wxColour
*arg1
= (wxColour
*) 0 ;
4567 PyObject
*swig_obj
[1] ;
4569 if (!args
) SWIG_fail
;
4571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4572 if (!SWIG_IsOK(res1
)) {
4573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4575 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= SWIG_From_long(static_cast< long >(result
));
4589 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
= 0;
4591 wxColour
*arg1
= (wxColour
*) 0 ;
4592 PyObject
*arg2
= (PyObject
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4597 PyObject
* obj1
= 0 ;
4598 char * kwnames
[] = {
4599 (char *) "self",(char *) "other", NULL
4602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4604 if (!SWIG_IsOK(res1
)) {
4605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4607 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4610 result
= (bool)wxColour___eq__(arg1
,arg2
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4622 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
= 0;
4624 wxColour
*arg1
= (wxColour
*) 0 ;
4625 PyObject
*arg2
= (PyObject
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4631 char * kwnames
[] = {
4632 (char *) "self",(char *) "other", NULL
4635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4640 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4643 result
= (bool)wxColour___ne__(arg1
,arg2
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4655 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
= 0;
4657 wxColour
*arg1
= (wxColour
*) 0 ;
4658 bool arg2
= (bool) false ;
4659 PyObject
*result
= 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 char * kwnames
[] = {
4667 (char *) "self",(char *) "includeAlpha", NULL
4670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4672 if (!SWIG_IsOK(res1
)) {
4673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4675 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4677 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4678 if (!SWIG_IsOK(ecode2
)) {
4679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4681 arg2
= static_cast< bool >(val2
);
4684 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4694 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4695 PyObject
*resultobj
= 0;
4696 wxColour
*arg1
= (wxColour
*) 0 ;
4697 unsigned long result
;
4700 PyObject
*swig_obj
[1] ;
4702 if (!args
) SWIG_fail
;
4704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4705 if (!SWIG_IsOK(res1
)) {
4706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4708 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4710 result
= (unsigned long)wxColour_GetRGB(arg1
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4713 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4720 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4723 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4724 return SWIG_Py_Void();
4727 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4728 return SWIG_Python_InitShadowInstance(args
);
4731 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
= 0;
4734 unsigned char *arg2
= (unsigned char *) 0 ;
4735 unsigned char *arg3
= (unsigned char *) 0 ;
4736 unsigned char *arg4
= (unsigned char *) 0 ;
4737 wxPalette
*result
= 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4748 PyObject
* obj2
= 0 ;
4749 PyObject
* obj3
= 0 ;
4750 char * kwnames
[] = {
4751 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4756 if (!SWIG_IsOK(ecode1
)) {
4757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4759 arg1
= static_cast< int >(val1
);
4760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4761 if (!SWIG_IsOK(res2
)) {
4762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4764 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4765 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4766 if (!SWIG_IsOK(res3
)) {
4767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4769 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4770 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4771 if (!SWIG_IsOK(res4
)) {
4772 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4774 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4776 if (!wxPyCheckForApp()) SWIG_fail
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4789 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4790 PyObject
*resultobj
= 0;
4791 wxPalette
*arg1
= (wxPalette
*) 0 ;
4794 PyObject
*swig_obj
[1] ;
4796 if (!args
) SWIG_fail
;
4798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4799 if (!SWIG_IsOK(res1
)) {
4800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4802 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_Py_Void();
4817 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
= 0;
4819 wxPalette
*arg1
= (wxPalette
*) 0 ;
4826 unsigned char val2
;
4828 unsigned char val3
;
4830 unsigned char val4
;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4834 PyObject
* obj2
= 0 ;
4835 PyObject
* obj3
= 0 ;
4836 char * kwnames
[] = {
4837 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4845 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4846 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4847 if (!SWIG_IsOK(ecode2
)) {
4848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4850 arg2
= static_cast< byte
>(val2
);
4851 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4852 if (!SWIG_IsOK(ecode3
)) {
4853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4855 arg3
= static_cast< byte
>(val3
);
4856 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4857 if (!SWIG_IsOK(ecode4
)) {
4858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4860 arg4
= static_cast< byte
>(val4
);
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_From_int(static_cast< int >(result
));
4874 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
= 0;
4876 wxPalette
*arg1
= (wxPalette
*) 0 ;
4878 byte
*arg3
= (byte
*) 0 ;
4879 byte
*arg4
= (byte
*) 0 ;
4880 byte
*arg5
= (byte
*) 0 ;
4887 int res3
= SWIG_TMPOBJ
;
4889 int res4
= SWIG_TMPOBJ
;
4891 int res5
= SWIG_TMPOBJ
;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4894 char * kwnames
[] = {
4895 (char *) "self",(char *) "pixel", NULL
4901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4903 if (!SWIG_IsOK(res1
)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4906 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4908 if (!SWIG_IsOK(ecode2
)) {
4909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4911 arg2
= static_cast< int >(val2
);
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4921 if (SWIG_IsTmpObj(res3
)) {
4922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4924 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4927 if (SWIG_IsTmpObj(res4
)) {
4928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4930 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4933 if (SWIG_IsTmpObj(res5
)) {
4934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4936 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4945 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4946 PyObject
*resultobj
= 0;
4947 wxPalette
*arg1
= (wxPalette
*) 0 ;
4951 PyObject
*swig_obj
[1] ;
4953 if (!args
) SWIG_fail
;
4955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4956 if (!SWIG_IsOK(res1
)) {
4957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4959 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= SWIG_From_int(static_cast< int >(result
));
4973 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4974 PyObject
*resultobj
= 0;
4975 wxPalette
*arg1
= (wxPalette
*) 0 ;
4979 PyObject
*swig_obj
[1] ;
4981 if (!args
) SWIG_fail
;
4983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4984 if (!SWIG_IsOK(res1
)) {
4985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4987 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (bool)(arg1
)->IsOk();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5003 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5007 return SWIG_Py_Void();
5010 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5011 return SWIG_Python_InitShadowInstance(args
);
5014 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
= 0;
5016 wxColour
*arg1
= 0 ;
5017 int arg2
= (int) 1 ;
5018 int arg3
= (int) wxSOLID
;
5025 PyObject
* obj0
= 0 ;
5026 PyObject
* obj1
= 0 ;
5027 PyObject
* obj2
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "colour",(char *) "width",(char *) "style", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5035 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5039 if (!SWIG_IsOK(ecode2
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5042 arg2
= static_cast< int >(val2
);
5045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5046 if (!SWIG_IsOK(ecode3
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5049 arg3
= static_cast< int >(val3
);
5052 if (!wxPyCheckForApp()) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5065 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 PyObject
*resultobj
= 0;
5067 wxPen
*arg1
= (wxPen
*) 0 ;
5070 PyObject
*swig_obj
[1] ;
5072 if (!args
) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5078 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_Py_Void();
5093 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5094 PyObject
*resultobj
= 0;
5095 wxPen
*arg1
= (wxPen
*) 0 ;
5099 PyObject
*swig_obj
[1] ;
5101 if (!args
) SWIG_fail
;
5103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5104 if (!SWIG_IsOK(res1
)) {
5105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5107 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (int)(arg1
)->GetCap();
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 resultobj
= SWIG_From_int(static_cast< int >(result
));
5121 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5122 PyObject
*resultobj
= 0;
5123 wxPen
*arg1
= (wxPen
*) 0 ;
5127 PyObject
*swig_obj
[1] ;
5129 if (!args
) SWIG_fail
;
5131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5132 if (!SWIG_IsOK(res1
)) {
5133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5135 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (arg1
)->GetColour();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5149 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5150 PyObject
*resultobj
= 0;
5151 wxPen
*arg1
= (wxPen
*) 0 ;
5155 PyObject
*swig_obj
[1] ;
5157 if (!args
) SWIG_fail
;
5159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5160 if (!SWIG_IsOK(res1
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5163 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (int)(arg1
)->GetJoin();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_From_int(static_cast< int >(result
));
5177 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5178 PyObject
*resultobj
= 0;
5179 wxPen
*arg1
= (wxPen
*) 0 ;
5183 PyObject
*swig_obj
[1] ;
5185 if (!args
) SWIG_fail
;
5187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5188 if (!SWIG_IsOK(res1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5191 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (int)(arg1
)->GetStyle();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_From_int(static_cast< int >(result
));
5205 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5206 PyObject
*resultobj
= 0;
5207 wxPen
*arg1
= (wxPen
*) 0 ;
5211 PyObject
*swig_obj
[1] ;
5213 if (!args
) SWIG_fail
;
5215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5216 if (!SWIG_IsOK(res1
)) {
5217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5219 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= (int)(arg1
)->GetWidth();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_From_int(static_cast< int >(result
));
5233 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5234 PyObject
*resultobj
= 0;
5235 wxPen
*arg1
= (wxPen
*) 0 ;
5239 PyObject
*swig_obj
[1] ;
5241 if (!args
) SWIG_fail
;
5243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5244 if (!SWIG_IsOK(res1
)) {
5245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5247 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (bool)(arg1
)->IsOk();
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5263 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
= 0;
5265 wxPen
*arg1
= (wxPen
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 char * kwnames
[] = {
5274 (char *) "self",(char *) "cap_style", NULL
5277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5279 if (!SWIG_IsOK(res1
)) {
5280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5282 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5284 if (!SWIG_IsOK(ecode2
)) {
5285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5287 arg2
= static_cast< int >(val2
);
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 (arg1
)->SetCap(arg2
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_Py_Void();
5301 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
= 0;
5303 wxPen
*arg1
= (wxPen
*) 0 ;
5304 wxColour
*arg2
= 0 ;
5308 PyObject
* obj0
= 0 ;
5309 PyObject
* obj1
= 0 ;
5310 char * kwnames
[] = {
5311 (char *) "self",(char *) "colour", NULL
5314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5316 if (!SWIG_IsOK(res1
)) {
5317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5319 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 (arg1
)->SetColour(*arg2
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_Py_Void();
5337 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
= 0;
5339 wxPen
*arg1
= (wxPen
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5347 char * kwnames
[] = {
5348 (char *) "self",(char *) "join_style", NULL
5351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5353 if (!SWIG_IsOK(res1
)) {
5354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5356 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5358 if (!SWIG_IsOK(ecode2
)) {
5359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5361 arg2
= static_cast< int >(val2
);
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 (arg1
)->SetJoin(arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_Py_Void();
5375 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
= 0;
5377 wxPen
*arg1
= (wxPen
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "self",(char *) "style", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5391 if (!SWIG_IsOK(res1
)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5394 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5396 if (!SWIG_IsOK(ecode2
)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5399 arg2
= static_cast< int >(val2
);
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 (arg1
)->SetStyle(arg2
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_Py_Void();
5413 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
= 0;
5415 wxPen
*arg1
= (wxPen
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5422 PyObject
* obj1
= 0 ;
5423 char * kwnames
[] = {
5424 (char *) "self",(char *) "width", NULL
5427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5429 if (!SWIG_IsOK(res1
)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5432 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5434 if (!SWIG_IsOK(ecode2
)) {
5435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5437 arg2
= static_cast< int >(val2
);
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 (arg1
)->SetWidth(arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_Py_Void();
5451 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
= 0;
5453 wxPen
*arg1
= (wxPen
*) 0 ;
5455 wxDash
*arg3
= (wxDash
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5460 char * kwnames
[] = {
5461 (char *) "self",(char *) "dashes", NULL
5464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5466 if (!SWIG_IsOK(res1
)) {
5467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5469 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5471 arg2
= PyList_Size(obj1
);
5472 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5473 if (arg3
== NULL
) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 (arg1
)->SetDashes(arg2
,arg3
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_Py_Void();
5483 if (arg3
) delete [] arg3
;
5488 if (arg3
) delete [] arg3
;
5494 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5495 PyObject
*resultobj
= 0;
5496 wxPen
*arg1
= (wxPen
*) 0 ;
5497 PyObject
*result
= 0 ;
5500 PyObject
*swig_obj
[1] ;
5502 if (!args
) SWIG_fail
;
5504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5505 if (!SWIG_IsOK(res1
)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5508 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5522 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
= 0;
5524 wxPen
*arg1
= (wxPen
*) 0 ;
5525 PyObject
*arg2
= (PyObject
*) 0 ;
5526 PyObject
*arg3
= (PyObject
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 PyObject
* obj2
= 0 ;
5532 char * kwnames
[] = {
5533 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5538 if (!SWIG_IsOK(res1
)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5541 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxPen__SetDashes(arg1
,arg2
,arg3
);
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= SWIG_Py_Void();
5557 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5558 PyObject
*resultobj
= 0;
5559 wxPen
*arg1
= (wxPen
*) 0 ;
5563 PyObject
*swig_obj
[1] ;
5565 if (!args
) SWIG_fail
;
5567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5568 if (!SWIG_IsOK(res1
)) {
5569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5571 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_From_int(static_cast< int >(result
));
5585 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
= 0;
5587 wxPen
*arg1
= (wxPen
*) 0 ;
5588 wxPen
*arg2
= (wxPen
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "other", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5605 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5607 if (!SWIG_IsOK(res2
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5610 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5626 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
= 0;
5628 wxPen
*arg1
= (wxPen
*) 0 ;
5629 wxPen
*arg2
= (wxPen
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 char * kwnames
[] = {
5638 (char *) "self",(char *) "other", NULL
5641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5643 if (!SWIG_IsOK(res1
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5646 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5648 if (!SWIG_IsOK(res2
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5651 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5667 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5670 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5671 return SWIG_Py_Void();
5674 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5675 return SWIG_Python_InitShadowInstance(args
);
5678 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
= 0;
5680 wxColour
*arg1
= 0 ;
5681 int arg2
= (int) wxSOLID
;
5682 wxBrush
*result
= 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 char * kwnames
[] = {
5689 (char *) "colour",(char *) "style", NULL
5692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5695 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5699 if (!SWIG_IsOK(ecode2
)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5702 arg2
= static_cast< int >(val2
);
5705 if (!wxPyCheckForApp()) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5718 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
= 0;
5720 wxBitmap
*arg1
= 0 ;
5721 wxBrush
*result
= 0 ;
5724 PyObject
* obj0
= 0 ;
5725 char * kwnames
[] = {
5726 (char *) "stippleBitmap", NULL
5729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5730 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5731 if (!SWIG_IsOK(res1
)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5737 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5739 if (!wxPyCheckForApp()) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5752 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5753 PyObject
*resultobj
= 0;
5754 wxBrush
*arg1
= (wxBrush
*) 0 ;
5757 PyObject
*swig_obj
[1] ;
5759 if (!args
) SWIG_fail
;
5761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5762 if (!SWIG_IsOK(res1
)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5765 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_Py_Void();
5780 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
= 0;
5782 wxBrush
*arg1
= (wxBrush
*) 0 ;
5783 wxColour
*arg2
= 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5789 char * kwnames
[] = {
5790 (char *) "self",(char *) "col", NULL
5793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5795 if (!SWIG_IsOK(res1
)) {
5796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5798 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 (arg1
)->SetColour((wxColour
const &)*arg2
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= SWIG_Py_Void();
5816 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
= 0;
5818 wxBrush
*arg1
= (wxBrush
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5826 char * kwnames
[] = {
5827 (char *) "self",(char *) "style", NULL
5830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5835 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5837 if (!SWIG_IsOK(ecode2
)) {
5838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5840 arg2
= static_cast< int >(val2
);
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 (arg1
)->SetStyle(arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= SWIG_Py_Void();
5854 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxBrush
*arg1
= (wxBrush
*) 0 ;
5857 wxBitmap
*arg2
= 0 ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "stipple", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5873 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5875 if (!SWIG_IsOK(res2
)) {
5876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5881 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_Py_Void();
5895 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5896 PyObject
*resultobj
= 0;
5897 wxBrush
*arg1
= (wxBrush
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5909 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= ((wxBrush
const *)arg1
)->GetColour();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5923 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxBrush
*arg1
= (wxBrush
*) 0 ;
5929 PyObject
*swig_obj
[1] ;
5931 if (!args
) SWIG_fail
;
5933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5934 if (!SWIG_IsOK(res1
)) {
5935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5937 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_From_int(static_cast< int >(result
));
5951 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5952 PyObject
*resultobj
= 0;
5953 wxBrush
*arg1
= (wxBrush
*) 0 ;
5954 wxBitmap
*result
= 0 ;
5957 PyObject
*swig_obj
[1] ;
5959 if (!args
) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5965 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5979 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5980 PyObject
*resultobj
= 0;
5981 wxBrush
*arg1
= (wxBrush
*) 0 ;
5985 PyObject
*swig_obj
[1] ;
5987 if (!args
) SWIG_fail
;
5989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5990 if (!SWIG_IsOK(res1
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5993 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6010 PyObject
*resultobj
= 0;
6011 wxBrush
*arg1
= (wxBrush
*) 0 ;
6015 PyObject
*swig_obj
[1] ;
6017 if (!args
) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6023 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (bool)(arg1
)->IsOk();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6039 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6042 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6043 return SWIG_Py_Void();
6046 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 return SWIG_Python_InitShadowInstance(args
);
6050 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
= 0;
6052 wxString
*arg1
= 0 ;
6053 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6054 wxBitmap
*result
= 0 ;
6055 bool temp1
= false ;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 char * kwnames
[] = {
6061 (char *) "name",(char *) "type", NULL
6064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6066 arg1
= wxString_in_helper(obj0
);
6067 if (arg1
== NULL
) SWIG_fail
;
6071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6075 arg2
= static_cast< wxBitmapType
>(val2
);
6078 if (!wxPyCheckForApp()) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6099 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6100 PyObject
*resultobj
= 0;
6101 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6104 PyObject
*swig_obj
[1] ;
6106 if (!args
) SWIG_fail
;
6108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6109 if (!SWIG_IsOK(res1
)) {
6110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6112 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_Py_Void();
6125 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
= 0;
6129 int arg3
= (int) -1 ;
6130 wxBitmap
*result
= 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 PyObject
* obj2
= 0 ;
6140 char * kwnames
[] = {
6141 (char *) "width",(char *) "height",(char *) "depth", NULL
6144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6146 if (!SWIG_IsOK(ecode1
)) {
6147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6149 arg1
= static_cast< int >(val1
);
6150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6151 if (!SWIG_IsOK(ecode2
)) {
6152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6154 arg2
= static_cast< int >(val2
);
6156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6157 if (!SWIG_IsOK(ecode3
)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6160 arg3
= static_cast< int >(val3
);
6163 if (!wxPyCheckForApp()) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6176 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
= 0;
6179 wxBitmap
*result
= 0 ;
6182 PyObject
* obj0
= 0 ;
6183 char * kwnames
[] = {
6184 (char *) "icon", NULL
6187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6188 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6189 if (!SWIG_IsOK(res1
)) {
6190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6195 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6197 if (!wxPyCheckForApp()) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6210 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
= 0;
6213 int arg2
= (int) -1 ;
6214 wxBitmap
*result
= 0 ;
6219 PyObject
* obj0
= 0 ;
6220 PyObject
* obj1
= 0 ;
6221 char * kwnames
[] = {
6222 (char *) "image",(char *) "depth", NULL
6225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6226 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6227 if (!SWIG_IsOK(res1
)) {
6228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6233 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6236 if (!SWIG_IsOK(ecode2
)) {
6237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6239 arg2
= static_cast< int >(val2
);
6242 if (!wxPyCheckForApp()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6255 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
= 0;
6257 PyObject
*arg1
= (PyObject
*) 0 ;
6258 wxBitmap
*result
= 0 ;
6259 PyObject
* obj0
= 0 ;
6260 char * kwnames
[] = {
6261 (char *) "listOfStrings", NULL
6264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6267 if (!wxPyCheckForApp()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6280 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
= 0;
6282 PyObject
*arg1
= (PyObject
*) 0 ;
6285 int arg4
= (int) 1 ;
6286 wxBitmap
*result
= 0 ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 PyObject
* obj2
= 0 ;
6296 PyObject
* obj3
= 0 ;
6297 char * kwnames
[] = {
6298 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6304 if (!SWIG_IsOK(ecode2
)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6307 arg2
= static_cast< int >(val2
);
6308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6309 if (!SWIG_IsOK(ecode3
)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6312 arg3
= static_cast< int >(val3
);
6314 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6315 if (!SWIG_IsOK(ecode4
)) {
6316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6318 arg4
= static_cast< int >(val4
);
6321 if (!wxPyCheckForApp()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6334 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6335 PyObject
*resultobj
= 0;
6336 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6340 PyObject
*swig_obj
[1] ;
6342 if (!args
) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6348 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6350 result
= (bool)(arg1
)->IsOk();
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6362 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6363 PyObject
*resultobj
= 0;
6364 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6368 PyObject
*swig_obj
[1] ;
6370 if (!args
) SWIG_fail
;
6372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6373 if (!SWIG_IsOK(res1
)) {
6374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6376 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6378 result
= (int)(arg1
)->GetWidth();
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_From_int(static_cast< int >(result
));
6388 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6389 PyObject
*resultobj
= 0;
6390 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6394 PyObject
*swig_obj
[1] ;
6396 if (!args
) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6404 result
= (int)(arg1
)->GetHeight();
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_From_int(static_cast< int >(result
));
6414 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6415 PyObject
*resultobj
= 0;
6416 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6420 PyObject
*swig_obj
[1] ;
6422 if (!args
) SWIG_fail
;
6424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6425 if (!SWIG_IsOK(res1
)) {
6426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6428 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6430 result
= (int)(arg1
)->GetDepth();
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= SWIG_From_int(static_cast< int >(result
));
6440 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6441 PyObject
*resultobj
= 0;
6442 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6446 PyObject
*swig_obj
[1] ;
6448 if (!args
) SWIG_fail
;
6450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6451 if (!SWIG_IsOK(res1
)) {
6452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6454 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6456 result
= wxBitmap_GetSize(arg1
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6466 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6467 PyObject
*resultobj
= 0;
6468 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6469 SwigValueWrapper
<wxImage
> result
;
6472 PyObject
*swig_obj
[1] ;
6474 if (!args
) SWIG_fail
;
6476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6477 if (!SWIG_IsOK(res1
)) {
6478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6480 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6482 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6492 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6493 PyObject
*resultobj
= 0;
6494 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6495 wxMask
*result
= 0 ;
6498 PyObject
*swig_obj
[1] ;
6500 if (!args
) SWIG_fail
;
6502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6503 if (!SWIG_IsOK(res1
)) {
6504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6506 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6508 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6518 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6521 wxMask
*arg2
= (wxMask
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 char * kwnames
[] = {
6528 (char *) "self",(char *) "mask", NULL
6531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6533 if (!SWIG_IsOK(res1
)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6536 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6537 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6538 if (!SWIG_IsOK(res2
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6542 (arg1
)->SetMask(arg2
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_Py_Void();
6552 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
= 0;
6554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6555 wxColour
*arg2
= 0 ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6561 char * kwnames
[] = {
6562 (char *) "self",(char *) "colour", NULL
6565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6570 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6576 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_Py_Void();
6586 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= 0;
6588 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6590 SwigValueWrapper
<wxBitmap
> result
;
6594 PyObject
* obj0
= 0 ;
6595 PyObject
* obj1
= 0 ;
6596 char * kwnames
[] = {
6597 (char *) "self",(char *) "rect", NULL
6600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6602 if (!SWIG_IsOK(res1
)) {
6603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6605 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6608 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6611 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6621 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
= 0;
6623 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6624 wxString
*arg2
= 0 ;
6626 wxPalette
*arg4
= (wxPalette
*) NULL
;
6630 bool temp2
= false ;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6637 PyObject
* obj2
= 0 ;
6638 PyObject
* obj3
= 0 ;
6639 char * kwnames
[] = {
6640 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6645 if (!SWIG_IsOK(res1
)) {
6646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6648 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6650 arg2
= wxString_in_helper(obj1
);
6651 if (arg2
== NULL
) SWIG_fail
;
6654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6655 if (!SWIG_IsOK(ecode3
)) {
6656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6658 arg3
= static_cast< wxBitmapType
>(val3
);
6660 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6661 if (!SWIG_IsOK(res4
)) {
6662 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6664 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6667 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
= 0;
6689 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6690 wxString
*arg2
= 0 ;
6695 bool temp2
= false ;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6700 PyObject
* obj2
= 0 ;
6701 char * kwnames
[] = {
6702 (char *) "self",(char *) "name",(char *) "type", NULL
6705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6707 if (!SWIG_IsOK(res1
)) {
6708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6712 arg2
= wxString_in_helper(obj1
);
6713 if (arg2
== NULL
) SWIG_fail
;
6716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6717 if (!SWIG_IsOK(ecode3
)) {
6718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6720 arg3
= static_cast< wxBitmapType
>(val3
);
6722 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6742 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6743 PyObject
*resultobj
= 0;
6744 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6745 wxPalette
*result
= 0 ;
6748 PyObject
*swig_obj
[1] ;
6750 if (!args
) SWIG_fail
;
6752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6753 if (!SWIG_IsOK(res1
)) {
6754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6756 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6758 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6768 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
= 0;
6770 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 char * kwnames
[] = {
6780 (char *) "self",(char *) "icon", NULL
6783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6785 if (!SWIG_IsOK(res1
)) {
6786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6788 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6790 if (!SWIG_IsOK(res2
)) {
6791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6796 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6798 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6810 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
= 0;
6812 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6820 char * kwnames
[] = {
6821 (char *) "self",(char *) "height", NULL
6824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6826 if (!SWIG_IsOK(res1
)) {
6827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6829 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6831 if (!SWIG_IsOK(ecode2
)) {
6832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6834 arg2
= static_cast< int >(val2
);
6836 (arg1
)->SetHeight(arg2
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_Py_Void();
6846 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
= 0;
6848 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6856 char * kwnames
[] = {
6857 (char *) "self",(char *) "width", NULL
6860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6862 if (!SWIG_IsOK(res1
)) {
6863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6865 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6867 if (!SWIG_IsOK(ecode2
)) {
6868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6870 arg2
= static_cast< int >(val2
);
6872 (arg1
)->SetWidth(arg2
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_Py_Void();
6882 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
= 0;
6884 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6892 char * kwnames
[] = {
6893 (char *) "self",(char *) "depth", NULL
6896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6898 if (!SWIG_IsOK(res1
)) {
6899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6901 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6903 if (!SWIG_IsOK(ecode2
)) {
6904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6906 arg2
= static_cast< int >(val2
);
6908 (arg1
)->SetDepth(arg2
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_Py_Void();
6918 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
= 0;
6920 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 char * kwnames
[] = {
6928 (char *) "self",(char *) "size", NULL
6931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6933 if (!SWIG_IsOK(res1
)) {
6934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6936 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6939 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6942 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= SWIG_Py_Void();
6952 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
= 0;
6954 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 char * kwnames
[] = {
6963 (char *) "self",(char *) "data", NULL
6966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6968 if (!SWIG_IsOK(res1
)) {
6969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
6971 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6973 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
6977 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_Py_Void();
6987 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
= 0;
6989 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6997 char * kwnames
[] = {
6998 (char *) "self",(char *) "data", NULL
7001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7003 if (!SWIG_IsOK(res1
)) {
7004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7006 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7008 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7012 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_Py_Void();
7022 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
= 0;
7024 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7025 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7033 char * kwnames
[] = {
7034 (char *) "self",(char *) "other", NULL
7037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7039 if (!SWIG_IsOK(res1
)) {
7040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7042 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7044 if (!SWIG_IsOK(res2
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7047 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7049 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7061 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7063 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7064 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7072 char * kwnames
[] = {
7073 (char *) "self",(char *) "other", NULL
7076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7078 if (!SWIG_IsOK(res1
)) {
7079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7081 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7083 if (!SWIG_IsOK(res2
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7086 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7088 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7100 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7103 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7104 return SWIG_Py_Void();
7107 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7108 return SWIG_Python_InitShadowInstance(args
);
7111 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
= 0;
7119 wxBitmap
*result
= 0 ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7128 PyObject
* obj2
= 0 ;
7129 PyObject
* obj3
= 0 ;
7130 char * kwnames
[] = {
7131 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7135 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7136 if (!SWIG_IsOK(ecode1
)) {
7137 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7139 arg1
= static_cast< int >(val1
);
7140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7141 if (!SWIG_IsOK(ecode2
)) {
7142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7144 arg2
= static_cast< int >(val2
);
7146 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7150 if (obj3
!= Py_None
) {
7151 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7156 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7166 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
= 0;
7172 wxBitmap
*result
= 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7180 PyObject
* obj2
= 0 ;
7181 char * kwnames
[] = {
7182 (char *) "width",(char *) "height",(char *) "data", NULL
7185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7187 if (!SWIG_IsOK(ecode1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7190 arg1
= static_cast< int >(val1
);
7191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7192 if (!SWIG_IsOK(ecode2
)) {
7193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7195 arg2
= static_cast< int >(val2
);
7197 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7201 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7211 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7217 wxBitmap
*result
= 0 ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7225 PyObject
* obj2
= 0 ;
7226 char * kwnames
[] = {
7227 (char *) "width",(char *) "height",(char *) "data", NULL
7230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7232 if (!SWIG_IsOK(ecode1
)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7235 arg1
= static_cast< int >(val1
);
7236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7237 if (!SWIG_IsOK(ecode2
)) {
7238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7240 arg2
= static_cast< int >(val2
);
7242 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7246 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7256 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7257 PyObject
*resultobj
= 0;
7258 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7262 PyObject
*swig_obj
[1] ;
7264 if (!args
) SWIG_fail
;
7266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7267 if (!SWIG_IsOK(res1
)) {
7268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7270 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7272 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7282 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 PyObject
*resultobj
= 0;
7284 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7288 PyObject
*swig_obj
[1] ;
7290 if (!args
) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7296 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7298 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_From_int(static_cast< int >(result
));
7308 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7309 PyObject
*resultobj
= 0;
7310 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7322 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7324 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= SWIG_From_int(static_cast< int >(result
));
7334 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7335 PyObject
*resultobj
= 0;
7336 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7340 PyObject
*swig_obj
[1] ;
7342 if (!args
) SWIG_fail
;
7344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7345 if (!SWIG_IsOK(res1
)) {
7346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7348 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7350 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7360 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 PyObject
*resultobj
= 0;
7362 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7366 PyObject
*swig_obj
[1] ;
7368 if (!args
) SWIG_fail
;
7370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7371 if (!SWIG_IsOK(res1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7374 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7376 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_From_int(static_cast< int >(result
));
7386 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7389 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7390 return SWIG_Py_Void();
7393 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7394 PyObject
*resultobj
= 0;
7395 wxBitmap
*arg1
= 0 ;
7396 wxNativePixelData
*result
= 0 ;
7400 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7402 if (!SWIG_IsOK(res1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7408 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7410 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7420 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7421 PyObject
*resultobj
= 0;
7422 wxBitmap
*arg1
= 0 ;
7424 wxNativePixelData
*result
= 0 ;
7429 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7431 if (!SWIG_IsOK(res1
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7437 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7440 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7443 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7453 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7454 PyObject
*resultobj
= 0;
7455 wxBitmap
*arg1
= 0 ;
7458 wxNativePixelData
*result
= 0 ;
7464 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7466 if (!SWIG_IsOK(res1
)) {
7467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7472 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7475 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7479 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7482 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7492 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7496 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7499 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7502 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7505 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7509 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7514 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7515 PyObject
*resultobj
= 0;
7516 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7519 PyObject
*swig_obj
[1] ;
7521 if (!args
) SWIG_fail
;
7523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7524 if (!SWIG_IsOK(res1
)) {
7525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7527 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_Py_Void();
7540 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7541 PyObject
*resultobj
= 0;
7542 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7543 wxNativePixelData_Accessor result
;
7546 PyObject
*swig_obj
[1] ;
7548 if (!args
) SWIG_fail
;
7550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7551 if (!SWIG_IsOK(res1
)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7554 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7556 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7566 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7567 PyObject
*resultobj
= 0;
7568 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7571 PyObject
*swig_obj
[1] ;
7573 if (!args
) SWIG_fail
;
7575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7576 if (!SWIG_IsOK(res1
)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7579 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_Py_Void();
7591 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7592 PyObject
*resultobj
= 0;
7593 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7597 PyObject
*swig_obj
[1] ;
7599 if (!args
) SWIG_fail
;
7601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7602 if (!SWIG_IsOK(res1
)) {
7603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7605 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7607 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7619 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7622 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7623 return SWIG_Py_Void();
7626 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7627 return SWIG_Python_InitShadowInstance(args
);
7630 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7631 PyObject
*resultobj
= 0;
7632 wxNativePixelData
*arg1
= 0 ;
7633 wxNativePixelData_Accessor
*result
= 0 ;
7637 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7639 if (!SWIG_IsOK(res1
)) {
7640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7645 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7647 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7657 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7658 PyObject
*resultobj
= 0;
7659 wxBitmap
*arg1
= 0 ;
7660 wxNativePixelData
*arg2
= 0 ;
7661 wxNativePixelData_Accessor
*result
= 0 ;
7667 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7675 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7676 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7677 if (!SWIG_IsOK(res2
)) {
7678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7683 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7685 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7695 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7696 PyObject
*resultobj
= 0;
7697 wxNativePixelData_Accessor
*result
= 0 ;
7699 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7701 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7711 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7715 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7718 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7721 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7724 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7728 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7733 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 PyObject
*resultobj
= 0;
7735 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7738 PyObject
*swig_obj
[1] ;
7740 if (!args
) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7746 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_Py_Void();
7759 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7762 wxNativePixelData
*arg2
= 0 ;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7769 char * kwnames
[] = {
7770 (char *) "self",(char *) "data", NULL
7773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7775 if (!SWIG_IsOK(res1
)) {
7776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7778 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7780 if (!SWIG_IsOK(res2
)) {
7781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7786 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7788 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_Py_Void();
7798 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7799 PyObject
*resultobj
= 0;
7800 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7804 PyObject
*swig_obj
[1] ;
7806 if (!args
) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7812 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7814 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7826 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 PyObject
*resultobj
= 0;
7828 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7831 PyObject
*swig_obj
[1] ;
7833 if (!args
) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7839 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7841 wxNativePixelData_Accessor_nextPixel(arg1
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_Py_Void();
7851 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7853 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7854 wxNativePixelData
*arg2
= 0 ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 PyObject
* obj2
= 0 ;
7868 PyObject
* obj3
= 0 ;
7869 char * kwnames
[] = {
7870 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7875 if (!SWIG_IsOK(res1
)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7878 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7880 if (!SWIG_IsOK(res2
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7886 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7888 if (!SWIG_IsOK(ecode3
)) {
7889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7891 arg3
= static_cast< int >(val3
);
7892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7893 if (!SWIG_IsOK(ecode4
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7896 arg4
= static_cast< int >(val4
);
7898 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_Py_Void();
7908 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
= 0;
7910 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7911 wxNativePixelData
*arg2
= 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7922 char * kwnames
[] = {
7923 (char *) "self",(char *) "data",(char *) "x", NULL
7926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7928 if (!SWIG_IsOK(res1
)) {
7929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7931 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7933 if (!SWIG_IsOK(res2
)) {
7934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7939 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7941 if (!SWIG_IsOK(ecode3
)) {
7942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7944 arg3
= static_cast< int >(val3
);
7946 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_Py_Void();
7956 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
= 0;
7958 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7959 wxNativePixelData
*arg2
= 0 ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7970 char * kwnames
[] = {
7971 (char *) "self",(char *) "data",(char *) "y", NULL
7974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7976 if (!SWIG_IsOK(res1
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7979 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7981 if (!SWIG_IsOK(res2
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7987 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7989 if (!SWIG_IsOK(ecode3
)) {
7990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7992 arg3
= static_cast< int >(val3
);
7994 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_Py_Void();
8004 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
= 0;
8006 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8007 wxNativePixelData
*arg2
= 0 ;
8018 PyObject
* obj0
= 0 ;
8019 PyObject
* obj1
= 0 ;
8020 PyObject
* obj2
= 0 ;
8021 PyObject
* obj3
= 0 ;
8022 char * kwnames
[] = {
8023 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8028 if (!SWIG_IsOK(res1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8031 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8033 if (!SWIG_IsOK(res2
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8039 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8041 if (!SWIG_IsOK(ecode3
)) {
8042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8044 arg3
= static_cast< int >(val3
);
8045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8046 if (!SWIG_IsOK(ecode4
)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8049 arg4
= static_cast< int >(val4
);
8051 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_Py_Void();
8061 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
= 0;
8063 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8069 unsigned char val2
;
8071 unsigned char val3
;
8073 unsigned char val4
;
8075 PyObject
* obj0
= 0 ;
8076 PyObject
* obj1
= 0 ;
8077 PyObject
* obj2
= 0 ;
8078 PyObject
* obj3
= 0 ;
8079 char * kwnames
[] = {
8080 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8085 if (!SWIG_IsOK(res1
)) {
8086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8088 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8089 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8090 if (!SWIG_IsOK(ecode2
)) {
8091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8093 arg2
= static_cast< byte
>(val2
);
8094 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8095 if (!SWIG_IsOK(ecode3
)) {
8096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8098 arg3
= static_cast< byte
>(val3
);
8099 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8100 if (!SWIG_IsOK(ecode4
)) {
8101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8103 arg4
= static_cast< byte
>(val4
);
8105 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= SWIG_Py_Void();
8115 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8116 PyObject
*resultobj
= 0;
8117 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8118 PyObject
*result
= 0 ;
8121 PyObject
*swig_obj
[1] ;
8123 if (!args
) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8129 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8131 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8141 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8144 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8145 return SWIG_Py_Void();
8148 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8149 return SWIG_Python_InitShadowInstance(args
);
8152 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8153 PyObject
*resultobj
= 0;
8154 wxBitmap
*arg1
= 0 ;
8155 wxAlphaPixelData
*result
= 0 ;
8159 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8161 if (!SWIG_IsOK(res1
)) {
8162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8169 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8179 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8180 PyObject
*resultobj
= 0;
8181 wxBitmap
*arg1
= 0 ;
8183 wxAlphaPixelData
*result
= 0 ;
8188 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8190 if (!SWIG_IsOK(res1
)) {
8191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8196 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8199 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8202 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8212 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8213 PyObject
*resultobj
= 0;
8214 wxBitmap
*arg1
= 0 ;
8217 wxAlphaPixelData
*result
= 0 ;
8223 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8231 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8234 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8238 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8241 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8251 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8255 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8258 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8261 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8264 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8268 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8273 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8274 PyObject
*resultobj
= 0;
8275 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8278 PyObject
*swig_obj
[1] ;
8280 if (!args
) SWIG_fail
;
8282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8283 if (!SWIG_IsOK(res1
)) {
8284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8286 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_Py_Void();
8299 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8300 PyObject
*resultobj
= 0;
8301 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8302 wxAlphaPixelData_Accessor result
;
8305 PyObject
*swig_obj
[1] ;
8307 if (!args
) SWIG_fail
;
8309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8310 if (!SWIG_IsOK(res1
)) {
8311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8313 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8315 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8325 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8326 PyObject
*resultobj
= 0;
8327 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8330 PyObject
*swig_obj
[1] ;
8332 if (!args
) SWIG_fail
;
8334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8335 if (!SWIG_IsOK(res1
)) {
8336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8338 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_Py_Void();
8350 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8351 PyObject
*resultobj
= 0;
8352 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8356 PyObject
*swig_obj
[1] ;
8358 if (!args
) SWIG_fail
;
8360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8361 if (!SWIG_IsOK(res1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8364 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8366 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8378 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8381 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8382 return SWIG_Py_Void();
8385 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 return SWIG_Python_InitShadowInstance(args
);
8389 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8390 PyObject
*resultobj
= 0;
8391 wxAlphaPixelData
*arg1
= 0 ;
8392 wxAlphaPixelData_Accessor
*result
= 0 ;
8396 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8398 if (!SWIG_IsOK(res1
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8404 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8406 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8416 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8417 PyObject
*resultobj
= 0;
8418 wxBitmap
*arg1
= 0 ;
8419 wxAlphaPixelData
*arg2
= 0 ;
8420 wxAlphaPixelData_Accessor
*result
= 0 ;
8426 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8434 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8435 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8436 if (!SWIG_IsOK(res2
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8442 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8444 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8454 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8455 PyObject
*resultobj
= 0;
8456 wxAlphaPixelData_Accessor
*result
= 0 ;
8458 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8460 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8470 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8474 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8477 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8480 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8483 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8487 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8492 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8493 PyObject
*resultobj
= 0;
8494 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8497 PyObject
*swig_obj
[1] ;
8499 if (!args
) SWIG_fail
;
8501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8502 if (!SWIG_IsOK(res1
)) {
8503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8505 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= SWIG_Py_Void();
8518 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
= 0;
8520 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8521 wxAlphaPixelData
*arg2
= 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8528 char * kwnames
[] = {
8529 (char *) "self",(char *) "data", NULL
8532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8534 if (!SWIG_IsOK(res1
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8537 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8539 if (!SWIG_IsOK(res2
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8545 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8547 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 resultobj
= SWIG_Py_Void();
8557 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8558 PyObject
*resultobj
= 0;
8559 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8563 PyObject
*swig_obj
[1] ;
8565 if (!args
) SWIG_fail
;
8567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8568 if (!SWIG_IsOK(res1
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8571 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8573 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8585 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8586 PyObject
*resultobj
= 0;
8587 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8590 PyObject
*swig_obj
[1] ;
8592 if (!args
) SWIG_fail
;
8594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8595 if (!SWIG_IsOK(res1
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8598 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8600 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_Py_Void();
8610 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= 0;
8612 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8613 wxAlphaPixelData
*arg2
= 0 ;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8626 PyObject
* obj2
= 0 ;
8627 PyObject
* obj3
= 0 ;
8628 char * kwnames
[] = {
8629 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8637 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8639 if (!SWIG_IsOK(res2
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8645 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8647 if (!SWIG_IsOK(ecode3
)) {
8648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8650 arg3
= static_cast< int >(val3
);
8651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8652 if (!SWIG_IsOK(ecode4
)) {
8653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8655 arg4
= static_cast< int >(val4
);
8657 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= SWIG_Py_Void();
8667 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
= 0;
8669 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8670 wxAlphaPixelData
*arg2
= 0 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8680 PyObject
* obj2
= 0 ;
8681 char * kwnames
[] = {
8682 (char *) "self",(char *) "data",(char *) "x", NULL
8685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8690 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8692 if (!SWIG_IsOK(res2
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8698 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8700 if (!SWIG_IsOK(ecode3
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8703 arg3
= static_cast< int >(val3
);
8705 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_Py_Void();
8715 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
= 0;
8717 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8718 wxAlphaPixelData
*arg2
= 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 char * kwnames
[] = {
8730 (char *) "self",(char *) "data",(char *) "y", NULL
8733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8735 if (!SWIG_IsOK(res1
)) {
8736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8738 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8740 if (!SWIG_IsOK(res2
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8746 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8748 if (!SWIG_IsOK(ecode3
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8751 arg3
= static_cast< int >(val3
);
8753 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_Py_Void();
8763 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
= 0;
8765 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8766 wxAlphaPixelData
*arg2
= 0 ;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 PyObject
* obj2
= 0 ;
8780 PyObject
* obj3
= 0 ;
8781 char * kwnames
[] = {
8782 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8787 if (!SWIG_IsOK(res1
)) {
8788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8790 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8792 if (!SWIG_IsOK(res2
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8798 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8800 if (!SWIG_IsOK(ecode3
)) {
8801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8803 arg3
= static_cast< int >(val3
);
8804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8805 if (!SWIG_IsOK(ecode4
)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8808 arg4
= static_cast< int >(val4
);
8810 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_Py_Void();
8820 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
= 0;
8822 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8829 unsigned char val2
;
8831 unsigned char val3
;
8833 unsigned char val4
;
8835 unsigned char val5
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj2
= 0 ;
8840 PyObject
* obj3
= 0 ;
8841 PyObject
* obj4
= 0 ;
8842 char * kwnames
[] = {
8843 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8851 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8852 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8853 if (!SWIG_IsOK(ecode2
)) {
8854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8856 arg2
= static_cast< byte
>(val2
);
8857 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8858 if (!SWIG_IsOK(ecode3
)) {
8859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8861 arg3
= static_cast< byte
>(val3
);
8862 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8863 if (!SWIG_IsOK(ecode4
)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8866 arg4
= static_cast< byte
>(val4
);
8867 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8868 if (!SWIG_IsOK(ecode5
)) {
8869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8871 arg5
= static_cast< byte
>(val5
);
8873 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 resultobj
= SWIG_Py_Void();
8883 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8884 PyObject
*resultobj
= 0;
8885 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8886 PyObject
*result
= 0 ;
8889 PyObject
*swig_obj
[1] ;
8891 if (!args
) SWIG_fail
;
8893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8894 if (!SWIG_IsOK(res1
)) {
8895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8897 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8899 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8909 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8912 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8913 return SWIG_Py_Void();
8916 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8917 return SWIG_Python_InitShadowInstance(args
);
8920 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= 0;
8922 wxBitmap
*arg1
= 0 ;
8923 wxColour
const &arg2_defvalue
= wxNullColour
;
8924 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8925 wxMask
*result
= 0 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "bitmap",(char *) "colour", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8943 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8951 if (!wxPyCheckForApp()) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8964 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8965 PyObject
*resultobj
= 0;
8966 wxMask
*arg1
= (wxMask
*) 0 ;
8969 PyObject
*swig_obj
[1] ;
8971 if (!args
) SWIG_fail
;
8973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8974 if (!SWIG_IsOK(res1
)) {
8975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8977 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_Py_Void();
8990 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8993 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8994 return SWIG_Py_Void();
8997 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8998 return SWIG_Python_InitShadowInstance(args
);
9001 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= 0;
9003 wxString
*arg1
= 0 ;
9005 int arg3
= (int) -1 ;
9006 int arg4
= (int) -1 ;
9007 wxIcon
*result
= 0 ;
9008 bool temp1
= false ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9018 PyObject
* obj3
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9025 arg1
= wxString_in_helper(obj0
);
9026 if (arg1
== NULL
) SWIG_fail
;
9029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9030 if (!SWIG_IsOK(ecode2
)) {
9031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9033 arg2
= static_cast< wxBitmapType
>(val2
);
9035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9036 if (!SWIG_IsOK(ecode3
)) {
9037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9039 arg3
= static_cast< int >(val3
);
9042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9043 if (!SWIG_IsOK(ecode4
)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9046 arg4
= static_cast< int >(val4
);
9049 if (!wxPyCheckForApp()) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9070 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9071 PyObject
*resultobj
= 0;
9072 wxIcon
*arg1
= (wxIcon
*) 0 ;
9075 PyObject
*swig_obj
[1] ;
9077 if (!args
) SWIG_fail
;
9079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9080 if (!SWIG_IsOK(res1
)) {
9081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9083 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= SWIG_Py_Void();
9098 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9099 PyObject
*resultobj
= 0;
9100 wxIcon
*result
= 0 ;
9102 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9104 if (!wxPyCheckForApp()) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (wxIcon
*)new wxIcon();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9117 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
= 0;
9119 wxIconLocation
*arg1
= 0 ;
9120 wxIcon
*result
= 0 ;
9123 PyObject
* obj0
= 0 ;
9124 char * kwnames
[] = {
9125 (char *) "loc", NULL
9128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9136 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9138 if (!wxPyCheckForApp()) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9151 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= 0;
9153 wxBitmap
*arg1
= 0 ;
9154 wxIcon
*result
= 0 ;
9157 PyObject
* obj0
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "bmp", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9172 if (!wxPyCheckForApp()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9185 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
= 0;
9187 PyObject
*arg1
= (PyObject
*) 0 ;
9188 wxIcon
*result
= 0 ;
9189 PyObject
* obj0
= 0 ;
9190 char * kwnames
[] = {
9191 (char *) "listOfStrings", NULL
9194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9197 if (!wxPyCheckForApp()) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (wxIcon
*)new_wxIcon(arg1
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9210 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
= 0;
9212 wxIcon
*arg1
= (wxIcon
*) 0 ;
9213 wxString
*arg2
= 0 ;
9218 bool temp2
= false ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 PyObject
* obj2
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "self",(char *) "name",(char *) "type", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9233 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9235 arg2
= wxString_in_helper(obj1
);
9236 if (arg2
== NULL
) SWIG_fail
;
9239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9240 if (!SWIG_IsOK(ecode3
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9243 arg3
= static_cast< wxBitmapType
>(val3
);
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9267 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9268 PyObject
*resultobj
= 0;
9269 wxIcon
*arg1
= (wxIcon
*) 0 ;
9273 PyObject
*swig_obj
[1] ;
9275 if (!args
) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9281 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)(arg1
)->IsOk();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9297 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9298 PyObject
*resultobj
= 0;
9299 wxIcon
*arg1
= (wxIcon
*) 0 ;
9303 PyObject
*swig_obj
[1] ;
9305 if (!args
) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9311 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (int)(arg1
)->GetWidth();
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_From_int(static_cast< int >(result
));
9325 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9326 PyObject
*resultobj
= 0;
9327 wxIcon
*arg1
= (wxIcon
*) 0 ;
9331 PyObject
*swig_obj
[1] ;
9333 if (!args
) SWIG_fail
;
9335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9336 if (!SWIG_IsOK(res1
)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9339 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (int)(arg1
)->GetHeight();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_From_int(static_cast< int >(result
));
9353 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 PyObject
*resultobj
= 0;
9355 wxIcon
*arg1
= (wxIcon
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9367 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (int)(arg1
)->GetDepth();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_From_int(static_cast< int >(result
));
9381 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxIcon
*arg1
= (wxIcon
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "self",(char *) "w", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9400 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9402 if (!SWIG_IsOK(ecode2
)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9405 arg2
= static_cast< int >(val2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->SetWidth(arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxIcon
*arg1
= (wxIcon
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "h", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9438 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9440 if (!SWIG_IsOK(ecode2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9443 arg2
= static_cast< int >(val2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->SetHeight(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxIcon
*arg1
= (wxIcon
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "d", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9476 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9478 if (!SWIG_IsOK(ecode2
)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9481 arg2
= static_cast< int >(val2
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 (arg1
)->SetDepth(arg2
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_Py_Void();
9495 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= 0;
9497 wxIcon
*arg1
= (wxIcon
*) 0 ;
9498 wxBitmap
*arg2
= 0 ;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9505 char * kwnames
[] = {
9506 (char *) "self",(char *) "bmp", NULL
9509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9511 if (!SWIG_IsOK(res1
)) {
9512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9514 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9516 if (!SWIG_IsOK(res2
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9522 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_Py_Void();
9536 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9539 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9540 return SWIG_Py_Void();
9543 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9544 return SWIG_Python_InitShadowInstance(args
);
9547 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
= 0;
9549 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9550 int arg2
= (int) 0 ;
9551 wxIconLocation
*result
= 0 ;
9552 bool temp1
= false ;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 char * kwnames
[] = {
9558 (char *) "filename",(char *) "num", NULL
9561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9564 arg1
= wxString_in_helper(obj0
);
9565 if (arg1
== NULL
) SWIG_fail
;
9570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9571 if (!SWIG_IsOK(ecode2
)) {
9572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9574 arg2
= static_cast< int >(val2
);
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9597 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9598 PyObject
*resultobj
= 0;
9599 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9602 PyObject
*swig_obj
[1] ;
9604 if (!args
) SWIG_fail
;
9606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9607 if (!SWIG_IsOK(res1
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9610 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9639 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
= 0;
9657 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9658 wxString
*arg2
= 0 ;
9661 bool temp2
= false ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9664 char * kwnames
[] = {
9665 (char *) "self",(char *) "filename", NULL
9668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9670 if (!SWIG_IsOK(res1
)) {
9671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9673 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9675 arg2
= wxString_in_helper(obj1
);
9676 if (arg2
== NULL
) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->SetFileName((wxString
const &)*arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_Py_Void();
9700 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9701 PyObject
*resultobj
= 0;
9702 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9703 wxString
*result
= 0 ;
9706 PyObject
*swig_obj
[1] ;
9708 if (!args
) SWIG_fail
;
9710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9711 if (!SWIG_IsOK(res1
)) {
9712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9714 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9719 result
= (wxString
*) &_result_ref
;
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9728 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9737 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
= 0;
9739 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 char * kwnames
[] = {
9748 (char *) "self",(char *) "num", NULL
9751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9753 if (!SWIG_IsOK(res1
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9756 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9758 if (!SWIG_IsOK(ecode2
)) {
9759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9761 arg2
= static_cast< int >(val2
);
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 wxIconLocation_SetIndex(arg1
,arg2
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_Py_Void();
9775 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9776 PyObject
*resultobj
= 0;
9777 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9781 PyObject
*swig_obj
[1] ;
9783 if (!args
) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9789 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (int)wxIconLocation_GetIndex(arg1
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_From_int(static_cast< int >(result
));
9803 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9806 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9807 return SWIG_Py_Void();
9810 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9811 return SWIG_Python_InitShadowInstance(args
);
9814 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9815 PyObject
*resultobj
= 0;
9816 wxIconBundle
*result
= 0 ;
9818 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (wxIconBundle
*)new wxIconBundle();
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9832 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
= 0;
9834 wxString
*arg1
= 0 ;
9836 wxIconBundle
*result
= 0 ;
9837 bool temp1
= false ;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9842 char * kwnames
[] = {
9843 (char *) "file",(char *) "type", NULL
9846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9848 arg1
= wxString_in_helper(obj0
);
9849 if (arg1
== NULL
) SWIG_fail
;
9852 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9853 if (!SWIG_IsOK(ecode2
)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9856 arg2
= static_cast< long >(val2
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9878 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
= 0;
9881 wxIconBundle
*result
= 0 ;
9884 PyObject
* obj0
= 0 ;
9885 char * kwnames
[] = {
9886 (char *) "icon", NULL
9889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9890 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9891 if (!SWIG_IsOK(res1
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9897 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9911 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9912 PyObject
*resultobj
= 0;
9913 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9916 PyObject
*swig_obj
[1] ;
9918 if (!args
) SWIG_fail
;
9920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9921 if (!SWIG_IsOK(res1
)) {
9922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9924 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_Py_Void();
9939 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
= 0;
9941 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9949 char * kwnames
[] = {
9950 (char *) "self",(char *) "icon", NULL
9953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9955 if (!SWIG_IsOK(res1
)) {
9956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9958 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9960 if (!SWIG_IsOK(res2
)) {
9961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9966 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_Py_Void();
9980 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
= 0;
9982 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9983 wxString
*arg2
= 0 ;
9987 bool temp2
= false ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9992 PyObject
* obj2
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "self",(char *) "file",(char *) "type", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10002 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10004 arg2
= wxString_in_helper(obj1
);
10005 if (arg2
== NULL
) SWIG_fail
;
10008 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10009 if (!SWIG_IsOK(ecode3
)) {
10010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10012 arg3
= static_cast< long >(val3
);
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= SWIG_Py_Void();
10034 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
= 0;
10036 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10038 wxIcon
*result
= 0 ;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 char * kwnames
[] = {
10045 (char *) "self",(char *) "size", NULL
10048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10050 if (!SWIG_IsOK(res1
)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10053 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10056 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10062 result
= (wxIcon
*) &_result_ref
;
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10068 wxIcon
* resultptr
= new wxIcon(*result
);
10069 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10077 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10080 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10081 return SWIG_Py_Void();
10084 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10085 return SWIG_Python_InitShadowInstance(args
);
10088 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
= 0;
10090 wxString
*arg1
= 0 ;
10092 int arg3
= (int) 0 ;
10093 int arg4
= (int) 0 ;
10094 wxCursor
*result
= 0 ;
10095 bool temp1
= false ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 PyObject
* obj2
= 0 ;
10105 PyObject
* obj3
= 0 ;
10106 char * kwnames
[] = {
10107 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10112 arg1
= wxString_in_helper(obj0
);
10113 if (arg1
== NULL
) SWIG_fail
;
10116 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10117 if (!SWIG_IsOK(ecode2
)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10120 arg2
= static_cast< long >(val2
);
10122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10123 if (!SWIG_IsOK(ecode3
)) {
10124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10126 arg3
= static_cast< int >(val3
);
10129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10130 if (!SWIG_IsOK(ecode4
)) {
10131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10133 arg4
= static_cast< int >(val4
);
10136 if (!wxPyCheckForApp()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10157 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10158 PyObject
*resultobj
= 0;
10159 wxCursor
*arg1
= (wxCursor
*) 0 ;
10162 PyObject
*swig_obj
[1] ;
10164 if (!args
) SWIG_fail
;
10165 swig_obj
[0] = args
;
10166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10167 if (!SWIG_IsOK(res1
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10170 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_Py_Void();
10185 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
= 0;
10188 wxCursor
*result
= 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "id", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10197 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10198 if (!SWIG_IsOK(ecode1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10201 arg1
= static_cast< int >(val1
);
10203 if (!wxPyCheckForApp()) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (wxCursor
*)new wxCursor(arg1
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10216 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
= 0;
10218 wxImage
*arg1
= 0 ;
10219 wxCursor
*result
= 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "image", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10235 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10237 if (!wxPyCheckForApp()) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10250 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10251 PyObject
*resultobj
= 0;
10252 wxCursor
*arg1
= (wxCursor
*) 0 ;
10256 PyObject
*swig_obj
[1] ;
10258 if (!args
) SWIG_fail
;
10259 swig_obj
[0] = args
;
10260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10264 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->IsOk();
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10280 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10283 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10284 return SWIG_Py_Void();
10287 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10288 return SWIG_Python_InitShadowInstance(args
);
10291 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= 0;
10293 int arg1
= (int) 0 ;
10294 int arg2
= (int) 0 ;
10295 int arg3
= (int) 0 ;
10296 int arg4
= (int) 0 ;
10297 wxRegion
*result
= 0 ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 PyObject
* obj3
= 0 ;
10310 char * kwnames
[] = {
10311 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10317 if (!SWIG_IsOK(ecode1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10320 arg1
= static_cast< int >(val1
);
10323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10324 if (!SWIG_IsOK(ecode2
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10327 arg2
= static_cast< int >(val2
);
10330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10331 if (!SWIG_IsOK(ecode3
)) {
10332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10334 arg3
= static_cast< int >(val3
);
10337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10338 if (!SWIG_IsOK(ecode4
)) {
10339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10341 arg4
= static_cast< int >(val4
);
10344 if (!wxPyCheckForApp()) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10357 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
= 0;
10359 wxBitmap
*arg1
= 0 ;
10360 wxRegion
*result
= 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char * kwnames
[] = {
10365 (char *) "bmp", NULL
10368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10369 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10370 if (!SWIG_IsOK(res1
)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10376 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10378 if (!wxPyCheckForApp()) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10391 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
= 0;
10393 wxBitmap
*arg1
= 0 ;
10394 wxColour
*arg2
= 0 ;
10395 int arg3
= (int) 0 ;
10396 wxRegion
*result
= 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 PyObject
* obj2
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10410 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10411 if (!SWIG_IsOK(res1
)) {
10412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10417 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10424 if (!SWIG_IsOK(ecode3
)) {
10425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10427 arg3
= static_cast< int >(val3
);
10430 if (!wxPyCheckForApp()) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10443 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
= 0;
10446 wxPoint
*arg2
= (wxPoint
*) 0 ;
10447 int arg3
= (int) wxWINDING_RULE
;
10448 wxRegion
*result
= 0 ;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 char * kwnames
[] = {
10454 (char *) "points",(char *) "fillStyle", NULL
10457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10459 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10460 if (arg2
== NULL
) SWIG_fail
;
10463 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10464 if (!SWIG_IsOK(ecode3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10467 arg3
= static_cast< int >(val3
);
10470 if (!wxPyCheckForApp()) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10478 if (arg2
) delete [] arg2
;
10483 if (arg2
) delete [] arg2
;
10489 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10490 PyObject
*resultobj
= 0;
10491 wxRegion
*arg1
= (wxRegion
*) 0 ;
10494 PyObject
*swig_obj
[1] ;
10496 if (!args
) SWIG_fail
;
10497 swig_obj
[0] = args
;
10498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10502 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_Py_Void();
10517 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxRegion
*arg1
= (wxRegion
*) 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10530 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_Py_Void();
10544 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxRegion
*arg1
= (wxRegion
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 PyObject
* obj2
= 0 ;
10559 char * kwnames
[] = {
10560 (char *) "self",(char *) "x",(char *) "y", NULL
10563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10565 if (!SWIG_IsOK(res1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10568 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10570 if (!SWIG_IsOK(ecode2
)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10573 arg2
= static_cast< int >(val2
);
10574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10575 if (!SWIG_IsOK(ecode3
)) {
10576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10578 arg3
= static_cast< int >(val3
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10594 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
= 0;
10596 wxRegion
*arg1
= (wxRegion
*) 0 ;
10599 wxRegionContain result
;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "self",(char *) "x",(char *) "y", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10618 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10620 if (!SWIG_IsOK(ecode2
)) {
10621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10623 arg2
= static_cast< int >(val2
);
10624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10625 if (!SWIG_IsOK(ecode3
)) {
10626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10628 arg3
= static_cast< int >(val3
);
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_From_int(static_cast< int >(result
));
10642 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= 0;
10644 wxRegion
*arg1
= (wxRegion
*) 0 ;
10645 wxPoint
*arg2
= 0 ;
10646 wxRegionContain result
;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char * kwnames
[] = {
10653 (char *) "self",(char *) "pt", NULL
10656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10661 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10664 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_From_int(static_cast< int >(result
));
10679 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
= 0;
10681 wxRegion
*arg1
= (wxRegion
*) 0 ;
10683 wxRegionContain result
;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char * kwnames
[] = {
10690 (char *) "self",(char *) "rect", NULL
10693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10695 if (!SWIG_IsOK(res1
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10698 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10701 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_From_int(static_cast< int >(result
));
10716 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= 0;
10718 wxRegion
*arg1
= (wxRegion
*) 0 ;
10723 wxRegionContain result
;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 PyObject
* obj3
= 0 ;
10738 PyObject
* obj4
= 0 ;
10739 char * kwnames
[] = {
10740 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10748 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10750 if (!SWIG_IsOK(ecode2
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10753 arg2
= static_cast< int >(val2
);
10754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10755 if (!SWIG_IsOK(ecode3
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10758 arg3
= static_cast< int >(val3
);
10759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10760 if (!SWIG_IsOK(ecode4
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10763 arg4
= static_cast< int >(val4
);
10764 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10765 if (!SWIG_IsOK(ecode5
)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10768 arg5
= static_cast< int >(val5
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_From_int(static_cast< int >(result
));
10782 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10783 PyObject
*resultobj
= 0;
10784 wxRegion
*arg1
= (wxRegion
*) 0 ;
10788 PyObject
*swig_obj
[1] ;
10790 if (!args
) SWIG_fail
;
10791 swig_obj
[0] = args
;
10792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10796 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (arg1
)->GetBox();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10810 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
= 0;
10812 wxRegion
*arg1
= (wxRegion
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 PyObject
* obj2
= 0 ;
10831 PyObject
* obj3
= 0 ;
10832 PyObject
* obj4
= 0 ;
10833 char * kwnames
[] = {
10834 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10839 if (!SWIG_IsOK(res1
)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10842 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10844 if (!SWIG_IsOK(ecode2
)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10847 arg2
= static_cast< int >(val2
);
10848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10849 if (!SWIG_IsOK(ecode3
)) {
10850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10852 arg3
= static_cast< int >(val3
);
10853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10854 if (!SWIG_IsOK(ecode4
)) {
10855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10857 arg4
= static_cast< int >(val4
);
10858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10859 if (!SWIG_IsOK(ecode5
)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10862 arg5
= static_cast< int >(val5
);
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10878 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
= 0;
10880 wxRegion
*arg1
= (wxRegion
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char * kwnames
[] = {
10889 (char *) "self",(char *) "rect", NULL
10892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10897 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10917 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxRegion
*arg1
= (wxRegion
*) 0 ;
10920 wxRegion
*arg2
= 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 char * kwnames
[] = {
10929 (char *) "self",(char *) "region", NULL
10932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10934 if (!SWIG_IsOK(res1
)) {
10935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10937 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10939 if (!SWIG_IsOK(res2
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10945 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10961 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10962 PyObject
*resultobj
= 0;
10963 wxRegion
*arg1
= (wxRegion
*) 0 ;
10967 PyObject
*swig_obj
[1] ;
10969 if (!args
) SWIG_fail
;
10970 swig_obj
[0] = args
;
10971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10975 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (bool)(arg1
)->IsEmpty();
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10991 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
= 0;
10993 wxRegion
*arg1
= (wxRegion
*) 0 ;
10994 wxRegion
*arg2
= 0 ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 char * kwnames
[] = {
11003 (char *) "self",(char *) "region", NULL
11006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11008 if (!SWIG_IsOK(res1
)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11011 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11013 if (!SWIG_IsOK(res2
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11019 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
= 0;
11037 wxRegion
*arg1
= (wxRegion
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 PyObject
* obj2
= 0 ;
11056 PyObject
* obj3
= 0 ;
11057 PyObject
* obj4
= 0 ;
11058 char * kwnames
[] = {
11059 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11067 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11069 if (!SWIG_IsOK(ecode2
)) {
11070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11072 arg2
= static_cast< int >(val2
);
11073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11074 if (!SWIG_IsOK(ecode3
)) {
11075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11077 arg3
= static_cast< int >(val3
);
11078 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11079 if (!SWIG_IsOK(ecode4
)) {
11080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11082 arg4
= static_cast< int >(val4
);
11083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11084 if (!SWIG_IsOK(ecode5
)) {
11085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11087 arg5
= static_cast< int >(val5
);
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11103 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
= 0;
11105 wxRegion
*arg1
= (wxRegion
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 char * kwnames
[] = {
11114 (char *) "self",(char *) "rect", NULL
11117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11122 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11125 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= 0;
11144 wxRegion
*arg1
= (wxRegion
*) 0 ;
11145 wxRegion
*arg2
= 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 char * kwnames
[] = {
11154 (char *) "self",(char *) "region", NULL
11157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11159 if (!SWIG_IsOK(res1
)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11162 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11164 if (!SWIG_IsOK(res2
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11170 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxRegion
*arg1
= (wxRegion
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 PyObject
* obj2
= 0 ;
11207 PyObject
* obj3
= 0 ;
11208 PyObject
* obj4
= 0 ;
11209 char * kwnames
[] = {
11210 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11215 if (!SWIG_IsOK(res1
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11218 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11220 if (!SWIG_IsOK(ecode2
)) {
11221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11223 arg2
= static_cast< int >(val2
);
11224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11225 if (!SWIG_IsOK(ecode3
)) {
11226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11228 arg3
= static_cast< int >(val3
);
11229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11230 if (!SWIG_IsOK(ecode4
)) {
11231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11233 arg4
= static_cast< int >(val4
);
11234 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11235 if (!SWIG_IsOK(ecode5
)) {
11236 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11238 arg5
= static_cast< int >(val5
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11254 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
= 0;
11256 wxRegion
*arg1
= (wxRegion
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 char * kwnames
[] = {
11265 (char *) "self",(char *) "rect", NULL
11268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11273 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11276 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11293 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
= 0;
11295 wxRegion
*arg1
= (wxRegion
*) 0 ;
11296 wxRegion
*arg2
= 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char * kwnames
[] = {
11305 (char *) "self",(char *) "region", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11313 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11315 if (!SWIG_IsOK(res2
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11321 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
= 0;
11339 wxRegion
*arg1
= (wxRegion
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 PyObject
* obj3
= 0 ;
11359 PyObject
* obj4
= 0 ;
11360 char * kwnames
[] = {
11361 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11366 if (!SWIG_IsOK(res1
)) {
11367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11369 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11371 if (!SWIG_IsOK(ecode2
)) {
11372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11374 arg2
= static_cast< int >(val2
);
11375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11376 if (!SWIG_IsOK(ecode3
)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11379 arg3
= static_cast< int >(val3
);
11380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11381 if (!SWIG_IsOK(ecode4
)) {
11382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11384 arg4
= static_cast< int >(val4
);
11385 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11386 if (!SWIG_IsOK(ecode5
)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11389 arg5
= static_cast< int >(val5
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11405 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
= 0;
11407 wxRegion
*arg1
= (wxRegion
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 char * kwnames
[] = {
11416 (char *) "self",(char *) "rect", NULL
11419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11421 if (!SWIG_IsOK(res1
)) {
11422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11424 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11427 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11444 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
= 0;
11446 wxRegion
*arg1
= (wxRegion
*) 0 ;
11447 wxRegion
*arg2
= 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "self",(char *) "region", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11464 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11466 if (!SWIG_IsOK(res2
)) {
11467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11472 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11489 PyObject
*resultobj
= 0;
11490 wxRegion
*arg1
= (wxRegion
*) 0 ;
11491 SwigValueWrapper
<wxBitmap
> result
;
11494 PyObject
*swig_obj
[1] ;
11496 if (!args
) SWIG_fail
;
11497 swig_obj
[0] = args
;
11498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11499 if (!SWIG_IsOK(res1
)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11502 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (arg1
)->ConvertToBitmap();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11516 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
= 0;
11518 wxRegion
*arg1
= (wxRegion
*) 0 ;
11519 wxBitmap
*arg2
= 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char * kwnames
[] = {
11528 (char *) "self",(char *) "bmp", NULL
11531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11533 if (!SWIG_IsOK(res1
)) {
11534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11536 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11538 if (!SWIG_IsOK(res2
)) {
11539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11544 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11560 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxRegion
*arg1
= (wxRegion
*) 0 ;
11563 wxBitmap
*arg2
= 0 ;
11564 wxColour
*arg3
= 0 ;
11565 int arg4
= (int) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 PyObject
* obj2
= 0 ;
11577 PyObject
* obj3
= 0 ;
11578 char * kwnames
[] = {
11579 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11584 if (!SWIG_IsOK(res1
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11587 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11589 if (!SWIG_IsOK(res2
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11595 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11598 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11602 if (!SWIG_IsOK(ecode4
)) {
11603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11605 arg4
= static_cast< int >(val4
);
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11622 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11625 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11626 return SWIG_Py_Void();
11629 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11630 return SWIG_Python_InitShadowInstance(args
);
11633 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
= 0;
11635 wxRegion
*arg1
= 0 ;
11636 wxRegionIterator
*result
= 0 ;
11639 PyObject
* obj0
= 0 ;
11640 char * kwnames
[] = {
11641 (char *) "region", NULL
11644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11645 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11646 if (!SWIG_IsOK(res1
)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11652 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11654 if (!wxPyCheckForApp()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11667 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 PyObject
*resultobj
= 0;
11669 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11672 PyObject
*swig_obj
[1] ;
11674 if (!args
) SWIG_fail
;
11675 swig_obj
[0] = args
;
11676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11680 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_Py_Void();
11695 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 PyObject
*resultobj
= 0;
11697 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11701 PyObject
*swig_obj
[1] ;
11703 if (!args
) SWIG_fail
;
11704 swig_obj
[0] = args
;
11705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11706 if (!SWIG_IsOK(res1
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11709 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (int)(arg1
)->GetX();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_From_int(static_cast< int >(result
));
11723 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 PyObject
*resultobj
= 0;
11725 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11729 PyObject
*swig_obj
[1] ;
11731 if (!args
) SWIG_fail
;
11732 swig_obj
[0] = args
;
11733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11734 if (!SWIG_IsOK(res1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11737 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (int)(arg1
)->GetY();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_From_int(static_cast< int >(result
));
11751 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11752 PyObject
*resultobj
= 0;
11753 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11757 PyObject
*swig_obj
[1] ;
11759 if (!args
) SWIG_fail
;
11760 swig_obj
[0] = args
;
11761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11765 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (int)(arg1
)->GetW();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_From_int(static_cast< int >(result
));
11779 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11780 PyObject
*resultobj
= 0;
11781 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11785 PyObject
*swig_obj
[1] ;
11787 if (!args
) SWIG_fail
;
11788 swig_obj
[0] = args
;
11789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11790 if (!SWIG_IsOK(res1
)) {
11791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11793 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (int)(arg1
)->GetWidth();
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_From_int(static_cast< int >(result
));
11807 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11821 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (int)(arg1
)->GetH();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_int(static_cast< int >(result
));
11835 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11849 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)(arg1
)->GetHeight();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_From_int(static_cast< int >(result
));
11863 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 PyObject
*resultobj
= 0;
11865 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11877 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (arg1
)->GetRect();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11891 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11892 PyObject
*resultobj
= 0;
11893 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11897 PyObject
*swig_obj
[1] ;
11899 if (!args
) SWIG_fail
;
11900 swig_obj
[0] = args
;
11901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11905 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (bool)(arg1
)->HaveRects();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11921 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11922 PyObject
*resultobj
= 0;
11923 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11926 PyObject
*swig_obj
[1] ;
11928 if (!args
) SWIG_fail
;
11929 swig_obj
[0] = args
;
11930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11931 if (!SWIG_IsOK(res1
)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11934 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_Py_Void();
11948 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11949 PyObject
*resultobj
= 0;
11950 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11953 PyObject
*swig_obj
[1] ;
11955 if (!args
) SWIG_fail
;
11956 swig_obj
[0] = args
;
11957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11958 if (!SWIG_IsOK(res1
)) {
11959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11961 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 wxRegionIterator_Next(arg1
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_Py_Void();
11975 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11976 PyObject
*resultobj
= 0;
11977 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11981 PyObject
*swig_obj
[1] ;
11983 if (!args
) SWIG_fail
;
11984 swig_obj
[0] = args
;
11985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11989 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12005 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12008 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12009 return SWIG_Py_Void();
12012 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12013 return SWIG_Python_InitShadowInstance(args
);
12016 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12017 PyObject
*resultobj
= 0;
12018 wxNativeFontInfo
*result
= 0 ;
12020 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12034 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 PyObject
*resultobj
= 0;
12036 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12039 PyObject
*swig_obj
[1] ;
12041 if (!args
) SWIG_fail
;
12042 swig_obj
[0] = args
;
12043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12044 if (!SWIG_IsOK(res1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12047 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_Py_Void();
12062 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12063 PyObject
*resultobj
= 0;
12064 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12067 PyObject
*swig_obj
[1] ;
12069 if (!args
) SWIG_fail
;
12070 swig_obj
[0] = args
;
12071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12075 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
= 0;
12091 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char * kwnames
[] = {
12100 (char *) "self",(char *) "font", NULL
12103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12108 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12110 if (!SWIG_IsOK(res2
)) {
12111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12116 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_Py_Void();
12130 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12131 PyObject
*resultobj
= 0;
12132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12136 PyObject
*swig_obj
[1] ;
12138 if (!args
) SWIG_fail
;
12139 swig_obj
[0] = args
;
12140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12141 if (!SWIG_IsOK(res1
)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12144 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= SWIG_From_int(static_cast< int >(result
));
12158 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12159 PyObject
*resultobj
= 0;
12160 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12161 wxFontStyle result
;
12164 PyObject
*swig_obj
[1] ;
12166 if (!args
) SWIG_fail
;
12167 swig_obj
[0] = args
;
12168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12172 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_From_int(static_cast< int >(result
));
12186 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12187 PyObject
*resultobj
= 0;
12188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12189 wxFontWeight result
;
12192 PyObject
*swig_obj
[1] ;
12194 if (!args
) SWIG_fail
;
12195 swig_obj
[0] = args
;
12196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12200 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_From_int(static_cast< int >(result
));
12214 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12215 PyObject
*resultobj
= 0;
12216 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12220 PyObject
*swig_obj
[1] ;
12222 if (!args
) SWIG_fail
;
12223 swig_obj
[0] = args
;
12224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12225 if (!SWIG_IsOK(res1
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12228 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12244 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12245 PyObject
*resultobj
= 0;
12246 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12250 PyObject
*swig_obj
[1] ;
12252 if (!args
) SWIG_fail
;
12253 swig_obj
[0] = args
;
12254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12255 if (!SWIG_IsOK(res1
)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12258 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12278 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12279 PyObject
*resultobj
= 0;
12280 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12281 wxFontFamily result
;
12284 PyObject
*swig_obj
[1] ;
12286 if (!args
) SWIG_fail
;
12287 swig_obj
[0] = args
;
12288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12289 if (!SWIG_IsOK(res1
)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12292 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_From_int(static_cast< int >(result
));
12306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12309 wxFontEncoding result
;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12320 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int(static_cast< int >(result
));
12334 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
= 0;
12336 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char * kwnames
[] = {
12345 (char *) "self",(char *) "pointsize", NULL
12348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12350 if (!SWIG_IsOK(res1
)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12353 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12355 if (!SWIG_IsOK(ecode2
)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12358 arg2
= static_cast< int >(val2
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 (arg1
)->SetPointSize(arg2
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_Py_Void();
12372 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "style", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12391 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12393 if (!SWIG_IsOK(ecode2
)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12396 arg2
= static_cast< wxFontStyle
>(val2
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetStyle(arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
= 0;
12412 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12413 wxFontWeight arg2
;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 char * kwnames
[] = {
12421 (char *) "self",(char *) "weight", NULL
12424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12426 if (!SWIG_IsOK(res1
)) {
12427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12429 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12431 if (!SWIG_IsOK(ecode2
)) {
12432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12434 arg2
= static_cast< wxFontWeight
>(val2
);
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 (arg1
)->SetWeight(arg2
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_Py_Void();
12448 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
= 0;
12450 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 PyObject
* obj1
= 0 ;
12458 char * kwnames
[] = {
12459 (char *) "self",(char *) "underlined", NULL
12462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12464 if (!SWIG_IsOK(res1
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12467 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12468 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12469 if (!SWIG_IsOK(ecode2
)) {
12470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12472 arg2
= static_cast< bool >(val2
);
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 (arg1
)->SetUnderlined(arg2
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_Py_Void();
12486 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
= 0;
12488 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 char * kwnames
[] = {
12496 (char *) "self",(char *) "facename", NULL
12499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12504 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12506 wxString
* sptr
= wxString_in_helper(obj1
);
12507 if (sptr
== NULL
) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (bool)(arg1
)->SetFaceName(arg2
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12526 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
= 0;
12528 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12529 wxFontFamily arg2
;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 char * kwnames
[] = {
12537 (char *) "self",(char *) "family", NULL
12540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12542 if (!SWIG_IsOK(res1
)) {
12543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12545 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12547 if (!SWIG_IsOK(ecode2
)) {
12548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12550 arg2
= static_cast< wxFontFamily
>(val2
);
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->SetFamily(arg2
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= SWIG_Py_Void();
12564 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
= 0;
12566 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12567 wxFontEncoding arg2
;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 char * kwnames
[] = {
12575 (char *) "self",(char *) "encoding", NULL
12578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12583 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12585 if (!SWIG_IsOK(ecode2
)) {
12586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12588 arg2
= static_cast< wxFontEncoding
>(val2
);
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetEncoding(arg2
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= SWIG_Py_Void();
12602 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
= 0;
12604 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12605 wxString
*arg2
= 0 ;
12609 bool temp2
= false ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char * kwnames
[] = {
12613 (char *) "self",(char *) "s", NULL
12616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12621 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12623 arg2
= wxString_in_helper(obj1
);
12624 if (arg2
== NULL
) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12650 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12651 PyObject
*resultobj
= 0;
12652 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12656 PyObject
*swig_obj
[1] ;
12658 if (!args
) SWIG_fail
;
12659 swig_obj
[0] = args
;
12660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12664 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12684 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12685 PyObject
*resultobj
= 0;
12686 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12690 PyObject
*swig_obj
[1] ;
12692 if (!args
) SWIG_fail
;
12693 swig_obj
[0] = args
;
12694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12695 if (!SWIG_IsOK(res1
)) {
12696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12698 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= wxNativeFontInfo___str__(arg1
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12718 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
= 0;
12720 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12721 wxString
*arg2
= 0 ;
12725 bool temp2
= false ;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 char * kwnames
[] = {
12729 (char *) "self",(char *) "s", NULL
12732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12737 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12739 arg2
= wxString_in_helper(obj1
);
12740 if (arg2
== NULL
) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12766 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12767 PyObject
*resultobj
= 0;
12768 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12772 PyObject
*swig_obj
[1] ;
12774 if (!args
) SWIG_fail
;
12775 swig_obj
[0] = args
;
12776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12780 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12800 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12803 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12804 return SWIG_Py_Void();
12807 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12808 return SWIG_Python_InitShadowInstance(args
);
12811 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12812 PyObject
*resultobj
= 0;
12813 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12814 wxString
*arg2
= (wxString
*) 0 ;
12817 bool temp2
= false ;
12818 PyObject
*swig_obj
[2] ;
12820 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12822 if (!SWIG_IsOK(res1
)) {
12823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12825 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12827 arg2
= wxString_in_helper(swig_obj
[1]);
12828 if (arg2
== NULL
) SWIG_fail
;
12831 if (arg1
) (arg1
)->facename
= *arg2
;
12833 resultobj
= SWIG_Py_Void();
12848 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12849 PyObject
*resultobj
= 0;
12850 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12851 wxString
*result
= 0 ;
12854 PyObject
*swig_obj
[1] ;
12856 if (!args
) SWIG_fail
;
12857 swig_obj
[0] = args
;
12858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12859 if (!SWIG_IsOK(res1
)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12862 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12863 result
= (wxString
*)& ((arg1
)->facename
);
12866 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12868 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12877 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12878 PyObject
*resultobj
= 0;
12879 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12880 wxFontEncoding arg2
;
12885 PyObject
*swig_obj
[2] ;
12887 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12889 if (!SWIG_IsOK(res1
)) {
12890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12892 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12893 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12894 if (!SWIG_IsOK(ecode2
)) {
12895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12897 arg2
= static_cast< wxFontEncoding
>(val2
);
12898 if (arg1
) (arg1
)->encoding
= arg2
;
12900 resultobj
= SWIG_Py_Void();
12907 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12908 PyObject
*resultobj
= 0;
12909 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12910 wxFontEncoding result
;
12913 PyObject
*swig_obj
[1] ;
12915 if (!args
) SWIG_fail
;
12916 swig_obj
[0] = args
;
12917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12918 if (!SWIG_IsOK(res1
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12921 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12922 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12923 resultobj
= SWIG_From_int(static_cast< int >(result
));
12930 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12931 PyObject
*resultobj
= 0;
12932 wxNativeEncodingInfo
*result
= 0 ;
12934 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12948 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12949 PyObject
*resultobj
= 0;
12950 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12953 PyObject
*swig_obj
[1] ;
12955 if (!args
) SWIG_fail
;
12956 swig_obj
[0] = args
;
12957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12958 if (!SWIG_IsOK(res1
)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12961 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= SWIG_Py_Void();
12976 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
= 0;
12978 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12979 wxString
*arg2
= 0 ;
12983 bool temp2
= false ;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char * kwnames
[] = {
12987 (char *) "self",(char *) "s", NULL
12990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12992 if (!SWIG_IsOK(res1
)) {
12993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12995 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12997 arg2
= wxString_in_helper(obj1
);
12998 if (arg2
== NULL
) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13024 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13025 PyObject
*resultobj
= 0;
13026 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13030 PyObject
*swig_obj
[1] ;
13032 if (!args
) SWIG_fail
;
13033 swig_obj
[0] = args
;
13034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13038 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13058 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13061 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13062 return SWIG_Py_Void();
13065 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13066 return SWIG_Python_InitShadowInstance(args
);
13069 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
= 0;
13071 wxFontEncoding arg1
;
13072 wxNativeEncodingInfo
*result
= 0 ;
13075 PyObject
* obj0
= 0 ;
13076 char * kwnames
[] = {
13077 (char *) "encoding", NULL
13080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13082 if (!SWIG_IsOK(ecode1
)) {
13083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13085 arg1
= static_cast< wxFontEncoding
>(val1
);
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13099 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
= 0;
13101 wxNativeEncodingInfo
*arg1
= 0 ;
13105 PyObject
* obj0
= 0 ;
13106 char * kwnames
[] = {
13107 (char *) "info", NULL
13110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13111 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13112 if (!SWIG_IsOK(res1
)) {
13113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13118 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13134 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13135 PyObject
*resultobj
= 0;
13136 wxFontMapper
*result
= 0 ;
13138 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (wxFontMapper
*)new wxFontMapper();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13152 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13153 PyObject
*resultobj
= 0;
13154 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13157 PyObject
*swig_obj
[1] ;
13159 if (!args
) SWIG_fail
;
13160 swig_obj
[0] = args
;
13161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13162 if (!SWIG_IsOK(res1
)) {
13163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13165 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_Py_Void();
13180 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 PyObject
*resultobj
= 0;
13182 wxFontMapper
*result
= 0 ;
13184 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (wxFontMapper
*)wxFontMapper::Get();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13198 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
= 0;
13200 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13201 wxFontMapper
*result
= 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char * kwnames
[] = {
13206 (char *) "mapper", NULL
13209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13211 if (!SWIG_IsOK(res1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13214 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13228 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
= 0;
13230 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13231 wxString
*arg2
= 0 ;
13232 bool arg3
= (bool) true ;
13233 wxFontEncoding result
;
13236 bool temp2
= false ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 char * kwnames
[] = {
13243 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13248 if (!SWIG_IsOK(res1
)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13251 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13253 arg2
= wxString_in_helper(obj1
);
13254 if (arg2
== NULL
) SWIG_fail
;
13258 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13259 if (!SWIG_IsOK(ecode3
)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13262 arg3
= static_cast< bool >(val3
);
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_From_int(static_cast< int >(result
));
13285 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13286 PyObject
*resultobj
= 0;
13289 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13303 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
= 0;
13306 wxFontEncoding result
;
13309 PyObject
* obj0
= 0 ;
13310 char * kwnames
[] = {
13314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13315 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13316 if (!SWIG_IsOK(ecode1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13319 arg1
= static_cast< size_t >(val1
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_From_int(static_cast< int >(result
));
13333 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
= 0;
13335 wxFontEncoding arg1
;
13339 PyObject
* obj0
= 0 ;
13340 char * kwnames
[] = {
13341 (char *) "encoding", NULL
13344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13346 if (!SWIG_IsOK(ecode1
)) {
13347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13349 arg1
= static_cast< wxFontEncoding
>(val1
);
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= wxFontMapper::GetEncodingName(arg1
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13369 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
= 0;
13371 wxFontEncoding arg1
;
13375 PyObject
* obj0
= 0 ;
13376 char * kwnames
[] = {
13377 (char *) "encoding", NULL
13380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13382 if (!SWIG_IsOK(ecode1
)) {
13383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13385 arg1
= static_cast< wxFontEncoding
>(val1
);
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= wxFontMapper::GetEncodingDescription(arg1
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13405 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
= 0;
13407 wxString
*arg1
= 0 ;
13408 wxFontEncoding result
;
13409 bool temp1
= false ;
13410 PyObject
* obj0
= 0 ;
13411 char * kwnames
[] = {
13412 (char *) "name", NULL
13415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13417 arg1
= wxString_in_helper(obj0
);
13418 if (arg1
== NULL
) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_From_int(static_cast< int >(result
));
13442 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
= 0;
13444 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13445 wxString
*arg2
= 0 ;
13448 bool temp2
= false ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char * kwnames
[] = {
13452 (char *) "self",(char *) "prefix", NULL
13455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13457 if (!SWIG_IsOK(res1
)) {
13458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13460 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13462 arg2
= wxString_in_helper(obj1
);
13463 if (arg2
== NULL
) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_Py_Void();
13487 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 PyObject
*resultobj
= 0;
13491 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= wxFontMapper::GetDefaultConfigPath();
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13511 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
= 0;
13513 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13514 wxFontEncoding arg2
;
13515 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13516 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13517 bool arg4
= (bool) true ;
13518 PyObject
*result
= 0 ;
13523 bool temp3
= false ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 PyObject
* obj2
= 0 ;
13529 PyObject
* obj3
= 0 ;
13530 char * kwnames
[] = {
13531 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13536 if (!SWIG_IsOK(res1
)) {
13537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13539 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13541 if (!SWIG_IsOK(ecode2
)) {
13542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13544 arg2
= static_cast< wxFontEncoding
>(val2
);
13547 arg3
= wxString_in_helper(obj2
);
13548 if (arg3
== NULL
) SWIG_fail
;
13553 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13554 if (!SWIG_IsOK(ecode4
)) {
13555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13557 arg4
= static_cast< bool >(val4
);
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= result
;
13580 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
= 0;
13582 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13583 wxFontEncoding arg2
;
13584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13591 bool temp3
= false ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 PyObject
* obj2
= 0 ;
13595 char * kwnames
[] = {
13596 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13601 if (!SWIG_IsOK(res1
)) {
13602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13604 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13606 if (!SWIG_IsOK(ecode2
)) {
13607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13609 arg2
= static_cast< wxFontEncoding
>(val2
);
13612 arg3
= wxString_in_helper(obj2
);
13613 if (arg3
== NULL
) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13640 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
= 0;
13642 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13643 wxWindow
*arg2
= (wxWindow
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char * kwnames
[] = {
13651 (char *) "self",(char *) "parent", NULL
13654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13659 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13661 if (!SWIG_IsOK(res2
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 (arg1
)->SetDialogParent(arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_Py_Void();
13678 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
= 0;
13680 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13681 wxString
*arg2
= 0 ;
13684 bool temp2
= false ;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 char * kwnames
[] = {
13688 (char *) "self",(char *) "title", NULL
13691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13693 if (!SWIG_IsOK(res1
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13696 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13698 arg2
= wxString_in_helper(obj1
);
13699 if (arg2
== NULL
) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= SWIG_Py_Void();
13723 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13726 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13727 return SWIG_Py_Void();
13730 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13731 return SWIG_Python_InitShadowInstance(args
);
13734 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
= 0;
13740 bool arg5
= (bool) false ;
13741 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13742 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13743 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13744 wxFont
*result
= 0 ;
13755 bool temp6
= false ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 PyObject
* obj2
= 0 ;
13761 PyObject
* obj3
= 0 ;
13762 PyObject
* obj4
= 0 ;
13763 PyObject
* obj5
= 0 ;
13764 PyObject
* obj6
= 0 ;
13765 char * kwnames
[] = {
13766 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13771 if (!SWIG_IsOK(ecode1
)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13774 arg1
= static_cast< int >(val1
);
13775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13776 if (!SWIG_IsOK(ecode2
)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13779 arg2
= static_cast< int >(val2
);
13780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13781 if (!SWIG_IsOK(ecode3
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13784 arg3
= static_cast< int >(val3
);
13785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13786 if (!SWIG_IsOK(ecode4
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13789 arg4
= static_cast< int >(val4
);
13791 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13792 if (!SWIG_IsOK(ecode5
)) {
13793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13795 arg5
= static_cast< bool >(val5
);
13799 arg6
= wxString_in_helper(obj5
);
13800 if (arg6
== NULL
) SWIG_fail
;
13805 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13806 if (!SWIG_IsOK(ecode7
)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13809 arg7
= static_cast< wxFontEncoding
>(val7
);
13812 if (!wxPyCheckForApp()) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13833 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13834 PyObject
*resultobj
= 0;
13835 wxFont
*arg1
= (wxFont
*) 0 ;
13838 PyObject
*swig_obj
[1] ;
13840 if (!args
) SWIG_fail
;
13841 swig_obj
[0] = args
;
13842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13843 if (!SWIG_IsOK(res1
)) {
13844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13846 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_Py_Void();
13861 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxNativeFontInfo
*arg1
= 0 ;
13864 wxFont
*result
= 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char * kwnames
[] = {
13869 (char *) "info", NULL
13872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13873 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13874 if (!SWIG_IsOK(res1
)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13880 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13882 if (!wxPyCheckForApp()) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13895 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
= 0;
13897 wxString
*arg1
= 0 ;
13898 wxFont
*result
= 0 ;
13899 bool temp1
= false ;
13900 PyObject
* obj0
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "info", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13907 arg1
= wxString_in_helper(obj0
);
13908 if (arg1
== NULL
) SWIG_fail
;
13912 if (!wxPyCheckForApp()) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13933 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
= 0;
13936 wxFontFamily arg2
;
13937 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13938 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13939 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13940 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13941 wxFont
*result
= 0 ;
13948 bool temp4
= false ;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 PyObject
* obj2
= 0 ;
13954 PyObject
* obj3
= 0 ;
13955 PyObject
* obj4
= 0 ;
13956 char * kwnames
[] = {
13957 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13961 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13962 if (!SWIG_IsOK(ecode1
)) {
13963 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13965 arg1
= static_cast< int >(val1
);
13966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13967 if (!SWIG_IsOK(ecode2
)) {
13968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13970 arg2
= static_cast< wxFontFamily
>(val2
);
13972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13973 if (!SWIG_IsOK(ecode3
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13976 arg3
= static_cast< int >(val3
);
13980 arg4
= wxString_in_helper(obj3
);
13981 if (arg4
== NULL
) SWIG_fail
;
13986 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13987 if (!SWIG_IsOK(ecode5
)) {
13988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13990 arg5
= static_cast< wxFontEncoding
>(val5
);
13993 if (!wxPyCheckForApp()) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14014 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
= 0;
14020 bool arg5
= (bool) false ;
14021 wxString
const &arg6_defvalue
= wxEmptyString
;
14022 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14023 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14024 wxFont
*result
= 0 ;
14034 bool temp6
= false ;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 PyObject
* obj2
= 0 ;
14040 PyObject
* obj3
= 0 ;
14041 PyObject
* obj4
= 0 ;
14042 PyObject
* obj5
= 0 ;
14043 PyObject
* obj6
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14051 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14054 if (!SWIG_IsOK(ecode2
)) {
14055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14057 arg2
= static_cast< int >(val2
);
14058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14059 if (!SWIG_IsOK(ecode3
)) {
14060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14062 arg3
= static_cast< int >(val3
);
14063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14064 if (!SWIG_IsOK(ecode4
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14067 arg4
= static_cast< int >(val4
);
14069 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14070 if (!SWIG_IsOK(ecode5
)) {
14071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14073 arg5
= static_cast< bool >(val5
);
14077 arg6
= wxString_in_helper(obj5
);
14078 if (arg6
== NULL
) SWIG_fail
;
14083 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14084 if (!SWIG_IsOK(ecode7
)) {
14085 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14087 arg7
= static_cast< wxFontEncoding
>(val7
);
14090 if (!wxPyCheckForApp()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14111 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
= 0;
14114 wxFontFamily arg2
;
14115 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14116 wxString
const &arg4_defvalue
= wxEmptyString
;
14117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14118 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14119 wxFont
*result
= 0 ;
14125 bool temp4
= false ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 PyObject
* obj2
= 0 ;
14131 PyObject
* obj3
= 0 ;
14132 PyObject
* obj4
= 0 ;
14133 char * kwnames
[] = {
14134 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14140 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14143 if (!SWIG_IsOK(ecode2
)) {
14144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14146 arg2
= static_cast< wxFontFamily
>(val2
);
14148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14149 if (!SWIG_IsOK(ecode3
)) {
14150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14152 arg3
= static_cast< int >(val3
);
14156 arg4
= wxString_in_helper(obj3
);
14157 if (arg4
== NULL
) SWIG_fail
;
14162 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14163 if (!SWIG_IsOK(ecode5
)) {
14164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14166 arg5
= static_cast< wxFontEncoding
>(val5
);
14169 if (!wxPyCheckForApp()) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14190 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxFont
*arg1
= (wxFont
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14204 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14220 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
= 0;
14222 wxFont
*arg1
= (wxFont
*) 0 ;
14223 wxFont
*arg2
= (wxFont
*) 0 ;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 char * kwnames
[] = {
14232 (char *) "self",(char *) "other", NULL
14235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14237 if (!SWIG_IsOK(res1
)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14240 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14242 if (!SWIG_IsOK(res2
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14245 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14261 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
= 0;
14263 wxFont
*arg1
= (wxFont
*) 0 ;
14264 wxFont
*arg2
= (wxFont
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 PyObject
* obj1
= 0 ;
14272 char * kwnames
[] = {
14273 (char *) "self",(char *) "other", NULL
14276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14278 if (!SWIG_IsOK(res1
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14281 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14283 if (!SWIG_IsOK(res2
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14286 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14302 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14303 PyObject
*resultobj
= 0;
14304 wxFont
*arg1
= (wxFont
*) 0 ;
14308 PyObject
*swig_obj
[1] ;
14310 if (!args
) SWIG_fail
;
14311 swig_obj
[0] = args
;
14312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14316 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= SWIG_From_int(static_cast< int >(result
));
14330 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14331 PyObject
*resultobj
= 0;
14332 wxFont
*arg1
= (wxFont
*) 0 ;
14336 PyObject
*swig_obj
[1] ;
14338 if (!args
) SWIG_fail
;
14339 swig_obj
[0] = args
;
14340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14344 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14358 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14359 PyObject
*resultobj
= 0;
14360 wxFont
*arg1
= (wxFont
*) 0 ;
14364 PyObject
*swig_obj
[1] ;
14366 if (!args
) SWIG_fail
;
14367 swig_obj
[0] = args
;
14368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14369 if (!SWIG_IsOK(res1
)) {
14370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14372 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14388 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14389 PyObject
*resultobj
= 0;
14390 wxFont
*arg1
= (wxFont
*) 0 ;
14394 PyObject
*swig_obj
[1] ;
14396 if (!args
) SWIG_fail
;
14397 swig_obj
[0] = args
;
14398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14399 if (!SWIG_IsOK(res1
)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14402 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_From_int(static_cast< int >(result
));
14416 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14417 PyObject
*resultobj
= 0;
14418 wxFont
*arg1
= (wxFont
*) 0 ;
14422 PyObject
*swig_obj
[1] ;
14424 if (!args
) SWIG_fail
;
14425 swig_obj
[0] = args
;
14426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14430 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_From_int(static_cast< int >(result
));
14444 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxFont
*arg1
= (wxFont
*) 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14458 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_int(static_cast< int >(result
));
14472 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 PyObject
*resultobj
= 0;
14474 wxFont
*arg1
= (wxFont
*) 0 ;
14478 PyObject
*swig_obj
[1] ;
14480 if (!args
) SWIG_fail
;
14481 swig_obj
[0] = args
;
14482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14486 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14502 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxFont
*arg1
= (wxFont
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14516 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= ((wxFont
const *)arg1
)->GetFaceName();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14536 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxFont
*arg1
= (wxFont
*) 0 ;
14539 wxFontEncoding result
;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14550 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_From_int(static_cast< int >(result
));
14564 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14565 PyObject
*resultobj
= 0;
14566 wxFont
*arg1
= (wxFont
*) 0 ;
14567 wxNativeFontInfo
*result
= 0 ;
14570 PyObject
*swig_obj
[1] ;
14572 if (!args
) SWIG_fail
;
14573 swig_obj
[0] = args
;
14574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14578 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14592 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 PyObject
*resultobj
= 0;
14594 wxFont
*arg1
= (wxFont
*) 0 ;
14598 PyObject
*swig_obj
[1] ;
14600 if (!args
) SWIG_fail
;
14601 swig_obj
[0] = args
;
14602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14606 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14622 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14623 PyObject
*resultobj
= 0;
14624 wxFont
*arg1
= (wxFont
*) 0 ;
14628 PyObject
*swig_obj
[1] ;
14630 if (!args
) SWIG_fail
;
14631 swig_obj
[0] = args
;
14632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14633 if (!SWIG_IsOK(res1
)) {
14634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14636 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14656 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14657 PyObject
*resultobj
= 0;
14658 wxFont
*arg1
= (wxFont
*) 0 ;
14662 PyObject
*swig_obj
[1] ;
14664 if (!args
) SWIG_fail
;
14665 swig_obj
[0] = args
;
14666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14667 if (!SWIG_IsOK(res1
)) {
14668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14670 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14690 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
= 0;
14692 wxFont
*arg1
= (wxFont
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 PyObject
* obj1
= 0 ;
14700 char * kwnames
[] = {
14701 (char *) "self",(char *) "pointSize", NULL
14704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14709 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14711 if (!SWIG_IsOK(ecode2
)) {
14712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14714 arg2
= static_cast< int >(val2
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->SetPointSize(arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= SWIG_Py_Void();
14728 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
= 0;
14730 wxFont
*arg1
= (wxFont
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 PyObject
* obj1
= 0 ;
14737 char * kwnames
[] = {
14738 (char *) "self",(char *) "pixelSize", NULL
14741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14743 if (!SWIG_IsOK(res1
)) {
14744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14746 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14749 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= SWIG_Py_Void();
14764 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
= 0;
14766 wxFont
*arg1
= (wxFont
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char * kwnames
[] = {
14775 (char *) "self",(char *) "family", NULL
14778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14780 if (!SWIG_IsOK(res1
)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14783 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14785 if (!SWIG_IsOK(ecode2
)) {
14786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14788 arg2
= static_cast< int >(val2
);
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 (arg1
)->SetFamily(arg2
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_Py_Void();
14802 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
= 0;
14804 wxFont
*arg1
= (wxFont
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 PyObject
* obj1
= 0 ;
14812 char * kwnames
[] = {
14813 (char *) "self",(char *) "style", NULL
14816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14818 if (!SWIG_IsOK(res1
)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14821 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14823 if (!SWIG_IsOK(ecode2
)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14826 arg2
= static_cast< int >(val2
);
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 (arg1
)->SetStyle(arg2
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_Py_Void();
14840 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
= 0;
14842 wxFont
*arg1
= (wxFont
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 char * kwnames
[] = {
14851 (char *) "self",(char *) "weight", NULL
14854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14859 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14861 if (!SWIG_IsOK(ecode2
)) {
14862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14864 arg2
= static_cast< int >(val2
);
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 (arg1
)->SetWeight(arg2
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_Py_Void();
14878 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
= 0;
14880 wxFont
*arg1
= (wxFont
*) 0 ;
14881 wxString
*arg2
= 0 ;
14885 bool temp2
= false ;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 char * kwnames
[] = {
14889 (char *) "self",(char *) "faceName", NULL
14892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14894 if (!SWIG_IsOK(res1
)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14897 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14899 arg2
= wxString_in_helper(obj1
);
14900 if (arg2
== NULL
) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14926 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
= 0;
14928 wxFont
*arg1
= (wxFont
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 char * kwnames
[] = {
14937 (char *) "self",(char *) "underlined", NULL
14940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14942 if (!SWIG_IsOK(res1
)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14945 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14946 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14947 if (!SWIG_IsOK(ecode2
)) {
14948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14950 arg2
= static_cast< bool >(val2
);
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->SetUnderlined(arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_Py_Void();
14964 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14967 wxFontEncoding arg2
;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "self",(char *) "encoding", NULL
14978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14983 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14985 if (!SWIG_IsOK(ecode2
)) {
14986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14988 arg2
= static_cast< wxFontEncoding
>(val2
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 (arg1
)->SetEncoding(arg2
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_Py_Void();
15002 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
= 0;
15004 wxFont
*arg1
= (wxFont
*) 0 ;
15005 wxNativeFontInfo
*arg2
= 0 ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 char * kwnames
[] = {
15013 (char *) "self",(char *) "info", NULL
15016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15018 if (!SWIG_IsOK(res1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15021 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15023 if (!SWIG_IsOK(res2
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15029 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_Py_Void();
15043 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= 0;
15045 wxFont
*arg1
= (wxFont
*) 0 ;
15046 wxString
*arg2
= 0 ;
15050 bool temp2
= false ;
15051 PyObject
* obj0
= 0 ;
15052 PyObject
* obj1
= 0 ;
15053 char * kwnames
[] = {
15054 (char *) "self",(char *) "info", NULL
15057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15059 if (!SWIG_IsOK(res1
)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15062 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15064 arg2
= wxString_in_helper(obj1
);
15065 if (arg2
== NULL
) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15091 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
= 0;
15093 wxFont
*arg1
= (wxFont
*) 0 ;
15094 wxString
*arg2
= 0 ;
15098 bool temp2
= false ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 char * kwnames
[] = {
15102 (char *) "self",(char *) "info", NULL
15105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15107 if (!SWIG_IsOK(res1
)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15110 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15112 arg2
= wxString_in_helper(obj1
);
15113 if (arg2
== NULL
) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15139 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15140 PyObject
*resultobj
= 0;
15141 wxFont
*arg1
= (wxFont
*) 0 ;
15145 PyObject
*swig_obj
[1] ;
15147 if (!args
) SWIG_fail
;
15148 swig_obj
[0] = args
;
15149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15173 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15174 PyObject
*resultobj
= 0;
15175 wxFont
*arg1
= (wxFont
*) 0 ;
15179 PyObject
*swig_obj
[1] ;
15181 if (!args
) SWIG_fail
;
15182 swig_obj
[0] = args
;
15183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15184 if (!SWIG_IsOK(res1
)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15187 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= ((wxFont
const *)arg1
)->GetStyleString();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15207 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15208 PyObject
*resultobj
= 0;
15209 wxFont
*arg1
= (wxFont
*) 0 ;
15213 PyObject
*swig_obj
[1] ;
15215 if (!args
) SWIG_fail
;
15216 swig_obj
[0] = args
;
15217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15218 if (!SWIG_IsOK(res1
)) {
15219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15221 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= ((wxFont
const *)arg1
)->GetWeightString();
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15241 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
= 0;
15243 wxFont
*arg1
= (wxFont
*) 0 ;
15244 bool arg2
= (bool) true ;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 char * kwnames
[] = {
15252 (char *) "self",(char *) "no", NULL
15255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15260 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15262 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15263 if (!SWIG_IsOK(ecode2
)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15266 arg2
= static_cast< bool >(val2
);
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->SetNoAntiAliasing(arg2
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_Py_Void();
15281 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15282 PyObject
*resultobj
= 0;
15283 wxFont
*arg1
= (wxFont
*) 0 ;
15287 PyObject
*swig_obj
[1] ;
15289 if (!args
) SWIG_fail
;
15290 swig_obj
[0] = args
;
15291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15292 if (!SWIG_IsOK(res1
)) {
15293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15295 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15311 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15312 PyObject
*resultobj
= 0;
15313 wxFontEncoding result
;
15315 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15317 if (!wxPyCheckForApp()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_From_int(static_cast< int >(result
));
15330 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
= 0;
15332 wxFontEncoding arg1
;
15335 PyObject
* obj0
= 0 ;
15336 char * kwnames
[] = {
15337 (char *) "encoding", NULL
15340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15342 if (!SWIG_IsOK(ecode1
)) {
15343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15345 arg1
= static_cast< wxFontEncoding
>(val1
);
15347 if (!wxPyCheckForApp()) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 wxFont::SetDefaultEncoding(arg1
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_Py_Void();
15360 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15363 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15364 return SWIG_Py_Void();
15367 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15368 return SWIG_Python_InitShadowInstance(args
);
15371 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15372 PyObject
*resultobj
= 0;
15373 wxPyFontEnumerator
*result
= 0 ;
15375 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15377 if (!wxPyCheckForApp()) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15390 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15391 PyObject
*resultobj
= 0;
15392 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15395 PyObject
*swig_obj
[1] ;
15397 if (!args
) SWIG_fail
;
15398 swig_obj
[0] = args
;
15399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15400 if (!SWIG_IsOK(res1
)) {
15401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15403 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_Py_Void();
15418 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
= 0;
15420 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15421 PyObject
*arg2
= (PyObject
*) 0 ;
15422 PyObject
*arg3
= (PyObject
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 PyObject
* obj2
= 0 ;
15431 PyObject
* obj3
= 0 ;
15432 char * kwnames
[] = {
15433 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15438 if (!SWIG_IsOK(res1
)) {
15439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15441 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15444 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15445 if (!SWIG_IsOK(ecode4
)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15448 arg4
= static_cast< bool >(val4
);
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_Py_Void();
15462 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= 0;
15464 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15465 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15466 bool arg3
= (bool) false ;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 PyObject
* obj2
= 0 ;
15477 char * kwnames
[] = {
15478 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15483 if (!SWIG_IsOK(res1
)) {
15484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15486 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15489 if (!SWIG_IsOK(ecode2
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15492 arg2
= static_cast< wxFontEncoding
>(val2
);
15495 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15496 if (!SWIG_IsOK(ecode3
)) {
15497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15499 arg3
= static_cast< bool >(val3
);
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15516 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
= 0;
15518 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15519 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15520 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15524 bool temp2
= false ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char * kwnames
[] = {
15528 (char *) "self",(char *) "facename", NULL
15531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15536 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15539 arg2
= wxString_in_helper(obj1
);
15540 if (arg2
== NULL
) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15567 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15568 PyObject
*resultobj
= 0;
15569 PyObject
*result
= 0 ;
15571 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= result
;
15585 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 PyObject
*resultobj
= 0;
15587 PyObject
*result
= 0 ;
15589 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
;
15603 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
= 0;
15605 wxString
*arg1
= 0 ;
15607 bool temp1
= false ;
15608 PyObject
* obj0
= 0 ;
15609 char * kwnames
[] = {
15610 (char *) "str", NULL
15613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15615 arg1
= wxString_in_helper(obj0
);
15616 if (arg1
== NULL
) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15642 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15645 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15646 return SWIG_Py_Void();
15649 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15650 return SWIG_Python_InitShadowInstance(args
);
15653 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15654 PyObject
*resultobj
= 0;
15655 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15661 PyObject
*swig_obj
[2] ;
15663 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15665 if (!SWIG_IsOK(res1
)) {
15666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15668 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15669 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15670 if (!SWIG_IsOK(ecode2
)) {
15671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15673 arg2
= static_cast< int >(val2
);
15674 if (arg1
) (arg1
)->Language
= arg2
;
15676 resultobj
= SWIG_Py_Void();
15683 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 PyObject
*resultobj
= 0;
15685 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15689 PyObject
*swig_obj
[1] ;
15691 if (!args
) SWIG_fail
;
15692 swig_obj
[0] = args
;
15693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15697 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15698 result
= (int) ((arg1
)->Language
);
15699 resultobj
= SWIG_From_int(static_cast< int >(result
));
15706 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15707 PyObject
*resultobj
= 0;
15708 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15709 wxString
*arg2
= (wxString
*) 0 ;
15712 bool temp2
= false ;
15713 PyObject
*swig_obj
[2] ;
15715 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15717 if (!SWIG_IsOK(res1
)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15720 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15722 arg2
= wxString_in_helper(swig_obj
[1]);
15723 if (arg2
== NULL
) SWIG_fail
;
15726 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15728 resultobj
= SWIG_Py_Void();
15743 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15744 PyObject
*resultobj
= 0;
15745 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15746 wxString
*result
= 0 ;
15749 PyObject
*swig_obj
[1] ;
15751 if (!args
) SWIG_fail
;
15752 swig_obj
[0] = args
;
15753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15754 if (!SWIG_IsOK(res1
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15757 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15758 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15761 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15763 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15772 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15773 PyObject
*resultobj
= 0;
15774 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15775 wxString
*arg2
= (wxString
*) 0 ;
15778 bool temp2
= false ;
15779 PyObject
*swig_obj
[2] ;
15781 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15783 if (!SWIG_IsOK(res1
)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15786 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15788 arg2
= wxString_in_helper(swig_obj
[1]);
15789 if (arg2
== NULL
) SWIG_fail
;
15792 if (arg1
) (arg1
)->Description
= *arg2
;
15794 resultobj
= SWIG_Py_Void();
15809 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15810 PyObject
*resultobj
= 0;
15811 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15812 wxString
*result
= 0 ;
15815 PyObject
*swig_obj
[1] ;
15817 if (!args
) SWIG_fail
;
15818 swig_obj
[0] = args
;
15819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15820 if (!SWIG_IsOK(res1
)) {
15821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15823 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15824 result
= (wxString
*)& ((arg1
)->Description
);
15827 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15829 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15838 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15841 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15842 return SWIG_Py_Void();
15845 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
= 0;
15847 int arg1
= (int) -1 ;
15848 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15849 wxLocale
*result
= 0 ;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 char * kwnames
[] = {
15857 (char *) "language",(char *) "flags", NULL
15860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15863 if (!SWIG_IsOK(ecode1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15866 arg1
= static_cast< int >(val1
);
15869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15870 if (!SWIG_IsOK(ecode2
)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15873 arg2
= static_cast< int >(val2
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15888 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15889 PyObject
*resultobj
= 0;
15890 wxLocale
*arg1
= (wxLocale
*) 0 ;
15893 PyObject
*swig_obj
[1] ;
15895 if (!args
) SWIG_fail
;
15896 swig_obj
[0] = args
;
15897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15898 if (!SWIG_IsOK(res1
)) {
15899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15901 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_Py_Void();
15916 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
= 0;
15918 wxLocale
*arg1
= (wxLocale
*) 0 ;
15919 wxString
*arg2
= 0 ;
15920 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15921 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15922 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15923 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15924 bool arg5
= (bool) true ;
15925 bool arg6
= (bool) false ;
15929 bool temp2
= false ;
15930 bool temp3
= false ;
15931 bool temp4
= false ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 PyObject
* obj2
= 0 ;
15939 PyObject
* obj3
= 0 ;
15940 PyObject
* obj4
= 0 ;
15941 PyObject
* obj5
= 0 ;
15942 char * kwnames
[] = {
15943 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15948 if (!SWIG_IsOK(res1
)) {
15949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15951 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15953 arg2
= wxString_in_helper(obj1
);
15954 if (arg2
== NULL
) SWIG_fail
;
15959 arg3
= wxString_in_helper(obj2
);
15960 if (arg3
== NULL
) SWIG_fail
;
15966 arg4
= wxString_in_helper(obj3
);
15967 if (arg4
== NULL
) SWIG_fail
;
15972 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15973 if (!SWIG_IsOK(ecode5
)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15976 arg5
= static_cast< bool >(val5
);
15979 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15980 if (!SWIG_IsOK(ecode6
)) {
15981 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15983 arg6
= static_cast< bool >(val6
);
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16024 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
= 0;
16026 wxLocale
*arg1
= (wxLocale
*) 0 ;
16027 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16028 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16036 PyObject
* obj0
= 0 ;
16037 PyObject
* obj1
= 0 ;
16038 PyObject
* obj2
= 0 ;
16039 char * kwnames
[] = {
16040 (char *) "self",(char *) "language",(char *) "flags", NULL
16043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16048 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16051 if (!SWIG_IsOK(ecode2
)) {
16052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16054 arg2
= static_cast< int >(val2
);
16057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16058 if (!SWIG_IsOK(ecode3
)) {
16059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16061 arg3
= static_cast< int >(val3
);
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16078 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16079 PyObject
*resultobj
= 0;
16082 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (int)wxLocale::GetSystemLanguage();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= SWIG_From_int(static_cast< int >(result
));
16096 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16097 PyObject
*resultobj
= 0;
16098 wxFontEncoding result
;
16100 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_From_int(static_cast< int >(result
));
16114 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16115 PyObject
*resultobj
= 0;
16118 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= wxLocale::GetSystemEncodingName();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16138 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16139 PyObject
*resultobj
= 0;
16140 wxLocale
*arg1
= (wxLocale
*) 0 ;
16144 PyObject
*swig_obj
[1] ;
16146 if (!args
) SWIG_fail
;
16147 swig_obj
[0] = args
;
16148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16149 if (!SWIG_IsOK(res1
)) {
16150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16152 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16168 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16169 PyObject
*resultobj
= 0;
16170 wxLocale
*arg1
= (wxLocale
*) 0 ;
16174 PyObject
*swig_obj
[1] ;
16176 if (!args
) SWIG_fail
;
16177 swig_obj
[0] = args
;
16178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16179 if (!SWIG_IsOK(res1
)) {
16180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16182 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= ((wxLocale
const *)arg1
)->GetLocale();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16202 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16203 PyObject
*resultobj
= 0;
16204 wxLocale
*arg1
= (wxLocale
*) 0 ;
16208 PyObject
*swig_obj
[1] ;
16210 if (!args
) SWIG_fail
;
16211 swig_obj
[0] = args
;
16212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16213 if (!SWIG_IsOK(res1
)) {
16214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16216 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_From_int(static_cast< int >(result
));
16230 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16231 PyObject
*resultobj
= 0;
16232 wxLocale
*arg1
= (wxLocale
*) 0 ;
16236 PyObject
*swig_obj
[1] ;
16238 if (!args
) SWIG_fail
;
16239 swig_obj
[0] = args
;
16240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16241 if (!SWIG_IsOK(res1
)) {
16242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16244 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= ((wxLocale
const *)arg1
)->GetSysName();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16264 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16265 PyObject
*resultobj
= 0;
16266 wxLocale
*arg1
= (wxLocale
*) 0 ;
16270 PyObject
*swig_obj
[1] ;
16272 if (!args
) SWIG_fail
;
16273 swig_obj
[0] = args
;
16274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16275 if (!SWIG_IsOK(res1
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16278 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16298 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
= 0;
16300 wxString
*arg1
= 0 ;
16301 bool temp1
= false ;
16302 PyObject
* obj0
= 0 ;
16303 char * kwnames
[] = {
16304 (char *) "prefix", NULL
16307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16309 arg1
= wxString_in_helper(obj0
);
16310 if (arg1
== NULL
) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= SWIG_Py_Void();
16334 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
= 0;
16336 wxLocale
*arg1
= (wxLocale
*) 0 ;
16337 wxString
*arg2
= 0 ;
16341 bool temp2
= false ;
16342 PyObject
* obj0
= 0 ;
16343 PyObject
* obj1
= 0 ;
16344 char * kwnames
[] = {
16345 (char *) "self",(char *) "szDomain", NULL
16348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16350 if (!SWIG_IsOK(res1
)) {
16351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16353 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16355 arg2
= wxString_in_helper(obj1
);
16356 if (arg2
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16382 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16388 PyObject
* obj0
= 0 ;
16389 char * kwnames
[] = {
16390 (char *) "lang", NULL
16393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16395 if (!SWIG_IsOK(ecode1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16398 arg1
= static_cast< int >(val1
);
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)wxLocale::IsAvailable(arg1
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16414 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
= 0;
16416 wxLocale
*arg1
= (wxLocale
*) 0 ;
16417 wxString
*arg2
= 0 ;
16421 bool temp2
= false ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char * kwnames
[] = {
16425 (char *) "self",(char *) "szDomain", NULL
16428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16433 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16435 arg2
= wxString_in_helper(obj1
);
16436 if (arg2
== NULL
) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16462 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
= 0;
16465 wxLanguageInfo
*result
= 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char * kwnames
[] = {
16470 (char *) "lang", NULL
16473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16475 if (!SWIG_IsOK(ecode1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16478 arg1
= static_cast< int >(val1
);
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16492 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= 0;
16498 PyObject
* obj0
= 0 ;
16499 char * kwnames
[] = {
16500 (char *) "lang", NULL
16503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16505 if (!SWIG_IsOK(ecode1
)) {
16506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16508 arg1
= static_cast< int >(val1
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= wxLocale::GetLanguageName(arg1
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16528 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
= 0;
16530 wxString
*arg1
= 0 ;
16531 wxLanguageInfo
*result
= 0 ;
16532 bool temp1
= false ;
16533 PyObject
* obj0
= 0 ;
16534 char * kwnames
[] = {
16535 (char *) "locale", NULL
16538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16540 arg1
= wxString_in_helper(obj0
);
16541 if (arg1
== NULL
) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16565 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
= 0;
16567 wxLanguageInfo
*arg1
= 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char * kwnames
[] = {
16572 (char *) "info", NULL
16575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16577 if (!SWIG_IsOK(res1
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16583 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= SWIG_Py_Void();
16597 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
= 0;
16599 wxLocale
*arg1
= (wxLocale
*) 0 ;
16600 wxString
*arg2
= 0 ;
16601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16606 bool temp2
= false ;
16607 bool temp3
= false ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 PyObject
* obj2
= 0 ;
16611 char * kwnames
[] = {
16612 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16617 if (!SWIG_IsOK(res1
)) {
16618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16620 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16622 arg2
= wxString_in_helper(obj1
);
16623 if (arg2
== NULL
) SWIG_fail
;
16628 arg3
= wxString_in_helper(obj2
);
16629 if (arg3
== NULL
) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16668 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16669 PyObject
*resultobj
= 0;
16670 wxLocale
*arg1
= (wxLocale
*) 0 ;
16671 wxString
*result
= 0 ;
16674 PyObject
*swig_obj
[1] ;
16676 if (!args
) SWIG_fail
;
16677 swig_obj
[0] = args
;
16678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16679 if (!SWIG_IsOK(res1
)) {
16680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16682 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16687 result
= (wxString
*) &_result_ref
;
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16705 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16708 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16709 return SWIG_Py_Void();
16712 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16713 return SWIG_Python_InitShadowInstance(args
);
16716 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
= 0;
16718 int arg1
= (int) -1 ;
16719 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16720 wxPyLocale
*result
= 0 ;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 char * kwnames
[] = {
16728 (char *) "language",(char *) "flags", NULL
16731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16734 if (!SWIG_IsOK(ecode1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16737 arg1
= static_cast< int >(val1
);
16740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16741 if (!SWIG_IsOK(ecode2
)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16744 arg2
= static_cast< int >(val2
);
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16759 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16760 PyObject
*resultobj
= 0;
16761 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16764 PyObject
*swig_obj
[1] ;
16766 if (!args
) SWIG_fail
;
16767 swig_obj
[0] = args
;
16768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16769 if (!SWIG_IsOK(res1
)) {
16770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16772 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_Py_Void();
16787 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
= 0;
16789 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16790 PyObject
*arg2
= (PyObject
*) 0 ;
16791 PyObject
*arg3
= (PyObject
*) 0 ;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 PyObject
* obj2
= 0 ;
16797 char * kwnames
[] = {
16798 (char *) "self",(char *) "self",(char *) "_class", NULL
16801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16803 if (!SWIG_IsOK(res1
)) {
16804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16806 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_Py_Void();
16822 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
= 0;
16824 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16825 wxChar
*arg2
= (wxChar
*) 0 ;
16826 wxChar
*arg3
= (wxChar
*) NULL
;
16827 wxChar
*result
= 0 ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 PyObject
* obj2
= 0 ;
16837 char * kwnames
[] = {
16838 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16846 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16848 if (!SWIG_IsOK(res2
)) {
16849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16851 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16853 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16854 if (!SWIG_IsOK(res3
)) {
16855 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16857 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16872 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
= 0;
16874 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16875 wxChar
*arg2
= (wxChar
*) 0 ;
16876 wxChar
*arg3
= (wxChar
*) 0 ;
16878 wxChar
*arg5
= (wxChar
*) NULL
;
16879 wxChar
*result
= 0 ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 PyObject
* obj2
= 0 ;
16893 PyObject
* obj3
= 0 ;
16894 PyObject
* obj4
= 0 ;
16895 char * kwnames
[] = {
16896 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16901 if (!SWIG_IsOK(res1
)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16904 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16906 if (!SWIG_IsOK(res2
)) {
16907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16909 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16910 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16911 if (!SWIG_IsOK(res3
)) {
16912 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16914 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16915 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16916 if (!SWIG_IsOK(ecode4
)) {
16917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16919 arg4
= static_cast< size_t >(val4
);
16921 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16922 if (!SWIG_IsOK(res5
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16925 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16940 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16943 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16944 return SWIG_Py_Void();
16947 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16948 return SWIG_Python_InitShadowInstance(args
);
16951 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16952 PyObject
*resultobj
= 0;
16953 wxLocale
*result
= 0 ;
16955 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (wxLocale
*)wxGetLocale();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16969 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16970 PyObject
*resultobj
= 0;
16971 wxString
*arg1
= 0 ;
16973 bool temp1
= false ;
16975 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16977 arg1
= wxString_in_helper(swig_obj
[0]);
16978 if (arg1
== NULL
) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= wxGetTranslation((wxString
const &)*arg1
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17008 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17009 PyObject
*resultobj
= 0;
17010 wxString
*arg1
= 0 ;
17011 wxString
*arg2
= 0 ;
17013 bool temp1
= false ;
17014 bool temp2
= false ;
17016 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17018 arg1
= wxString_in_helper(swig_obj
[0]);
17019 if (arg1
== NULL
) SWIG_fail
;
17023 arg2
= wxString_in_helper(swig_obj
[1]);
17024 if (arg2
== NULL
) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17062 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17063 PyObject
*resultobj
= 0;
17064 wxString
*arg1
= 0 ;
17065 wxString
*arg2
= 0 ;
17068 bool temp1
= false ;
17069 bool temp2
= false ;
17073 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17075 arg1
= wxString_in_helper(swig_obj
[0]);
17076 if (arg1
== NULL
) SWIG_fail
;
17080 arg2
= wxString_in_helper(swig_obj
[1]);
17081 if (arg2
== NULL
) SWIG_fail
;
17084 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17085 if (!SWIG_IsOK(ecode3
)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17088 arg3
= static_cast< size_t >(val3
);
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17124 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17125 PyObject
*resultobj
= 0;
17126 wxString
*arg1
= 0 ;
17127 wxString
*arg2
= 0 ;
17129 wxString
*arg4
= 0 ;
17131 bool temp1
= false ;
17132 bool temp2
= false ;
17135 bool temp4
= false ;
17137 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17139 arg1
= wxString_in_helper(swig_obj
[0]);
17140 if (arg1
== NULL
) SWIG_fail
;
17144 arg2
= wxString_in_helper(swig_obj
[1]);
17145 if (arg2
== NULL
) SWIG_fail
;
17148 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17149 if (!SWIG_IsOK(ecode3
)) {
17150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17152 arg3
= static_cast< size_t >(val3
);
17154 arg4
= wxString_in_helper(swig_obj
[3]);
17155 if (arg4
== NULL
) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17201 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17205 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17208 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17211 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17214 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17217 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17221 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17226 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17227 PyObject
*resultobj
= 0;
17228 wxEncodingConverter
*result
= 0 ;
17230 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17244 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17245 PyObject
*resultobj
= 0;
17246 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17249 PyObject
*swig_obj
[1] ;
17251 if (!args
) SWIG_fail
;
17252 swig_obj
[0] = args
;
17253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17254 if (!SWIG_IsOK(res1
)) {
17255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17257 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_Py_Void();
17272 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
= 0;
17274 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17275 wxFontEncoding arg2
;
17276 wxFontEncoding arg3
;
17277 int arg4
= (int) wxCONVERT_STRICT
;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 PyObject
* obj2
= 0 ;
17290 PyObject
* obj3
= 0 ;
17291 char * kwnames
[] = {
17292 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17300 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17302 if (!SWIG_IsOK(ecode2
)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17305 arg2
= static_cast< wxFontEncoding
>(val2
);
17306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17307 if (!SWIG_IsOK(ecode3
)) {
17308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17310 arg3
= static_cast< wxFontEncoding
>(val3
);
17312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17313 if (!SWIG_IsOK(ecode4
)) {
17314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17316 arg4
= static_cast< int >(val4
);
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17333 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
= 0;
17335 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17336 wxString
*arg2
= 0 ;
17340 bool temp2
= false ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 char * kwnames
[] = {
17344 (char *) "self",(char *) "input", NULL
17347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17349 if (!SWIG_IsOK(res1
)) {
17350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17352 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17354 arg2
= wxString_in_helper(obj1
);
17355 if (arg2
== NULL
) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17385 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
= 0;
17387 wxFontEncoding arg1
;
17388 int arg2
= (int) wxPLATFORM_CURRENT
;
17389 wxFontEncodingArray result
;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 char * kwnames
[] = {
17397 (char *) "enc",(char *) "platform", NULL
17400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17402 if (!SWIG_IsOK(ecode1
)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17405 arg1
= static_cast< wxFontEncoding
>(val1
);
17407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17408 if (!SWIG_IsOK(ecode2
)) {
17409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17411 arg2
= static_cast< int >(val2
);
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= PyList_New(0);
17421 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17422 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17423 PyList_Append(resultobj
, number
);
17433 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
= 0;
17435 wxFontEncoding arg1
;
17436 wxFontEncodingArray result
;
17439 PyObject
* obj0
= 0 ;
17440 char * kwnames
[] = {
17441 (char *) "enc", NULL
17444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17446 if (!SWIG_IsOK(ecode1
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17449 arg1
= static_cast< wxFontEncoding
>(val1
);
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= PyList_New(0);
17458 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17459 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17460 PyList_Append(resultobj
, number
);
17470 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
= 0;
17472 wxFontEncoding arg1
;
17473 wxFontEncoding arg2
;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char * kwnames
[] = {
17482 (char *) "encIn",(char *) "encOut", NULL
17485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17486 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17487 if (!SWIG_IsOK(ecode1
)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17490 arg1
= static_cast< wxFontEncoding
>(val1
);
17491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17492 if (!SWIG_IsOK(ecode2
)) {
17493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17495 arg2
= static_cast< wxFontEncoding
>(val2
);
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17511 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17514 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17515 return SWIG_Py_Void();
17518 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17519 return SWIG_Python_InitShadowInstance(args
);
17522 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17523 PyObject
*resultobj
= 0;
17524 wxDC
*arg1
= (wxDC
*) 0 ;
17527 PyObject
*swig_obj
[1] ;
17529 if (!args
) SWIG_fail
;
17530 swig_obj
[0] = args
;
17531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= SWIG_Py_Void();
17550 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
= 0;
17552 wxDC
*arg1
= (wxDC
*) 0 ;
17555 wxColour
*arg4
= 0 ;
17556 int arg5
= (int) wxFLOOD_SURFACE
;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 PyObject
* obj2
= 0 ;
17570 PyObject
* obj3
= 0 ;
17571 PyObject
* obj4
= 0 ;
17572 char * kwnames
[] = {
17573 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17578 if (!SWIG_IsOK(res1
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17583 if (!SWIG_IsOK(ecode2
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17586 arg2
= static_cast< int >(val2
);
17587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17588 if (!SWIG_IsOK(ecode3
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17591 arg3
= static_cast< int >(val3
);
17594 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17597 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17598 if (!SWIG_IsOK(ecode5
)) {
17599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17601 arg5
= static_cast< int >(val5
);
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17618 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
= 0;
17620 wxDC
*arg1
= (wxDC
*) 0 ;
17621 wxPoint
*arg2
= 0 ;
17622 wxColour
*arg3
= 0 ;
17623 int arg4
= (int) wxFLOOD_SURFACE
;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 PyObject
* obj2
= 0 ;
17634 PyObject
* obj3
= 0 ;
17635 char * kwnames
[] = {
17636 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17641 if (!SWIG_IsOK(res1
)) {
17642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17651 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17655 if (!SWIG_IsOK(ecode4
)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17658 arg4
= static_cast< int >(val4
);
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
= 0;
17677 wxDC
*arg1
= (wxDC
*) 0 ;
17679 wxColour
*arg3
= 0 ;
17680 wxColour
*arg4
= 0 ;
17681 wxPoint
*arg5
= 0 ;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 PyObject
* obj2
= 0 ;
17691 PyObject
* obj3
= 0 ;
17692 PyObject
* obj4
= 0 ;
17693 char * kwnames
[] = {
17694 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17699 if (!SWIG_IsOK(res1
)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17705 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17709 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17713 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17717 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_Py_Void();
17732 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
= 0;
17734 wxDC
*arg1
= (wxDC
*) 0 ;
17736 wxColour
*arg3
= 0 ;
17737 wxColour
*arg4
= 0 ;
17738 wxDirection arg5
= (wxDirection
) wxEAST
;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 PyObject
* obj2
= 0 ;
17749 PyObject
* obj3
= 0 ;
17750 PyObject
* obj4
= 0 ;
17751 char * kwnames
[] = {
17752 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17757 if (!SWIG_IsOK(res1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17763 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17767 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17771 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17775 if (!SWIG_IsOK(ecode5
)) {
17776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17778 arg5
= static_cast< wxDirection
>(val5
);
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_Py_Void();
17793 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= 0;
17795 wxDC
*arg1
= (wxDC
*) 0 ;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 PyObject
* obj2
= 0 ;
17808 char * kwnames
[] = {
17809 (char *) "self",(char *) "x",(char *) "y", NULL
17812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17814 if (!SWIG_IsOK(res1
)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17819 if (!SWIG_IsOK(ecode2
)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17822 arg2
= static_cast< int >(val2
);
17823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17824 if (!SWIG_IsOK(ecode3
)) {
17825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17827 arg3
= static_cast< int >(val3
);
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17841 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
= 0;
17843 wxDC
*arg1
= (wxDC
*) 0 ;
17844 wxPoint
*arg2
= 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 char * kwnames
[] = {
17852 (char *) "self",(char *) "pt", NULL
17855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17857 if (!SWIG_IsOK(res1
)) {
17858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17878 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
= 0;
17880 wxDC
*arg1
= (wxDC
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 PyObject
* obj2
= 0 ;
17898 PyObject
* obj3
= 0 ;
17899 PyObject
* obj4
= 0 ;
17900 char * kwnames
[] = {
17901 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17906 if (!SWIG_IsOK(res1
)) {
17907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17911 if (!SWIG_IsOK(ecode2
)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17914 arg2
= static_cast< int >(val2
);
17915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17916 if (!SWIG_IsOK(ecode3
)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17919 arg3
= static_cast< int >(val3
);
17920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17921 if (!SWIG_IsOK(ecode4
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17924 arg4
= static_cast< int >(val4
);
17925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17926 if (!SWIG_IsOK(ecode5
)) {
17927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17929 arg5
= static_cast< int >(val5
);
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= SWIG_Py_Void();
17943 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
= 0;
17945 wxDC
*arg1
= (wxDC
*) 0 ;
17946 wxPoint
*arg2
= 0 ;
17947 wxPoint
*arg3
= 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 PyObject
* obj2
= 0 ;
17955 char * kwnames
[] = {
17956 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17961 if (!SWIG_IsOK(res1
)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_Py_Void();
17986 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxDC
*arg1
= (wxDC
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 PyObject
* obj2
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "self",(char *) "x",(char *) "y", NULL
18004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18011 if (!SWIG_IsOK(ecode2
)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18014 arg2
= static_cast< int >(val2
);
18015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18016 if (!SWIG_IsOK(ecode3
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18019 arg3
= static_cast< int >(val3
);
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 (arg1
)->CrossHair(arg2
,arg3
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_Py_Void();
18033 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
= 0;
18035 wxDC
*arg1
= (wxDC
*) 0 ;
18036 wxPoint
*arg2
= 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char * kwnames
[] = {
18043 (char *) "self",(char *) "pt", NULL
18046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18048 if (!SWIG_IsOK(res1
)) {
18049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_Py_Void();
18069 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
= 0;
18071 wxDC
*arg1
= (wxDC
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 PyObject
* obj2
= 0 ;
18095 PyObject
* obj3
= 0 ;
18096 PyObject
* obj4
= 0 ;
18097 PyObject
* obj5
= 0 ;
18098 PyObject
* obj6
= 0 ;
18099 char * kwnames
[] = {
18100 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18105 if (!SWIG_IsOK(res1
)) {
18106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18108 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18110 if (!SWIG_IsOK(ecode2
)) {
18111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18113 arg2
= static_cast< int >(val2
);
18114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18115 if (!SWIG_IsOK(ecode3
)) {
18116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18118 arg3
= static_cast< int >(val3
);
18119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18120 if (!SWIG_IsOK(ecode4
)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18123 arg4
= static_cast< int >(val4
);
18124 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18125 if (!SWIG_IsOK(ecode5
)) {
18126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18128 arg5
= static_cast< int >(val5
);
18129 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18130 if (!SWIG_IsOK(ecode6
)) {
18131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18133 arg6
= static_cast< int >(val6
);
18134 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18135 if (!SWIG_IsOK(ecode7
)) {
18136 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18138 arg7
= static_cast< int >(val7
);
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_Py_Void();
18152 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
= 0;
18154 wxDC
*arg1
= (wxDC
*) 0 ;
18155 wxPoint
*arg2
= 0 ;
18156 wxPoint
*arg3
= 0 ;
18157 wxPoint
*arg4
= 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 PyObject
* obj2
= 0 ;
18166 PyObject
* obj3
= 0 ;
18167 char * kwnames
[] = {
18168 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18173 if (!SWIG_IsOK(res1
)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_Py_Void();
18202 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxDC
*arg1
= (wxDC
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 PyObject
* obj3
= 0 ;
18223 PyObject
* obj4
= 0 ;
18224 char * kwnames
[] = {
18225 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18230 if (!SWIG_IsOK(res1
)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18235 if (!SWIG_IsOK(ecode2
)) {
18236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18238 arg2
= static_cast< int >(val2
);
18239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18240 if (!SWIG_IsOK(ecode3
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18243 arg3
= static_cast< int >(val3
);
18244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18245 if (!SWIG_IsOK(ecode4
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18248 arg4
= static_cast< int >(val4
);
18249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18250 if (!SWIG_IsOK(ecode5
)) {
18251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18253 arg5
= static_cast< int >(val5
);
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_Py_Void();
18267 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
= 0;
18269 wxDC
*arg1
= (wxDC
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 PyObject
* obj1
= 0 ;
18276 char * kwnames
[] = {
18277 (char *) "self",(char *) "rect", NULL
18280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18282 if (!SWIG_IsOK(res1
)) {
18283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= SWIG_Py_Void();
18303 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
= 0;
18305 wxDC
*arg1
= (wxDC
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 PyObject
* obj2
= 0 ;
18329 PyObject
* obj3
= 0 ;
18330 PyObject
* obj4
= 0 ;
18331 PyObject
* obj5
= 0 ;
18332 PyObject
* obj6
= 0 ;
18333 char * kwnames
[] = {
18334 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18344 if (!SWIG_IsOK(ecode2
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18347 arg2
= static_cast< int >(val2
);
18348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18349 if (!SWIG_IsOK(ecode3
)) {
18350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18352 arg3
= static_cast< int >(val3
);
18353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18354 if (!SWIG_IsOK(ecode4
)) {
18355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18357 arg4
= static_cast< int >(val4
);
18358 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18359 if (!SWIG_IsOK(ecode5
)) {
18360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18362 arg5
= static_cast< int >(val5
);
18363 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18364 if (!SWIG_IsOK(ecode6
)) {
18365 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18367 arg6
= static_cast< double >(val6
);
18368 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18369 if (!SWIG_IsOK(ecode7
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18372 arg7
= static_cast< double >(val7
);
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= SWIG_Py_Void();
18386 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
= 0;
18388 wxDC
*arg1
= (wxDC
*) 0 ;
18389 wxPoint
*arg2
= 0 ;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 PyObject
* obj2
= 0 ;
18404 PyObject
* obj3
= 0 ;
18405 PyObject
* obj4
= 0 ;
18406 char * kwnames
[] = {
18407 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18412 if (!SWIG_IsOK(res1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18422 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18424 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18425 if (!SWIG_IsOK(ecode4
)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18428 arg4
= static_cast< double >(val4
);
18429 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18430 if (!SWIG_IsOK(ecode5
)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18433 arg5
= static_cast< double >(val5
);
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= SWIG_Py_Void();
18447 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
= 0;
18449 wxDC
*arg1
= (wxDC
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 PyObject
* obj2
= 0 ;
18461 char * kwnames
[] = {
18462 (char *) "self",(char *) "x",(char *) "y", NULL
18465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18467 if (!SWIG_IsOK(res1
)) {
18468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18472 if (!SWIG_IsOK(ecode2
)) {
18473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18475 arg2
= static_cast< int >(val2
);
18476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18477 if (!SWIG_IsOK(ecode3
)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18480 arg3
= static_cast< int >(val3
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 (arg1
)->DrawPoint(arg2
,arg3
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_Py_Void();
18494 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
= 0;
18496 wxDC
*arg1
= (wxDC
*) 0 ;
18497 wxPoint
*arg2
= 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char * kwnames
[] = {
18504 (char *) "self",(char *) "pt", NULL
18507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18509 if (!SWIG_IsOK(res1
)) {
18510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_Py_Void();
18530 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
= 0;
18532 wxDC
*arg1
= (wxDC
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 PyObject
* obj2
= 0 ;
18550 PyObject
* obj3
= 0 ;
18551 PyObject
* obj4
= 0 ;
18552 char * kwnames
[] = {
18553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18558 if (!SWIG_IsOK(res1
)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18563 if (!SWIG_IsOK(ecode2
)) {
18564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18566 arg2
= static_cast< int >(val2
);
18567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18568 if (!SWIG_IsOK(ecode3
)) {
18569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18571 arg3
= static_cast< int >(val3
);
18572 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18573 if (!SWIG_IsOK(ecode4
)) {
18574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18576 arg4
= static_cast< int >(val4
);
18577 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18578 if (!SWIG_IsOK(ecode5
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18581 arg5
= static_cast< int >(val5
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_Py_Void();
18595 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
= 0;
18597 wxDC
*arg1
= (wxDC
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 PyObject
* obj1
= 0 ;
18604 char * kwnames
[] = {
18605 (char *) "self",(char *) "rect", NULL
18608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18610 if (!SWIG_IsOK(res1
)) {
18611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18616 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_Py_Void();
18631 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
= 0;
18633 wxDC
*arg1
= (wxDC
*) 0 ;
18634 wxPoint
*arg2
= 0 ;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 PyObject
* obj2
= 0 ;
18643 char * kwnames
[] = {
18644 (char *) "self",(char *) "pt",(char *) "sz", NULL
18647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18659 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_Py_Void();
18674 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= 0;
18676 wxDC
*arg1
= (wxDC
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 PyObject
* obj1
= 0 ;
18696 PyObject
* obj2
= 0 ;
18697 PyObject
* obj3
= 0 ;
18698 PyObject
* obj4
= 0 ;
18699 PyObject
* obj5
= 0 ;
18700 char * kwnames
[] = {
18701 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18706 if (!SWIG_IsOK(res1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18711 if (!SWIG_IsOK(ecode2
)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18714 arg2
= static_cast< int >(val2
);
18715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18716 if (!SWIG_IsOK(ecode3
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18719 arg3
= static_cast< int >(val3
);
18720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18721 if (!SWIG_IsOK(ecode4
)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18724 arg4
= static_cast< int >(val4
);
18725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18726 if (!SWIG_IsOK(ecode5
)) {
18727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18729 arg5
= static_cast< int >(val5
);
18730 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18731 if (!SWIG_IsOK(ecode6
)) {
18732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18734 arg6
= static_cast< double >(val6
);
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_Py_Void();
18748 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= 0;
18750 wxDC
*arg1
= (wxDC
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 PyObject
* obj2
= 0 ;
18761 char * kwnames
[] = {
18762 (char *) "self",(char *) "r",(char *) "radius", NULL
18765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18767 if (!SWIG_IsOK(res1
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18773 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18775 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18776 if (!SWIG_IsOK(ecode3
)) {
18777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18779 arg3
= static_cast< double >(val3
);
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_Py_Void();
18793 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
= 0;
18795 wxDC
*arg1
= (wxDC
*) 0 ;
18796 wxPoint
*arg2
= 0 ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 PyObject
* obj2
= 0 ;
18808 PyObject
* obj3
= 0 ;
18809 char * kwnames
[] = {
18810 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18815 if (!SWIG_IsOK(res1
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18825 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18827 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18828 if (!SWIG_IsOK(ecode4
)) {
18829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18831 arg4
= static_cast< double >(val4
);
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= SWIG_Py_Void();
18845 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
= 0;
18847 wxDC
*arg1
= (wxDC
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 PyObject
* obj2
= 0 ;
18862 PyObject
* obj3
= 0 ;
18863 char * kwnames
[] = {
18864 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18869 if (!SWIG_IsOK(res1
)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18874 if (!SWIG_IsOK(ecode2
)) {
18875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18877 arg2
= static_cast< int >(val2
);
18878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18879 if (!SWIG_IsOK(ecode3
)) {
18880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18882 arg3
= static_cast< int >(val3
);
18883 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18884 if (!SWIG_IsOK(ecode4
)) {
18885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18887 arg4
= static_cast< int >(val4
);
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_Py_Void();
18901 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
= 0;
18903 wxDC
*arg1
= (wxDC
*) 0 ;
18904 wxPoint
*arg2
= 0 ;
18911 PyObject
* obj0
= 0 ;
18912 PyObject
* obj1
= 0 ;
18913 PyObject
* obj2
= 0 ;
18914 char * kwnames
[] = {
18915 (char *) "self",(char *) "pt",(char *) "radius", NULL
18918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18920 if (!SWIG_IsOK(res1
)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18926 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18929 if (!SWIG_IsOK(ecode3
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18932 arg3
= static_cast< int >(val3
);
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_Py_Void();
18946 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
= 0;
18948 wxDC
*arg1
= (wxDC
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 PyObject
* obj2
= 0 ;
18966 PyObject
* obj3
= 0 ;
18967 PyObject
* obj4
= 0 ;
18968 char * kwnames
[] = {
18969 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18974 if (!SWIG_IsOK(res1
)) {
18975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18979 if (!SWIG_IsOK(ecode2
)) {
18980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18982 arg2
= static_cast< int >(val2
);
18983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18984 if (!SWIG_IsOK(ecode3
)) {
18985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18987 arg3
= static_cast< int >(val3
);
18988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18989 if (!SWIG_IsOK(ecode4
)) {
18990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18992 arg4
= static_cast< int >(val4
);
18993 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18994 if (!SWIG_IsOK(ecode5
)) {
18995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18997 arg5
= static_cast< int >(val5
);
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_Py_Void();
19011 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
= 0;
19013 wxDC
*arg1
= (wxDC
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char * kwnames
[] = {
19021 (char *) "self",(char *) "rect", NULL
19024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19026 if (!SWIG_IsOK(res1
)) {
19027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19032 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_Py_Void();
19047 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
= 0;
19049 wxDC
*arg1
= (wxDC
*) 0 ;
19050 wxPoint
*arg2
= 0 ;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 PyObject
* obj2
= 0 ;
19059 char * kwnames
[] = {
19060 (char *) "self",(char *) "pt",(char *) "sz", NULL
19063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19065 if (!SWIG_IsOK(res1
)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19075 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_Py_Void();
19090 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
= 0;
19092 wxDC
*arg1
= (wxDC
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 PyObject
* obj2
= 0 ;
19107 PyObject
* obj3
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19114 if (!SWIG_IsOK(res1
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19119 if (!SWIG_IsOK(res2
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19125 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19127 if (!SWIG_IsOK(ecode3
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19130 arg3
= static_cast< int >(val3
);
19131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19132 if (!SWIG_IsOK(ecode4
)) {
19133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19135 arg4
= static_cast< int >(val4
);
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= SWIG_Py_Void();
19149 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
= 0;
19151 wxDC
*arg1
= (wxDC
*) 0 ;
19153 wxPoint
*arg3
= 0 ;
19159 PyObject
* obj0
= 0 ;
19160 PyObject
* obj1
= 0 ;
19161 PyObject
* obj2
= 0 ;
19162 char * kwnames
[] = {
19163 (char *) "self",(char *) "icon",(char *) "pt", NULL
19166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19168 if (!SWIG_IsOK(res1
)) {
19169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19173 if (!SWIG_IsOK(res2
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19179 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19182 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_Py_Void();
19197 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxDC
*arg1
= (wxDC
*) 0 ;
19200 wxBitmap
*arg2
= 0 ;
19203 bool arg5
= (bool) false ;
19214 PyObject
* obj0
= 0 ;
19215 PyObject
* obj1
= 0 ;
19216 PyObject
* obj2
= 0 ;
19217 PyObject
* obj3
= 0 ;
19218 PyObject
* obj4
= 0 ;
19219 char * kwnames
[] = {
19220 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19230 if (!SWIG_IsOK(res2
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19236 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19238 if (!SWIG_IsOK(ecode3
)) {
19239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19241 arg3
= static_cast< int >(val3
);
19242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19243 if (!SWIG_IsOK(ecode4
)) {
19244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19246 arg4
= static_cast< int >(val4
);
19248 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19249 if (!SWIG_IsOK(ecode5
)) {
19250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19252 arg5
= static_cast< bool >(val5
);
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_Py_Void();
19267 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
= 0;
19269 wxDC
*arg1
= (wxDC
*) 0 ;
19270 wxBitmap
*arg2
= 0 ;
19271 wxPoint
*arg3
= 0 ;
19272 bool arg4
= (bool) false ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 PyObject
* obj2
= 0 ;
19283 PyObject
* obj3
= 0 ;
19284 char * kwnames
[] = {
19285 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19290 if (!SWIG_IsOK(res1
)) {
19291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19295 if (!SWIG_IsOK(res2
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19301 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19304 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19307 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19308 if (!SWIG_IsOK(ecode4
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19311 arg4
= static_cast< bool >(val4
);
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_Py_Void();
19326 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
= 0;
19328 wxDC
*arg1
= (wxDC
*) 0 ;
19329 wxString
*arg2
= 0 ;
19334 bool temp2
= false ;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 PyObject
* obj2
= 0 ;
19342 PyObject
* obj3
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19352 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19354 arg2
= wxString_in_helper(obj1
);
19355 if (arg2
== NULL
) SWIG_fail
;
19358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19359 if (!SWIG_IsOK(ecode3
)) {
19360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19362 arg3
= static_cast< int >(val3
);
19363 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19364 if (!SWIG_IsOK(ecode4
)) {
19365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19367 arg4
= static_cast< int >(val4
);
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= SWIG_Py_Void();
19389 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
= 0;
19391 wxDC
*arg1
= (wxDC
*) 0 ;
19392 wxString
*arg2
= 0 ;
19393 wxPoint
*arg3
= 0 ;
19396 bool temp2
= false ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 PyObject
* obj2
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "text",(char *) "pt", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19412 arg2
= wxString_in_helper(obj1
);
19413 if (arg2
== NULL
) SWIG_fail
;
19418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_Py_Void();
19441 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
= 0;
19443 wxDC
*arg1
= (wxDC
*) 0 ;
19444 wxString
*arg2
= 0 ;
19450 bool temp2
= false ;
19457 PyObject
* obj0
= 0 ;
19458 PyObject
* obj1
= 0 ;
19459 PyObject
* obj2
= 0 ;
19460 PyObject
* obj3
= 0 ;
19461 PyObject
* obj4
= 0 ;
19462 char * kwnames
[] = {
19463 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19468 if (!SWIG_IsOK(res1
)) {
19469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19473 arg2
= wxString_in_helper(obj1
);
19474 if (arg2
== NULL
) SWIG_fail
;
19477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19478 if (!SWIG_IsOK(ecode3
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19481 arg3
= static_cast< int >(val3
);
19482 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19483 if (!SWIG_IsOK(ecode4
)) {
19484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19486 arg4
= static_cast< int >(val4
);
19487 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19488 if (!SWIG_IsOK(ecode5
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19491 arg5
= static_cast< double >(val5
);
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_Py_Void();
19513 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
= 0;
19515 wxDC
*arg1
= (wxDC
*) 0 ;
19516 wxString
*arg2
= 0 ;
19517 wxPoint
*arg3
= 0 ;
19521 bool temp2
= false ;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 PyObject
* obj2
= 0 ;
19528 PyObject
* obj3
= 0 ;
19529 char * kwnames
[] = {
19530 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19535 if (!SWIG_IsOK(res1
)) {
19536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19540 arg2
= wxString_in_helper(obj1
);
19541 if (arg2
== NULL
) SWIG_fail
;
19546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19548 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19549 if (!SWIG_IsOK(ecode4
)) {
19550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19552 arg4
= static_cast< double >(val4
);
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 resultobj
= SWIG_Py_Void();
19574 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
= 0;
19576 wxDC
*arg1
= (wxDC
*) 0 ;
19581 wxDC
*arg6
= (wxDC
*) 0 ;
19584 int arg9
= (int) wxCOPY
;
19585 bool arg10
= (bool) false ;
19586 int arg11
= (int) -1 ;
19587 int arg12
= (int) -1 ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 PyObject
* obj2
= 0 ;
19616 PyObject
* obj3
= 0 ;
19617 PyObject
* obj4
= 0 ;
19618 PyObject
* obj5
= 0 ;
19619 PyObject
* obj6
= 0 ;
19620 PyObject
* obj7
= 0 ;
19621 PyObject
* obj8
= 0 ;
19622 PyObject
* obj9
= 0 ;
19623 PyObject
* obj10
= 0 ;
19624 PyObject
* obj11
= 0 ;
19625 char * kwnames
[] = {
19626 (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
19629 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
;
19630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19631 if (!SWIG_IsOK(res1
)) {
19632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19636 if (!SWIG_IsOK(ecode2
)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19639 arg2
= static_cast< int >(val2
);
19640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19641 if (!SWIG_IsOK(ecode3
)) {
19642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19644 arg3
= static_cast< int >(val3
);
19645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19646 if (!SWIG_IsOK(ecode4
)) {
19647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19649 arg4
= static_cast< int >(val4
);
19650 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19651 if (!SWIG_IsOK(ecode5
)) {
19652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19654 arg5
= static_cast< int >(val5
);
19655 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19656 if (!SWIG_IsOK(res6
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19659 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19660 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19661 if (!SWIG_IsOK(ecode7
)) {
19662 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19664 arg7
= static_cast< int >(val7
);
19665 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19666 if (!SWIG_IsOK(ecode8
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19669 arg8
= static_cast< int >(val8
);
19671 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19672 if (!SWIG_IsOK(ecode9
)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19675 arg9
= static_cast< int >(val9
);
19678 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19679 if (!SWIG_IsOK(ecode10
)) {
19680 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19682 arg10
= static_cast< bool >(val10
);
19685 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19686 if (!SWIG_IsOK(ecode11
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19689 arg11
= static_cast< int >(val11
);
19692 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19693 if (!SWIG_IsOK(ecode12
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19696 arg12
= static_cast< int >(val12
);
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19713 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
= 0;
19715 wxDC
*arg1
= (wxDC
*) 0 ;
19716 wxPoint
*arg2
= 0 ;
19718 wxDC
*arg4
= (wxDC
*) 0 ;
19719 wxPoint
*arg5
= 0 ;
19720 int arg6
= (int) wxCOPY
;
19721 bool arg7
= (bool) false ;
19722 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19723 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 PyObject
* obj2
= 0 ;
19740 PyObject
* obj3
= 0 ;
19741 PyObject
* obj4
= 0 ;
19742 PyObject
* obj5
= 0 ;
19743 PyObject
* obj6
= 0 ;
19744 PyObject
* obj7
= 0 ;
19745 char * kwnames
[] = {
19746 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19751 if (!SWIG_IsOK(res1
)) {
19752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19761 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19763 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19764 if (!SWIG_IsOK(res4
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19767 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19770 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19773 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19774 if (!SWIG_IsOK(ecode6
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19777 arg6
= static_cast< int >(val6
);
19780 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19781 if (!SWIG_IsOK(ecode7
)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19784 arg7
= static_cast< bool >(val7
);
19789 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19807 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
= 0;
19809 wxDC
*arg1
= (wxDC
*) 0 ;
19810 wxRect
*arg2
= (wxRect
*) NULL
;
19811 SwigValueWrapper
<wxBitmap
> result
;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 char * kwnames
[] = {
19819 (char *) "self",(char *) "subrect", NULL
19822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19830 if (!SWIG_IsOK(res2
)) {
19831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19833 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19848 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
= 0;
19850 wxDC
*arg1
= (wxDC
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 PyObject
* obj2
= 0 ;
19868 PyObject
* obj3
= 0 ;
19869 PyObject
* obj4
= 0 ;
19870 char * kwnames
[] = {
19871 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19876 if (!SWIG_IsOK(res1
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19881 if (!SWIG_IsOK(ecode2
)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19884 arg2
= static_cast< int >(val2
);
19885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19886 if (!SWIG_IsOK(ecode3
)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19889 arg3
= static_cast< int >(val3
);
19890 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19891 if (!SWIG_IsOK(ecode4
)) {
19892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19894 arg4
= static_cast< int >(val4
);
19895 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19896 if (!SWIG_IsOK(ecode5
)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19899 arg5
= static_cast< int >(val5
);
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_Py_Void();
19913 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
= 0;
19915 wxDC
*arg1
= (wxDC
*) 0 ;
19916 wxPoint
*arg2
= 0 ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 PyObject
* obj2
= 0 ;
19925 char * kwnames
[] = {
19926 (char *) "self",(char *) "pt",(char *) "sz", NULL
19929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19931 if (!SWIG_IsOK(res1
)) {
19932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19941 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= SWIG_Py_Void();
19956 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
= 0;
19958 wxDC
*arg1
= (wxDC
*) 0 ;
19959 wxRegion
*arg2
= 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 char * kwnames
[] = {
19967 (char *) "self",(char *) "region", NULL
19970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19972 if (!SWIG_IsOK(res1
)) {
19973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19977 if (!SWIG_IsOK(res2
)) {
19978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19983 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_Py_Void();
19997 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
= 0;
19999 wxDC
*arg1
= (wxDC
*) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 char * kwnames
[] = {
20007 (char *) "self",(char *) "rect", NULL
20010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20012 if (!SWIG_IsOK(res1
)) {
20013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20018 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= SWIG_Py_Void();
20033 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
= 0;
20035 wxDC
*arg1
= (wxDC
*) 0 ;
20037 wxPoint
*arg3
= (wxPoint
*) 0 ;
20038 int arg4
= (int) 0 ;
20039 int arg5
= (int) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 PyObject
* obj3
= 0 ;
20050 char * kwnames
[] = {
20051 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20056 if (!SWIG_IsOK(res1
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20061 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20062 if (arg3
== NULL
) SWIG_fail
;
20065 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20066 if (!SWIG_IsOK(ecode4
)) {
20067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20069 arg4
= static_cast< int >(val4
);
20072 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20073 if (!SWIG_IsOK(ecode5
)) {
20074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20076 arg5
= static_cast< int >(val5
);
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= SWIG_Py_Void();
20086 if (arg3
) delete [] arg3
;
20091 if (arg3
) delete [] arg3
;
20097 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
= 0;
20099 wxDC
*arg1
= (wxDC
*) 0 ;
20101 wxPoint
*arg3
= (wxPoint
*) 0 ;
20102 int arg4
= (int) 0 ;
20103 int arg5
= (int) 0 ;
20104 int arg6
= (int) wxODDEVEN_RULE
;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 PyObject
* obj2
= 0 ;
20116 PyObject
* obj3
= 0 ;
20117 PyObject
* obj4
= 0 ;
20118 char * kwnames
[] = {
20119 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20124 if (!SWIG_IsOK(res1
)) {
20125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20129 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20130 if (arg3
== NULL
) SWIG_fail
;
20133 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20134 if (!SWIG_IsOK(ecode4
)) {
20135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20137 arg4
= static_cast< int >(val4
);
20140 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20141 if (!SWIG_IsOK(ecode5
)) {
20142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20144 arg5
= static_cast< int >(val5
);
20147 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20148 if (!SWIG_IsOK(ecode6
)) {
20149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20151 arg6
= static_cast< int >(val6
);
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_Py_Void();
20161 if (arg3
) delete [] arg3
;
20166 if (arg3
) delete [] arg3
;
20172 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
= 0;
20174 wxDC
*arg1
= (wxDC
*) 0 ;
20175 wxString
*arg2
= 0 ;
20177 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20178 int arg5
= (int) -1 ;
20181 bool temp2
= false ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 PyObject
* obj2
= 0 ;
20190 PyObject
* obj3
= 0 ;
20191 PyObject
* obj4
= 0 ;
20192 char * kwnames
[] = {
20193 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20198 if (!SWIG_IsOK(res1
)) {
20199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20203 arg2
= wxString_in_helper(obj1
);
20204 if (arg2
== NULL
) SWIG_fail
;
20209 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20212 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20213 if (!SWIG_IsOK(ecode4
)) {
20214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20216 arg4
= static_cast< int >(val4
);
20219 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20220 if (!SWIG_IsOK(ecode5
)) {
20221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20223 arg5
= static_cast< int >(val5
);
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_Py_Void();
20246 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxDC
*arg1
= (wxDC
*) 0 ;
20249 wxString
*arg2
= 0 ;
20250 wxBitmap
*arg3
= 0 ;
20252 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20253 int arg6
= (int) -1 ;
20257 bool temp2
= false ;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 PyObject
* obj2
= 0 ;
20268 PyObject
* obj3
= 0 ;
20269 PyObject
* obj4
= 0 ;
20270 PyObject
* obj5
= 0 ;
20271 char * kwnames
[] = {
20272 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20282 arg2
= wxString_in_helper(obj1
);
20283 if (arg2
== NULL
) SWIG_fail
;
20286 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20287 if (!SWIG_IsOK(res3
)) {
20288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20293 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20296 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20300 if (!SWIG_IsOK(ecode5
)) {
20301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20303 arg5
= static_cast< int >(val5
);
20306 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20307 if (!SWIG_IsOK(ecode6
)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20310 arg6
= static_cast< int >(val6
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20333 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
= 0;
20335 wxDC
*arg1
= (wxDC
*) 0 ;
20337 wxPoint
*arg3
= (wxPoint
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char * kwnames
[] = {
20343 (char *) "self",(char *) "points", NULL
20346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20348 if (!SWIG_IsOK(res1
)) {
20349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20353 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20354 if (arg3
== NULL
) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 (arg1
)->DrawSpline(arg2
,arg3
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= SWIG_Py_Void();
20364 if (arg3
) delete [] arg3
;
20369 if (arg3
) delete [] arg3
;
20375 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20376 PyObject
*resultobj
= 0;
20377 wxDC
*arg1
= (wxDC
*) 0 ;
20380 PyObject
*swig_obj
[1] ;
20382 if (!args
) SWIG_fail
;
20383 swig_obj
[0] = args
;
20384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20385 if (!SWIG_IsOK(res1
)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_Py_Void();
20402 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
= 0;
20404 wxDC
*arg1
= (wxDC
*) 0 ;
20405 wxString
*arg2
= 0 ;
20409 bool temp2
= false ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 char * kwnames
[] = {
20413 (char *) "self",(char *) "message", NULL
20416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20418 if (!SWIG_IsOK(res1
)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20423 arg2
= wxString_in_helper(obj1
);
20424 if (arg2
== NULL
) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20450 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20451 PyObject
*resultobj
= 0;
20452 wxDC
*arg1
= (wxDC
*) 0 ;
20455 PyObject
*swig_obj
[1] ;
20457 if (!args
) SWIG_fail
;
20458 swig_obj
[0] = args
;
20459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= SWIG_Py_Void();
20477 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20478 PyObject
*resultobj
= 0;
20479 wxDC
*arg1
= (wxDC
*) 0 ;
20482 PyObject
*swig_obj
[1] ;
20484 if (!args
) SWIG_fail
;
20485 swig_obj
[0] = args
;
20486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 (arg1
)->StartPage();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_Py_Void();
20504 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20505 PyObject
*resultobj
= 0;
20506 wxDC
*arg1
= (wxDC
*) 0 ;
20509 PyObject
*swig_obj
[1] ;
20511 if (!args
) SWIG_fail
;
20512 swig_obj
[0] = args
;
20513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_Py_Void();
20531 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
= 0;
20533 wxDC
*arg1
= (wxDC
*) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 char * kwnames
[] = {
20542 (char *) "self",(char *) "font", NULL
20545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20552 if (!SWIG_IsOK(res2
)) {
20553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20558 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 (arg1
)->SetFont((wxFont
const &)*arg2
);
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= SWIG_Py_Void();
20572 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
= 0;
20574 wxDC
*arg1
= (wxDC
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 char * kwnames
[] = {
20583 (char *) "self",(char *) "pen", NULL
20586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20588 if (!SWIG_IsOK(res1
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20593 if (!SWIG_IsOK(res2
)) {
20594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20599 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetPen((wxPen
const &)*arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_Py_Void();
20613 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxDC
*arg1
= (wxDC
*) 0 ;
20616 wxBrush
*arg2
= 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char * kwnames
[] = {
20624 (char *) "self",(char *) "brush", NULL
20627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20634 if (!SWIG_IsOK(res2
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20640 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_Py_Void();
20654 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
= 0;
20656 wxDC
*arg1
= (wxDC
*) 0 ;
20657 wxBrush
*arg2
= 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "self",(char *) "brush", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20675 if (!SWIG_IsOK(res2
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20681 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_Py_Void();
20695 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
= 0;
20697 wxDC
*arg1
= (wxDC
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 char * kwnames
[] = {
20706 (char *) "self",(char *) "mode", NULL
20709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20711 if (!SWIG_IsOK(res1
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20716 if (!SWIG_IsOK(ecode2
)) {
20717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20719 arg2
= static_cast< int >(val2
);
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 (arg1
)->SetBackgroundMode(arg2
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_Py_Void();
20733 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
= 0;
20735 wxDC
*arg1
= (wxDC
*) 0 ;
20736 wxPalette
*arg2
= 0 ;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 char * kwnames
[] = {
20744 (char *) "self",(char *) "palette", NULL
20747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20749 if (!SWIG_IsOK(res1
)) {
20750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20754 if (!SWIG_IsOK(res2
)) {
20755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20760 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_Py_Void();
20774 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20775 PyObject
*resultobj
= 0;
20776 wxDC
*arg1
= (wxDC
*) 0 ;
20779 PyObject
*swig_obj
[1] ;
20781 if (!args
) SWIG_fail
;
20782 swig_obj
[0] = args
;
20783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20784 if (!SWIG_IsOK(res1
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 (arg1
)->DestroyClippingRegion();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= SWIG_Py_Void();
20801 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20802 PyObject
*resultobj
= 0;
20803 wxDC
*arg1
= (wxDC
*) 0 ;
20804 int *arg2
= (int *) 0 ;
20805 int *arg3
= (int *) 0 ;
20806 int *arg4
= (int *) 0 ;
20807 int *arg5
= (int *) 0 ;
20811 int res2
= SWIG_TMPOBJ
;
20813 int res3
= SWIG_TMPOBJ
;
20815 int res4
= SWIG_TMPOBJ
;
20817 int res5
= SWIG_TMPOBJ
;
20818 PyObject
*swig_obj
[1] ;
20824 if (!args
) SWIG_fail
;
20825 swig_obj
[0] = args
;
20826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20827 if (!SWIG_IsOK(res1
)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_Py_Void();
20838 if (SWIG_IsTmpObj(res2
)) {
20839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20841 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20844 if (SWIG_IsTmpObj(res3
)) {
20845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20847 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20850 if (SWIG_IsTmpObj(res4
)) {
20851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20853 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20856 if (SWIG_IsTmpObj(res5
)) {
20857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20859 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20868 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20869 PyObject
*resultobj
= 0;
20870 wxDC
*arg1
= (wxDC
*) 0 ;
20874 PyObject
*swig_obj
[1] ;
20876 if (!args
) SWIG_fail
;
20877 swig_obj
[0] = args
;
20878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20879 if (!SWIG_IsOK(res1
)) {
20880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= wxDC_GetClippingRect(arg1
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20896 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20897 PyObject
*resultobj
= 0;
20898 wxDC
*arg1
= (wxDC
*) 0 ;
20902 PyObject
*swig_obj
[1] ;
20904 if (!args
) SWIG_fail
;
20905 swig_obj
[0] = args
;
20906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_From_int(static_cast< int >(result
));
20924 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20925 PyObject
*resultobj
= 0;
20926 wxDC
*arg1
= (wxDC
*) 0 ;
20930 PyObject
*swig_obj
[1] ;
20932 if (!args
) SWIG_fail
;
20933 swig_obj
[0] = args
;
20934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20935 if (!SWIG_IsOK(res1
)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_From_int(static_cast< int >(result
));
20952 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
= 0;
20954 wxDC
*arg1
= (wxDC
*) 0 ;
20955 wxString
*arg2
= 0 ;
20956 int *arg3
= (int *) 0 ;
20957 int *arg4
= (int *) 0 ;
20960 bool temp2
= false ;
20962 int res3
= SWIG_TMPOBJ
;
20964 int res4
= SWIG_TMPOBJ
;
20965 PyObject
* obj0
= 0 ;
20966 PyObject
* obj1
= 0 ;
20967 char * kwnames
[] = {
20968 (char *) "self",(char *) "string", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20980 arg2
= wxString_in_helper(obj1
);
20981 if (arg2
== NULL
) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_Py_Void();
20991 if (SWIG_IsTmpObj(res3
)) {
20992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20994 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20997 if (SWIG_IsTmpObj(res4
)) {
20998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21000 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21017 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
= 0;
21019 wxDC
*arg1
= (wxDC
*) 0 ;
21020 wxString
*arg2
= 0 ;
21021 int *arg3
= (int *) 0 ;
21022 int *arg4
= (int *) 0 ;
21023 int *arg5
= (int *) 0 ;
21024 int *arg6
= (int *) 0 ;
21025 wxFont
*arg7
= (wxFont
*) NULL
;
21028 bool temp2
= false ;
21030 int res3
= SWIG_TMPOBJ
;
21032 int res4
= SWIG_TMPOBJ
;
21034 int res5
= SWIG_TMPOBJ
;
21036 int res6
= SWIG_TMPOBJ
;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 PyObject
* obj2
= 0 ;
21042 char * kwnames
[] = {
21043 (char *) "self",(char *) "string",(char *) "font", NULL
21050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21052 if (!SWIG_IsOK(res1
)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21057 arg2
= wxString_in_helper(obj1
);
21058 if (arg2
== NULL
) SWIG_fail
;
21062 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21063 if (!SWIG_IsOK(res7
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21066 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_Py_Void();
21075 if (SWIG_IsTmpObj(res3
)) {
21076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21078 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21081 if (SWIG_IsTmpObj(res4
)) {
21082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21084 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21087 if (SWIG_IsTmpObj(res5
)) {
21088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21090 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21093 if (SWIG_IsTmpObj(res6
)) {
21094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21096 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21113 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
= 0;
21115 wxDC
*arg1
= (wxDC
*) 0 ;
21116 wxString
*arg2
= 0 ;
21117 int *arg3
= (int *) 0 ;
21118 int *arg4
= (int *) 0 ;
21119 int *arg5
= (int *) 0 ;
21120 wxFont
*arg6
= (wxFont
*) NULL
;
21123 bool temp2
= false ;
21125 int res3
= SWIG_TMPOBJ
;
21127 int res4
= SWIG_TMPOBJ
;
21129 int res5
= SWIG_TMPOBJ
;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 PyObject
* obj2
= 0 ;
21135 char * kwnames
[] = {
21136 (char *) "self",(char *) "text",(char *) "font", NULL
21142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21144 if (!SWIG_IsOK(res1
)) {
21145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21149 arg2
= wxString_in_helper(obj1
);
21150 if (arg2
== NULL
) SWIG_fail
;
21154 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21155 if (!SWIG_IsOK(res6
)) {
21156 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21158 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= SWIG_Py_Void();
21167 if (SWIG_IsTmpObj(res3
)) {
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21170 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21173 if (SWIG_IsTmpObj(res4
)) {
21174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21176 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21179 if (SWIG_IsTmpObj(res5
)) {
21180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21182 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21199 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
= 0;
21201 wxDC
*arg1
= (wxDC
*) 0 ;
21202 wxString
*arg2
= 0 ;
21206 bool temp2
= false ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 char * kwnames
[] = {
21210 (char *) "self",(char *) "text", NULL
21213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21215 if (!SWIG_IsOK(res1
)) {
21216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21220 arg2
= wxString_in_helper(obj1
);
21221 if (arg2
== NULL
) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= wxArrayInt2PyList_helper(result
);
21247 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21248 PyObject
*resultobj
= 0;
21249 wxDC
*arg1
= (wxDC
*) 0 ;
21253 PyObject
*swig_obj
[1] ;
21255 if (!args
) SWIG_fail
;
21256 swig_obj
[0] = args
;
21257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21258 if (!SWIG_IsOK(res1
)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= (arg1
)->GetSize();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21275 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21276 PyObject
*resultobj
= 0;
21277 wxDC
*arg1
= (wxDC
*) 0 ;
21278 int *arg2
= (int *) 0 ;
21279 int *arg3
= (int *) 0 ;
21283 int res2
= SWIG_TMPOBJ
;
21285 int res3
= SWIG_TMPOBJ
;
21286 PyObject
*swig_obj
[1] ;
21290 if (!args
) SWIG_fail
;
21291 swig_obj
[0] = args
;
21292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 (arg1
)->GetSize(arg2
,arg3
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_Py_Void();
21304 if (SWIG_IsTmpObj(res2
)) {
21305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21307 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21310 if (SWIG_IsTmpObj(res3
)) {
21311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21313 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21322 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21323 PyObject
*resultobj
= 0;
21324 wxDC
*arg1
= (wxDC
*) 0 ;
21328 PyObject
*swig_obj
[1] ;
21330 if (!args
) SWIG_fail
;
21331 swig_obj
[0] = args
;
21332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21350 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21351 PyObject
*resultobj
= 0;
21352 wxDC
*arg1
= (wxDC
*) 0 ;
21353 int *arg2
= (int *) 0 ;
21354 int *arg3
= (int *) 0 ;
21358 int res2
= SWIG_TMPOBJ
;
21360 int res3
= SWIG_TMPOBJ
;
21361 PyObject
*swig_obj
[1] ;
21365 if (!args
) SWIG_fail
;
21366 swig_obj
[0] = args
;
21367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21368 if (!SWIG_IsOK(res1
)) {
21369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_Py_Void();
21379 if (SWIG_IsTmpObj(res2
)) {
21380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21382 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21385 if (SWIG_IsTmpObj(res3
)) {
21386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21388 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21397 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
= 0;
21399 wxDC
*arg1
= (wxDC
*) 0 ;
21406 PyObject
* obj0
= 0 ;
21407 PyObject
* obj1
= 0 ;
21408 char * kwnames
[] = {
21409 (char *) "self",(char *) "x", NULL
21412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21419 if (!SWIG_IsOK(ecode2
)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21422 arg2
= static_cast< int >(val2
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_From_int(static_cast< int >(result
));
21436 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
= 0;
21438 wxDC
*arg1
= (wxDC
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "y", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21458 if (!SWIG_IsOK(ecode2
)) {
21459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21461 arg2
= static_cast< int >(val2
);
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_From_int(static_cast< int >(result
));
21475 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
= 0;
21477 wxDC
*arg1
= (wxDC
*) 0 ;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 char * kwnames
[] = {
21487 (char *) "self",(char *) "x", NULL
21490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21492 if (!SWIG_IsOK(res1
)) {
21493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21497 if (!SWIG_IsOK(ecode2
)) {
21498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21500 arg2
= static_cast< int >(val2
);
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_From_int(static_cast< int >(result
));
21514 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
= 0;
21516 wxDC
*arg1
= (wxDC
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char * kwnames
[] = {
21526 (char *) "self",(char *) "y", NULL
21529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21531 if (!SWIG_IsOK(res1
)) {
21532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21536 if (!SWIG_IsOK(ecode2
)) {
21537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21539 arg2
= static_cast< int >(val2
);
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_From_int(static_cast< int >(result
));
21553 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
= 0;
21555 wxDC
*arg1
= (wxDC
*) 0 ;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 char * kwnames
[] = {
21565 (char *) "self",(char *) "x", NULL
21568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21570 if (!SWIG_IsOK(res1
)) {
21571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21575 if (!SWIG_IsOK(ecode2
)) {
21576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21578 arg2
= static_cast< int >(val2
);
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_From_int(static_cast< int >(result
));
21592 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
= 0;
21594 wxDC
*arg1
= (wxDC
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 char * kwnames
[] = {
21604 (char *) "self",(char *) "y", NULL
21607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21609 if (!SWIG_IsOK(res1
)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21614 if (!SWIG_IsOK(ecode2
)) {
21615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21617 arg2
= static_cast< int >(val2
);
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 resultobj
= SWIG_From_int(static_cast< int >(result
));
21631 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
= 0;
21633 wxDC
*arg1
= (wxDC
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 char * kwnames
[] = {
21643 (char *) "self",(char *) "x", NULL
21646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21648 if (!SWIG_IsOK(res1
)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21653 if (!SWIG_IsOK(ecode2
)) {
21654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21656 arg2
= static_cast< int >(val2
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_From_int(static_cast< int >(result
));
21670 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
= 0;
21672 wxDC
*arg1
= (wxDC
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 char * kwnames
[] = {
21682 (char *) "self",(char *) "y", NULL
21685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21687 if (!SWIG_IsOK(res1
)) {
21688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21692 if (!SWIG_IsOK(ecode2
)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21695 arg2
= static_cast< int >(val2
);
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_From_int(static_cast< int >(result
));
21709 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21710 PyObject
*resultobj
= 0;
21711 wxDC
*arg1
= (wxDC
*) 0 ;
21715 PyObject
*swig_obj
[1] ;
21717 if (!args
) SWIG_fail
;
21718 swig_obj
[0] = args
;
21719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21720 if (!SWIG_IsOK(res1
)) {
21721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21739 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 PyObject
*resultobj
= 0;
21741 wxDC
*arg1
= (wxDC
*) 0 ;
21745 PyObject
*swig_obj
[1] ;
21747 if (!args
) SWIG_fail
;
21748 swig_obj
[0] = args
;
21749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21750 if (!SWIG_IsOK(res1
)) {
21751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21769 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21770 PyObject
*resultobj
= 0;
21771 wxDC
*arg1
= (wxDC
*) 0 ;
21775 PyObject
*swig_obj
[1] ;
21777 if (!args
) SWIG_fail
;
21778 swig_obj
[0] = args
;
21779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= SWIG_From_int(static_cast< int >(result
));
21797 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21798 PyObject
*resultobj
= 0;
21799 wxDC
*arg1
= (wxDC
*) 0 ;
21803 PyObject
*swig_obj
[1] ;
21805 if (!args
) SWIG_fail
;
21806 swig_obj
[0] = args
;
21807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= ((wxDC
const *)arg1
)->GetPPI();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21825 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21826 PyObject
*resultobj
= 0;
21827 wxDC
*arg1
= (wxDC
*) 0 ;
21831 PyObject
*swig_obj
[1] ;
21833 if (!args
) SWIG_fail
;
21834 swig_obj
[0] = args
;
21835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21855 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 PyObject
*resultobj
= 0;
21857 wxDC
*arg1
= (wxDC
*) 0 ;
21861 PyObject
*swig_obj
[1] ;
21863 if (!args
) SWIG_fail
;
21864 swig_obj
[0] = args
;
21865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_From_int(static_cast< int >(result
));
21883 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21884 PyObject
*resultobj
= 0;
21885 wxDC
*arg1
= (wxDC
*) 0 ;
21886 wxBrush
*result
= 0 ;
21889 PyObject
*swig_obj
[1] ;
21891 if (!args
) SWIG_fail
;
21892 swig_obj
[0] = args
;
21893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21902 result
= (wxBrush
*) &_result_ref
;
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21908 wxBrush
* resultptr
= new wxBrush(*result
);
21909 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21917 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21918 PyObject
*resultobj
= 0;
21919 wxDC
*arg1
= (wxDC
*) 0 ;
21920 wxBrush
*result
= 0 ;
21923 PyObject
*swig_obj
[1] ;
21925 if (!args
) SWIG_fail
;
21926 swig_obj
[0] = args
;
21927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21928 if (!SWIG_IsOK(res1
)) {
21929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21936 result
= (wxBrush
*) &_result_ref
;
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21942 wxBrush
* resultptr
= new wxBrush(*result
);
21943 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21951 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21952 PyObject
*resultobj
= 0;
21953 wxDC
*arg1
= (wxDC
*) 0 ;
21954 wxFont
*result
= 0 ;
21957 PyObject
*swig_obj
[1] ;
21959 if (!args
) SWIG_fail
;
21960 swig_obj
[0] = args
;
21961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21962 if (!SWIG_IsOK(res1
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21970 result
= (wxFont
*) &_result_ref
;
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21976 wxFont
* resultptr
= new wxFont(*result
);
21977 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21985 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21986 PyObject
*resultobj
= 0;
21987 wxDC
*arg1
= (wxDC
*) 0 ;
21988 wxPen
*result
= 0 ;
21991 PyObject
*swig_obj
[1] ;
21993 if (!args
) SWIG_fail
;
21994 swig_obj
[0] = args
;
21995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21996 if (!SWIG_IsOK(res1
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22004 result
= (wxPen
*) &_result_ref
;
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 wxPen
* resultptr
= new wxPen(*result
);
22011 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22019 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22020 PyObject
*resultobj
= 0;
22021 wxDC
*arg1
= (wxDC
*) 0 ;
22022 wxColour
*result
= 0 ;
22025 PyObject
*swig_obj
[1] ;
22027 if (!args
) SWIG_fail
;
22028 swig_obj
[0] = args
;
22029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22030 if (!SWIG_IsOK(res1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22038 result
= (wxColour
*) &_result_ref
;
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22050 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 PyObject
*resultobj
= 0;
22052 wxDC
*arg1
= (wxDC
*) 0 ;
22053 wxColour
*result
= 0 ;
22056 PyObject
*swig_obj
[1] ;
22058 if (!args
) SWIG_fail
;
22059 swig_obj
[0] = args
;
22060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22061 if (!SWIG_IsOK(res1
)) {
22062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22069 result
= (wxColour
*) &_result_ref
;
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22081 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
= 0;
22083 wxDC
*arg1
= (wxDC
*) 0 ;
22084 wxColour
*arg2
= 0 ;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 char * kwnames
[] = {
22091 (char *) "self",(char *) "colour", NULL
22094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22096 if (!SWIG_IsOK(res1
)) {
22097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22102 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_Py_Void();
22117 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
= 0;
22119 wxDC
*arg1
= (wxDC
*) 0 ;
22120 wxColour
*arg2
= 0 ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 char * kwnames
[] = {
22127 (char *) "self",(char *) "colour", NULL
22130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22132 if (!SWIG_IsOK(res1
)) {
22133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_Py_Void();
22153 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22154 PyObject
*resultobj
= 0;
22155 wxDC
*arg1
= (wxDC
*) 0 ;
22159 PyObject
*swig_obj
[1] ;
22161 if (!args
) SWIG_fail
;
22162 swig_obj
[0] = args
;
22163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22164 if (!SWIG_IsOK(res1
)) {
22165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_From_int(static_cast< int >(result
));
22181 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
= 0;
22183 wxDC
*arg1
= (wxDC
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char * kwnames
[] = {
22192 (char *) "self",(char *) "mode", NULL
22195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22202 if (!SWIG_IsOK(ecode2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22205 arg2
= static_cast< int >(val2
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 (arg1
)->SetMapMode(arg2
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_Py_Void();
22219 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22220 PyObject
*resultobj
= 0;
22221 wxDC
*arg1
= (wxDC
*) 0 ;
22222 double *arg2
= (double *) 0 ;
22223 double *arg3
= (double *) 0 ;
22227 int res2
= SWIG_TMPOBJ
;
22229 int res3
= SWIG_TMPOBJ
;
22230 PyObject
*swig_obj
[1] ;
22234 if (!args
) SWIG_fail
;
22235 swig_obj
[0] = args
;
22236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22237 if (!SWIG_IsOK(res1
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_Py_Void();
22248 if (SWIG_IsTmpObj(res2
)) {
22249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22251 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22254 if (SWIG_IsTmpObj(res3
)) {
22255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22257 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22266 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
= 0;
22268 wxDC
*arg1
= (wxDC
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "self",(char *) "x",(char *) "y", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22286 if (!SWIG_IsOK(res1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22290 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22291 if (!SWIG_IsOK(ecode2
)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22294 arg2
= static_cast< double >(val2
);
22295 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22296 if (!SWIG_IsOK(ecode3
)) {
22297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22299 arg3
= static_cast< double >(val3
);
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 (arg1
)->SetUserScale(arg2
,arg3
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= SWIG_Py_Void();
22313 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22314 PyObject
*resultobj
= 0;
22315 wxDC
*arg1
= (wxDC
*) 0 ;
22316 double *arg2
= (double *) 0 ;
22317 double *arg3
= (double *) 0 ;
22321 int res2
= SWIG_TMPOBJ
;
22323 int res3
= SWIG_TMPOBJ
;
22324 PyObject
*swig_obj
[1] ;
22328 if (!args
) SWIG_fail
;
22329 swig_obj
[0] = args
;
22330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 (arg1
)->GetLogicalScale(arg2
,arg3
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= SWIG_Py_Void();
22342 if (SWIG_IsTmpObj(res2
)) {
22343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22345 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22348 if (SWIG_IsTmpObj(res3
)) {
22349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22351 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22360 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
= 0;
22362 wxDC
*arg1
= (wxDC
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 PyObject
* obj2
= 0 ;
22374 char * kwnames
[] = {
22375 (char *) "self",(char *) "x",(char *) "y", NULL
22378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22380 if (!SWIG_IsOK(res1
)) {
22381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22384 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22385 if (!SWIG_IsOK(ecode2
)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22388 arg2
= static_cast< double >(val2
);
22389 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22390 if (!SWIG_IsOK(ecode3
)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22393 arg3
= static_cast< double >(val3
);
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 (arg1
)->SetLogicalScale(arg2
,arg3
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_Py_Void();
22407 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22408 PyObject
*resultobj
= 0;
22409 wxDC
*arg1
= (wxDC
*) 0 ;
22413 PyObject
*swig_obj
[1] ;
22415 if (!args
) SWIG_fail
;
22416 swig_obj
[0] = args
;
22417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22418 if (!SWIG_IsOK(res1
)) {
22419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22435 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22436 PyObject
*resultobj
= 0;
22437 wxDC
*arg1
= (wxDC
*) 0 ;
22438 int *arg2
= (int *) 0 ;
22439 int *arg3
= (int *) 0 ;
22443 int res2
= SWIG_TMPOBJ
;
22445 int res3
= SWIG_TMPOBJ
;
22446 PyObject
*swig_obj
[1] ;
22450 if (!args
) SWIG_fail
;
22451 swig_obj
[0] = args
;
22452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22453 if (!SWIG_IsOK(res1
)) {
22454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= SWIG_Py_Void();
22464 if (SWIG_IsTmpObj(res2
)) {
22465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22467 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22470 if (SWIG_IsTmpObj(res3
)) {
22471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22473 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22482 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxDC
*arg1
= (wxDC
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 char * kwnames
[] = {
22497 (char *) "self",(char *) "x",(char *) "y", NULL
22500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22502 if (!SWIG_IsOK(res1
)) {
22503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22507 if (!SWIG_IsOK(ecode2
)) {
22508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22510 arg2
= static_cast< int >(val2
);
22511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22512 if (!SWIG_IsOK(ecode3
)) {
22513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22515 arg3
= static_cast< int >(val3
);
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= SWIG_Py_Void();
22529 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
= 0;
22531 wxDC
*arg1
= (wxDC
*) 0 ;
22532 wxPoint
*arg2
= 0 ;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 char * kwnames
[] = {
22539 (char *) "self",(char *) "point", NULL
22542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22544 if (!SWIG_IsOK(res1
)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_Py_Void();
22565 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22566 PyObject
*resultobj
= 0;
22567 wxDC
*arg1
= (wxDC
*) 0 ;
22571 PyObject
*swig_obj
[1] ;
22573 if (!args
) SWIG_fail
;
22574 swig_obj
[0] = args
;
22575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22576 if (!SWIG_IsOK(res1
)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22593 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22594 PyObject
*resultobj
= 0;
22595 wxDC
*arg1
= (wxDC
*) 0 ;
22596 int *arg2
= (int *) 0 ;
22597 int *arg3
= (int *) 0 ;
22601 int res2
= SWIG_TMPOBJ
;
22603 int res3
= SWIG_TMPOBJ
;
22604 PyObject
*swig_obj
[1] ;
22608 if (!args
) SWIG_fail
;
22609 swig_obj
[0] = args
;
22610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22611 if (!SWIG_IsOK(res1
)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_Py_Void();
22622 if (SWIG_IsTmpObj(res2
)) {
22623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22625 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22628 if (SWIG_IsTmpObj(res3
)) {
22629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22631 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22640 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
= 0;
22642 wxDC
*arg1
= (wxDC
*) 0 ;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22653 PyObject
* obj2
= 0 ;
22654 char * kwnames
[] = {
22655 (char *) "self",(char *) "x",(char *) "y", NULL
22658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22665 if (!SWIG_IsOK(ecode2
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22668 arg2
= static_cast< int >(val2
);
22669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22670 if (!SWIG_IsOK(ecode3
)) {
22671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22673 arg3
= static_cast< int >(val3
);
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_Py_Void();
22687 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
= 0;
22689 wxDC
*arg1
= (wxDC
*) 0 ;
22690 wxPoint
*arg2
= 0 ;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 char * kwnames
[] = {
22697 (char *) "self",(char *) "point", NULL
22700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22702 if (!SWIG_IsOK(res1
)) {
22703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= SWIG_Py_Void();
22723 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
= 0;
22725 wxDC
*arg1
= (wxDC
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 PyObject
* obj2
= 0 ;
22737 char * kwnames
[] = {
22738 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22743 if (!SWIG_IsOK(res1
)) {
22744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22746 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22747 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22748 if (!SWIG_IsOK(ecode2
)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22751 arg2
= static_cast< bool >(val2
);
22752 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22753 if (!SWIG_IsOK(ecode3
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22756 arg3
= static_cast< bool >(val3
);
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= SWIG_Py_Void();
22770 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22771 PyObject
*resultobj
= 0;
22772 wxDC
*arg1
= (wxDC
*) 0 ;
22776 PyObject
*swig_obj
[1] ;
22778 if (!args
) SWIG_fail
;
22779 swig_obj
[0] = args
;
22780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22781 if (!SWIG_IsOK(res1
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_From_int(static_cast< int >(result
));
22798 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
= 0;
22800 wxDC
*arg1
= (wxDC
*) 0 ;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22808 char * kwnames
[] = {
22809 (char *) "self",(char *) "function", NULL
22812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22814 if (!SWIG_IsOK(res1
)) {
22815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22819 if (!SWIG_IsOK(ecode2
)) {
22820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22822 arg2
= static_cast< int >(val2
);
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->SetLogicalFunction(arg2
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= SWIG_Py_Void();
22836 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 PyObject
*resultobj
= 0;
22838 wxDC
*arg1
= (wxDC
*) 0 ;
22841 PyObject
*swig_obj
[1] ;
22843 if (!args
) SWIG_fail
;
22844 swig_obj
[0] = args
;
22845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22846 if (!SWIG_IsOK(res1
)) {
22847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->ComputeScaleAndOrigin();
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_Py_Void();
22863 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
= 0;
22865 wxDC
*arg1
= (wxDC
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 PyObject
* obj1
= 0 ;
22876 PyObject
* obj2
= 0 ;
22877 char * kwnames
[] = {
22878 (char *) "self",(char *) "x",(char *) "y", NULL
22881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22883 if (!SWIG_IsOK(res1
)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22888 if (!SWIG_IsOK(ecode2
)) {
22889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22891 arg2
= static_cast< int >(val2
);
22892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22893 if (!SWIG_IsOK(ecode3
)) {
22894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22896 arg3
= static_cast< int >(val3
);
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= SWIG_Py_Void();
22910 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
= 0;
22912 wxDC
*arg1
= (wxDC
*) 0 ;
22913 wxPoint
*arg2
= 0 ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 char * kwnames
[] = {
22920 (char *) "self",(char *) "point", NULL
22923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22925 if (!SWIG_IsOK(res1
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_Py_Void();
22946 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22947 PyObject
*resultobj
= 0;
22948 wxDC
*arg1
= (wxDC
*) 0 ;
22951 PyObject
*swig_obj
[1] ;
22953 if (!args
) SWIG_fail
;
22954 swig_obj
[0] = args
;
22955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 (arg1
)->ResetBoundingBox();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_Py_Void();
22973 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 PyObject
*resultobj
= 0;
22975 wxDC
*arg1
= (wxDC
*) 0 ;
22979 PyObject
*swig_obj
[1] ;
22981 if (!args
) SWIG_fail
;
22982 swig_obj
[0] = args
;
22983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (int)((wxDC
const *)arg1
)->MinX();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_From_int(static_cast< int >(result
));
23001 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23002 PyObject
*resultobj
= 0;
23003 wxDC
*arg1
= (wxDC
*) 0 ;
23007 PyObject
*swig_obj
[1] ;
23009 if (!args
) SWIG_fail
;
23010 swig_obj
[0] = args
;
23011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (int)((wxDC
const *)arg1
)->MaxX();
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_From_int(static_cast< int >(result
));
23029 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23030 PyObject
*resultobj
= 0;
23031 wxDC
*arg1
= (wxDC
*) 0 ;
23035 PyObject
*swig_obj
[1] ;
23037 if (!args
) SWIG_fail
;
23038 swig_obj
[0] = args
;
23039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23040 if (!SWIG_IsOK(res1
)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (int)((wxDC
const *)arg1
)->MinY();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_From_int(static_cast< int >(result
));
23057 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxDC
*arg1
= (wxDC
*) 0 ;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (int)((wxDC
const *)arg1
)->MaxY();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_From_int(static_cast< int >(result
));
23085 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxDC
*arg1
= (wxDC
*) 0 ;
23088 int *arg2
= (int *) 0 ;
23089 int *arg3
= (int *) 0 ;
23090 int *arg4
= (int *) 0 ;
23091 int *arg5
= (int *) 0 ;
23095 int res2
= SWIG_TMPOBJ
;
23097 int res3
= SWIG_TMPOBJ
;
23099 int res4
= SWIG_TMPOBJ
;
23101 int res5
= SWIG_TMPOBJ
;
23102 PyObject
*swig_obj
[1] ;
23108 if (!args
) SWIG_fail
;
23109 swig_obj
[0] = args
;
23110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23111 if (!SWIG_IsOK(res1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_Py_Void();
23122 if (SWIG_IsTmpObj(res2
)) {
23123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23125 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23128 if (SWIG_IsTmpObj(res3
)) {
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23131 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23134 if (SWIG_IsTmpObj(res4
)) {
23135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23137 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23140 if (SWIG_IsTmpObj(res5
)) {
23141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23143 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23152 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23153 PyObject
*resultobj
= 0;
23154 wxDC
*arg1
= (wxDC
*) 0 ;
23155 wxLayoutDirection result
;
23158 PyObject
*swig_obj
[1] ;
23160 if (!args
) SWIG_fail
;
23161 swig_obj
[0] = args
;
23162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23163 if (!SWIG_IsOK(res1
)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_From_int(static_cast< int >(result
));
23180 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
= 0;
23182 wxDC
*arg1
= (wxDC
*) 0 ;
23183 wxLayoutDirection arg2
;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 char * kwnames
[] = {
23191 (char *) "self",(char *) "dir", NULL
23194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23196 if (!SWIG_IsOK(res1
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23201 if (!SWIG_IsOK(ecode2
)) {
23202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23204 arg2
= static_cast< wxLayoutDirection
>(val2
);
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 (arg1
)->SetLayoutDirection(arg2
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= SWIG_Py_Void();
23218 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
= 0;
23220 wxDC
*arg1
= (wxDC
*) 0 ;
23221 PyObject
*arg2
= (PyObject
*) 0 ;
23222 PyObject
*arg3
= (PyObject
*) 0 ;
23223 PyObject
*arg4
= (PyObject
*) 0 ;
23224 PyObject
*result
= 0 ;
23227 PyObject
* obj0
= 0 ;
23228 PyObject
* obj1
= 0 ;
23229 PyObject
* obj2
= 0 ;
23230 PyObject
* obj3
= 0 ;
23231 char * kwnames
[] = {
23232 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23237 if (!SWIG_IsOK(res1
)) {
23238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= result
;
23257 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
= 0;
23259 wxDC
*arg1
= (wxDC
*) 0 ;
23260 PyObject
*arg2
= (PyObject
*) 0 ;
23261 PyObject
*arg3
= (PyObject
*) 0 ;
23262 PyObject
*arg4
= (PyObject
*) 0 ;
23263 PyObject
*result
= 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 PyObject
* obj2
= 0 ;
23269 PyObject
* obj3
= 0 ;
23270 char * kwnames
[] = {
23271 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= result
;
23296 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
= 0;
23298 wxDC
*arg1
= (wxDC
*) 0 ;
23299 PyObject
*arg2
= (PyObject
*) 0 ;
23300 PyObject
*arg3
= (PyObject
*) 0 ;
23301 PyObject
*arg4
= (PyObject
*) 0 ;
23302 PyObject
*result
= 0 ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 PyObject
* obj2
= 0 ;
23308 PyObject
* obj3
= 0 ;
23309 char * kwnames
[] = {
23310 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= result
;
23335 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
= 0;
23337 wxDC
*arg1
= (wxDC
*) 0 ;
23338 PyObject
*arg2
= (PyObject
*) 0 ;
23339 PyObject
*arg3
= (PyObject
*) 0 ;
23340 PyObject
*arg4
= (PyObject
*) 0 ;
23341 PyObject
*result
= 0 ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 PyObject
* obj2
= 0 ;
23347 PyObject
* obj3
= 0 ;
23348 char * kwnames
[] = {
23349 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= result
;
23374 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
= 0;
23376 wxDC
*arg1
= (wxDC
*) 0 ;
23377 PyObject
*arg2
= (PyObject
*) 0 ;
23378 PyObject
*arg3
= (PyObject
*) 0 ;
23379 PyObject
*arg4
= (PyObject
*) 0 ;
23380 PyObject
*result
= 0 ;
23383 PyObject
* obj0
= 0 ;
23384 PyObject
* obj1
= 0 ;
23385 PyObject
* obj2
= 0 ;
23386 PyObject
* obj3
= 0 ;
23387 char * kwnames
[] = {
23388 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23393 if (!SWIG_IsOK(res1
)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= result
;
23413 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
= 0;
23415 wxDC
*arg1
= (wxDC
*) 0 ;
23416 PyObject
*arg2
= (PyObject
*) 0 ;
23417 PyObject
*arg3
= (PyObject
*) 0 ;
23418 PyObject
*arg4
= (PyObject
*) 0 ;
23419 PyObject
*arg5
= (PyObject
*) 0 ;
23420 PyObject
*result
= 0 ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 PyObject
* obj2
= 0 ;
23426 PyObject
* obj3
= 0 ;
23427 PyObject
* obj4
= 0 ;
23428 char * kwnames
[] = {
23429 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23434 if (!SWIG_IsOK(res1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= result
;
23455 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23458 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23459 return SWIG_Py_Void();
23462 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
= 0;
23465 wxColour
*arg2
= 0 ;
23466 wxDCTextColourChanger
*result
= 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char * kwnames
[] = {
23473 (char *) "dc",(char *) "col", NULL
23476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23477 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23478 if (!SWIG_IsOK(res1
)) {
23479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23487 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23502 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23503 PyObject
*resultobj
= 0;
23504 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23507 PyObject
*swig_obj
[1] ;
23509 if (!args
) SWIG_fail
;
23510 swig_obj
[0] = args
;
23511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23512 if (!SWIG_IsOK(res1
)) {
23513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23515 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_Py_Void();
23530 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23533 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23534 return SWIG_Py_Void();
23537 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 return SWIG_Python_InitShadowInstance(args
);
23541 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
= 0;
23545 wxDCPenChanger
*result
= 0 ;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 char * kwnames
[] = {
23553 (char *) "dc",(char *) "pen", NULL
23556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23557 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23566 if (!SWIG_IsOK(res2
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23572 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23586 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23587 PyObject
*resultobj
= 0;
23588 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23591 PyObject
*swig_obj
[1] ;
23593 if (!args
) SWIG_fail
;
23594 swig_obj
[0] = args
;
23595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23596 if (!SWIG_IsOK(res1
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23599 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_Py_Void();
23614 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23617 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23618 return SWIG_Py_Void();
23621 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23622 return SWIG_Python_InitShadowInstance(args
);
23625 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
= 0;
23628 wxBrush
*arg2
= 0 ;
23629 wxDCBrushChanger
*result
= 0 ;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 char * kwnames
[] = {
23637 (char *) "dc",(char *) "brush", NULL
23640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23641 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23642 if (!SWIG_IsOK(res1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23650 if (!SWIG_IsOK(res2
)) {
23651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23656 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23670 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23671 PyObject
*resultobj
= 0;
23672 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23675 PyObject
*swig_obj
[1] ;
23677 if (!args
) SWIG_fail
;
23678 swig_obj
[0] = args
;
23679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23680 if (!SWIG_IsOK(res1
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23683 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_Py_Void();
23698 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23701 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23702 return SWIG_Py_Void();
23705 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 return SWIG_Python_InitShadowInstance(args
);
23709 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23710 PyObject
*resultobj
= 0;
23712 wxRegion
*arg2
= 0 ;
23713 wxDCClipper
*result
= 0 ;
23719 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23721 if (!SWIG_IsOK(res1
)) {
23722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23728 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23729 if (!SWIG_IsOK(res2
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23735 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23749 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23750 PyObject
*resultobj
= 0;
23753 wxDCClipper
*result
= 0 ;
23758 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23769 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23784 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23785 PyObject
*resultobj
= 0;
23791 wxDCClipper
*result
= 0 ;
23803 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23812 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23813 if (!SWIG_IsOK(ecode2
)) {
23814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23816 arg2
= static_cast< int >(val2
);
23817 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23818 if (!SWIG_IsOK(ecode3
)) {
23819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23821 arg3
= static_cast< int >(val3
);
23822 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23823 if (!SWIG_IsOK(ecode4
)) {
23824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23826 arg4
= static_cast< int >(val4
);
23827 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23828 if (!SWIG_IsOK(ecode5
)) {
23829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23831 arg5
= static_cast< int >(val5
);
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23845 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23849 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23854 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23855 _v
= SWIG_CheckState(res
);
23857 if (!_v
) goto check_1
;
23858 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23863 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23866 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23870 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23875 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23876 PyObject
*resultobj
= 0;
23877 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23880 PyObject
*swig_obj
[1] ;
23882 if (!args
) SWIG_fail
;
23883 swig_obj
[0] = args
;
23884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23885 if (!SWIG_IsOK(res1
)) {
23886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23888 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= SWIG_Py_Void();
23903 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23906 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23907 return SWIG_Py_Void();
23910 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23911 return SWIG_Python_InitShadowInstance(args
);
23914 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23915 PyObject
*resultobj
= 0;
23916 wxScreenDC
*result
= 0 ;
23918 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23920 if (!wxPyCheckForApp()) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (wxScreenDC
*)new wxScreenDC();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23933 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
= 0;
23935 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23936 wxWindow
*arg2
= (wxWindow
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char * kwnames
[] = {
23945 (char *) "self",(char *) "window", NULL
23948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23953 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23955 if (!SWIG_IsOK(res2
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23974 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
= 0;
23976 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23977 wxRect
*arg2
= (wxRect
*) NULL
;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 char * kwnames
[] = {
23986 (char *) "self",(char *) "rect", NULL
23989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23991 if (!SWIG_IsOK(res1
)) {
23992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23994 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23997 if (!SWIG_IsOK(res2
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24000 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24017 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24018 PyObject
*resultobj
= 0;
24019 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24023 PyObject
*swig_obj
[1] ;
24025 if (!args
) SWIG_fail
;
24026 swig_obj
[0] = args
;
24027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24031 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (bool)(arg1
)->EndDrawingOnTop();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24047 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24050 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24051 return SWIG_Py_Void();
24054 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24055 return SWIG_Python_InitShadowInstance(args
);
24058 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
= 0;
24060 wxWindow
*arg1
= (wxWindow
*) 0 ;
24061 wxWindowDC
*result
= 0 ;
24064 PyObject
* obj0
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "win", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24074 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24076 if (!wxPyCheckForApp()) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24089 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24092 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24093 return SWIG_Py_Void();
24096 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24097 return SWIG_Python_InitShadowInstance(args
);
24100 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
= 0;
24102 wxWindow
*arg1
= (wxWindow
*) 0 ;
24103 wxClientDC
*result
= 0 ;
24106 PyObject
* obj0
= 0 ;
24107 char * kwnames
[] = {
24108 (char *) "win", NULL
24111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24113 if (!SWIG_IsOK(res1
)) {
24114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24116 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24118 if (!wxPyCheckForApp()) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (wxClientDC
*)new wxClientDC(arg1
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24131 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24134 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24135 return SWIG_Py_Void();
24138 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24139 return SWIG_Python_InitShadowInstance(args
);
24142 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
= 0;
24144 wxWindow
*arg1
= (wxWindow
*) 0 ;
24145 wxPaintDC
*result
= 0 ;
24148 PyObject
* obj0
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "win", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24160 if (!wxPyCheckForApp()) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24173 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24177 return SWIG_Py_Void();
24180 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 return SWIG_Python_InitShadowInstance(args
);
24184 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
= 0;
24186 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24187 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24188 wxMemoryDC
*result
= 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char * kwnames
[] = {
24193 (char *) "bitmap", NULL
24196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24198 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24205 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24208 if (!wxPyCheckForApp()) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24221 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
= 0;
24223 wxDC
*arg1
= (wxDC
*) 0 ;
24224 wxMemoryDC
*result
= 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char * kwnames
[] = {
24229 (char *) "oldDC", NULL
24232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24239 if (!wxPyCheckForApp()) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24252 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24255 wxBitmap
*arg2
= 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "bitmap", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24271 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24273 if (!SWIG_IsOK(res2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24279 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 (arg1
)->SelectObject(*arg2
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_Py_Void();
24293 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
= 0;
24295 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24296 wxBitmap
*arg2
= 0 ;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char * kwnames
[] = {
24304 (char *) "self",(char *) "bmp", NULL
24307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24309 if (!SWIG_IsOK(res1
)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24312 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24314 if (!SWIG_IsOK(res2
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24320 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_Py_Void();
24334 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24337 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24338 return SWIG_Py_Void();
24341 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24342 return SWIG_Python_InitShadowInstance(args
);
24345 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24346 PyObject
*resultobj
= 0;
24347 wxDC
*arg1
= (wxDC
*) 0 ;
24348 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24349 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24350 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24351 wxBufferedDC
*result
= 0 ;
24359 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24361 if (!SWIG_IsOK(res1
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24366 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24367 if (!SWIG_IsOK(res2
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24373 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24376 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24377 if (!SWIG_IsOK(ecode3
)) {
24378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24380 arg3
= static_cast< int >(val3
);
24383 if (!wxPyCheckForApp()) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24396 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24397 PyObject
*resultobj
= 0;
24398 wxDC
*arg1
= (wxDC
*) 0 ;
24400 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24401 wxBufferedDC
*result
= 0 ;
24408 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24410 if (!SWIG_IsOK(res1
)) {
24411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24416 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24419 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24420 if (!SWIG_IsOK(ecode3
)) {
24421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24423 arg3
= static_cast< int >(val3
);
24426 if (!wxPyCheckForApp()) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24439 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24443 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24445 if ((argc
>= 1) && (argc
<= 3)) {
24450 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24451 _v
= SWIG_CheckState(res
);
24453 if (!_v
) goto check_1
;
24455 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24459 if ((argc
>= 2) && (argc
<= 3)) {
24460 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24464 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24469 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 PyObject
*resultobj
= 0;
24471 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24474 PyObject
*swig_obj
[1] ;
24476 if (!args
) SWIG_fail
;
24477 swig_obj
[0] = args
;
24478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24479 if (!SWIG_IsOK(res1
)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24482 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= SWIG_Py_Void();
24497 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24498 PyObject
*resultobj
= 0;
24499 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24502 PyObject
*swig_obj
[1] ;
24504 if (!args
) SWIG_fail
;
24505 swig_obj
[0] = args
;
24506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24507 if (!SWIG_IsOK(res1
)) {
24508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24510 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_Py_Void();
24524 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char * kwnames
[] = {
24535 (char *) "self",(char *) "style", NULL
24538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24543 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24545 if (!SWIG_IsOK(ecode2
)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24548 arg2
= static_cast< int >(val2
);
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->SetStyle(arg2
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_Py_Void();
24562 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24563 PyObject
*resultobj
= 0;
24564 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24568 PyObject
*swig_obj
[1] ;
24570 if (!args
) SWIG_fail
;
24571 swig_obj
[0] = args
;
24572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24573 if (!SWIG_IsOK(res1
)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24576 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_From_int(static_cast< int >(result
));
24590 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24593 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24594 return SWIG_Py_Void();
24597 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24598 return SWIG_Python_InitShadowInstance(args
);
24601 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
= 0;
24603 wxWindow
*arg1
= (wxWindow
*) 0 ;
24604 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24605 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24606 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24607 wxBufferedPaintDC
*result
= 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char * kwnames
[] = {
24618 (char *) "window",(char *) "buffer",(char *) "style", NULL
24621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24623 if (!SWIG_IsOK(res1
)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24629 if (!SWIG_IsOK(res2
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24635 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24639 if (!SWIG_IsOK(ecode3
)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24642 arg3
= static_cast< int >(val3
);
24645 if (!wxPyCheckForApp()) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24658 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24661 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24662 return SWIG_Py_Void();
24665 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24666 return SWIG_Python_InitShadowInstance(args
);
24669 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxWindow
*arg1
= (wxWindow
*) 0 ;
24672 wxAutoBufferedPaintDC
*result
= 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "win", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24699 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24702 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24703 return SWIG_Py_Void();
24706 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24707 return SWIG_Python_InitShadowInstance(args
);
24710 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
= 0;
24712 wxWindow
*arg1
= (wxWindow
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 char * kwnames
[] = {
24718 (char *) "window", NULL
24721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24726 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24742 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
= 0;
24746 wxMirrorDC
*result
= 0 ;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 char * kwnames
[] = {
24754 (char *) "dc",(char *) "mirror", NULL
24757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24758 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24766 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24767 if (!SWIG_IsOK(ecode2
)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24770 arg2
= static_cast< bool >(val2
);
24772 if (!wxPyCheckForApp()) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24785 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24788 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24789 return SWIG_Py_Void();
24792 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24793 return SWIG_Python_InitShadowInstance(args
);
24796 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
= 0;
24798 wxPrintData
*arg1
= 0 ;
24799 wxPostScriptDC
*result
= 0 ;
24802 PyObject
* obj0
= 0 ;
24803 char * kwnames
[] = {
24804 (char *) "printData", NULL
24807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24808 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24815 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24817 if (!wxPyCheckForApp()) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24830 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 PyObject
*resultobj
= 0;
24832 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24833 wxPrintData
*result
= 0 ;
24836 PyObject
*swig_obj
[1] ;
24838 if (!args
) SWIG_fail
;
24839 swig_obj
[0] = args
;
24840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24844 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24849 result
= (wxPrintData
*) &_result_ref
;
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24861 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
= 0;
24863 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24864 wxPrintData
*arg2
= 0 ;
24869 PyObject
* obj0
= 0 ;
24870 PyObject
* obj1
= 0 ;
24871 char * kwnames
[] = {
24872 (char *) "self",(char *) "data", NULL
24875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24877 if (!SWIG_IsOK(res1
)) {
24878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24880 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24882 if (!SWIG_IsOK(res2
)) {
24883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24888 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= SWIG_Py_Void();
24902 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
= 0;
24907 PyObject
* obj0
= 0 ;
24908 char * kwnames
[] = {
24909 (char *) "ppi", NULL
24912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24913 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24914 if (!SWIG_IsOK(ecode1
)) {
24915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24917 arg1
= static_cast< int >(val1
);
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 wxPostScriptDC::SetResolution(arg1
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_Py_Void();
24931 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24932 PyObject
*resultobj
= 0;
24935 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (int)wxPostScriptDC::GetResolution();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= SWIG_From_int(static_cast< int >(result
));
24949 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24952 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24953 return SWIG_Py_Void();
24956 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 return SWIG_Python_InitShadowInstance(args
);
24960 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
= 0;
24962 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24963 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24964 wxMetaFile
*result
= 0 ;
24965 bool temp1
= false ;
24966 PyObject
* obj0
= 0 ;
24967 char * kwnames
[] = {
24968 (char *) "filename", NULL
24971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24974 arg1
= wxString_in_helper(obj0
);
24975 if (arg1
== NULL
) SWIG_fail
;
24980 if (!wxPyCheckForApp()) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25001 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25004 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25005 return SWIG_Py_Void();
25008 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 return SWIG_Python_InitShadowInstance(args
);
25012 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
= 0;
25014 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25015 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25016 int arg2
= (int) 0 ;
25017 int arg3
= (int) 0 ;
25018 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25019 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25020 wxMetaFileDC
*result
= 0 ;
25021 bool temp1
= false ;
25026 bool temp4
= false ;
25027 PyObject
* obj0
= 0 ;
25028 PyObject
* obj1
= 0 ;
25029 PyObject
* obj2
= 0 ;
25030 PyObject
* obj3
= 0 ;
25031 char * kwnames
[] = {
25032 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25038 arg1
= wxString_in_helper(obj0
);
25039 if (arg1
== NULL
) SWIG_fail
;
25044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25045 if (!SWIG_IsOK(ecode2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25048 arg2
= static_cast< int >(val2
);
25051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25052 if (!SWIG_IsOK(ecode3
)) {
25053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25055 arg3
= static_cast< int >(val3
);
25059 arg4
= wxString_in_helper(obj3
);
25060 if (arg4
== NULL
) SWIG_fail
;
25065 if (!wxPyCheckForApp()) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25094 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25097 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25098 return SWIG_Py_Void();
25101 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25102 return SWIG_Python_InitShadowInstance(args
);
25105 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= 0;
25107 wxPrintData
*arg1
= 0 ;
25108 wxPrinterDC
*result
= 0 ;
25111 PyObject
* obj0
= 0 ;
25112 char * kwnames
[] = {
25113 (char *) "printData", NULL
25116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25117 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25118 if (!SWIG_IsOK(res1
)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25124 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25126 if (!wxPyCheckForApp()) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25139 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25142 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25143 return SWIG_Py_Void();
25146 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25147 return SWIG_Python_InitShadowInstance(args
);
25150 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
= 0;
25152 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25153 wxGraphicsObject
*result
= 0 ;
25156 PyObject
* obj0
= 0 ;
25157 char * kwnames
[] = {
25158 (char *) "renderer", NULL
25161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25167 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25170 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25180 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25181 PyObject
*resultobj
= 0;
25182 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25185 PyObject
*swig_obj
[1] ;
25187 if (!args
) SWIG_fail
;
25188 swig_obj
[0] = args
;
25189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25190 if (!SWIG_IsOK(res1
)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25193 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= SWIG_Py_Void();
25206 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25207 PyObject
*resultobj
= 0;
25208 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25212 PyObject
*swig_obj
[1] ;
25214 if (!args
) SWIG_fail
;
25215 swig_obj
[0] = args
;
25216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25217 if (!SWIG_IsOK(res1
)) {
25218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25220 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25222 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25234 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25235 PyObject
*resultobj
= 0;
25236 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25237 wxGraphicsRenderer
*result
= 0 ;
25240 PyObject
*swig_obj
[1] ;
25242 if (!args
) SWIG_fail
;
25243 swig_obj
[0] = args
;
25244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25248 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25250 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25260 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25263 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25264 return SWIG_Py_Void();
25267 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25268 return SWIG_Python_InitShadowInstance(args
);
25271 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25272 PyObject
*resultobj
= 0;
25273 wxGraphicsPen
*result
= 0 ;
25275 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25277 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25287 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25288 PyObject
*resultobj
= 0;
25289 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25292 PyObject
*swig_obj
[1] ;
25294 if (!args
) SWIG_fail
;
25295 swig_obj
[0] = args
;
25296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25297 if (!SWIG_IsOK(res1
)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25300 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= SWIG_Py_Void();
25313 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25316 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25317 return SWIG_Py_Void();
25320 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25321 return SWIG_Python_InitShadowInstance(args
);
25324 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25325 PyObject
*resultobj
= 0;
25326 wxGraphicsBrush
*result
= 0 ;
25328 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25330 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25340 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25341 PyObject
*resultobj
= 0;
25342 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25345 PyObject
*swig_obj
[1] ;
25347 if (!args
) SWIG_fail
;
25348 swig_obj
[0] = args
;
25349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25350 if (!SWIG_IsOK(res1
)) {
25351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25353 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= SWIG_Py_Void();
25366 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25369 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25370 return SWIG_Py_Void();
25373 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25374 return SWIG_Python_InitShadowInstance(args
);
25377 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25378 PyObject
*resultobj
= 0;
25379 wxGraphicsFont
*result
= 0 ;
25381 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25383 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25393 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 PyObject
*resultobj
= 0;
25395 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25398 PyObject
*swig_obj
[1] ;
25400 if (!args
) SWIG_fail
;
25401 swig_obj
[0] = args
;
25402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25403 if (!SWIG_IsOK(res1
)) {
25404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25406 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= SWIG_Py_Void();
25419 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25422 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25423 return SWIG_Py_Void();
25426 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25427 return SWIG_Python_InitShadowInstance(args
);
25430 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25431 PyObject
*resultobj
= 0;
25432 wxGraphicsMatrix
*result
= 0 ;
25434 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25436 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25446 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25447 PyObject
*resultobj
= 0;
25448 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25451 PyObject
*swig_obj
[1] ;
25453 if (!args
) SWIG_fail
;
25454 swig_obj
[0] = args
;
25455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25459 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= SWIG_Py_Void();
25472 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
= 0;
25474 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25475 wxGraphicsMatrix
*arg2
= 0 ;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 char * kwnames
[] = {
25483 (char *) "self",(char *) "t", NULL
25486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25488 if (!SWIG_IsOK(res1
)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25491 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25493 if (!SWIG_IsOK(res2
)) {
25494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25499 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25501 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_Py_Void();
25511 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
= 0;
25513 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25514 wxDouble arg2
= (wxDouble
) 1.0 ;
25515 wxDouble arg3
= (wxDouble
) 0.0 ;
25516 wxDouble arg4
= (wxDouble
) 0.0 ;
25517 wxDouble arg5
= (wxDouble
) 1.0 ;
25518 wxDouble arg6
= (wxDouble
) 0.0 ;
25519 wxDouble arg7
= (wxDouble
) 0.0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 PyObject
* obj2
= 0 ;
25537 PyObject
* obj3
= 0 ;
25538 PyObject
* obj4
= 0 ;
25539 PyObject
* obj5
= 0 ;
25540 PyObject
* obj6
= 0 ;
25541 char * kwnames
[] = {
25542 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25547 if (!SWIG_IsOK(res1
)) {
25548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25550 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25552 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25553 if (!SWIG_IsOK(ecode2
)) {
25554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25556 arg2
= static_cast< wxDouble
>(val2
);
25559 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25560 if (!SWIG_IsOK(ecode3
)) {
25561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25563 arg3
= static_cast< wxDouble
>(val3
);
25566 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25567 if (!SWIG_IsOK(ecode4
)) {
25568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25570 arg4
= static_cast< wxDouble
>(val4
);
25573 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25574 if (!SWIG_IsOK(ecode5
)) {
25575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25577 arg5
= static_cast< wxDouble
>(val5
);
25580 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25581 if (!SWIG_IsOK(ecode6
)) {
25582 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25584 arg6
= static_cast< wxDouble
>(val6
);
25587 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25588 if (!SWIG_IsOK(ecode7
)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25591 arg7
= static_cast< wxDouble
>(val7
);
25594 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_Py_Void();
25604 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25605 PyObject
*resultobj
= 0;
25606 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25609 PyObject
*swig_obj
[1] ;
25611 if (!args
) SWIG_fail
;
25612 swig_obj
[0] = args
;
25613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25617 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= SWIG_Py_Void();
25629 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
= 0;
25631 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25632 wxGraphicsMatrix
*arg2
= 0 ;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 char * kwnames
[] = {
25641 (char *) "self",(char *) "t", NULL
25644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25646 if (!SWIG_IsOK(res1
)) {
25647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25649 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25651 if (!SWIG_IsOK(res2
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25657 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25659 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25671 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25672 PyObject
*resultobj
= 0;
25673 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25677 PyObject
*swig_obj
[1] ;
25679 if (!args
) SWIG_fail
;
25680 swig_obj
[0] = args
;
25681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25682 if (!SWIG_IsOK(res1
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25685 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25687 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25699 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
= 0;
25701 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 PyObject
* obj2
= 0 ;
25713 char * kwnames
[] = {
25714 (char *) "self",(char *) "dx",(char *) "dy", NULL
25717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25719 if (!SWIG_IsOK(res1
)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25722 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25723 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25724 if (!SWIG_IsOK(ecode2
)) {
25725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25727 arg2
= static_cast< wxDouble
>(val2
);
25728 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25729 if (!SWIG_IsOK(ecode3
)) {
25730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25732 arg3
= static_cast< wxDouble
>(val3
);
25734 (arg1
)->Translate(arg2
,arg3
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= SWIG_Py_Void();
25744 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
= 0;
25746 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 char * kwnames
[] = {
25759 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25764 if (!SWIG_IsOK(res1
)) {
25765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25767 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25768 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25769 if (!SWIG_IsOK(ecode2
)) {
25770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25772 arg2
= static_cast< wxDouble
>(val2
);
25773 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25774 if (!SWIG_IsOK(ecode3
)) {
25775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25777 arg3
= static_cast< wxDouble
>(val3
);
25779 (arg1
)->Scale(arg2
,arg3
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= SWIG_Py_Void();
25789 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25791 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 char * kwnames
[] = {
25800 (char *) "self",(char *) "angle", NULL
25803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25805 if (!SWIG_IsOK(res1
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25808 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25809 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25810 if (!SWIG_IsOK(ecode2
)) {
25811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25813 arg2
= static_cast< wxDouble
>(val2
);
25815 (arg1
)->Rotate(arg2
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= SWIG_Py_Void();
25825 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
= 0;
25827 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25828 wxDouble
*arg2
= (wxDouble
*) 0 ;
25829 wxDouble
*arg3
= (wxDouble
*) 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 PyObject
* obj2
= 0 ;
25839 char * kwnames
[] = {
25840 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25845 if (!SWIG_IsOK(res1
)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25848 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25849 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25851 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25852 if (!SWIG_IsOK(ecode
)) {
25853 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25855 temp2
= static_cast< wxDouble
>(val
);
25857 res2
= SWIG_AddTmpMask(ecode
);
25859 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25861 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25862 if (!SWIG_IsOK(ecode
)) {
25863 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25865 temp3
= static_cast< wxDouble
>(val
);
25867 res3
= SWIG_AddTmpMask(ecode
);
25870 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= SWIG_Py_Void();
25874 if (SWIG_IsTmpObj(res2
)) {
25875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25877 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25880 if (SWIG_IsTmpObj(res3
)) {
25881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25883 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25892 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
= 0;
25894 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25895 wxDouble
*arg2
= (wxDouble
*) 0 ;
25896 wxDouble
*arg3
= (wxDouble
*) 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 char * kwnames
[] = {
25907 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25912 if (!SWIG_IsOK(res1
)) {
25913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25915 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25916 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25918 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25919 if (!SWIG_IsOK(ecode
)) {
25920 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25922 temp2
= static_cast< wxDouble
>(val
);
25924 res2
= SWIG_AddTmpMask(ecode
);
25926 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25928 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25929 if (!SWIG_IsOK(ecode
)) {
25930 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25932 temp3
= static_cast< wxDouble
>(val
);
25934 res3
= SWIG_AddTmpMask(ecode
);
25937 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= SWIG_Py_Void();
25941 if (SWIG_IsTmpObj(res2
)) {
25942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25944 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25947 if (SWIG_IsTmpObj(res3
)) {
25948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25959 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25960 PyObject
*resultobj
= 0;
25961 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25965 PyObject
*swig_obj
[1] ;
25967 if (!args
) SWIG_fail
;
25968 swig_obj
[0] = args
;
25969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25973 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25975 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25985 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25988 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
25989 return SWIG_Py_Void();
25992 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25993 return SWIG_Python_InitShadowInstance(args
);
25996 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25997 PyObject
*resultobj
= 0;
25998 wxGraphicsPath
*result
= 0 ;
26000 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26002 if (!wxPyCheckForApp()) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26015 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 PyObject
*resultobj
= 0;
26017 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26020 PyObject
*swig_obj
[1] ;
26022 if (!args
) SWIG_fail
;
26023 swig_obj
[0] = args
;
26024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26025 if (!SWIG_IsOK(res1
)) {
26026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26028 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_Py_Void();
26041 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26042 PyObject
*resultobj
= 0;
26043 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26053 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26055 if (!SWIG_IsOK(res1
)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26058 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26059 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26060 if (!SWIG_IsOK(ecode2
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26063 arg2
= static_cast< wxDouble
>(val2
);
26064 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26065 if (!SWIG_IsOK(ecode3
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26068 arg3
= static_cast< wxDouble
>(val3
);
26070 (arg1
)->MoveToPoint(arg2
,arg3
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_Py_Void();
26080 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26081 PyObject
*resultobj
= 0;
26082 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26083 wxPoint2D
*arg2
= 0 ;
26088 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26093 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26096 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26099 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26113 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26116 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26119 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26123 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26128 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26129 PyObject
*resultobj
= 0;
26130 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26140 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26142 if (!SWIG_IsOK(res1
)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26145 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26146 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26147 if (!SWIG_IsOK(ecode2
)) {
26148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26150 arg2
= static_cast< wxDouble
>(val2
);
26151 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26152 if (!SWIG_IsOK(ecode3
)) {
26153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26155 arg3
= static_cast< wxDouble
>(val3
);
26157 (arg1
)->AddLineToPoint(arg2
,arg3
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_Py_Void();
26167 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26168 PyObject
*resultobj
= 0;
26169 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26170 wxPoint2D
*arg2
= 0 ;
26175 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26177 if (!SWIG_IsOK(res1
)) {
26178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26180 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26183 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26186 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_Py_Void();
26196 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26200 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26203 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26206 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26210 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26215 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26216 PyObject
*resultobj
= 0;
26217 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26239 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26241 if (!SWIG_IsOK(res1
)) {
26242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26244 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26245 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26246 if (!SWIG_IsOK(ecode2
)) {
26247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26249 arg2
= static_cast< wxDouble
>(val2
);
26250 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26251 if (!SWIG_IsOK(ecode3
)) {
26252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26254 arg3
= static_cast< wxDouble
>(val3
);
26255 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26256 if (!SWIG_IsOK(ecode4
)) {
26257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26259 arg4
= static_cast< wxDouble
>(val4
);
26260 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26261 if (!SWIG_IsOK(ecode5
)) {
26262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26264 arg5
= static_cast< wxDouble
>(val5
);
26265 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26266 if (!SWIG_IsOK(ecode6
)) {
26267 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26269 arg6
= static_cast< wxDouble
>(val6
);
26270 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26271 if (!SWIG_IsOK(ecode7
)) {
26272 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26274 arg7
= static_cast< wxDouble
>(val7
);
26276 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_Py_Void();
26286 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26287 PyObject
*resultobj
= 0;
26288 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26289 wxPoint2D
*arg2
= 0 ;
26290 wxPoint2D
*arg3
= 0 ;
26291 wxPoint2D
*arg4
= 0 ;
26298 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26303 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26306 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26310 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26314 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26317 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= SWIG_Py_Void();
26327 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26331 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26334 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26337 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26341 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26346 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
= 0;
26348 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26349 wxGraphicsPath
*arg2
= 0 ;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 char * kwnames
[] = {
26357 (char *) "self",(char *) "path", NULL
26360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26362 if (!SWIG_IsOK(res1
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26365 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26367 if (!SWIG_IsOK(res2
)) {
26368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26373 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26375 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_Py_Void();
26385 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26386 PyObject
*resultobj
= 0;
26387 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26390 PyObject
*swig_obj
[1] ;
26392 if (!args
) SWIG_fail
;
26393 swig_obj
[0] = args
;
26394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26398 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26400 (arg1
)->CloseSubpath();
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_Py_Void();
26410 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26411 PyObject
*resultobj
= 0;
26412 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26416 PyObject
*swig_obj
[1] ;
26418 if (!args
) SWIG_fail
;
26419 swig_obj
[0] = args
;
26420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26421 if (!SWIG_IsOK(res1
)) {
26422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26424 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26426 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26436 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26437 PyObject
*resultobj
= 0;
26438 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26460 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26465 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26466 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26470 arg2
= static_cast< wxDouble
>(val2
);
26471 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26472 if (!SWIG_IsOK(ecode3
)) {
26473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26475 arg3
= static_cast< wxDouble
>(val3
);
26476 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26477 if (!SWIG_IsOK(ecode4
)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26480 arg4
= static_cast< wxDouble
>(val4
);
26481 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26482 if (!SWIG_IsOK(ecode5
)) {
26483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26485 arg5
= static_cast< wxDouble
>(val5
);
26486 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26487 if (!SWIG_IsOK(ecode6
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26490 arg6
= static_cast< wxDouble
>(val6
);
26491 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26492 if (!SWIG_IsOK(ecode7
)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26495 arg7
= static_cast< bool >(val7
);
26497 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= SWIG_Py_Void();
26507 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26508 PyObject
*resultobj
= 0;
26509 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26510 wxPoint2D
*arg2
= 0 ;
26527 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26529 if (!SWIG_IsOK(res1
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26532 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26535 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26537 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26538 if (!SWIG_IsOK(ecode3
)) {
26539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26541 arg3
= static_cast< wxDouble
>(val3
);
26542 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26543 if (!SWIG_IsOK(ecode4
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26546 arg4
= static_cast< wxDouble
>(val4
);
26547 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26548 if (!SWIG_IsOK(ecode5
)) {
26549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26551 arg5
= static_cast< wxDouble
>(val5
);
26552 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26553 if (!SWIG_IsOK(ecode6
)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26556 arg6
= static_cast< bool >(val6
);
26558 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_Py_Void();
26568 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26572 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26575 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26578 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26582 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26587 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
= 0;
26589 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 PyObject
* obj2
= 0 ;
26607 PyObject
* obj3
= 0 ;
26608 PyObject
* obj4
= 0 ;
26609 char * kwnames
[] = {
26610 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26615 if (!SWIG_IsOK(res1
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26618 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26619 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26620 if (!SWIG_IsOK(ecode2
)) {
26621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26623 arg2
= static_cast< wxDouble
>(val2
);
26624 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26625 if (!SWIG_IsOK(ecode3
)) {
26626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26628 arg3
= static_cast< wxDouble
>(val3
);
26629 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26630 if (!SWIG_IsOK(ecode4
)) {
26631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26633 arg4
= static_cast< wxDouble
>(val4
);
26634 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26635 if (!SWIG_IsOK(ecode5
)) {
26636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26638 arg5
= static_cast< wxDouble
>(val5
);
26640 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_Py_Void();
26650 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
= 0;
26652 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26667 PyObject
* obj0
= 0 ;
26668 PyObject
* obj1
= 0 ;
26669 PyObject
* obj2
= 0 ;
26670 PyObject
* obj3
= 0 ;
26671 PyObject
* obj4
= 0 ;
26672 char * kwnames
[] = {
26673 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26678 if (!SWIG_IsOK(res1
)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26681 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26682 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26683 if (!SWIG_IsOK(ecode2
)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26686 arg2
= static_cast< wxDouble
>(val2
);
26687 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26688 if (!SWIG_IsOK(ecode3
)) {
26689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26691 arg3
= static_cast< wxDouble
>(val3
);
26692 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26693 if (!SWIG_IsOK(ecode4
)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26696 arg4
= static_cast< wxDouble
>(val4
);
26697 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26698 if (!SWIG_IsOK(ecode5
)) {
26699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26701 arg5
= static_cast< wxDouble
>(val5
);
26703 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_Py_Void();
26713 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 PyObject
* obj2
= 0 ;
26730 PyObject
* obj3
= 0 ;
26731 char * kwnames
[] = {
26732 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26737 if (!SWIG_IsOK(res1
)) {
26738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26740 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26741 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26742 if (!SWIG_IsOK(ecode2
)) {
26743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26745 arg2
= static_cast< wxDouble
>(val2
);
26746 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26747 if (!SWIG_IsOK(ecode3
)) {
26748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26750 arg3
= static_cast< wxDouble
>(val3
);
26751 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26752 if (!SWIG_IsOK(ecode4
)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26755 arg4
= static_cast< wxDouble
>(val4
);
26757 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= SWIG_Py_Void();
26767 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
= 0;
26769 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 PyObject
* obj2
= 0 ;
26790 PyObject
* obj3
= 0 ;
26791 PyObject
* obj4
= 0 ;
26792 PyObject
* obj5
= 0 ;
26793 char * kwnames
[] = {
26794 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26799 if (!SWIG_IsOK(res1
)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26802 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26803 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26804 if (!SWIG_IsOK(ecode2
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26807 arg2
= static_cast< wxDouble
>(val2
);
26808 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26809 if (!SWIG_IsOK(ecode3
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26812 arg3
= static_cast< wxDouble
>(val3
);
26813 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26814 if (!SWIG_IsOK(ecode4
)) {
26815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26817 arg4
= static_cast< wxDouble
>(val4
);
26818 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26819 if (!SWIG_IsOK(ecode5
)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26822 arg5
= static_cast< wxDouble
>(val5
);
26823 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26824 if (!SWIG_IsOK(ecode6
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26827 arg6
= static_cast< wxDouble
>(val6
);
26829 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_Py_Void();
26839 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
= 0;
26841 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26856 PyObject
* obj0
= 0 ;
26857 PyObject
* obj1
= 0 ;
26858 PyObject
* obj2
= 0 ;
26859 PyObject
* obj3
= 0 ;
26860 PyObject
* obj4
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26870 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26871 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26875 arg2
= static_cast< wxDouble
>(val2
);
26876 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26877 if (!SWIG_IsOK(ecode3
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26880 arg3
= static_cast< wxDouble
>(val3
);
26881 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26882 if (!SWIG_IsOK(ecode4
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26885 arg4
= static_cast< wxDouble
>(val4
);
26886 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26887 if (!SWIG_IsOK(ecode5
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26890 arg5
= static_cast< wxDouble
>(val5
);
26892 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
= 0;
26904 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 PyObject
* obj2
= 0 ;
26925 PyObject
* obj3
= 0 ;
26926 PyObject
* obj4
= 0 ;
26927 PyObject
* obj5
= 0 ;
26928 char * kwnames
[] = {
26929 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26934 if (!SWIG_IsOK(res1
)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26937 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26938 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26939 if (!SWIG_IsOK(ecode2
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26942 arg2
= static_cast< wxDouble
>(val2
);
26943 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26944 if (!SWIG_IsOK(ecode3
)) {
26945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26947 arg3
= static_cast< wxDouble
>(val3
);
26948 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26949 if (!SWIG_IsOK(ecode4
)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26952 arg4
= static_cast< wxDouble
>(val4
);
26953 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26954 if (!SWIG_IsOK(ecode5
)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26957 arg5
= static_cast< wxDouble
>(val5
);
26958 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26959 if (!SWIG_IsOK(ecode6
)) {
26960 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26962 arg6
= static_cast< wxDouble
>(val6
);
26964 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_Py_Void();
26974 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26975 PyObject
*resultobj
= 0;
26976 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26980 PyObject
*swig_obj
[1] ;
26982 if (!args
) SWIG_fail
;
26983 swig_obj
[0] = args
;
26984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26988 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26990 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27000 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
= 0;
27002 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27003 void *arg2
= (void *) 0 ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 char * kwnames
[] = {
27010 (char *) "self",(char *) "p", NULL
27013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27015 if (!SWIG_IsOK(res1
)) {
27016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27018 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27019 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27020 if (!SWIG_IsOK(res2
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27024 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 resultobj
= SWIG_Py_Void();
27034 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
= 0;
27036 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27037 wxGraphicsMatrix
*arg2
= 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char * kwnames
[] = {
27045 (char *) "self",(char *) "matrix", NULL
27048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27053 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27055 if (!SWIG_IsOK(res2
)) {
27056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27061 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27063 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= SWIG_Py_Void();
27073 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27074 PyObject
*resultobj
= 0;
27075 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27076 wxRect2DDouble result
;
27079 PyObject
*swig_obj
[1] ;
27081 if (!args
) SWIG_fail
;
27082 swig_obj
[0] = args
;
27083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27084 if (!SWIG_IsOK(res1
)) {
27085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27087 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27089 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27099 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27100 PyObject
*resultobj
= 0;
27101 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27104 int arg4
= (int) wxODDEVEN_RULE
;
27115 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27120 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27121 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27122 if (!SWIG_IsOK(ecode2
)) {
27123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27125 arg2
= static_cast< wxDouble
>(val2
);
27126 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27127 if (!SWIG_IsOK(ecode3
)) {
27128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27130 arg3
= static_cast< wxDouble
>(val3
);
27132 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27133 if (!SWIG_IsOK(ecode4
)) {
27134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27136 arg4
= static_cast< int >(val4
);
27139 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27151 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27152 PyObject
*resultobj
= 0;
27153 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27154 wxPoint2DDouble
*arg2
= 0 ;
27155 int arg3
= (int) wxODDEVEN_RULE
;
27164 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27166 if (!SWIG_IsOK(res1
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27169 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27170 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27171 if (!SWIG_IsOK(res2
)) {
27172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27177 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27179 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27180 if (!SWIG_IsOK(ecode3
)) {
27181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27183 arg3
= static_cast< int >(val3
);
27186 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27198 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27202 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27204 if ((argc
>= 2) && (argc
<= 3)) {
27207 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27208 _v
= SWIG_CheckState(res
);
27210 if (!_v
) goto check_1
;
27214 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27215 _v
= SWIG_CheckState(res
);
27218 if (!_v
) goto check_1
;
27220 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27224 if ((argc
>= 3) && (argc
<= 4)) {
27225 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27229 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27234 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27237 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27238 return SWIG_Py_Void();
27241 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 return SWIG_Python_InitShadowInstance(args
);
27245 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27246 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27251 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27252 PyObject
*pyobj
= 0;
27254 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27259 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27260 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27265 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27266 PyObject
*pyobj
= 0;
27268 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27273 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27274 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27279 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27280 PyObject
*pyobj
= 0;
27282 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27287 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27288 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27293 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27294 PyObject
*pyobj
= 0;
27296 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27301 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27302 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27307 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27308 PyObject
*pyobj
= 0;
27310 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27315 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27316 PyObject
*resultobj
= 0;
27317 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27320 PyObject
*swig_obj
[1] ;
27322 if (!args
) SWIG_fail
;
27323 swig_obj
[0] = args
;
27324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27328 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_Py_Void();
27341 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27342 PyObject
*resultobj
= 0;
27343 wxWindowDC
*arg1
= 0 ;
27344 wxGraphicsContext
*result
= 0 ;
27348 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27356 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27358 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27368 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27369 PyObject
*resultobj
= 0;
27370 wxWindow
*arg1
= (wxWindow
*) 0 ;
27371 wxGraphicsContext
*result
= 0 ;
27375 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27377 if (!SWIG_IsOK(res1
)) {
27378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27380 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27382 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27392 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27396 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27401 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27402 _v
= SWIG_CheckState(res
);
27404 if (!_v
) goto check_1
;
27405 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27410 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27414 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27419 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
= 0;
27421 void *arg1
= (void *) 0 ;
27422 wxGraphicsContext
*result
= 0 ;
27424 PyObject
* obj0
= 0 ;
27425 char * kwnames
[] = {
27426 (char *) "context", NULL
27429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27430 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27435 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27445 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27446 PyObject
*resultobj
= 0;
27447 void *arg1
= (void *) 0 ;
27448 wxGraphicsContext
*result
= 0 ;
27450 PyObject
* obj0
= 0 ;
27451 char * kwnames
[] = {
27452 (char *) "window", NULL
27455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27456 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27457 if (!SWIG_IsOK(res1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27461 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27471 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27472 PyObject
*resultobj
= 0;
27473 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27474 wxGraphicsPath result
;
27477 PyObject
*swig_obj
[1] ;
27479 if (!args
) SWIG_fail
;
27480 swig_obj
[0] = args
;
27481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27482 if (!SWIG_IsOK(res1
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27485 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27487 result
= (arg1
)->CreatePath();
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27497 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
= 0;
27499 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27501 wxGraphicsPen result
;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 char * kwnames
[] = {
27509 (char *) "self",(char *) "pen", NULL
27512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27514 if (!SWIG_IsOK(res1
)) {
27515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27517 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27519 if (!SWIG_IsOK(res2
)) {
27520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27525 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27527 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27537 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
= 0;
27539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27540 wxBrush
*arg2
= 0 ;
27541 wxGraphicsBrush result
;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 char * kwnames
[] = {
27549 (char *) "self",(char *) "brush", NULL
27552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27554 if (!SWIG_IsOK(res1
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27557 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27559 if (!SWIG_IsOK(res2
)) {
27560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27565 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27567 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27577 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
= 0;
27579 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27584 wxColour
*arg6
= 0 ;
27585 wxColour
*arg7
= 0 ;
27586 wxGraphicsBrush result
;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 PyObject
* obj2
= 0 ;
27602 PyObject
* obj3
= 0 ;
27603 PyObject
* obj4
= 0 ;
27604 PyObject
* obj5
= 0 ;
27605 PyObject
* obj6
= 0 ;
27606 char * kwnames
[] = {
27607 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27612 if (!SWIG_IsOK(res1
)) {
27613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27615 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27616 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27617 if (!SWIG_IsOK(ecode2
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27620 arg2
= static_cast< wxDouble
>(val2
);
27621 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27622 if (!SWIG_IsOK(ecode3
)) {
27623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27625 arg3
= static_cast< wxDouble
>(val3
);
27626 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27627 if (!SWIG_IsOK(ecode4
)) {
27628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27630 arg4
= static_cast< wxDouble
>(val4
);
27631 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27632 if (!SWIG_IsOK(ecode5
)) {
27633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27635 arg5
= static_cast< wxDouble
>(val5
);
27638 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27642 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27645 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27655 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
= 0;
27657 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27663 wxColour
*arg7
= 0 ;
27664 wxColour
*arg8
= 0 ;
27665 wxGraphicsBrush result
;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 PyObject
* obj2
= 0 ;
27683 PyObject
* obj3
= 0 ;
27684 PyObject
* obj4
= 0 ;
27685 PyObject
* obj5
= 0 ;
27686 PyObject
* obj6
= 0 ;
27687 PyObject
* obj7
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27697 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27698 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27699 if (!SWIG_IsOK(ecode2
)) {
27700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27702 arg2
= static_cast< wxDouble
>(val2
);
27703 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27704 if (!SWIG_IsOK(ecode3
)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27707 arg3
= static_cast< wxDouble
>(val3
);
27708 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27709 if (!SWIG_IsOK(ecode4
)) {
27710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27712 arg4
= static_cast< wxDouble
>(val4
);
27713 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27714 if (!SWIG_IsOK(ecode5
)) {
27715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27717 arg5
= static_cast< wxDouble
>(val5
);
27718 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27719 if (!SWIG_IsOK(ecode6
)) {
27720 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27722 arg6
= static_cast< wxDouble
>(val6
);
27725 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27729 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27732 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27742 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
= 0;
27744 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27746 wxColour
const &arg3_defvalue
= *wxBLACK
;
27747 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27748 wxGraphicsFont result
;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 PyObject
* obj2
= 0 ;
27757 char * kwnames
[] = {
27758 (char *) "self",(char *) "font",(char *) "col", NULL
27761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27766 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27768 if (!SWIG_IsOK(res2
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27774 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27778 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27782 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27792 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
= 0;
27794 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27795 wxDouble arg2
= (wxDouble
) 1.0 ;
27796 wxDouble arg3
= (wxDouble
) 0.0 ;
27797 wxDouble arg4
= (wxDouble
) 0.0 ;
27798 wxDouble arg5
= (wxDouble
) 1.0 ;
27799 wxDouble arg6
= (wxDouble
) 0.0 ;
27800 wxDouble arg7
= (wxDouble
) 0.0 ;
27801 wxGraphicsMatrix result
;
27816 PyObject
* obj0
= 0 ;
27817 PyObject
* obj1
= 0 ;
27818 PyObject
* obj2
= 0 ;
27819 PyObject
* obj3
= 0 ;
27820 PyObject
* obj4
= 0 ;
27821 PyObject
* obj5
= 0 ;
27822 PyObject
* obj6
= 0 ;
27823 char * kwnames
[] = {
27824 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27832 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27834 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27835 if (!SWIG_IsOK(ecode2
)) {
27836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27838 arg2
= static_cast< wxDouble
>(val2
);
27841 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27842 if (!SWIG_IsOK(ecode3
)) {
27843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27845 arg3
= static_cast< wxDouble
>(val3
);
27848 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27849 if (!SWIG_IsOK(ecode4
)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27852 arg4
= static_cast< wxDouble
>(val4
);
27855 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27856 if (!SWIG_IsOK(ecode5
)) {
27857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27859 arg5
= static_cast< wxDouble
>(val5
);
27862 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27863 if (!SWIG_IsOK(ecode6
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27866 arg6
= static_cast< wxDouble
>(val6
);
27869 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27870 if (!SWIG_IsOK(ecode7
)) {
27871 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27873 arg7
= static_cast< wxDouble
>(val7
);
27876 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27886 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(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_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27899 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27901 (arg1
)->PushState();
27902 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= SWIG_Py_Void();
27911 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27912 PyObject
*resultobj
= 0;
27913 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27916 PyObject
*swig_obj
[1] ;
27918 if (!args
) SWIG_fail
;
27919 swig_obj
[0] = args
;
27920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27921 if (!SWIG_IsOK(res1
)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27924 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27926 (arg1
)->PopState();
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= SWIG_Py_Void();
27936 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
= 0;
27938 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27939 wxRegion
*arg2
= 0 ;
27944 PyObject
* obj0
= 0 ;
27945 PyObject
* obj1
= 0 ;
27946 char * kwnames
[] = {
27947 (char *) "self",(char *) "region", NULL
27950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27952 if (!SWIG_IsOK(res1
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27955 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27957 if (!SWIG_IsOK(res2
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27963 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
27965 (arg1
)->Clip((wxRegion
const &)*arg2
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_Py_Void();
27975 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
= 0;
27977 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 PyObject
* obj2
= 0 ;
27995 PyObject
* obj3
= 0 ;
27996 PyObject
* obj4
= 0 ;
27997 char * kwnames
[] = {
27998 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28006 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28007 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28008 if (!SWIG_IsOK(ecode2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28011 arg2
= static_cast< wxDouble
>(val2
);
28012 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28013 if (!SWIG_IsOK(ecode3
)) {
28014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28016 arg3
= static_cast< wxDouble
>(val3
);
28017 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28018 if (!SWIG_IsOK(ecode4
)) {
28019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28021 arg4
= static_cast< wxDouble
>(val4
);
28022 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28023 if (!SWIG_IsOK(ecode5
)) {
28024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28026 arg5
= static_cast< wxDouble
>(val5
);
28028 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_Py_Void();
28038 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28039 PyObject
*resultobj
= 0;
28040 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28043 PyObject
*swig_obj
[1] ;
28045 if (!args
) SWIG_fail
;
28046 swig_obj
[0] = args
;
28047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28048 if (!SWIG_IsOK(res1
)) {
28049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28051 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28053 (arg1
)->ResetClip();
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_Py_Void();
28063 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28064 PyObject
*resultobj
= 0;
28065 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28069 PyObject
*swig_obj
[1] ;
28071 if (!args
) SWIG_fail
;
28072 swig_obj
[0] = args
;
28073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28074 if (!SWIG_IsOK(res1
)) {
28075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28077 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28079 result
= (void *)(arg1
)->GetNativeContext();
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28089 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
= 0;
28091 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28100 PyObject
* obj0
= 0 ;
28101 PyObject
* obj1
= 0 ;
28102 PyObject
* obj2
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "dx",(char *) "dy", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28112 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28113 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28114 if (!SWIG_IsOK(ecode2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28117 arg2
= static_cast< wxDouble
>(val2
);
28118 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28119 if (!SWIG_IsOK(ecode3
)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28122 arg3
= static_cast< wxDouble
>(val3
);
28124 (arg1
)->Translate(arg2
,arg3
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_Py_Void();
28134 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
= 0;
28136 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 PyObject
* obj2
= 0 ;
28148 char * kwnames
[] = {
28149 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28154 if (!SWIG_IsOK(res1
)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28157 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28158 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28159 if (!SWIG_IsOK(ecode2
)) {
28160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28162 arg2
= static_cast< wxDouble
>(val2
);
28163 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28164 if (!SWIG_IsOK(ecode3
)) {
28165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28167 arg3
= static_cast< wxDouble
>(val3
);
28169 (arg1
)->Scale(arg2
,arg3
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= SWIG_Py_Void();
28179 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
= 0;
28181 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 PyObject
* obj1
= 0 ;
28189 char * kwnames
[] = {
28190 (char *) "self",(char *) "angle", NULL
28193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28195 if (!SWIG_IsOK(res1
)) {
28196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28198 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28199 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28200 if (!SWIG_IsOK(ecode2
)) {
28201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28203 arg2
= static_cast< wxDouble
>(val2
);
28205 (arg1
)->Rotate(arg2
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_Py_Void();
28215 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
= 0;
28217 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28218 wxGraphicsMatrix
*arg2
= 0 ;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char * kwnames
[] = {
28226 (char *) "self",(char *) "matrix", NULL
28229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28234 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28236 if (!SWIG_IsOK(res2
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28242 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28244 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_Py_Void();
28254 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
= 0;
28256 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28257 wxGraphicsMatrix
*arg2
= 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char * kwnames
[] = {
28265 (char *) "self",(char *) "matrix", NULL
28268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28270 if (!SWIG_IsOK(res1
)) {
28271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28273 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28275 if (!SWIG_IsOK(res2
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28281 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28283 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28284 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= SWIG_Py_Void();
28293 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28294 PyObject
*resultobj
= 0;
28295 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28296 wxGraphicsMatrix result
;
28299 PyObject
*swig_obj
[1] ;
28301 if (!args
) SWIG_fail
;
28302 swig_obj
[0] = args
;
28303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28304 if (!SWIG_IsOK(res1
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28307 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28309 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28310 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28319 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28320 PyObject
*resultobj
= 0;
28321 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28322 wxGraphicsPen
*arg2
= 0 ;
28328 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28330 if (!SWIG_IsOK(res1
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28333 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28334 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28335 if (!SWIG_IsOK(res2
)) {
28336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28341 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28343 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_Py_Void();
28353 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28354 PyObject
*resultobj
= 0;
28355 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28362 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28367 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28368 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28369 if (!SWIG_IsOK(res2
)) {
28370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28375 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28377 (arg1
)->SetPen((wxPen
const &)*arg2
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= SWIG_Py_Void();
28387 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28391 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28396 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28397 _v
= SWIG_CheckState(res
);
28399 if (!_v
) goto check_1
;
28400 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28405 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28409 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28414 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28415 PyObject
*resultobj
= 0;
28416 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28417 wxGraphicsBrush
*arg2
= 0 ;
28423 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28428 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28429 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28430 if (!SWIG_IsOK(res2
)) {
28431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28436 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28438 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= SWIG_Py_Void();
28448 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28449 PyObject
*resultobj
= 0;
28450 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28451 wxBrush
*arg2
= 0 ;
28457 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28459 if (!SWIG_IsOK(res1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28462 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28463 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28464 if (!SWIG_IsOK(res2
)) {
28465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28470 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28472 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_Py_Void();
28482 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28486 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28491 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28492 _v
= SWIG_CheckState(res
);
28494 if (!_v
) goto check_1
;
28495 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28500 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28504 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28509 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28510 PyObject
*resultobj
= 0;
28511 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28512 wxGraphicsFont
*arg2
= 0 ;
28518 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28523 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28524 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28525 if (!SWIG_IsOK(res2
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28531 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28533 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= SWIG_Py_Void();
28543 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28544 PyObject
*resultobj
= 0;
28545 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28547 wxColour
const &arg3_defvalue
= *wxBLACK
;
28548 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28555 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28557 if (!SWIG_IsOK(res1
)) {
28558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28560 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28561 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28562 if (!SWIG_IsOK(res2
)) {
28563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28568 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28572 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28576 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_Py_Void();
28586 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28590 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28595 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28596 _v
= SWIG_CheckState(res
);
28598 if (!_v
) goto check_1
;
28599 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28603 if ((argc
>= 2) && (argc
<= 3)) {
28604 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28608 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28613 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
= 0;
28615 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28616 wxGraphicsPath
*arg2
= 0 ;
28621 PyObject
* obj0
= 0 ;
28622 PyObject
* obj1
= 0 ;
28623 char * kwnames
[] = {
28624 (char *) "self",(char *) "path", NULL
28627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28634 if (!SWIG_IsOK(res2
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28640 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28642 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= SWIG_Py_Void();
28652 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
= 0;
28654 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28655 wxGraphicsPath
*arg2
= 0 ;
28656 int arg3
= (int) wxODDEVEN_RULE
;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 PyObject
* obj2
= 0 ;
28666 char * kwnames
[] = {
28667 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28672 if (!SWIG_IsOK(res1
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28675 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28677 if (!SWIG_IsOK(res2
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28683 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28686 if (!SWIG_IsOK(ecode3
)) {
28687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28689 arg3
= static_cast< int >(val3
);
28692 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_Py_Void();
28702 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
= 0;
28704 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28705 wxGraphicsPath
*arg2
= 0 ;
28706 int arg3
= (int) wxODDEVEN_RULE
;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 PyObject
* obj2
= 0 ;
28716 char * kwnames
[] = {
28717 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28722 if (!SWIG_IsOK(res1
)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28725 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28727 if (!SWIG_IsOK(res2
)) {
28728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28733 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28736 if (!SWIG_IsOK(ecode3
)) {
28737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28739 arg3
= static_cast< int >(val3
);
28742 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= SWIG_Py_Void();
28752 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
= 0;
28754 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28755 wxString
*arg2
= 0 ;
28760 bool temp2
= false ;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 PyObject
* obj2
= 0 ;
28768 PyObject
* obj3
= 0 ;
28769 char * kwnames
[] = {
28770 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28775 if (!SWIG_IsOK(res1
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28778 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28780 arg2
= wxString_in_helper(obj1
);
28781 if (arg2
== NULL
) SWIG_fail
;
28784 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28785 if (!SWIG_IsOK(ecode3
)) {
28786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28788 arg3
= static_cast< wxDouble
>(val3
);
28789 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28790 if (!SWIG_IsOK(ecode4
)) {
28791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28793 arg4
= static_cast< wxDouble
>(val4
);
28795 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28798 resultobj
= SWIG_Py_Void();
28813 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28814 PyObject
*resultobj
= 0;
28815 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28816 wxString
*arg2
= 0 ;
28822 bool temp2
= false ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 PyObject
* obj2
= 0 ;
28832 PyObject
* obj3
= 0 ;
28833 PyObject
* obj4
= 0 ;
28834 char * kwnames
[] = {
28835 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
28838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28840 if (!SWIG_IsOK(res1
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28843 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28845 arg2
= wxString_in_helper(obj1
);
28846 if (arg2
== NULL
) SWIG_fail
;
28849 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28850 if (!SWIG_IsOK(ecode3
)) {
28851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28853 arg3
= static_cast< wxDouble
>(val3
);
28854 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28855 if (!SWIG_IsOK(ecode4
)) {
28856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28858 arg4
= static_cast< wxDouble
>(val4
);
28859 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28860 if (!SWIG_IsOK(ecode5
)) {
28861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28863 arg5
= static_cast< wxDouble
>(val5
);
28865 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 resultobj
= SWIG_Py_Void();
28883 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
= 0;
28885 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28886 wxString
*arg2
= 0 ;
28887 wxDouble
*arg3
= (wxDouble
*) 0 ;
28888 wxDouble
*arg4
= (wxDouble
*) 0 ;
28889 wxDouble
*arg5
= (wxDouble
*) 0 ;
28890 wxDouble
*arg6
= (wxDouble
*) 0 ;
28893 bool temp2
= false ;
28895 int res3
= SWIG_TMPOBJ
;
28897 int res4
= SWIG_TMPOBJ
;
28899 int res5
= SWIG_TMPOBJ
;
28901 int res6
= SWIG_TMPOBJ
;
28902 PyObject
* obj0
= 0 ;
28903 PyObject
* obj1
= 0 ;
28904 char * kwnames
[] = {
28905 (char *) "self",(char *) "text", NULL
28912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28914 if (!SWIG_IsOK(res1
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28917 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28919 arg2
= wxString_in_helper(obj1
);
28920 if (arg2
== NULL
) SWIG_fail
;
28924 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= SWIG_Py_Void();
28928 if (SWIG_IsTmpObj(res3
)) {
28929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28931 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28934 if (SWIG_IsTmpObj(res4
)) {
28935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28937 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28940 if (SWIG_IsTmpObj(res5
)) {
28941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
28943 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
28946 if (SWIG_IsTmpObj(res6
)) {
28947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
28949 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
28966 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
= 0;
28968 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28969 wxString
*arg2
= 0 ;
28970 PyObject
*result
= 0 ;
28973 bool temp2
= false ;
28974 PyObject
* obj0
= 0 ;
28975 PyObject
* obj1
= 0 ;
28976 char * kwnames
[] = {
28977 (char *) "self",(char *) "text", NULL
28980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28982 if (!SWIG_IsOK(res1
)) {
28983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28985 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28987 arg2
= wxString_in_helper(obj1
);
28988 if (arg2
== NULL
) SWIG_fail
;
28992 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= result
;
29010 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
= 0;
29012 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29013 wxString
*arg2
= 0 ;
29014 wxArrayDouble result
;
29017 bool temp2
= false ;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 char * kwnames
[] = {
29021 (char *) "self",(char *) "text", NULL
29024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29026 if (!SWIG_IsOK(res1
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29029 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29031 arg2
= wxString_in_helper(obj1
);
29032 if (arg2
== NULL
) SWIG_fail
;
29036 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= wxArrayDouble2PyList_helper(result
);
29056 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
= 0;
29058 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29059 wxBitmap
*arg2
= 0 ;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 PyObject
* obj2
= 0 ;
29079 PyObject
* obj3
= 0 ;
29080 PyObject
* obj4
= 0 ;
29081 PyObject
* obj5
= 0 ;
29082 char * kwnames
[] = {
29083 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29088 if (!SWIG_IsOK(res1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29091 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29093 if (!SWIG_IsOK(res2
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29099 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29100 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29101 if (!SWIG_IsOK(ecode3
)) {
29102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29104 arg3
= static_cast< wxDouble
>(val3
);
29105 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29106 if (!SWIG_IsOK(ecode4
)) {
29107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29109 arg4
= static_cast< wxDouble
>(val4
);
29110 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29111 if (!SWIG_IsOK(ecode5
)) {
29112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29114 arg5
= static_cast< wxDouble
>(val5
);
29115 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29116 if (!SWIG_IsOK(ecode6
)) {
29117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29119 arg6
= static_cast< wxDouble
>(val6
);
29121 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= SWIG_Py_Void();
29131 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29132 PyObject
*resultobj
= 0;
29133 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29151 PyObject
* obj0
= 0 ;
29152 PyObject
* obj1
= 0 ;
29153 PyObject
* obj2
= 0 ;
29154 PyObject
* obj3
= 0 ;
29155 PyObject
* obj4
= 0 ;
29156 PyObject
* obj5
= 0 ;
29157 char * kwnames
[] = {
29158 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29163 if (!SWIG_IsOK(res1
)) {
29164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29166 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29168 if (!SWIG_IsOK(res2
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29174 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29175 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29176 if (!SWIG_IsOK(ecode3
)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29179 arg3
= static_cast< wxDouble
>(val3
);
29180 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29181 if (!SWIG_IsOK(ecode4
)) {
29182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29184 arg4
= static_cast< wxDouble
>(val4
);
29185 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29186 if (!SWIG_IsOK(ecode5
)) {
29187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29189 arg5
= static_cast< wxDouble
>(val5
);
29190 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29191 if (!SWIG_IsOK(ecode6
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29194 arg6
= static_cast< wxDouble
>(val6
);
29196 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= SWIG_Py_Void();
29206 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
= 0;
29208 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29223 PyObject
* obj0
= 0 ;
29224 PyObject
* obj1
= 0 ;
29225 PyObject
* obj2
= 0 ;
29226 PyObject
* obj3
= 0 ;
29227 PyObject
* obj4
= 0 ;
29228 char * kwnames
[] = {
29229 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29234 if (!SWIG_IsOK(res1
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29237 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29238 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29239 if (!SWIG_IsOK(ecode2
)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29242 arg2
= static_cast< wxDouble
>(val2
);
29243 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29244 if (!SWIG_IsOK(ecode3
)) {
29245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29247 arg3
= static_cast< wxDouble
>(val3
);
29248 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29249 if (!SWIG_IsOK(ecode4
)) {
29250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29252 arg4
= static_cast< wxDouble
>(val4
);
29253 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29254 if (!SWIG_IsOK(ecode5
)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29257 arg5
= static_cast< wxDouble
>(val5
);
29259 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_Py_Void();
29269 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29273 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 char * kwnames
[] = {
29279 (char *) "self",(char *) "points", NULL
29282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29284 if (!SWIG_IsOK(res1
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29287 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29289 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29290 if (arg3
== NULL
) SWIG_fail
;
29293 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= SWIG_Py_Void();
29298 if (arg3
) delete [] arg3
;
29303 if (arg3
) delete [] arg3
;
29309 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
= 0;
29311 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29312 PyObject
*arg2
= (PyObject
*) 0 ;
29313 PyObject
*arg3
= (PyObject
*) 0 ;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 PyObject
* obj2
= 0 ;
29319 char * kwnames
[] = {
29320 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29328 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29332 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= SWIG_Py_Void();
29342 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
= 0;
29344 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29346 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29347 int arg4
= (int) wxODDEVEN_RULE
;
29352 PyObject
* obj0
= 0 ;
29353 PyObject
* obj1
= 0 ;
29354 PyObject
* obj2
= 0 ;
29355 char * kwnames
[] = {
29356 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29364 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29366 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29367 if (arg3
== NULL
) SWIG_fail
;
29370 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29371 if (!SWIG_IsOK(ecode4
)) {
29372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29374 arg4
= static_cast< int >(val4
);
29377 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= SWIG_Py_Void();
29382 if (arg3
) delete [] arg3
;
29387 if (arg3
) delete [] arg3
;
29393 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
= 0;
29395 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 PyObject
* obj2
= 0 ;
29413 PyObject
* obj3
= 0 ;
29414 PyObject
* obj4
= 0 ;
29415 char * kwnames
[] = {
29416 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29421 if (!SWIG_IsOK(res1
)) {
29422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29424 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29425 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29426 if (!SWIG_IsOK(ecode2
)) {
29427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29429 arg2
= static_cast< wxDouble
>(val2
);
29430 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29431 if (!SWIG_IsOK(ecode3
)) {
29432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29434 arg3
= static_cast< wxDouble
>(val3
);
29435 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29436 if (!SWIG_IsOK(ecode4
)) {
29437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29439 arg4
= static_cast< wxDouble
>(val4
);
29440 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29441 if (!SWIG_IsOK(ecode5
)) {
29442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29444 arg5
= static_cast< wxDouble
>(val5
);
29446 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= SWIG_Py_Void();
29456 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
= 0;
29458 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 PyObject
* obj2
= 0 ;
29476 PyObject
* obj3
= 0 ;
29477 PyObject
* obj4
= 0 ;
29478 char * kwnames
[] = {
29479 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29487 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29488 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29489 if (!SWIG_IsOK(ecode2
)) {
29490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29492 arg2
= static_cast< wxDouble
>(val2
);
29493 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29494 if (!SWIG_IsOK(ecode3
)) {
29495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29497 arg3
= static_cast< wxDouble
>(val3
);
29498 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29499 if (!SWIG_IsOK(ecode4
)) {
29500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29502 arg4
= static_cast< wxDouble
>(val4
);
29503 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29504 if (!SWIG_IsOK(ecode5
)) {
29505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29507 arg5
= static_cast< wxDouble
>(val5
);
29509 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= SWIG_Py_Void();
29519 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
= 0;
29521 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29539 PyObject
* obj0
= 0 ;
29540 PyObject
* obj1
= 0 ;
29541 PyObject
* obj2
= 0 ;
29542 PyObject
* obj3
= 0 ;
29543 PyObject
* obj4
= 0 ;
29544 PyObject
* obj5
= 0 ;
29545 char * kwnames
[] = {
29546 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29554 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29555 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29556 if (!SWIG_IsOK(ecode2
)) {
29557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29559 arg2
= static_cast< wxDouble
>(val2
);
29560 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29561 if (!SWIG_IsOK(ecode3
)) {
29562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29564 arg3
= static_cast< wxDouble
>(val3
);
29565 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29566 if (!SWIG_IsOK(ecode4
)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29569 arg4
= static_cast< wxDouble
>(val4
);
29570 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29571 if (!SWIG_IsOK(ecode5
)) {
29572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29574 arg5
= static_cast< wxDouble
>(val5
);
29575 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29576 if (!SWIG_IsOK(ecode6
)) {
29577 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29579 arg6
= static_cast< wxDouble
>(val6
);
29581 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29584 resultobj
= SWIG_Py_Void();
29591 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29592 PyObject
*resultobj
= 0;
29593 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29597 PyObject
*swig_obj
[1] ;
29599 if (!args
) SWIG_fail
;
29600 swig_obj
[0] = args
;
29601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29602 if (!SWIG_IsOK(res1
)) {
29603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29605 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29607 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29619 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29622 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29623 return SWIG_Py_Void();
29626 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29627 PyObject
*resultobj
= 0;
29628 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29631 PyObject
*swig_obj
[1] ;
29633 if (!args
) SWIG_fail
;
29634 swig_obj
[0] = args
;
29635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29639 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29645 resultobj
= SWIG_Py_Void();
29652 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29653 PyObject
*resultobj
= 0;
29654 wxGraphicsRenderer
*result
= 0 ;
29656 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29658 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29659 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29668 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29669 PyObject
*resultobj
= 0;
29670 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29671 wxWindowDC
*arg2
= 0 ;
29672 wxGraphicsContext
*result
= 0 ;
29678 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29683 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29684 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29685 if (!SWIG_IsOK(res2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29691 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29693 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29703 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29704 PyObject
*resultobj
= 0;
29705 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29706 wxWindow
*arg2
= (wxWindow
*) 0 ;
29707 wxGraphicsContext
*result
= 0 ;
29713 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29715 if (!SWIG_IsOK(res1
)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29718 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29719 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29720 if (!SWIG_IsOK(res2
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29725 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29735 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29739 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29744 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29745 _v
= SWIG_CheckState(res
);
29747 if (!_v
) goto check_1
;
29748 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29753 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29757 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29762 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
= 0;
29764 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29765 void *arg2
= (void *) 0 ;
29766 wxGraphicsContext
*result
= 0 ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 char * kwnames
[] = {
29773 (char *) "self",(char *) "context", NULL
29776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29778 if (!SWIG_IsOK(res1
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29781 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29782 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29783 if (!SWIG_IsOK(res2
)) {
29784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29787 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29797 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
= 0;
29799 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29800 void *arg2
= (void *) 0 ;
29801 wxGraphicsContext
*result
= 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char * kwnames
[] = {
29808 (char *) "self",(char *) "window", NULL
29811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29816 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29817 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29818 if (!SWIG_IsOK(res2
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29822 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29832 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29833 PyObject
*resultobj
= 0;
29834 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29835 wxGraphicsPath result
;
29838 PyObject
*swig_obj
[1] ;
29840 if (!args
) SWIG_fail
;
29841 swig_obj
[0] = args
;
29842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29843 if (!SWIG_IsOK(res1
)) {
29844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29846 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29848 result
= (arg1
)->CreatePath();
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29858 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= 0;
29860 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29861 wxDouble arg2
= (wxDouble
) 1.0 ;
29862 wxDouble arg3
= (wxDouble
) 0.0 ;
29863 wxDouble arg4
= (wxDouble
) 0.0 ;
29864 wxDouble arg5
= (wxDouble
) 1.0 ;
29865 wxDouble arg6
= (wxDouble
) 0.0 ;
29866 wxDouble arg7
= (wxDouble
) 0.0 ;
29867 wxGraphicsMatrix result
;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 PyObject
* obj3
= 0 ;
29886 PyObject
* obj4
= 0 ;
29887 PyObject
* obj5
= 0 ;
29888 PyObject
* obj6
= 0 ;
29889 char * kwnames
[] = {
29890 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29895 if (!SWIG_IsOK(res1
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29898 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29900 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29901 if (!SWIG_IsOK(ecode2
)) {
29902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29904 arg2
= static_cast< wxDouble
>(val2
);
29907 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29908 if (!SWIG_IsOK(ecode3
)) {
29909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29911 arg3
= static_cast< wxDouble
>(val3
);
29914 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29915 if (!SWIG_IsOK(ecode4
)) {
29916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29918 arg4
= static_cast< wxDouble
>(val4
);
29921 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29922 if (!SWIG_IsOK(ecode5
)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29925 arg5
= static_cast< wxDouble
>(val5
);
29928 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29929 if (!SWIG_IsOK(ecode6
)) {
29930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29932 arg6
= static_cast< wxDouble
>(val6
);
29935 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29936 if (!SWIG_IsOK(ecode7
)) {
29937 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29939 arg7
= static_cast< wxDouble
>(val7
);
29942 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29952 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
= 0;
29954 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29956 wxGraphicsPen result
;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 char * kwnames
[] = {
29964 (char *) "self",(char *) "pen", NULL
29967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29969 if (!SWIG_IsOK(res1
)) {
29970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29972 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29974 if (!SWIG_IsOK(res2
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29980 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29982 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29992 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
= 0;
29994 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29995 wxBrush
*arg2
= 0 ;
29996 wxGraphicsBrush result
;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 char * kwnames
[] = {
30004 (char *) "self",(char *) "brush", NULL
30007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30009 if (!SWIG_IsOK(res1
)) {
30010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30012 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30014 if (!SWIG_IsOK(res2
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30020 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30022 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30032 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
= 0;
30034 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30039 wxColour
*arg6
= 0 ;
30040 wxColour
*arg7
= 0 ;
30041 wxGraphicsBrush result
;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 PyObject
* obj2
= 0 ;
30057 PyObject
* obj3
= 0 ;
30058 PyObject
* obj4
= 0 ;
30059 PyObject
* obj5
= 0 ;
30060 PyObject
* obj6
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30067 if (!SWIG_IsOK(res1
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30070 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30071 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30072 if (!SWIG_IsOK(ecode2
)) {
30073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30075 arg2
= static_cast< wxDouble
>(val2
);
30076 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30077 if (!SWIG_IsOK(ecode3
)) {
30078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30080 arg3
= static_cast< wxDouble
>(val3
);
30081 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30082 if (!SWIG_IsOK(ecode4
)) {
30083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30085 arg4
= static_cast< wxDouble
>(val4
);
30086 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30087 if (!SWIG_IsOK(ecode5
)) {
30088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30090 arg5
= static_cast< wxDouble
>(val5
);
30093 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30097 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30100 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30110 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
= 0;
30112 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30118 wxColour
*arg7
= 0 ;
30119 wxColour
*arg8
= 0 ;
30120 wxGraphicsBrush result
;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 PyObject
* obj2
= 0 ;
30138 PyObject
* obj3
= 0 ;
30139 PyObject
* obj4
= 0 ;
30140 PyObject
* obj5
= 0 ;
30141 PyObject
* obj6
= 0 ;
30142 PyObject
* obj7
= 0 ;
30143 char * kwnames
[] = {
30144 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30149 if (!SWIG_IsOK(res1
)) {
30150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30152 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30153 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30154 if (!SWIG_IsOK(ecode2
)) {
30155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30157 arg2
= static_cast< wxDouble
>(val2
);
30158 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30159 if (!SWIG_IsOK(ecode3
)) {
30160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30162 arg3
= static_cast< wxDouble
>(val3
);
30163 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30164 if (!SWIG_IsOK(ecode4
)) {
30165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30167 arg4
= static_cast< wxDouble
>(val4
);
30168 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30169 if (!SWIG_IsOK(ecode5
)) {
30170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30172 arg5
= static_cast< wxDouble
>(val5
);
30173 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30174 if (!SWIG_IsOK(ecode6
)) {
30175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30177 arg6
= static_cast< wxDouble
>(val6
);
30180 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30184 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30187 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30197 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= 0;
30199 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30201 wxColour
const &arg3_defvalue
= *wxBLACK
;
30202 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30203 wxGraphicsFont result
;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 PyObject
* obj2
= 0 ;
30212 char * kwnames
[] = {
30213 (char *) "self",(char *) "font",(char *) "col", NULL
30216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30221 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30223 if (!SWIG_IsOK(res2
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30229 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30233 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30237 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30247 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30250 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30251 return SWIG_Py_Void();
30254 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
= 0;
30256 wxWindowDC
*arg1
= 0 ;
30257 wxGCDC
*result
= 0 ;
30260 PyObject
* obj0
= 0 ;
30261 char * kwnames
[] = {
30262 (char *) "dc", NULL
30265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30266 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30267 if (!SWIG_IsOK(res1
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30273 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30275 if (!wxPyCheckForApp()) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30288 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30289 PyObject
*resultobj
= 0;
30290 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30293 PyObject
*swig_obj
[1] ;
30295 if (!args
) SWIG_fail
;
30296 swig_obj
[0] = args
;
30297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30301 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 resultobj
= SWIG_Py_Void();
30314 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30315 PyObject
*resultobj
= 0;
30316 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30317 wxGraphicsContext
*result
= 0 ;
30320 PyObject
*swig_obj
[1] ;
30322 if (!args
) SWIG_fail
;
30323 swig_obj
[0] = args
;
30324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30325 if (!SWIG_IsOK(res1
)) {
30326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30328 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30330 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30340 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
= 0;
30342 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30343 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 char * kwnames
[] = {
30351 (char *) "self",(char *) "ctx", NULL
30354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30356 if (!SWIG_IsOK(res1
)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30359 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30361 if (!SWIG_IsOK(res2
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30364 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30366 (arg1
)->SetGraphicsContext(arg2
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_Py_Void();
30376 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30379 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30380 return SWIG_Py_Void();
30383 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30384 return SWIG_Python_InitShadowInstance(args
);
30387 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30388 PyObject
*resultobj
= 0;
30389 wxOverlay
*result
= 0 ;
30391 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 result
= (wxOverlay
*)new wxOverlay();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30405 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30406 PyObject
*resultobj
= 0;
30407 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30410 PyObject
*swig_obj
[1] ;
30412 if (!args
) SWIG_fail
;
30413 swig_obj
[0] = args
;
30414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30418 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_Py_Void();
30433 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30434 PyObject
*resultobj
= 0;
30435 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30438 PyObject
*swig_obj
[1] ;
30440 if (!args
) SWIG_fail
;
30441 swig_obj
[0] = args
;
30442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30443 if (!SWIG_IsOK(res1
)) {
30444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30446 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 resultobj
= SWIG_Py_Void();
30460 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30463 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30464 return SWIG_Py_Void();
30467 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30468 return SWIG_Python_InitShadowInstance(args
);
30471 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30472 PyObject
*resultobj
= 0;
30473 wxOverlay
*arg1
= 0 ;
30474 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30479 wxDCOverlay
*result
= 0 ;
30493 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30495 if (!SWIG_IsOK(res1
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30501 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30502 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30503 if (!SWIG_IsOK(res2
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30506 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30507 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30508 if (!SWIG_IsOK(ecode3
)) {
30509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30511 arg3
= static_cast< int >(val3
);
30512 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30513 if (!SWIG_IsOK(ecode4
)) {
30514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30516 arg4
= static_cast< int >(val4
);
30517 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30518 if (!SWIG_IsOK(ecode5
)) {
30519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30521 arg5
= static_cast< int >(val5
);
30522 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30523 if (!SWIG_IsOK(ecode6
)) {
30524 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30526 arg6
= static_cast< int >(val6
);
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30540 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30541 PyObject
*resultobj
= 0;
30542 wxOverlay
*arg1
= 0 ;
30543 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30544 wxDCOverlay
*result
= 0 ;
30550 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30552 if (!SWIG_IsOK(res1
)) {
30553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30558 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30559 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30560 if (!SWIG_IsOK(res2
)) {
30561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30563 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30567 wxPyEndAllowThreads(__tstate
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30577 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30581 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30584 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30587 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30591 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30596 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30597 PyObject
*resultobj
= 0;
30598 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30601 PyObject
*swig_obj
[1] ;
30603 if (!args
) SWIG_fail
;
30604 swig_obj
[0] = args
;
30605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30606 if (!SWIG_IsOK(res1
)) {
30607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30609 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= SWIG_Py_Void();
30624 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30625 PyObject
*resultobj
= 0;
30626 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30629 PyObject
*swig_obj
[1] ;
30631 if (!args
) SWIG_fail
;
30632 swig_obj
[0] = args
;
30633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30634 if (!SWIG_IsOK(res1
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30637 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 resultobj
= SWIG_Py_Void();
30651 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30654 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30655 return SWIG_Py_Void();
30658 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30659 return SWIG_Python_InitShadowInstance(args
);
30662 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
= 0;
30666 int arg3
= (int) true ;
30667 int arg4
= (int) 1 ;
30668 wxImageList
*result
= 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 PyObject
* obj2
= 0 ;
30680 PyObject
* obj3
= 0 ;
30681 char * kwnames
[] = {
30682 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30687 if (!SWIG_IsOK(ecode1
)) {
30688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30690 arg1
= static_cast< int >(val1
);
30691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30692 if (!SWIG_IsOK(ecode2
)) {
30693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30695 arg2
= static_cast< int >(val2
);
30697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30698 if (!SWIG_IsOK(ecode3
)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30701 arg3
= static_cast< int >(val3
);
30704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30705 if (!SWIG_IsOK(ecode4
)) {
30706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30708 arg4
= static_cast< int >(val4
);
30711 if (!wxPyCheckForApp()) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30724 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30725 PyObject
*resultobj
= 0;
30726 wxImageList
*arg1
= (wxImageList
*) 0 ;
30729 PyObject
*swig_obj
[1] ;
30731 if (!args
) SWIG_fail
;
30732 swig_obj
[0] = args
;
30733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30734 if (!SWIG_IsOK(res1
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30737 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= SWIG_Py_Void();
30752 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
= 0;
30754 wxImageList
*arg1
= (wxImageList
*) 0 ;
30755 wxBitmap
*arg2
= 0 ;
30756 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30757 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 PyObject
* obj2
= 0 ;
30768 char * kwnames
[] = {
30769 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30777 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30779 if (!SWIG_IsOK(res2
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30785 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30787 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30788 if (!SWIG_IsOK(res3
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30794 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30802 resultobj
= SWIG_From_int(static_cast< int >(result
));
30809 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30810 PyObject
*resultobj
= 0;
30811 wxImageList
*arg1
= (wxImageList
*) 0 ;
30812 wxBitmap
*arg2
= 0 ;
30813 wxColour
*arg3
= 0 ;
30820 PyObject
* obj0
= 0 ;
30821 PyObject
* obj1
= 0 ;
30822 PyObject
* obj2
= 0 ;
30823 char * kwnames
[] = {
30824 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30829 if (!SWIG_IsOK(res1
)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30832 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30834 if (!SWIG_IsOK(res2
)) {
30835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30840 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30843 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30847 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_From_int(static_cast< int >(result
));
30858 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
= 0;
30860 wxImageList
*arg1
= (wxImageList
*) 0 ;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 char * kwnames
[] = {
30870 (char *) "self",(char *) "icon", NULL
30873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30875 if (!SWIG_IsOK(res1
)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30878 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30880 if (!SWIG_IsOK(res2
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30886 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_From_int(static_cast< int >(result
));
30900 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxImageList
*arg1
= (wxImageList
*) 0 ;
30904 SwigValueWrapper
<wxBitmap
> result
;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char * kwnames
[] = {
30912 (char *) "self",(char *) "index", NULL
30915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
30920 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30922 if (!SWIG_IsOK(ecode2
)) {
30923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
30925 arg2
= static_cast< int >(val2
);
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
30939 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
= 0;
30941 wxImageList
*arg1
= (wxImageList
*) 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char * kwnames
[] = {
30951 (char *) "self",(char *) "index", NULL
30954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
30959 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30961 if (!SWIG_IsOK(ecode2
)) {
30962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
30964 arg2
= static_cast< int >(val2
);
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
30978 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
= 0;
30980 wxImageList
*arg1
= (wxImageList
*) 0 ;
30982 wxBitmap
*arg3
= 0 ;
30983 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
30984 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 PyObject
* obj2
= 0 ;
30997 PyObject
* obj3
= 0 ;
30998 char * kwnames
[] = {
30999 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31004 if (!SWIG_IsOK(res1
)) {
31005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31007 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31009 if (!SWIG_IsOK(ecode2
)) {
31010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31012 arg2
= static_cast< int >(val2
);
31013 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31014 if (!SWIG_IsOK(res3
)) {
31015 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31020 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31022 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31023 if (!SWIG_IsOK(res4
)) {
31024 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31029 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31046 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31047 PyObject
*resultobj
= 0;
31048 wxImageList
*arg1
= (wxImageList
*) 0 ;
31053 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31054 bool arg7
= (bool) (bool)false ;
31070 PyObject
* obj0
= 0 ;
31071 PyObject
* obj1
= 0 ;
31072 PyObject
* obj2
= 0 ;
31073 PyObject
* obj3
= 0 ;
31074 PyObject
* obj4
= 0 ;
31075 PyObject
* obj5
= 0 ;
31076 PyObject
* obj6
= 0 ;
31077 char * kwnames
[] = {
31078 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31086 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31088 if (!SWIG_IsOK(ecode2
)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31091 arg2
= static_cast< int >(val2
);
31092 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31093 if (!SWIG_IsOK(res3
)) {
31094 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31099 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31101 if (!SWIG_IsOK(ecode4
)) {
31102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31104 arg4
= static_cast< int >(val4
);
31105 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31106 if (!SWIG_IsOK(ecode5
)) {
31107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31109 arg5
= static_cast< int >(val5
);
31111 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31112 if (!SWIG_IsOK(ecode6
)) {
31113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31115 arg6
= static_cast< int >(val6
);
31118 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31119 if (!SWIG_IsOK(ecode7
)) {
31120 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31122 arg7
= static_cast< bool >(val7
);
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31139 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31140 PyObject
*resultobj
= 0;
31141 wxImageList
*arg1
= (wxImageList
*) 0 ;
31145 PyObject
*swig_obj
[1] ;
31147 if (!args
) SWIG_fail
;
31148 swig_obj
[0] = args
;
31149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31153 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (int)(arg1
)->GetImageCount();
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= SWIG_From_int(static_cast< int >(result
));
31167 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
= 0;
31169 wxImageList
*arg1
= (wxImageList
*) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 char * kwnames
[] = {
31179 (char *) "self",(char *) "index", NULL
31182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31184 if (!SWIG_IsOK(res1
)) {
31185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31187 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31189 if (!SWIG_IsOK(ecode2
)) {
31190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31192 arg2
= static_cast< int >(val2
);
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (bool)(arg1
)->Remove(arg2
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31208 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31209 PyObject
*resultobj
= 0;
31210 wxImageList
*arg1
= (wxImageList
*) 0 ;
31214 PyObject
*swig_obj
[1] ;
31216 if (!args
) SWIG_fail
;
31217 swig_obj
[0] = args
;
31218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31219 if (!SWIG_IsOK(res1
)) {
31220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31222 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (bool)(arg1
)->RemoveAll();
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31238 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
= 0;
31240 wxImageList
*arg1
= (wxImageList
*) 0 ;
31249 int res3
= SWIG_TMPOBJ
;
31251 int res4
= SWIG_TMPOBJ
;
31252 PyObject
* obj0
= 0 ;
31253 PyObject
* obj1
= 0 ;
31254 char * kwnames
[] = {
31255 (char *) "self",(char *) "index", NULL
31260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31262 if (!SWIG_IsOK(res1
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31265 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31267 if (!SWIG_IsOK(ecode2
)) {
31268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31270 arg2
= static_cast< int >(val2
);
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= SWIG_Py_Void();
31278 if (SWIG_IsTmpObj(res3
)) {
31279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31281 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31284 if (SWIG_IsTmpObj(res4
)) {
31285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31287 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31296 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31299 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31300 return SWIG_Py_Void();
31303 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31304 return SWIG_Python_InitShadowInstance(args
);
31307 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31308 PyObject
*resultobj
= 0;
31309 wxStockGDI
*result
= 0 ;
31311 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 result
= (wxStockGDI
*)new wxStockGDI();
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31325 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31326 PyObject
*resultobj
= 0;
31327 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31330 PyObject
*swig_obj
[1] ;
31332 if (!args
) SWIG_fail
;
31333 swig_obj
[0] = args
;
31334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31335 if (!SWIG_IsOK(res1
)) {
31336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31338 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_Py_Void();
31353 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31354 PyObject
*resultobj
= 0;
31356 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 wxStockGDI::DeleteAll();
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31363 resultobj
= SWIG_Py_Void();
31370 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31371 PyObject
*resultobj
= 0;
31372 wxStockGDI
*result
= 0 ;
31374 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31379 result
= (wxStockGDI
*) &_result_ref
;
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31391 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31392 PyObject
*resultobj
= 0;
31393 wxStockGDI::Item arg1
;
31394 wxBrush
*result
= 0 ;
31397 PyObject
* obj0
= 0 ;
31398 char * kwnames
[] = {
31399 (char *) "item", NULL
31402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31404 if (!SWIG_IsOK(ecode1
)) {
31405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31407 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31421 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxStockGDI::Item arg1
;
31424 wxColour
*result
= 0 ;
31427 PyObject
* obj0
= 0 ;
31428 char * kwnames
[] = {
31429 (char *) "item", NULL
31432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31434 if (!SWIG_IsOK(ecode1
)) {
31435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31437 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31451 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
= 0;
31453 wxStockGDI::Item arg1
;
31454 wxCursor
*result
= 0 ;
31457 PyObject
* obj0
= 0 ;
31458 char * kwnames
[] = {
31459 (char *) "item", NULL
31462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31463 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31464 if (!SWIG_IsOK(ecode1
)) {
31465 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31467 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31481 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
= 0;
31483 wxStockGDI::Item arg1
;
31484 wxPen
*result
= 0 ;
31487 PyObject
* obj0
= 0 ;
31488 char * kwnames
[] = {
31489 (char *) "item", NULL
31492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31494 if (!SWIG_IsOK(ecode1
)) {
31495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31497 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31511 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
= 0;
31513 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31514 wxStockGDI::Item arg2
;
31515 wxFont
*result
= 0 ;
31520 PyObject
* obj0
= 0 ;
31521 PyObject
* obj1
= 0 ;
31522 char * kwnames
[] = {
31523 (char *) "self",(char *) "item", NULL
31526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31528 if (!SWIG_IsOK(res1
)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31531 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31533 if (!SWIG_IsOK(ecode2
)) {
31534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31536 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31550 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31553 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31554 return SWIG_Py_Void();
31557 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31558 return SWIG_Python_InitShadowInstance(args
);
31561 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31562 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31567 SWIGINTERN PyObject
*NullBitmap_get(void) {
31568 PyObject
*pyobj
= 0;
31570 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31575 SWIGINTERN
int NullIcon_set(PyObject
*) {
31576 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31581 SWIGINTERN PyObject
*NullIcon_get(void) {
31582 PyObject
*pyobj
= 0;
31584 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31589 SWIGINTERN
int NullCursor_set(PyObject
*) {
31590 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31595 SWIGINTERN PyObject
*NullCursor_get(void) {
31596 PyObject
*pyobj
= 0;
31598 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31603 SWIGINTERN
int NullPen_set(PyObject
*) {
31604 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31609 SWIGINTERN PyObject
*NullPen_get(void) {
31610 PyObject
*pyobj
= 0;
31612 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31617 SWIGINTERN
int NullBrush_set(PyObject
*) {
31618 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31623 SWIGINTERN PyObject
*NullBrush_get(void) {
31624 PyObject
*pyobj
= 0;
31626 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31631 SWIGINTERN
int NullPalette_set(PyObject
*) {
31632 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31637 SWIGINTERN PyObject
*NullPalette_get(void) {
31638 PyObject
*pyobj
= 0;
31640 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31645 SWIGINTERN
int NullFont_set(PyObject
*) {
31646 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31651 SWIGINTERN PyObject
*NullFont_get(void) {
31652 PyObject
*pyobj
= 0;
31654 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31659 SWIGINTERN
int NullColour_set(PyObject
*) {
31660 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31665 SWIGINTERN PyObject
*NullColour_get(void) {
31666 PyObject
*pyobj
= 0;
31668 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31673 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31674 PyObject
*resultobj
= 0;
31675 wxGDIObjListBase
*result
= 0 ;
31677 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31691 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31692 PyObject
*resultobj
= 0;
31693 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31696 PyObject
*swig_obj
[1] ;
31698 if (!args
) SWIG_fail
;
31699 swig_obj
[0] = args
;
31700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31701 if (!SWIG_IsOK(res1
)) {
31702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31704 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 resultobj
= SWIG_Py_Void();
31719 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31722 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31723 return SWIG_Py_Void();
31726 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31727 return SWIG_Python_InitShadowInstance(args
);
31730 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
= 0;
31732 wxPenList
*arg1
= (wxPenList
*) 0 ;
31733 wxColour
*arg2
= 0 ;
31736 wxPen
*result
= 0 ;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 PyObject
* obj2
= 0 ;
31747 PyObject
* obj3
= 0 ;
31748 char * kwnames
[] = {
31749 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31754 if (!SWIG_IsOK(res1
)) {
31755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31757 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31760 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31763 if (!SWIG_IsOK(ecode3
)) {
31764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31766 arg3
= static_cast< int >(val3
);
31767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31768 if (!SWIG_IsOK(ecode4
)) {
31769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31771 arg4
= static_cast< int >(val4
);
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31785 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
= 0;
31787 wxPenList
*arg1
= (wxPenList
*) 0 ;
31788 wxPen
*arg2
= (wxPen
*) 0 ;
31793 PyObject
* obj0
= 0 ;
31794 PyObject
* obj1
= 0 ;
31795 char * kwnames
[] = {
31796 (char *) "self",(char *) "pen", NULL
31799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31801 if (!SWIG_IsOK(res1
)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31804 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31806 if (!SWIG_IsOK(res2
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31809 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 (arg1
)->AddPen(arg2
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_Py_Void();
31823 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
= 0;
31825 wxPenList
*arg1
= (wxPenList
*) 0 ;
31826 wxPen
*arg2
= (wxPen
*) 0 ;
31831 PyObject
* obj0
= 0 ;
31832 PyObject
* obj1
= 0 ;
31833 char * kwnames
[] = {
31834 (char *) "self",(char *) "pen", NULL
31837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31839 if (!SWIG_IsOK(res1
)) {
31840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31842 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31844 if (!SWIG_IsOK(res2
)) {
31845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31847 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->RemovePen(arg2
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= SWIG_Py_Void();
31861 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31864 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31865 return SWIG_Py_Void();
31868 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
= 0;
31870 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31871 wxColour
*arg2
= 0 ;
31872 int arg3
= (int) wxSOLID
;
31873 wxBrush
*result
= 0 ;
31879 PyObject
* obj0
= 0 ;
31880 PyObject
* obj1
= 0 ;
31881 PyObject
* obj2
= 0 ;
31882 char * kwnames
[] = {
31883 (char *) "self",(char *) "colour",(char *) "style", NULL
31886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31888 if (!SWIG_IsOK(res1
)) {
31889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31891 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31898 if (!SWIG_IsOK(ecode3
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31901 arg3
= static_cast< int >(val3
);
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31916 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= 0;
31918 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31919 wxBrush
*arg2
= (wxBrush
*) 0 ;
31924 PyObject
* obj0
= 0 ;
31925 PyObject
* obj1
= 0 ;
31926 char * kwnames
[] = {
31927 (char *) "self",(char *) "brush", NULL
31930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31932 if (!SWIG_IsOK(res1
)) {
31933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31935 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31937 if (!SWIG_IsOK(res2
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31940 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 (arg1
)->AddBrush(arg2
);
31944 wxPyEndAllowThreads(__tstate
);
31945 if (PyErr_Occurred()) SWIG_fail
;
31947 resultobj
= SWIG_Py_Void();
31954 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31955 PyObject
*resultobj
= 0;
31956 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31957 wxBrush
*arg2
= (wxBrush
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 PyObject
* obj1
= 0 ;
31964 char * kwnames
[] = {
31965 (char *) "self",(char *) "brush", NULL
31968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31970 if (!SWIG_IsOK(res1
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31973 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31975 if (!SWIG_IsOK(res2
)) {
31976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31978 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 (arg1
)->RemoveBrush(arg2
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_Py_Void();
31992 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31995 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
31996 return SWIG_Py_Void();
31999 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
= 0;
32001 wxFontList
*arg1
= (wxFontList
*) 0 ;
32006 bool arg6
= (bool) false ;
32007 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32008 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32009 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32010 wxFont
*result
= 0 ;
32023 bool temp7
= false ;
32026 PyObject
* obj0
= 0 ;
32027 PyObject
* obj1
= 0 ;
32028 PyObject
* obj2
= 0 ;
32029 PyObject
* obj3
= 0 ;
32030 PyObject
* obj4
= 0 ;
32031 PyObject
* obj5
= 0 ;
32032 PyObject
* obj6
= 0 ;
32033 PyObject
* obj7
= 0 ;
32034 char * kwnames
[] = {
32035 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32040 if (!SWIG_IsOK(res1
)) {
32041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32043 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32045 if (!SWIG_IsOK(ecode2
)) {
32046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32048 arg2
= static_cast< int >(val2
);
32049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32050 if (!SWIG_IsOK(ecode3
)) {
32051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32053 arg3
= static_cast< int >(val3
);
32054 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32055 if (!SWIG_IsOK(ecode4
)) {
32056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32058 arg4
= static_cast< int >(val4
);
32059 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32060 if (!SWIG_IsOK(ecode5
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32063 arg5
= static_cast< int >(val5
);
32065 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32066 if (!SWIG_IsOK(ecode6
)) {
32067 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32069 arg6
= static_cast< bool >(val6
);
32073 arg7
= wxString_in_helper(obj6
);
32074 if (arg7
== NULL
) SWIG_fail
;
32079 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32080 if (!SWIG_IsOK(ecode8
)) {
32081 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32083 arg8
= static_cast< wxFontEncoding
>(val8
);
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32106 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32107 PyObject
*resultobj
= 0;
32108 wxFontList
*arg1
= (wxFontList
*) 0 ;
32109 wxFont
*arg2
= (wxFont
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 PyObject
* obj1
= 0 ;
32116 char * kwnames
[] = {
32117 (char *) "self",(char *) "font", NULL
32120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32122 if (!SWIG_IsOK(res1
)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32125 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32127 if (!SWIG_IsOK(res2
)) {
32128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32130 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 (arg1
)->AddFont(arg2
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_Py_Void();
32144 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
= 0;
32146 wxFontList
*arg1
= (wxFontList
*) 0 ;
32147 wxFont
*arg2
= (wxFont
*) 0 ;
32152 PyObject
* obj0
= 0 ;
32153 PyObject
* obj1
= 0 ;
32154 char * kwnames
[] = {
32155 (char *) "self",(char *) "font", NULL
32158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32160 if (!SWIG_IsOK(res1
)) {
32161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32163 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32165 if (!SWIG_IsOK(res2
)) {
32166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32168 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 (arg1
)->RemoveFont(arg2
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= SWIG_Py_Void();
32182 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32185 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32186 return SWIG_Py_Void();
32189 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32190 PyObject
*resultobj
= 0;
32191 wxColourDatabase
*result
= 0 ;
32193 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32195 if (!wxPyCheckForApp()) SWIG_fail
;
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 result
= (wxColourDatabase
*)new wxColourDatabase();
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32208 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32209 PyObject
*resultobj
= 0;
32210 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32213 PyObject
*swig_obj
[1] ;
32215 if (!args
) SWIG_fail
;
32216 swig_obj
[0] = args
;
32217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32218 if (!SWIG_IsOK(res1
)) {
32219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32221 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32226 wxPyEndAllowThreads(__tstate
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32229 resultobj
= SWIG_Py_Void();
32236 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32237 PyObject
*resultobj
= 0;
32238 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32239 wxString
*arg2
= 0 ;
32243 bool temp2
= false ;
32244 PyObject
* obj0
= 0 ;
32245 PyObject
* obj1
= 0 ;
32246 char * kwnames
[] = {
32247 (char *) "self",(char *) "name", NULL
32250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32252 if (!SWIG_IsOK(res1
)) {
32253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32255 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32257 arg2
= wxString_in_helper(obj1
);
32258 if (arg2
== NULL
) SWIG_fail
;
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32282 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32283 PyObject
*resultobj
= 0;
32284 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32285 wxColour
*arg2
= 0 ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 char * kwnames
[] = {
32293 (char *) "self",(char *) "colour", NULL
32296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32298 if (!SWIG_IsOK(res1
)) {
32299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32301 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32308 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32325 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32326 PyObject
*resultobj
= 0;
32327 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32328 wxString
*arg2
= 0 ;
32329 wxColour
*arg3
= 0 ;
32332 bool temp2
= false ;
32334 PyObject
* obj0
= 0 ;
32335 PyObject
* obj1
= 0 ;
32336 PyObject
* obj2
= 0 ;
32337 char * kwnames
[] = {
32338 (char *) "self",(char *) "name",(char *) "colour", NULL
32341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32343 if (!SWIG_IsOK(res1
)) {
32344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32346 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32348 arg2
= wxString_in_helper(obj1
);
32349 if (arg2
== NULL
) SWIG_fail
;
32354 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32358 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32362 resultobj
= SWIG_Py_Void();
32377 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
= 0;
32379 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32380 wxString
*arg2
= 0 ;
32386 bool temp2
= false ;
32393 PyObject
* obj0
= 0 ;
32394 PyObject
* obj1
= 0 ;
32395 PyObject
* obj2
= 0 ;
32396 PyObject
* obj3
= 0 ;
32397 PyObject
* obj4
= 0 ;
32398 char * kwnames
[] = {
32399 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32404 if (!SWIG_IsOK(res1
)) {
32405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32407 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32409 arg2
= wxString_in_helper(obj1
);
32410 if (arg2
== NULL
) SWIG_fail
;
32413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32414 if (!SWIG_IsOK(ecode3
)) {
32415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32417 arg3
= static_cast< int >(val3
);
32418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32419 if (!SWIG_IsOK(ecode4
)) {
32420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32422 arg4
= static_cast< int >(val4
);
32423 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32424 if (!SWIG_IsOK(ecode5
)) {
32425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32427 arg5
= static_cast< int >(val5
);
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 resultobj
= SWIG_Py_Void();
32449 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32452 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32453 return SWIG_Py_Void();
32456 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32457 return SWIG_Python_InitShadowInstance(args
);
32460 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32461 PyObject
*resultobj
= 0;
32462 wxFontList
*result
= 0 ;
32464 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 result
= (wxFontList
*)_wxPyInitTheFontList();
32468 wxPyEndAllowThreads(__tstate
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32478 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32479 PyObject
*resultobj
= 0;
32480 wxPenList
*result
= 0 ;
32482 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 result
= (wxPenList
*)_wxPyInitThePenList();
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32496 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32497 PyObject
*resultobj
= 0;
32498 wxBrushList
*result
= 0 ;
32500 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32514 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32515 PyObject
*resultobj
= 0;
32516 wxColourDatabase
*result
= 0 ;
32518 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32532 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32533 PyObject
*resultobj
= 0;
32534 wxEffects
*result
= 0 ;
32536 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 result
= (wxEffects
*)new wxEffects();
32540 wxPyEndAllowThreads(__tstate
);
32541 if (PyErr_Occurred()) SWIG_fail
;
32543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32550 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32551 PyObject
*resultobj
= 0;
32552 wxEffects
*arg1
= (wxEffects
*) 0 ;
32556 PyObject
*swig_obj
[1] ;
32558 if (!args
) SWIG_fail
;
32559 swig_obj
[0] = args
;
32560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32561 if (!SWIG_IsOK(res1
)) {
32562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32564 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32567 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32571 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32578 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32579 PyObject
*resultobj
= 0;
32580 wxEffects
*arg1
= (wxEffects
*) 0 ;
32584 PyObject
*swig_obj
[1] ;
32586 if (!args
) SWIG_fail
;
32587 swig_obj
[0] = args
;
32588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32589 if (!SWIG_IsOK(res1
)) {
32590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32592 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32599 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32606 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32607 PyObject
*resultobj
= 0;
32608 wxEffects
*arg1
= (wxEffects
*) 0 ;
32612 PyObject
*swig_obj
[1] ;
32614 if (!args
) SWIG_fail
;
32615 swig_obj
[0] = args
;
32616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32620 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32634 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32635 PyObject
*resultobj
= 0;
32636 wxEffects
*arg1
= (wxEffects
*) 0 ;
32640 PyObject
*swig_obj
[1] ;
32642 if (!args
) SWIG_fail
;
32643 swig_obj
[0] = args
;
32644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32645 if (!SWIG_IsOK(res1
)) {
32646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32648 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32662 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32663 PyObject
*resultobj
= 0;
32664 wxEffects
*arg1
= (wxEffects
*) 0 ;
32668 PyObject
*swig_obj
[1] ;
32670 if (!args
) SWIG_fail
;
32671 swig_obj
[0] = args
;
32672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32673 if (!SWIG_IsOK(res1
)) {
32674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32676 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32690 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32691 PyObject
*resultobj
= 0;
32692 wxEffects
*arg1
= (wxEffects
*) 0 ;
32693 wxColour
*arg2
= 0 ;
32697 PyObject
* obj0
= 0 ;
32698 PyObject
* obj1
= 0 ;
32699 char * kwnames
[] = {
32700 (char *) "self",(char *) "c", NULL
32703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32705 if (!SWIG_IsOK(res1
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32708 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32711 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= SWIG_Py_Void();
32726 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32727 PyObject
*resultobj
= 0;
32728 wxEffects
*arg1
= (wxEffects
*) 0 ;
32729 wxColour
*arg2
= 0 ;
32733 PyObject
* obj0
= 0 ;
32734 PyObject
* obj1
= 0 ;
32735 char * kwnames
[] = {
32736 (char *) "self",(char *) "c", NULL
32739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32744 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= SWIG_Py_Void();
32762 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
= 0;
32764 wxEffects
*arg1
= (wxEffects
*) 0 ;
32765 wxColour
*arg2
= 0 ;
32769 PyObject
* obj0
= 0 ;
32770 PyObject
* obj1
= 0 ;
32771 char * kwnames
[] = {
32772 (char *) "self",(char *) "c", NULL
32775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32777 if (!SWIG_IsOK(res1
)) {
32778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32780 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32791 resultobj
= SWIG_Py_Void();
32798 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
= 0;
32800 wxEffects
*arg1
= (wxEffects
*) 0 ;
32801 wxColour
*arg2
= 0 ;
32805 PyObject
* obj0
= 0 ;
32806 PyObject
* obj1
= 0 ;
32807 char * kwnames
[] = {
32808 (char *) "self",(char *) "c", NULL
32811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32813 if (!SWIG_IsOK(res1
)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32816 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32823 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32824 wxPyEndAllowThreads(__tstate
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32827 resultobj
= SWIG_Py_Void();
32834 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32835 PyObject
*resultobj
= 0;
32836 wxEffects
*arg1
= (wxEffects
*) 0 ;
32837 wxColour
*arg2
= 0 ;
32841 PyObject
* obj0
= 0 ;
32842 PyObject
* obj1
= 0 ;
32843 char * kwnames
[] = {
32844 (char *) "self",(char *) "c", NULL
32847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32849 if (!SWIG_IsOK(res1
)) {
32850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32852 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= SWIG_Py_Void();
32870 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32871 PyObject
*resultobj
= 0;
32872 wxEffects
*arg1
= (wxEffects
*) 0 ;
32873 wxColour
*arg2
= 0 ;
32874 wxColour
*arg3
= 0 ;
32875 wxColour
*arg4
= 0 ;
32876 wxColour
*arg5
= 0 ;
32877 wxColour
*arg6
= 0 ;
32885 PyObject
* obj0
= 0 ;
32886 PyObject
* obj1
= 0 ;
32887 PyObject
* obj2
= 0 ;
32888 PyObject
* obj3
= 0 ;
32889 PyObject
* obj4
= 0 ;
32890 PyObject
* obj5
= 0 ;
32891 char * kwnames
[] = {
32892 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32897 if (!SWIG_IsOK(res1
)) {
32898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32900 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32907 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32911 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32915 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
32919 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
32922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= SWIG_Py_Void();
32934 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
= 0;
32936 wxEffects
*arg1
= (wxEffects
*) 0 ;
32939 int arg4
= (int) 1 ;
32947 PyObject
* obj0
= 0 ;
32948 PyObject
* obj1
= 0 ;
32949 PyObject
* obj2
= 0 ;
32950 PyObject
* obj3
= 0 ;
32951 char * kwnames
[] = {
32952 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
32955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32957 if (!SWIG_IsOK(res1
)) {
32958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
32960 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
32962 if (!SWIG_IsOK(res2
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32968 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32971 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32975 if (!SWIG_IsOK(ecode4
)) {
32976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
32978 arg4
= static_cast< int >(val4
);
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
32983 wxPyEndAllowThreads(__tstate
);
32984 if (PyErr_Occurred()) SWIG_fail
;
32986 resultobj
= SWIG_Py_Void();
32993 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32994 PyObject
*resultobj
= 0;
32995 wxEffects
*arg1
= (wxEffects
*) 0 ;
32998 wxBitmap
*arg4
= 0 ;
33007 PyObject
* obj0
= 0 ;
33008 PyObject
* obj1
= 0 ;
33009 PyObject
* obj2
= 0 ;
33010 PyObject
* obj3
= 0 ;
33011 char * kwnames
[] = {
33012 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33017 if (!SWIG_IsOK(res1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33020 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33023 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33025 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33026 if (!SWIG_IsOK(res3
)) {
33027 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33032 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33033 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33034 if (!SWIG_IsOK(res4
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33040 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33056 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33059 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33060 return SWIG_Py_Void();
33063 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33064 return SWIG_Python_InitShadowInstance(args
);
33067 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
= 0;
33072 wxSplitterRenderParams
*result
= 0 ;
33079 PyObject
* obj0
= 0 ;
33080 PyObject
* obj1
= 0 ;
33081 PyObject
* obj2
= 0 ;
33082 char * kwnames
[] = {
33083 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33088 if (!SWIG_IsOK(ecode1
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33091 arg1
= static_cast< int >(val1
);
33092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33093 if (!SWIG_IsOK(ecode2
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33096 arg2
= static_cast< int >(val2
);
33097 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33098 if (!SWIG_IsOK(ecode3
)) {
33099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33101 arg3
= static_cast< bool >(val3
);
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33104 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33105 wxPyEndAllowThreads(__tstate
);
33106 if (PyErr_Occurred()) SWIG_fail
;
33108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33115 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33116 PyObject
*resultobj
= 0;
33117 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33120 PyObject
*swig_obj
[1] ;
33122 if (!args
) SWIG_fail
;
33123 swig_obj
[0] = args
;
33124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33125 if (!SWIG_IsOK(res1
)) {
33126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33128 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= SWIG_Py_Void();
33143 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33144 PyObject
*resultobj
= 0;
33145 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33149 PyObject
*swig_obj
[1] ;
33151 if (!args
) SWIG_fail
;
33152 swig_obj
[0] = args
;
33153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33154 if (!SWIG_IsOK(res1
)) {
33155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33157 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33158 result
= (int)(int) ((arg1
)->widthSash
);
33159 resultobj
= SWIG_From_int(static_cast< int >(result
));
33166 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33167 PyObject
*resultobj
= 0;
33168 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33172 PyObject
*swig_obj
[1] ;
33174 if (!args
) SWIG_fail
;
33175 swig_obj
[0] = args
;
33176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33177 if (!SWIG_IsOK(res1
)) {
33178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33180 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33181 result
= (int)(int) ((arg1
)->border
);
33182 resultobj
= SWIG_From_int(static_cast< int >(result
));
33189 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33190 PyObject
*resultobj
= 0;
33191 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33195 PyObject
*swig_obj
[1] ;
33197 if (!args
) SWIG_fail
;
33198 swig_obj
[0] = args
;
33199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33200 if (!SWIG_IsOK(res1
)) {
33201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33203 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33204 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33205 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33212 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33215 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33216 return SWIG_Py_Void();
33219 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33220 return SWIG_Python_InitShadowInstance(args
);
33223 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33224 PyObject
*resultobj
= 0;
33225 wxHeaderButtonParams
*result
= 0 ;
33227 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33241 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33246 PyObject
*swig_obj
[1] ;
33248 if (!args
) SWIG_fail
;
33249 swig_obj
[0] = args
;
33250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33251 if (!SWIG_IsOK(res1
)) {
33252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33254 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= SWIG_Py_Void();
33269 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33270 PyObject
*resultobj
= 0;
33271 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33272 wxColour
*arg2
= (wxColour
*) 0 ;
33276 PyObject
*swig_obj
[2] ;
33278 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33280 if (!SWIG_IsOK(res1
)) {
33281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33283 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33286 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33288 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33290 resultobj
= SWIG_Py_Void();
33297 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33298 PyObject
*resultobj
= 0;
33299 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33300 wxColour
*result
= 0 ;
33303 PyObject
*swig_obj
[1] ;
33305 if (!args
) SWIG_fail
;
33306 swig_obj
[0] = args
;
33307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33308 if (!SWIG_IsOK(res1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33311 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33312 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33320 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33321 PyObject
*resultobj
= 0;
33322 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33323 wxColour
*arg2
= (wxColour
*) 0 ;
33327 PyObject
*swig_obj
[2] ;
33329 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33331 if (!SWIG_IsOK(res1
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33334 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33337 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33339 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33341 resultobj
= SWIG_Py_Void();
33348 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33349 PyObject
*resultobj
= 0;
33350 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33351 wxColour
*result
= 0 ;
33354 PyObject
*swig_obj
[1] ;
33356 if (!args
) SWIG_fail
;
33357 swig_obj
[0] = args
;
33358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33359 if (!SWIG_IsOK(res1
)) {
33360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33362 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33363 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33371 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33372 PyObject
*resultobj
= 0;
33373 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33374 wxString
*arg2
= (wxString
*) 0 ;
33377 bool temp2
= false ;
33378 PyObject
*swig_obj
[2] ;
33380 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33382 if (!SWIG_IsOK(res1
)) {
33383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33385 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33387 arg2
= wxString_in_helper(swig_obj
[1]);
33388 if (arg2
== NULL
) SWIG_fail
;
33391 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33393 resultobj
= SWIG_Py_Void();
33408 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33409 PyObject
*resultobj
= 0;
33410 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33411 wxString
*result
= 0 ;
33414 PyObject
*swig_obj
[1] ;
33416 if (!args
) SWIG_fail
;
33417 swig_obj
[0] = args
;
33418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33419 if (!SWIG_IsOK(res1
)) {
33420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33422 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33423 result
= (wxString
*)& ((arg1
)->m_labelText
);
33426 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33428 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33437 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33438 PyObject
*resultobj
= 0;
33439 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33440 wxFont
*arg2
= (wxFont
*) 0 ;
33445 PyObject
*swig_obj
[2] ;
33447 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33449 if (!SWIG_IsOK(res1
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33452 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33453 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33454 if (!SWIG_IsOK(res2
)) {
33455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33457 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33458 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33460 resultobj
= SWIG_Py_Void();
33467 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33468 PyObject
*resultobj
= 0;
33469 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33470 wxFont
*result
= 0 ;
33473 PyObject
*swig_obj
[1] ;
33475 if (!args
) SWIG_fail
;
33476 swig_obj
[0] = args
;
33477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33478 if (!SWIG_IsOK(res1
)) {
33479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33481 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33482 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33490 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33491 PyObject
*resultobj
= 0;
33492 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33493 wxColour
*arg2
= (wxColour
*) 0 ;
33497 PyObject
*swig_obj
[2] ;
33499 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33501 if (!SWIG_IsOK(res1
)) {
33502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33504 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33507 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33509 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33511 resultobj
= SWIG_Py_Void();
33518 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33519 PyObject
*resultobj
= 0;
33520 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33521 wxColour
*result
= 0 ;
33524 PyObject
*swig_obj
[1] ;
33526 if (!args
) SWIG_fail
;
33527 swig_obj
[0] = args
;
33528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33529 if (!SWIG_IsOK(res1
)) {
33530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33532 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33533 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33541 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33542 PyObject
*resultobj
= 0;
33543 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33544 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33549 PyObject
*swig_obj
[2] ;
33551 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33553 if (!SWIG_IsOK(res1
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33556 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33557 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33558 if (!SWIG_IsOK(res2
)) {
33559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33561 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33562 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33564 resultobj
= SWIG_Py_Void();
33571 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33572 PyObject
*resultobj
= 0;
33573 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33574 wxBitmap
*result
= 0 ;
33577 PyObject
*swig_obj
[1] ;
33579 if (!args
) SWIG_fail
;
33580 swig_obj
[0] = args
;
33581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33582 if (!SWIG_IsOK(res1
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33585 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33586 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33594 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33595 PyObject
*resultobj
= 0;
33596 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33602 PyObject
*swig_obj
[2] ;
33604 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33606 if (!SWIG_IsOK(res1
)) {
33607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33609 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33610 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33611 if (!SWIG_IsOK(ecode2
)) {
33612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33614 arg2
= static_cast< int >(val2
);
33615 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33617 resultobj
= SWIG_Py_Void();
33624 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33625 PyObject
*resultobj
= 0;
33626 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33630 PyObject
*swig_obj
[1] ;
33632 if (!args
) SWIG_fail
;
33633 swig_obj
[0] = args
;
33634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33635 if (!SWIG_IsOK(res1
)) {
33636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33638 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33639 result
= (int) ((arg1
)->m_labelAlignment
);
33640 resultobj
= SWIG_From_int(static_cast< int >(result
));
33647 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33650 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33651 return SWIG_Py_Void();
33654 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33655 return SWIG_Python_InitShadowInstance(args
);
33658 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33659 PyObject
*resultobj
= 0;
33662 wxRendererVersion
*result
= 0 ;
33667 PyObject
* obj0
= 0 ;
33668 PyObject
* obj1
= 0 ;
33669 char * kwnames
[] = {
33670 (char *) "version_",(char *) "age_", NULL
33673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33674 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33675 if (!SWIG_IsOK(ecode1
)) {
33676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33678 arg1
= static_cast< int >(val1
);
33679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33680 if (!SWIG_IsOK(ecode2
)) {
33681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33683 arg2
= static_cast< int >(val2
);
33685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33686 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33687 wxPyEndAllowThreads(__tstate
);
33688 if (PyErr_Occurred()) SWIG_fail
;
33690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33697 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33698 PyObject
*resultobj
= 0;
33699 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33702 PyObject
*swig_obj
[1] ;
33704 if (!args
) SWIG_fail
;
33705 swig_obj
[0] = args
;
33706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33707 if (!SWIG_IsOK(res1
)) {
33708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33710 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33718 resultobj
= SWIG_Py_Void();
33725 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33726 PyObject
*resultobj
= 0;
33727 wxRendererVersion
*arg1
= 0 ;
33731 PyObject
* obj0
= 0 ;
33732 char * kwnames
[] = {
33733 (char *) "ver", NULL
33736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33737 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33744 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33760 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33761 PyObject
*resultobj
= 0;
33762 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33766 PyObject
*swig_obj
[1] ;
33768 if (!args
) SWIG_fail
;
33769 swig_obj
[0] = args
;
33770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33771 if (!SWIG_IsOK(res1
)) {
33772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33774 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33775 result
= (int)(int) ((arg1
)->version
);
33776 resultobj
= SWIG_From_int(static_cast< int >(result
));
33783 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33784 PyObject
*resultobj
= 0;
33785 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33789 PyObject
*swig_obj
[1] ;
33791 if (!args
) SWIG_fail
;
33792 swig_obj
[0] = args
;
33793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33794 if (!SWIG_IsOK(res1
)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33797 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33798 result
= (int)(int) ((arg1
)->age
);
33799 resultobj
= SWIG_From_int(static_cast< int >(result
));
33806 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33809 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33810 return SWIG_Py_Void();
33813 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33814 return SWIG_Python_InitShadowInstance(args
);
33817 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33818 PyObject
*resultobj
= 0;
33819 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33820 wxWindow
*arg2
= (wxWindow
*) 0 ;
33823 int arg5
= (int) 0 ;
33824 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33825 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33839 PyObject
* obj0
= 0 ;
33840 PyObject
* obj1
= 0 ;
33841 PyObject
* obj2
= 0 ;
33842 PyObject
* obj3
= 0 ;
33843 PyObject
* obj4
= 0 ;
33844 PyObject
* obj5
= 0 ;
33845 PyObject
* obj6
= 0 ;
33846 char * kwnames
[] = {
33847 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33852 if (!SWIG_IsOK(res1
)) {
33853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33855 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33857 if (!SWIG_IsOK(res2
)) {
33858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33860 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33861 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33862 if (!SWIG_IsOK(res3
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33868 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33871 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33875 if (!SWIG_IsOK(ecode5
)) {
33876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33878 arg5
= static_cast< int >(val5
);
33881 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33882 if (!SWIG_IsOK(ecode6
)) {
33883 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33885 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33888 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33889 if (!SWIG_IsOK(res7
)) {
33890 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33892 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= SWIG_Py_Void();
33907 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
= 0;
33909 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33910 wxWindow
*arg2
= (wxWindow
*) 0 ;
33913 int arg5
= (int) 0 ;
33914 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33915 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33929 PyObject
* obj0
= 0 ;
33930 PyObject
* obj1
= 0 ;
33931 PyObject
* obj2
= 0 ;
33932 PyObject
* obj3
= 0 ;
33933 PyObject
* obj4
= 0 ;
33934 PyObject
* obj5
= 0 ;
33935 PyObject
* obj6
= 0 ;
33936 char * kwnames
[] = {
33937 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33942 if (!SWIG_IsOK(res1
)) {
33943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33945 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33947 if (!SWIG_IsOK(res2
)) {
33948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
33950 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33952 if (!SWIG_IsOK(res3
)) {
33953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33958 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33961 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33965 if (!SWIG_IsOK(ecode5
)) {
33966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
33968 arg5
= static_cast< int >(val5
);
33971 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33972 if (!SWIG_IsOK(ecode6
)) {
33973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33975 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33978 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33979 if (!SWIG_IsOK(res7
)) {
33980 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33982 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33986 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33987 wxPyEndAllowThreads(__tstate
);
33988 if (PyErr_Occurred()) SWIG_fail
;
33990 resultobj
= SWIG_Py_Void();
33997 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33998 PyObject
*resultobj
= 0;
33999 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34000 wxWindow
*arg2
= (wxWindow
*) 0 ;
34006 PyObject
* obj0
= 0 ;
34007 PyObject
* obj1
= 0 ;
34008 char * kwnames
[] = {
34009 (char *) "self",(char *) "win", NULL
34012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34014 if (!SWIG_IsOK(res1
)) {
34015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34017 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34019 if (!SWIG_IsOK(res2
)) {
34020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34026 wxPyEndAllowThreads(__tstate
);
34027 if (PyErr_Occurred()) SWIG_fail
;
34029 resultobj
= SWIG_From_int(static_cast< int >(result
));
34036 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34037 PyObject
*resultobj
= 0;
34038 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34039 wxWindow
*arg2
= (wxWindow
*) 0 ;
34042 int arg5
= (int) 0 ;
34052 PyObject
* obj0
= 0 ;
34053 PyObject
* obj1
= 0 ;
34054 PyObject
* obj2
= 0 ;
34055 PyObject
* obj3
= 0 ;
34056 PyObject
* obj4
= 0 ;
34057 char * kwnames
[] = {
34058 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34063 if (!SWIG_IsOK(res1
)) {
34064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34066 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34068 if (!SWIG_IsOK(res2
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34072 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34073 if (!SWIG_IsOK(res3
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34079 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34082 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34085 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34086 if (!SWIG_IsOK(ecode5
)) {
34087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34089 arg5
= static_cast< int >(val5
);
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34097 resultobj
= SWIG_Py_Void();
34104 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
= 0;
34106 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34107 wxWindow
*arg2
= (wxWindow
*) 0 ;
34110 int arg5
= (int) 0 ;
34120 PyObject
* obj0
= 0 ;
34121 PyObject
* obj1
= 0 ;
34122 PyObject
* obj2
= 0 ;
34123 PyObject
* obj3
= 0 ;
34124 PyObject
* obj4
= 0 ;
34125 char * kwnames
[] = {
34126 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34131 if (!SWIG_IsOK(res1
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34134 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34136 if (!SWIG_IsOK(res2
)) {
34137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34140 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34141 if (!SWIG_IsOK(res3
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34147 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34150 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34153 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34154 if (!SWIG_IsOK(ecode5
)) {
34155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34157 arg5
= static_cast< int >(val5
);
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34161 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= SWIG_Py_Void();
34172 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
= 0;
34174 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34175 wxWindow
*arg2
= (wxWindow
*) 0 ;
34179 wxOrientation arg6
;
34180 int arg7
= (int) 0 ;
34194 PyObject
* obj0
= 0 ;
34195 PyObject
* obj1
= 0 ;
34196 PyObject
* obj2
= 0 ;
34197 PyObject
* obj3
= 0 ;
34198 PyObject
* obj4
= 0 ;
34199 PyObject
* obj5
= 0 ;
34200 PyObject
* obj6
= 0 ;
34201 char * kwnames
[] = {
34202 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34207 if (!SWIG_IsOK(res1
)) {
34208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34210 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34212 if (!SWIG_IsOK(res2
)) {
34213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34216 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34217 if (!SWIG_IsOK(res3
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34223 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34226 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34229 if (!SWIG_IsOK(ecode5
)) {
34230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34232 arg5
= static_cast< int >(val5
);
34233 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34234 if (!SWIG_IsOK(ecode6
)) {
34235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34237 arg6
= static_cast< wxOrientation
>(val6
);
34239 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34240 if (!SWIG_IsOK(ecode7
)) {
34241 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34243 arg7
= static_cast< int >(val7
);
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 resultobj
= SWIG_Py_Void();
34258 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
= 0;
34260 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34261 wxWindow
*arg2
= (wxWindow
*) 0 ;
34264 int arg5
= (int) 0 ;
34274 PyObject
* obj0
= 0 ;
34275 PyObject
* obj1
= 0 ;
34276 PyObject
* obj2
= 0 ;
34277 PyObject
* obj3
= 0 ;
34278 PyObject
* obj4
= 0 ;
34279 char * kwnames
[] = {
34280 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34285 if (!SWIG_IsOK(res1
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34288 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34290 if (!SWIG_IsOK(res2
)) {
34291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34293 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34294 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34295 if (!SWIG_IsOK(res3
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34301 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34304 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34308 if (!SWIG_IsOK(ecode5
)) {
34309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34311 arg5
= static_cast< int >(val5
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= SWIG_Py_Void();
34326 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
= 0;
34328 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34329 wxWindow
*arg2
= (wxWindow
*) 0 ;
34332 int arg5
= (int) 0 ;
34342 PyObject
* obj0
= 0 ;
34343 PyObject
* obj1
= 0 ;
34344 PyObject
* obj2
= 0 ;
34345 PyObject
* obj3
= 0 ;
34346 PyObject
* obj4
= 0 ;
34347 char * kwnames
[] = {
34348 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34353 if (!SWIG_IsOK(res1
)) {
34354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34356 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34358 if (!SWIG_IsOK(res2
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34362 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34363 if (!SWIG_IsOK(res3
)) {
34364 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34369 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34372 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34376 if (!SWIG_IsOK(ecode5
)) {
34377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34379 arg5
= static_cast< int >(val5
);
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= SWIG_Py_Void();
34394 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34396 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34397 wxWindow
*arg2
= (wxWindow
*) 0 ;
34400 int arg5
= (int) 0 ;
34410 PyObject
* obj0
= 0 ;
34411 PyObject
* obj1
= 0 ;
34412 PyObject
* obj2
= 0 ;
34413 PyObject
* obj3
= 0 ;
34414 PyObject
* obj4
= 0 ;
34415 char * kwnames
[] = {
34416 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34421 if (!SWIG_IsOK(res1
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34424 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34426 if (!SWIG_IsOK(res2
)) {
34427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34429 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34430 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34431 if (!SWIG_IsOK(res3
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34437 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34440 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34443 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34444 if (!SWIG_IsOK(ecode5
)) {
34445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34447 arg5
= static_cast< int >(val5
);
34450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= SWIG_Py_Void();
34462 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34463 PyObject
*resultobj
= 0;
34464 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34465 wxWindow
*arg2
= (wxWindow
*) 0 ;
34468 int arg5
= (int) 0 ;
34478 PyObject
* obj0
= 0 ;
34479 PyObject
* obj1
= 0 ;
34480 PyObject
* obj2
= 0 ;
34481 PyObject
* obj3
= 0 ;
34482 PyObject
* obj4
= 0 ;
34483 char * kwnames
[] = {
34484 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34489 if (!SWIG_IsOK(res1
)) {
34490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34492 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34494 if (!SWIG_IsOK(res2
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34498 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34499 if (!SWIG_IsOK(res3
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34505 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34508 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34511 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34512 if (!SWIG_IsOK(ecode5
)) {
34513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34515 arg5
= static_cast< int >(val5
);
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34519 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34523 resultobj
= SWIG_Py_Void();
34530 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34531 PyObject
*resultobj
= 0;
34532 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34533 wxWindow
*arg2
= (wxWindow
*) 0 ;
34536 int arg5
= (int) 0 ;
34546 PyObject
* obj0
= 0 ;
34547 PyObject
* obj1
= 0 ;
34548 PyObject
* obj2
= 0 ;
34549 PyObject
* obj3
= 0 ;
34550 PyObject
* obj4
= 0 ;
34551 char * kwnames
[] = {
34552 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34557 if (!SWIG_IsOK(res1
)) {
34558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34560 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34562 if (!SWIG_IsOK(res2
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34567 if (!SWIG_IsOK(res3
)) {
34568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34573 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34576 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34580 if (!SWIG_IsOK(ecode5
)) {
34581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34583 arg5
= static_cast< int >(val5
);
34586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34587 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34588 wxPyEndAllowThreads(__tstate
);
34589 if (PyErr_Occurred()) SWIG_fail
;
34591 resultobj
= SWIG_Py_Void();
34598 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34599 PyObject
*resultobj
= 0;
34600 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34601 wxWindow
*arg2
= (wxWindow
*) 0 ;
34602 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34607 PyObject
* obj0
= 0 ;
34608 PyObject
* obj1
= 0 ;
34609 char * kwnames
[] = {
34610 (char *) "self",(char *) "win", NULL
34613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34615 if (!SWIG_IsOK(res1
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34618 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34620 if (!SWIG_IsOK(res2
)) {
34621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34630 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34637 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34638 PyObject
*resultobj
= 0;
34639 wxRendererNative
*result
= 0 ;
34641 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34643 if (!wxPyCheckForApp()) SWIG_fail
;
34644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34647 result
= (wxRendererNative
*) &_result_ref
;
34649 wxPyEndAllowThreads(__tstate
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34659 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34660 PyObject
*resultobj
= 0;
34661 wxRendererNative
*result
= 0 ;
34663 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34665 if (!wxPyCheckForApp()) SWIG_fail
;
34666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34669 result
= (wxRendererNative
*) &_result_ref
;
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34681 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34682 PyObject
*resultobj
= 0;
34683 wxRendererNative
*result
= 0 ;
34685 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34687 if (!wxPyCheckForApp()) SWIG_fail
;
34688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34691 result
= (wxRendererNative
*) &_result_ref
;
34693 wxPyEndAllowThreads(__tstate
);
34694 if (PyErr_Occurred()) SWIG_fail
;
34696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34703 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34704 PyObject
*resultobj
= 0;
34705 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34706 wxRendererNative
*result
= 0 ;
34709 PyObject
* obj0
= 0 ;
34710 char * kwnames
[] = {
34711 (char *) "renderer", NULL
34714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34716 if (!SWIG_IsOK(res1
)) {
34717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34719 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34721 if (!wxPyCheckForApp()) SWIG_fail
;
34722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34723 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34724 wxPyEndAllowThreads(__tstate
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34734 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34735 PyObject
*resultobj
= 0;
34736 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34737 SwigValueWrapper
<wxRendererVersion
> result
;
34740 PyObject
*swig_obj
[1] ;
34742 if (!args
) SWIG_fail
;
34743 swig_obj
[0] = args
;
34744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34745 if (!SWIG_IsOK(res1
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34748 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34751 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34755 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34762 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34765 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34766 return SWIG_Py_Void();
34769 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34770 PyObject
*resultobj
= 0;
34771 wxPseudoDC
*result
= 0 ;
34773 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 result
= (wxPseudoDC
*)new wxPseudoDC();
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34787 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34788 PyObject
*resultobj
= 0;
34789 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34792 PyObject
*swig_obj
[1] ;
34794 if (!args
) SWIG_fail
;
34795 swig_obj
[0] = args
;
34796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34797 if (!SWIG_IsOK(res1
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34800 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 (arg1
)->BeginDrawing();
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= SWIG_Py_Void();
34814 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34815 PyObject
*resultobj
= 0;
34816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34819 PyObject
*swig_obj
[1] ;
34821 if (!args
) SWIG_fail
;
34822 swig_obj
[0] = args
;
34823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34824 if (!SWIG_IsOK(res1
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34827 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 (arg1
)->EndDrawing();
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34834 resultobj
= SWIG_Py_Void();
34841 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34842 PyObject
*resultobj
= 0;
34843 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34846 PyObject
*swig_obj
[1] ;
34848 if (!args
) SWIG_fail
;
34849 swig_obj
[0] = args
;
34850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34854 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34862 resultobj
= SWIG_Py_Void();
34869 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34870 PyObject
*resultobj
= 0;
34871 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34874 PyObject
*swig_obj
[1] ;
34876 if (!args
) SWIG_fail
;
34877 swig_obj
[0] = args
;
34878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34879 if (!SWIG_IsOK(res1
)) {
34880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 (arg1
)->RemoveAll();
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= SWIG_Py_Void();
34896 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34897 PyObject
*resultobj
= 0;
34898 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34902 PyObject
*swig_obj
[1] ;
34904 if (!args
) SWIG_fail
;
34905 swig_obj
[0] = args
;
34906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34910 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 result
= (int)(arg1
)->GetLen();
34914 wxPyEndAllowThreads(__tstate
);
34915 if (PyErr_Occurred()) SWIG_fail
;
34917 resultobj
= SWIG_From_int(static_cast< int >(result
));
34924 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34925 PyObject
*resultobj
= 0;
34926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34932 PyObject
* obj0
= 0 ;
34933 PyObject
* obj1
= 0 ;
34934 char * kwnames
[] = {
34935 (char *) "self",(char *) "id", NULL
34938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34940 if (!SWIG_IsOK(res1
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34945 if (!SWIG_IsOK(ecode2
)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
34948 arg2
= static_cast< int >(val2
);
34950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34951 (arg1
)->SetId(arg2
);
34952 wxPyEndAllowThreads(__tstate
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34955 resultobj
= SWIG_Py_Void();
34962 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34963 PyObject
*resultobj
= 0;
34964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34970 PyObject
* obj0
= 0 ;
34971 PyObject
* obj1
= 0 ;
34972 char * kwnames
[] = {
34973 (char *) "self",(char *) "id", NULL
34976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34978 if (!SWIG_IsOK(res1
)) {
34979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34981 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34983 if (!SWIG_IsOK(ecode2
)) {
34984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
34986 arg2
= static_cast< int >(val2
);
34988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34989 (arg1
)->ClearId(arg2
);
34990 wxPyEndAllowThreads(__tstate
);
34991 if (PyErr_Occurred()) SWIG_fail
;
34993 resultobj
= SWIG_Py_Void();
35000 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35001 PyObject
*resultobj
= 0;
35002 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35008 PyObject
* obj0
= 0 ;
35009 PyObject
* obj1
= 0 ;
35010 char * kwnames
[] = {
35011 (char *) "self",(char *) "id", NULL
35014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35016 if (!SWIG_IsOK(res1
)) {
35017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35021 if (!SWIG_IsOK(ecode2
)) {
35022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35024 arg2
= static_cast< int >(val2
);
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 (arg1
)->RemoveId(arg2
);
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 resultobj
= SWIG_Py_Void();
35038 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35039 PyObject
*resultobj
= 0;
35040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj1
= 0 ;
35054 PyObject
* obj2
= 0 ;
35055 PyObject
* obj3
= 0 ;
35056 char * kwnames
[] = {
35057 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35062 if (!SWIG_IsOK(res1
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35067 if (!SWIG_IsOK(ecode2
)) {
35068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35070 arg2
= static_cast< int >(val2
);
35071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35072 if (!SWIG_IsOK(ecode3
)) {
35073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35075 arg3
= static_cast< int >(val3
);
35076 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35077 if (!SWIG_IsOK(ecode4
)) {
35078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35080 arg4
= static_cast< int >(val4
);
35082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35083 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 resultobj
= SWIG_Py_Void();
35094 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
= 0;
35096 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35098 bool arg3
= (bool) true ;
35105 PyObject
* obj0
= 0 ;
35106 PyObject
* obj1
= 0 ;
35107 PyObject
* obj2
= 0 ;
35108 char * kwnames
[] = {
35109 (char *) "self",(char *) "id",(char *) "greyout", NULL
35112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35114 if (!SWIG_IsOK(res1
)) {
35115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35117 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35119 if (!SWIG_IsOK(ecode2
)) {
35120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35122 arg2
= static_cast< int >(val2
);
35124 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35125 if (!SWIG_IsOK(ecode3
)) {
35126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35128 arg3
= static_cast< bool >(val3
);
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35136 resultobj
= SWIG_Py_Void();
35143 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
= 0;
35145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35152 PyObject
* obj0
= 0 ;
35153 PyObject
* obj1
= 0 ;
35154 char * kwnames
[] = {
35155 (char *) "self",(char *) "id", NULL
35158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35160 if (!SWIG_IsOK(res1
)) {
35161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35163 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35165 if (!SWIG_IsOK(ecode2
)) {
35166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35168 arg2
= static_cast< int >(val2
);
35170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35171 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35172 wxPyEndAllowThreads(__tstate
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35184 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35185 PyObject
*resultobj
= 0;
35186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35189 int arg4
= (int) 1 ;
35190 wxColor
const &arg5_defvalue
= *wxWHITE
;
35191 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35192 PyObject
*result
= 0 ;
35203 PyObject
* obj0
= 0 ;
35204 PyObject
* obj1
= 0 ;
35205 PyObject
* obj2
= 0 ;
35206 PyObject
* obj3
= 0 ;
35207 PyObject
* obj4
= 0 ;
35208 char * kwnames
[] = {
35209 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35214 if (!SWIG_IsOK(res1
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35219 if (!SWIG_IsOK(ecode2
)) {
35220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35222 arg2
= static_cast< int >(val2
);
35223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35224 if (!SWIG_IsOK(ecode3
)) {
35225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35227 arg3
= static_cast< int >(val3
);
35229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35230 if (!SWIG_IsOK(ecode4
)) {
35231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35233 arg4
= static_cast< int >(val4
);
35236 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35237 if (!SWIG_IsOK(res5
)) {
35238 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35243 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35246 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35249 resultobj
= result
;
35256 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35257 PyObject
*resultobj
= 0;
35258 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35261 PyObject
*result
= 0 ;
35268 PyObject
* obj0
= 0 ;
35269 PyObject
* obj1
= 0 ;
35270 PyObject
* obj2
= 0 ;
35271 char * kwnames
[] = {
35272 (char *) "self",(char *) "x",(char *) "y", NULL
35275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35282 if (!SWIG_IsOK(ecode2
)) {
35283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35285 arg2
= static_cast< int >(val2
);
35286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35287 if (!SWIG_IsOK(ecode3
)) {
35288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35290 arg3
= static_cast< int >(val3
);
35292 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35293 if (PyErr_Occurred()) SWIG_fail
;
35295 resultobj
= result
;
35302 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35303 PyObject
*resultobj
= 0;
35304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35306 wxDC
*arg3
= (wxDC
*) 0 ;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 PyObject
* obj2
= 0 ;
35316 char * kwnames
[] = {
35317 (char *) "self",(char *) "id",(char *) "dc", NULL
35320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35322 if (!SWIG_IsOK(res1
)) {
35323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35327 if (!SWIG_IsOK(ecode2
)) {
35328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35330 arg2
= static_cast< int >(val2
);
35331 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35332 if (!SWIG_IsOK(res3
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35335 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35338 (arg1
)->DrawIdToDC(arg2
,arg3
);
35339 wxPyEndAllowThreads(__tstate
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35342 resultobj
= SWIG_Py_Void();
35349 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35350 PyObject
*resultobj
= 0;
35351 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 PyObject
* obj2
= 0 ;
35362 char * kwnames
[] = {
35363 (char *) "self",(char *) "id",(char *) "rect", NULL
35366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35368 if (!SWIG_IsOK(res1
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35371 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35373 if (!SWIG_IsOK(ecode2
)) {
35374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35376 arg2
= static_cast< int >(val2
);
35379 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 (arg1
)->SetIdBounds(arg2
,*arg3
);
35384 wxPyEndAllowThreads(__tstate
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= SWIG_Py_Void();
35394 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
= 0;
35396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35403 PyObject
* obj0
= 0 ;
35404 PyObject
* obj1
= 0 ;
35405 char * kwnames
[] = {
35406 (char *) "self",(char *) "id", NULL
35409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35411 if (!SWIG_IsOK(res1
)) {
35412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35414 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35416 if (!SWIG_IsOK(ecode2
)) {
35417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35419 arg2
= static_cast< int >(val2
);
35421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35422 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35426 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35433 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35434 PyObject
*resultobj
= 0;
35435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35436 wxDC
*arg2
= (wxDC
*) 0 ;
35443 PyObject
* obj0
= 0 ;
35444 PyObject
* obj1
= 0 ;
35445 PyObject
* obj2
= 0 ;
35446 char * kwnames
[] = {
35447 (char *) "self",(char *) "dc",(char *) "rect", NULL
35450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35452 if (!SWIG_IsOK(res1
)) {
35453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35455 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35457 if (!SWIG_IsOK(res2
)) {
35458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35460 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35463 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35467 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= SWIG_Py_Void();
35478 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35479 PyObject
*resultobj
= 0;
35480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35481 wxDC
*arg2
= (wxDC
*) 0 ;
35482 wxRegion
*arg3
= 0 ;
35489 PyObject
* obj0
= 0 ;
35490 PyObject
* obj1
= 0 ;
35491 PyObject
* obj2
= 0 ;
35492 char * kwnames
[] = {
35493 (char *) "self",(char *) "dc",(char *) "region", NULL
35496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35498 if (!SWIG_IsOK(res1
)) {
35499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35503 if (!SWIG_IsOK(res2
)) {
35504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35506 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35507 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35508 if (!SWIG_IsOK(res3
)) {
35509 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35514 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35518 wxPyEndAllowThreads(__tstate
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35521 resultobj
= SWIG_Py_Void();
35528 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35529 PyObject
*resultobj
= 0;
35530 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35531 wxDC
*arg2
= (wxDC
*) 0 ;
35536 PyObject
* obj0
= 0 ;
35537 PyObject
* obj1
= 0 ;
35538 char * kwnames
[] = {
35539 (char *) "self",(char *) "dc", NULL
35542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35544 if (!SWIG_IsOK(res1
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35547 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35549 if (!SWIG_IsOK(res2
)) {
35550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35552 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 (arg1
)->DrawToDC(arg2
);
35556 wxPyEndAllowThreads(__tstate
);
35557 if (PyErr_Occurred()) SWIG_fail
;
35559 resultobj
= SWIG_Py_Void();
35566 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35567 PyObject
*resultobj
= 0;
35568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35571 wxColour
*arg4
= 0 ;
35572 int arg5
= (int) wxFLOOD_SURFACE
;
35582 PyObject
* obj0
= 0 ;
35583 PyObject
* obj1
= 0 ;
35584 PyObject
* obj2
= 0 ;
35585 PyObject
* obj3
= 0 ;
35586 PyObject
* obj4
= 0 ;
35587 char * kwnames
[] = {
35588 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35593 if (!SWIG_IsOK(res1
)) {
35594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35598 if (!SWIG_IsOK(ecode2
)) {
35599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35601 arg2
= static_cast< int >(val2
);
35602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35603 if (!SWIG_IsOK(ecode3
)) {
35604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35606 arg3
= static_cast< int >(val3
);
35609 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35612 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35613 if (!SWIG_IsOK(ecode5
)) {
35614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35616 arg5
= static_cast< int >(val5
);
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= SWIG_Py_Void();
35631 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
= 0;
35633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35634 wxPoint
*arg2
= 0 ;
35635 wxColour
*arg3
= 0 ;
35636 int arg4
= (int) wxFLOOD_SURFACE
;
35643 PyObject
* obj0
= 0 ;
35644 PyObject
* obj1
= 0 ;
35645 PyObject
* obj2
= 0 ;
35646 PyObject
* obj3
= 0 ;
35647 char * kwnames
[] = {
35648 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35653 if (!SWIG_IsOK(res1
)) {
35654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35663 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35667 if (!SWIG_IsOK(ecode4
)) {
35668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35670 arg4
= static_cast< int >(val4
);
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35675 wxPyEndAllowThreads(__tstate
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35678 resultobj
= SWIG_Py_Void();
35685 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35686 PyObject
*resultobj
= 0;
35687 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35702 PyObject
* obj0
= 0 ;
35703 PyObject
* obj1
= 0 ;
35704 PyObject
* obj2
= 0 ;
35705 PyObject
* obj3
= 0 ;
35706 PyObject
* obj4
= 0 ;
35707 char * kwnames
[] = {
35708 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35713 if (!SWIG_IsOK(res1
)) {
35714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35716 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35718 if (!SWIG_IsOK(ecode2
)) {
35719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35721 arg2
= static_cast< int >(val2
);
35722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35723 if (!SWIG_IsOK(ecode3
)) {
35724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35726 arg3
= static_cast< int >(val3
);
35727 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35728 if (!SWIG_IsOK(ecode4
)) {
35729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35731 arg4
= static_cast< int >(val4
);
35732 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35733 if (!SWIG_IsOK(ecode5
)) {
35734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35736 arg5
= static_cast< int >(val5
);
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_Py_Void();
35750 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
= 0;
35752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35753 wxPoint
*arg2
= 0 ;
35754 wxPoint
*arg3
= 0 ;
35759 PyObject
* obj0
= 0 ;
35760 PyObject
* obj1
= 0 ;
35761 PyObject
* obj2
= 0 ;
35762 char * kwnames
[] = {
35763 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35768 if (!SWIG_IsOK(res1
)) {
35769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35771 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35782 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 resultobj
= SWIG_Py_Void();
35793 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
= 0;
35795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35804 PyObject
* obj0
= 0 ;
35805 PyObject
* obj1
= 0 ;
35806 PyObject
* obj2
= 0 ;
35807 char * kwnames
[] = {
35808 (char *) "self",(char *) "x",(char *) "y", NULL
35811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35813 if (!SWIG_IsOK(res1
)) {
35814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35816 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35818 if (!SWIG_IsOK(ecode2
)) {
35819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35821 arg2
= static_cast< int >(val2
);
35822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35823 if (!SWIG_IsOK(ecode3
)) {
35824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35826 arg3
= static_cast< int >(val3
);
35828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35829 (arg1
)->CrossHair(arg2
,arg3
);
35830 wxPyEndAllowThreads(__tstate
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35833 resultobj
= SWIG_Py_Void();
35840 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35841 PyObject
*resultobj
= 0;
35842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35843 wxPoint
*arg2
= 0 ;
35847 PyObject
* obj0
= 0 ;
35848 PyObject
* obj1
= 0 ;
35849 char * kwnames
[] = {
35850 (char *) "self",(char *) "pt", NULL
35853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35855 if (!SWIG_IsOK(res1
)) {
35856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35858 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 resultobj
= SWIG_Py_Void();
35876 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
= 0;
35878 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35899 PyObject
* obj0
= 0 ;
35900 PyObject
* obj1
= 0 ;
35901 PyObject
* obj2
= 0 ;
35902 PyObject
* obj3
= 0 ;
35903 PyObject
* obj4
= 0 ;
35904 PyObject
* obj5
= 0 ;
35905 PyObject
* obj6
= 0 ;
35906 char * kwnames
[] = {
35907 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35912 if (!SWIG_IsOK(res1
)) {
35913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35915 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35917 if (!SWIG_IsOK(ecode2
)) {
35918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
35920 arg2
= static_cast< int >(val2
);
35921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35922 if (!SWIG_IsOK(ecode3
)) {
35923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
35925 arg3
= static_cast< int >(val3
);
35926 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35927 if (!SWIG_IsOK(ecode4
)) {
35928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
35930 arg4
= static_cast< int >(val4
);
35931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35932 if (!SWIG_IsOK(ecode5
)) {
35933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
35935 arg5
= static_cast< int >(val5
);
35936 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35937 if (!SWIG_IsOK(ecode6
)) {
35938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
35940 arg6
= static_cast< int >(val6
);
35941 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35942 if (!SWIG_IsOK(ecode7
)) {
35943 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
35945 arg7
= static_cast< int >(val7
);
35947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35948 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35949 wxPyEndAllowThreads(__tstate
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35952 resultobj
= SWIG_Py_Void();
35959 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35960 PyObject
*resultobj
= 0;
35961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35962 wxPoint
*arg2
= 0 ;
35963 wxPoint
*arg3
= 0 ;
35964 wxPoint
*arg4
= 0 ;
35970 PyObject
* obj0
= 0 ;
35971 PyObject
* obj1
= 0 ;
35972 PyObject
* obj2
= 0 ;
35973 PyObject
* obj3
= 0 ;
35974 char * kwnames
[] = {
35975 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
35978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35980 if (!SWIG_IsOK(res1
)) {
35981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35994 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_Py_Void();
36009 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
= 0;
36011 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36026 PyObject
* obj0
= 0 ;
36027 PyObject
* obj1
= 0 ;
36028 PyObject
* obj2
= 0 ;
36029 PyObject
* obj3
= 0 ;
36030 PyObject
* obj4
= 0 ;
36031 char * kwnames
[] = {
36032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36037 if (!SWIG_IsOK(res1
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36042 if (!SWIG_IsOK(ecode2
)) {
36043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36045 arg2
= static_cast< int >(val2
);
36046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36047 if (!SWIG_IsOK(ecode3
)) {
36048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36050 arg3
= static_cast< int >(val3
);
36051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36052 if (!SWIG_IsOK(ecode4
)) {
36053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36055 arg4
= static_cast< int >(val4
);
36056 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36057 if (!SWIG_IsOK(ecode5
)) {
36058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36060 arg5
= static_cast< int >(val5
);
36062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36067 resultobj
= SWIG_Py_Void();
36074 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
= 0;
36076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36081 PyObject
* obj0
= 0 ;
36082 PyObject
* obj1
= 0 ;
36083 char * kwnames
[] = {
36084 (char *) "self",(char *) "rect", NULL
36087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36089 if (!SWIG_IsOK(res1
)) {
36090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36095 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36099 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36100 wxPyEndAllowThreads(__tstate
);
36101 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= SWIG_Py_Void();
36110 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
= 0;
36112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36133 PyObject
* obj0
= 0 ;
36134 PyObject
* obj1
= 0 ;
36135 PyObject
* obj2
= 0 ;
36136 PyObject
* obj3
= 0 ;
36137 PyObject
* obj4
= 0 ;
36138 PyObject
* obj5
= 0 ;
36139 PyObject
* obj6
= 0 ;
36140 char * kwnames
[] = {
36141 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36146 if (!SWIG_IsOK(res1
)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36149 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36151 if (!SWIG_IsOK(ecode2
)) {
36152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36154 arg2
= static_cast< int >(val2
);
36155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36156 if (!SWIG_IsOK(ecode3
)) {
36157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36159 arg3
= static_cast< int >(val3
);
36160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36161 if (!SWIG_IsOK(ecode4
)) {
36162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36164 arg4
= static_cast< int >(val4
);
36165 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36166 if (!SWIG_IsOK(ecode5
)) {
36167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36169 arg5
= static_cast< int >(val5
);
36170 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36171 if (!SWIG_IsOK(ecode6
)) {
36172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36174 arg6
= static_cast< double >(val6
);
36175 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36176 if (!SWIG_IsOK(ecode7
)) {
36177 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36179 arg7
= static_cast< double >(val7
);
36181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 resultobj
= SWIG_Py_Void();
36193 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
= 0;
36195 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36196 wxPoint
*arg2
= 0 ;
36208 PyObject
* obj0
= 0 ;
36209 PyObject
* obj1
= 0 ;
36210 PyObject
* obj2
= 0 ;
36211 PyObject
* obj3
= 0 ;
36212 PyObject
* obj4
= 0 ;
36213 char * kwnames
[] = {
36214 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36219 if (!SWIG_IsOK(res1
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36222 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36229 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36231 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36232 if (!SWIG_IsOK(ecode4
)) {
36233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36235 arg4
= static_cast< double >(val4
);
36236 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36237 if (!SWIG_IsOK(ecode5
)) {
36238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36240 arg5
= static_cast< double >(val5
);
36242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36243 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36244 wxPyEndAllowThreads(__tstate
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36247 resultobj
= SWIG_Py_Void();
36254 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36255 PyObject
*resultobj
= 0;
36256 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36265 PyObject
* obj0
= 0 ;
36266 PyObject
* obj1
= 0 ;
36267 PyObject
* obj2
= 0 ;
36268 char * kwnames
[] = {
36269 (char *) "self",(char *) "x",(char *) "y", NULL
36272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36274 if (!SWIG_IsOK(res1
)) {
36275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36277 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36279 if (!SWIG_IsOK(ecode2
)) {
36280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36282 arg2
= static_cast< int >(val2
);
36283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36284 if (!SWIG_IsOK(ecode3
)) {
36285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36287 arg3
= static_cast< int >(val3
);
36289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36290 (arg1
)->DrawPoint(arg2
,arg3
);
36291 wxPyEndAllowThreads(__tstate
);
36292 if (PyErr_Occurred()) SWIG_fail
;
36294 resultobj
= SWIG_Py_Void();
36301 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36302 PyObject
*resultobj
= 0;
36303 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36304 wxPoint
*arg2
= 0 ;
36308 PyObject
* obj0
= 0 ;
36309 PyObject
* obj1
= 0 ;
36310 char * kwnames
[] = {
36311 (char *) "self",(char *) "pt", NULL
36314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36316 if (!SWIG_IsOK(res1
)) {
36317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36327 wxPyEndAllowThreads(__tstate
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36330 resultobj
= SWIG_Py_Void();
36337 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36338 PyObject
*resultobj
= 0;
36339 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36354 PyObject
* obj0
= 0 ;
36355 PyObject
* obj1
= 0 ;
36356 PyObject
* obj2
= 0 ;
36357 PyObject
* obj3
= 0 ;
36358 PyObject
* obj4
= 0 ;
36359 char * kwnames
[] = {
36360 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36365 if (!SWIG_IsOK(res1
)) {
36366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36368 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36370 if (!SWIG_IsOK(ecode2
)) {
36371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36373 arg2
= static_cast< int >(val2
);
36374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36375 if (!SWIG_IsOK(ecode3
)) {
36376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36378 arg3
= static_cast< int >(val3
);
36379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36380 if (!SWIG_IsOK(ecode4
)) {
36381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36383 arg4
= static_cast< int >(val4
);
36384 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36385 if (!SWIG_IsOK(ecode5
)) {
36386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36388 arg5
= static_cast< int >(val5
);
36390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36391 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36392 wxPyEndAllowThreads(__tstate
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= SWIG_Py_Void();
36402 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
= 0;
36404 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36409 PyObject
* obj0
= 0 ;
36410 PyObject
* obj1
= 0 ;
36411 char * kwnames
[] = {
36412 (char *) "self",(char *) "rect", NULL
36415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36417 if (!SWIG_IsOK(res1
)) {
36418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36423 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36427 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36428 wxPyEndAllowThreads(__tstate
);
36429 if (PyErr_Occurred()) SWIG_fail
;
36431 resultobj
= SWIG_Py_Void();
36438 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36439 PyObject
*resultobj
= 0;
36440 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36441 wxPoint
*arg2
= 0 ;
36447 PyObject
* obj0
= 0 ;
36448 PyObject
* obj1
= 0 ;
36449 PyObject
* obj2
= 0 ;
36450 char * kwnames
[] = {
36451 (char *) "self",(char *) "pt",(char *) "sz", NULL
36454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36456 if (!SWIG_IsOK(res1
)) {
36457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36459 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36466 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36471 wxPyEndAllowThreads(__tstate
);
36472 if (PyErr_Occurred()) SWIG_fail
;
36474 resultobj
= SWIG_Py_Void();
36481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36482 PyObject
*resultobj
= 0;
36483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36501 PyObject
* obj0
= 0 ;
36502 PyObject
* obj1
= 0 ;
36503 PyObject
* obj2
= 0 ;
36504 PyObject
* obj3
= 0 ;
36505 PyObject
* obj4
= 0 ;
36506 PyObject
* obj5
= 0 ;
36507 char * kwnames
[] = {
36508 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36513 if (!SWIG_IsOK(res1
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36516 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36518 if (!SWIG_IsOK(ecode2
)) {
36519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36521 arg2
= static_cast< int >(val2
);
36522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36523 if (!SWIG_IsOK(ecode3
)) {
36524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36526 arg3
= static_cast< int >(val3
);
36527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36528 if (!SWIG_IsOK(ecode4
)) {
36529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36531 arg4
= static_cast< int >(val4
);
36532 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36533 if (!SWIG_IsOK(ecode5
)) {
36534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36536 arg5
= static_cast< int >(val5
);
36537 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36538 if (!SWIG_IsOK(ecode6
)) {
36539 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36541 arg6
= static_cast< double >(val6
);
36543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36544 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_Py_Void();
36555 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
= 0;
36557 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36565 PyObject
* obj0
= 0 ;
36566 PyObject
* obj1
= 0 ;
36567 PyObject
* obj2
= 0 ;
36568 char * kwnames
[] = {
36569 (char *) "self",(char *) "r",(char *) "radius", NULL
36572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36574 if (!SWIG_IsOK(res1
)) {
36575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36577 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36580 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36582 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36583 if (!SWIG_IsOK(ecode3
)) {
36584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36586 arg3
= static_cast< double >(val3
);
36588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36589 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36590 wxPyEndAllowThreads(__tstate
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36593 resultobj
= SWIG_Py_Void();
36600 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36601 PyObject
*resultobj
= 0;
36602 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36603 wxPoint
*arg2
= 0 ;
36612 PyObject
* obj0
= 0 ;
36613 PyObject
* obj1
= 0 ;
36614 PyObject
* obj2
= 0 ;
36615 PyObject
* obj3
= 0 ;
36616 char * kwnames
[] = {
36617 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36622 if (!SWIG_IsOK(res1
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36625 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36632 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36634 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36635 if (!SWIG_IsOK(ecode4
)) {
36636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36638 arg4
= static_cast< double >(val4
);
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36642 wxPyEndAllowThreads(__tstate
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36645 resultobj
= SWIG_Py_Void();
36652 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36653 PyObject
*resultobj
= 0;
36654 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36666 PyObject
* obj0
= 0 ;
36667 PyObject
* obj1
= 0 ;
36668 PyObject
* obj2
= 0 ;
36669 PyObject
* obj3
= 0 ;
36670 char * kwnames
[] = {
36671 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36676 if (!SWIG_IsOK(res1
)) {
36677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36679 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36681 if (!SWIG_IsOK(ecode2
)) {
36682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36684 arg2
= static_cast< int >(val2
);
36685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36686 if (!SWIG_IsOK(ecode3
)) {
36687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36689 arg3
= static_cast< int >(val3
);
36690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36691 if (!SWIG_IsOK(ecode4
)) {
36692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36694 arg4
= static_cast< int >(val4
);
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36697 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 resultobj
= SWIG_Py_Void();
36708 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
= 0;
36710 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36711 wxPoint
*arg2
= 0 ;
36718 PyObject
* obj0
= 0 ;
36719 PyObject
* obj1
= 0 ;
36720 PyObject
* obj2
= 0 ;
36721 char * kwnames
[] = {
36722 (char *) "self",(char *) "pt",(char *) "radius", NULL
36725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36727 if (!SWIG_IsOK(res1
)) {
36728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36730 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36736 if (!SWIG_IsOK(ecode3
)) {
36737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36739 arg3
= static_cast< int >(val3
);
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36743 wxPyEndAllowThreads(__tstate
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36746 resultobj
= SWIG_Py_Void();
36753 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36754 PyObject
*resultobj
= 0;
36755 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36770 PyObject
* obj0
= 0 ;
36771 PyObject
* obj1
= 0 ;
36772 PyObject
* obj2
= 0 ;
36773 PyObject
* obj3
= 0 ;
36774 PyObject
* obj4
= 0 ;
36775 char * kwnames
[] = {
36776 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36781 if (!SWIG_IsOK(res1
)) {
36782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36784 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36786 if (!SWIG_IsOK(ecode2
)) {
36787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36789 arg2
= static_cast< int >(val2
);
36790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36791 if (!SWIG_IsOK(ecode3
)) {
36792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36794 arg3
= static_cast< int >(val3
);
36795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36796 if (!SWIG_IsOK(ecode4
)) {
36797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36799 arg4
= static_cast< int >(val4
);
36800 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36801 if (!SWIG_IsOK(ecode5
)) {
36802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36804 arg5
= static_cast< int >(val5
);
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 resultobj
= SWIG_Py_Void();
36818 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
= 0;
36820 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 char * kwnames
[] = {
36828 (char *) "self",(char *) "rect", NULL
36831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36833 if (!SWIG_IsOK(res1
)) {
36834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36836 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36839 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36843 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_Py_Void();
36854 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36855 PyObject
*resultobj
= 0;
36856 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36857 wxPoint
*arg2
= 0 ;
36863 PyObject
* obj0
= 0 ;
36864 PyObject
* obj1
= 0 ;
36865 PyObject
* obj2
= 0 ;
36866 char * kwnames
[] = {
36867 (char *) "self",(char *) "pt",(char *) "sz", NULL
36870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36872 if (!SWIG_IsOK(res1
)) {
36873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36875 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36882 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36886 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36887 wxPyEndAllowThreads(__tstate
);
36888 if (PyErr_Occurred()) SWIG_fail
;
36890 resultobj
= SWIG_Py_Void();
36897 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36898 PyObject
*resultobj
= 0;
36899 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36911 PyObject
* obj0
= 0 ;
36912 PyObject
* obj1
= 0 ;
36913 PyObject
* obj2
= 0 ;
36914 PyObject
* obj3
= 0 ;
36915 char * kwnames
[] = {
36916 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
36919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36921 if (!SWIG_IsOK(res1
)) {
36922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36924 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36926 if (!SWIG_IsOK(res2
)) {
36927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36932 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36934 if (!SWIG_IsOK(ecode3
)) {
36935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
36937 arg3
= static_cast< int >(val3
);
36938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36939 if (!SWIG_IsOK(ecode4
)) {
36940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
36942 arg4
= static_cast< int >(val4
);
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 resultobj
= SWIG_Py_Void();
36956 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36957 PyObject
*resultobj
= 0;
36958 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36960 wxPoint
*arg3
= 0 ;
36966 PyObject
* obj0
= 0 ;
36967 PyObject
* obj1
= 0 ;
36968 PyObject
* obj2
= 0 ;
36969 char * kwnames
[] = {
36970 (char *) "self",(char *) "icon",(char *) "pt", NULL
36973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36975 if (!SWIG_IsOK(res1
)) {
36976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36978 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36980 if (!SWIG_IsOK(res2
)) {
36981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36986 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36989 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
36994 wxPyEndAllowThreads(__tstate
);
36995 if (PyErr_Occurred()) SWIG_fail
;
36997 resultobj
= SWIG_Py_Void();
37004 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37005 PyObject
*resultobj
= 0;
37006 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37007 wxBitmap
*arg2
= 0 ;
37010 bool arg5
= (bool) false ;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37023 PyObject
* obj2
= 0 ;
37024 PyObject
* obj3
= 0 ;
37025 PyObject
* obj4
= 0 ;
37026 char * kwnames
[] = {
37027 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37032 if (!SWIG_IsOK(res1
)) {
37033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37037 if (!SWIG_IsOK(res2
)) {
37038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37043 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37045 if (!SWIG_IsOK(ecode3
)) {
37046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37048 arg3
= static_cast< int >(val3
);
37049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37050 if (!SWIG_IsOK(ecode4
)) {
37051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37053 arg4
= static_cast< int >(val4
);
37055 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37056 if (!SWIG_IsOK(ecode5
)) {
37057 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37059 arg5
= static_cast< bool >(val5
);
37062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37063 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37064 wxPyEndAllowThreads(__tstate
);
37065 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= SWIG_Py_Void();
37074 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37075 PyObject
*resultobj
= 0;
37076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37077 wxBitmap
*arg2
= 0 ;
37078 wxPoint
*arg3
= 0 ;
37079 bool arg4
= (bool) false ;
37087 PyObject
* obj0
= 0 ;
37088 PyObject
* obj1
= 0 ;
37089 PyObject
* obj2
= 0 ;
37090 PyObject
* obj3
= 0 ;
37091 char * kwnames
[] = {
37092 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37097 if (!SWIG_IsOK(res1
)) {
37098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37102 if (!SWIG_IsOK(res2
)) {
37103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37108 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37114 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37115 if (!SWIG_IsOK(ecode4
)) {
37116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37118 arg4
= static_cast< bool >(val4
);
37121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37122 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37123 wxPyEndAllowThreads(__tstate
);
37124 if (PyErr_Occurred()) SWIG_fail
;
37126 resultobj
= SWIG_Py_Void();
37133 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37134 PyObject
*resultobj
= 0;
37135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37136 wxString
*arg2
= 0 ;
37141 bool temp2
= false ;
37146 PyObject
* obj0
= 0 ;
37147 PyObject
* obj1
= 0 ;
37148 PyObject
* obj2
= 0 ;
37149 PyObject
* obj3
= 0 ;
37150 char * kwnames
[] = {
37151 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37156 if (!SWIG_IsOK(res1
)) {
37157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37161 arg2
= wxString_in_helper(obj1
);
37162 if (arg2
== NULL
) SWIG_fail
;
37165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37166 if (!SWIG_IsOK(ecode3
)) {
37167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37169 arg3
= static_cast< int >(val3
);
37170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37171 if (!SWIG_IsOK(ecode4
)) {
37172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37174 arg4
= static_cast< int >(val4
);
37176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37177 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37178 wxPyEndAllowThreads(__tstate
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37181 resultobj
= SWIG_Py_Void();
37196 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37197 PyObject
*resultobj
= 0;
37198 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37199 wxString
*arg2
= 0 ;
37200 wxPoint
*arg3
= 0 ;
37203 bool temp2
= false ;
37205 PyObject
* obj0
= 0 ;
37206 PyObject
* obj1
= 0 ;
37207 PyObject
* obj2
= 0 ;
37208 char * kwnames
[] = {
37209 (char *) "self",(char *) "text",(char *) "pt", NULL
37212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37214 if (!SWIG_IsOK(res1
)) {
37215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37219 arg2
= wxString_in_helper(obj1
);
37220 if (arg2
== NULL
) SWIG_fail
;
37225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37229 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37233 resultobj
= SWIG_Py_Void();
37248 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
= 0;
37250 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37251 wxString
*arg2
= 0 ;
37257 bool temp2
= false ;
37264 PyObject
* obj0
= 0 ;
37265 PyObject
* obj1
= 0 ;
37266 PyObject
* obj2
= 0 ;
37267 PyObject
* obj3
= 0 ;
37268 PyObject
* obj4
= 0 ;
37269 char * kwnames
[] = {
37270 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37275 if (!SWIG_IsOK(res1
)) {
37276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37278 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37280 arg2
= wxString_in_helper(obj1
);
37281 if (arg2
== NULL
) SWIG_fail
;
37284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37285 if (!SWIG_IsOK(ecode3
)) {
37286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37288 arg3
= static_cast< int >(val3
);
37289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37290 if (!SWIG_IsOK(ecode4
)) {
37291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37293 arg4
= static_cast< int >(val4
);
37294 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37295 if (!SWIG_IsOK(ecode5
)) {
37296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37298 arg5
= static_cast< double >(val5
);
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37302 wxPyEndAllowThreads(__tstate
);
37303 if (PyErr_Occurred()) SWIG_fail
;
37305 resultobj
= SWIG_Py_Void();
37320 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
= 0;
37322 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37323 wxString
*arg2
= 0 ;
37324 wxPoint
*arg3
= 0 ;
37328 bool temp2
= false ;
37332 PyObject
* obj0
= 0 ;
37333 PyObject
* obj1
= 0 ;
37334 PyObject
* obj2
= 0 ;
37335 PyObject
* obj3
= 0 ;
37336 char * kwnames
[] = {
37337 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37342 if (!SWIG_IsOK(res1
)) {
37343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37347 arg2
= wxString_in_helper(obj1
);
37348 if (arg2
== NULL
) SWIG_fail
;
37353 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37355 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37356 if (!SWIG_IsOK(ecode4
)) {
37357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37359 arg4
= static_cast< double >(val4
);
37361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37362 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= SWIG_Py_Void();
37381 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37382 PyObject
*resultobj
= 0;
37383 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37385 wxPoint
*arg3
= (wxPoint
*) 0 ;
37386 int arg4
= (int) 0 ;
37387 int arg5
= (int) 0 ;
37394 PyObject
* obj0
= 0 ;
37395 PyObject
* obj1
= 0 ;
37396 PyObject
* obj2
= 0 ;
37397 PyObject
* obj3
= 0 ;
37398 char * kwnames
[] = {
37399 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37404 if (!SWIG_IsOK(res1
)) {
37405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37407 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37409 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37410 if (arg3
== NULL
) SWIG_fail
;
37413 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37414 if (!SWIG_IsOK(ecode4
)) {
37415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37417 arg4
= static_cast< int >(val4
);
37420 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37421 if (!SWIG_IsOK(ecode5
)) {
37422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37424 arg5
= static_cast< int >(val5
);
37427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37428 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37429 wxPyEndAllowThreads(__tstate
);
37430 if (PyErr_Occurred()) SWIG_fail
;
37432 resultobj
= SWIG_Py_Void();
37434 if (arg3
) delete [] arg3
;
37439 if (arg3
) delete [] arg3
;
37445 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37446 PyObject
*resultobj
= 0;
37447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37449 wxPoint
*arg3
= (wxPoint
*) 0 ;
37450 int arg4
= (int) 0 ;
37451 int arg5
= (int) 0 ;
37452 int arg6
= (int) wxODDEVEN_RULE
;
37461 PyObject
* obj0
= 0 ;
37462 PyObject
* obj1
= 0 ;
37463 PyObject
* obj2
= 0 ;
37464 PyObject
* obj3
= 0 ;
37465 PyObject
* obj4
= 0 ;
37466 char * kwnames
[] = {
37467 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37472 if (!SWIG_IsOK(res1
)) {
37473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37475 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37477 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37478 if (arg3
== NULL
) SWIG_fail
;
37481 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37482 if (!SWIG_IsOK(ecode4
)) {
37483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37485 arg4
= static_cast< int >(val4
);
37488 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37489 if (!SWIG_IsOK(ecode5
)) {
37490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37492 arg5
= static_cast< int >(val5
);
37495 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37496 if (!SWIG_IsOK(ecode6
)) {
37497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37499 arg6
= static_cast< int >(val6
);
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= SWIG_Py_Void();
37509 if (arg3
) delete [] arg3
;
37514 if (arg3
) delete [] arg3
;
37520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37521 PyObject
*resultobj
= 0;
37522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37523 wxString
*arg2
= 0 ;
37525 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37526 int arg5
= (int) -1 ;
37529 bool temp2
= false ;
37535 PyObject
* obj0
= 0 ;
37536 PyObject
* obj1
= 0 ;
37537 PyObject
* obj2
= 0 ;
37538 PyObject
* obj3
= 0 ;
37539 PyObject
* obj4
= 0 ;
37540 char * kwnames
[] = {
37541 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37546 if (!SWIG_IsOK(res1
)) {
37547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37551 arg2
= wxString_in_helper(obj1
);
37552 if (arg2
== NULL
) SWIG_fail
;
37557 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37561 if (!SWIG_IsOK(ecode4
)) {
37562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37564 arg4
= static_cast< int >(val4
);
37567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37568 if (!SWIG_IsOK(ecode5
)) {
37569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37571 arg5
= static_cast< int >(val5
);
37574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37575 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37576 wxPyEndAllowThreads(__tstate
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37579 resultobj
= SWIG_Py_Void();
37594 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37595 PyObject
*resultobj
= 0;
37596 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37597 wxString
*arg2
= 0 ;
37598 wxBitmap
*arg3
= 0 ;
37600 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37601 int arg6
= (int) -1 ;
37604 bool temp2
= false ;
37612 PyObject
* obj0
= 0 ;
37613 PyObject
* obj1
= 0 ;
37614 PyObject
* obj2
= 0 ;
37615 PyObject
* obj3
= 0 ;
37616 PyObject
* obj4
= 0 ;
37617 PyObject
* obj5
= 0 ;
37618 char * kwnames
[] = {
37619 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37624 if (!SWIG_IsOK(res1
)) {
37625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37627 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37629 arg2
= wxString_in_helper(obj1
);
37630 if (arg2
== NULL
) SWIG_fail
;
37633 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37634 if (!SWIG_IsOK(res3
)) {
37635 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37640 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37643 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37646 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37647 if (!SWIG_IsOK(ecode5
)) {
37648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37650 arg5
= static_cast< int >(val5
);
37653 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37654 if (!SWIG_IsOK(ecode6
)) {
37655 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37657 arg6
= static_cast< int >(val6
);
37660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37661 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37662 wxPyEndAllowThreads(__tstate
);
37663 if (PyErr_Occurred()) SWIG_fail
;
37665 resultobj
= SWIG_Py_Void();
37680 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37681 PyObject
*resultobj
= 0;
37682 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37684 wxPoint
*arg3
= (wxPoint
*) 0 ;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 char * kwnames
[] = {
37690 (char *) "self",(char *) "points", NULL
37693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37695 if (!SWIG_IsOK(res1
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37700 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37701 if (arg3
== NULL
) SWIG_fail
;
37704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37705 (arg1
)->DrawSpline(arg2
,arg3
);
37706 wxPyEndAllowThreads(__tstate
);
37707 if (PyErr_Occurred()) SWIG_fail
;
37709 resultobj
= SWIG_Py_Void();
37711 if (arg3
) delete [] arg3
;
37716 if (arg3
) delete [] arg3
;
37722 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37723 PyObject
*resultobj
= 0;
37724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37727 PyObject
*swig_obj
[1] ;
37729 if (!args
) SWIG_fail
;
37730 swig_obj
[0] = args
;
37731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37732 if (!SWIG_IsOK(res1
)) {
37733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37735 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37739 wxPyEndAllowThreads(__tstate
);
37740 if (PyErr_Occurred()) SWIG_fail
;
37742 resultobj
= SWIG_Py_Void();
37749 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37750 PyObject
*resultobj
= 0;
37751 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37757 PyObject
* obj0
= 0 ;
37758 PyObject
* obj1
= 0 ;
37759 char * kwnames
[] = {
37760 (char *) "self",(char *) "font", NULL
37763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37765 if (!SWIG_IsOK(res1
)) {
37766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37770 if (!SWIG_IsOK(res2
)) {
37771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37776 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37779 (arg1
)->SetFont((wxFont
const &)*arg2
);
37780 wxPyEndAllowThreads(__tstate
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37783 resultobj
= SWIG_Py_Void();
37790 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37791 PyObject
*resultobj
= 0;
37792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37798 PyObject
* obj0
= 0 ;
37799 PyObject
* obj1
= 0 ;
37800 char * kwnames
[] = {
37801 (char *) "self",(char *) "pen", NULL
37804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37806 if (!SWIG_IsOK(res1
)) {
37807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37811 if (!SWIG_IsOK(res2
)) {
37812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37817 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37820 (arg1
)->SetPen((wxPen
const &)*arg2
);
37821 wxPyEndAllowThreads(__tstate
);
37822 if (PyErr_Occurred()) SWIG_fail
;
37824 resultobj
= SWIG_Py_Void();
37831 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37832 PyObject
*resultobj
= 0;
37833 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37834 wxBrush
*arg2
= 0 ;
37839 PyObject
* obj0
= 0 ;
37840 PyObject
* obj1
= 0 ;
37841 char * kwnames
[] = {
37842 (char *) "self",(char *) "brush", NULL
37845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37850 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37852 if (!SWIG_IsOK(res2
)) {
37853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37858 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37865 resultobj
= SWIG_Py_Void();
37872 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37873 PyObject
*resultobj
= 0;
37874 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37875 wxBrush
*arg2
= 0 ;
37880 PyObject
* obj0
= 0 ;
37881 PyObject
* obj1
= 0 ;
37882 char * kwnames
[] = {
37883 (char *) "self",(char *) "brush", NULL
37886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37888 if (!SWIG_IsOK(res1
)) {
37889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37893 if (!SWIG_IsOK(res2
)) {
37894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37899 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37902 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37903 wxPyEndAllowThreads(__tstate
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37906 resultobj
= SWIG_Py_Void();
37913 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
= 0;
37915 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37921 PyObject
* obj0
= 0 ;
37922 PyObject
* obj1
= 0 ;
37923 char * kwnames
[] = {
37924 (char *) "self",(char *) "mode", NULL
37927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37929 if (!SWIG_IsOK(res1
)) {
37930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37932 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37934 if (!SWIG_IsOK(ecode2
)) {
37935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
37937 arg2
= static_cast< int >(val2
);
37939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37940 (arg1
)->SetBackgroundMode(arg2
);
37941 wxPyEndAllowThreads(__tstate
);
37942 if (PyErr_Occurred()) SWIG_fail
;
37944 resultobj
= SWIG_Py_Void();
37951 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37952 PyObject
*resultobj
= 0;
37953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37954 wxPalette
*arg2
= 0 ;
37959 PyObject
* obj0
= 0 ;
37960 PyObject
* obj1
= 0 ;
37961 char * kwnames
[] = {
37962 (char *) "self",(char *) "palette", NULL
37965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37967 if (!SWIG_IsOK(res1
)) {
37968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37970 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
37972 if (!SWIG_IsOK(res2
)) {
37973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37978 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
37980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37981 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
37982 wxPyEndAllowThreads(__tstate
);
37983 if (PyErr_Occurred()) SWIG_fail
;
37985 resultobj
= SWIG_Py_Void();
37992 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37993 PyObject
*resultobj
= 0;
37994 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37995 wxColour
*arg2
= 0 ;
37999 PyObject
* obj0
= 0 ;
38000 PyObject
* obj1
= 0 ;
38001 char * kwnames
[] = {
38002 (char *) "self",(char *) "colour", NULL
38005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38007 if (!SWIG_IsOK(res1
)) {
38008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38013 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38017 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38018 wxPyEndAllowThreads(__tstate
);
38019 if (PyErr_Occurred()) SWIG_fail
;
38021 resultobj
= SWIG_Py_Void();
38028 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38029 PyObject
*resultobj
= 0;
38030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38031 wxColour
*arg2
= 0 ;
38035 PyObject
* obj0
= 0 ;
38036 PyObject
* obj1
= 0 ;
38037 char * kwnames
[] = {
38038 (char *) "self",(char *) "colour", NULL
38041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38043 if (!SWIG_IsOK(res1
)) {
38044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38046 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38049 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38053 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= SWIG_Py_Void();
38064 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38065 PyObject
*resultobj
= 0;
38066 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38072 PyObject
* obj0
= 0 ;
38073 PyObject
* obj1
= 0 ;
38074 char * kwnames
[] = {
38075 (char *) "self",(char *) "function", NULL
38078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38080 if (!SWIG_IsOK(res1
)) {
38081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38085 if (!SWIG_IsOK(ecode2
)) {
38086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38088 arg2
= static_cast< int >(val2
);
38090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38091 (arg1
)->SetLogicalFunction(arg2
);
38092 wxPyEndAllowThreads(__tstate
);
38093 if (PyErr_Occurred()) SWIG_fail
;
38095 resultobj
= SWIG_Py_Void();
38102 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38106 return SWIG_Py_Void();
38109 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38110 return SWIG_Python_InitShadowInstance(args
);
38113 static PyMethodDef SwigMethods
[] = {
38114 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38115 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38116 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38117 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38118 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38119 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38120 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38121 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38122 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38123 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38124 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38125 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38126 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38127 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38128 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38129 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38131 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38133 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38134 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38135 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38136 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38137 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38138 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38139 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38140 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38141 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38142 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38143 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38144 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38145 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38146 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38147 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38148 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38149 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38150 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38151 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38152 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38153 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38154 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38155 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38156 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38157 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38158 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38159 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38160 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38161 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38162 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38163 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38164 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38165 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38166 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38167 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38168 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38169 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38170 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38171 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38172 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38173 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38174 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38175 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38176 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38177 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38178 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38179 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38180 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38181 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38182 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38183 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38184 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38185 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38186 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38187 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38188 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38189 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38190 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38191 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38192 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38193 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38194 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38195 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38196 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38197 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38198 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38199 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38200 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38201 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38202 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38203 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38204 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38206 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38207 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38208 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38209 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38210 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38211 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38212 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38213 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38214 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38215 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38216 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38217 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38218 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38219 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38220 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38221 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38222 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38223 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38224 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38225 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38226 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38227 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38228 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38229 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38230 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38231 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38232 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38233 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38234 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38235 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38236 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38237 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38238 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38239 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38240 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38241 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38242 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38243 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38244 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38245 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38246 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38247 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38248 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38249 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38250 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38252 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38253 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38255 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38256 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38257 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38258 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38259 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38260 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38261 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38262 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38263 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38264 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38265 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38266 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38267 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38268 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38269 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38270 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38271 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38272 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38273 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38274 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38275 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38276 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38277 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38278 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38279 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38280 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38281 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38282 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38283 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38284 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38285 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38286 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38287 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38288 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38289 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38290 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38291 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38292 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38294 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38295 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38299 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38300 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38301 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38302 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38303 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38305 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38306 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38307 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38308 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38309 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38310 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38311 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38312 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38313 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38314 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38315 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38316 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38317 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38318 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38319 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38320 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38321 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38322 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38323 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38324 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38326 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38327 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38328 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38329 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38330 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38331 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38332 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38333 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38334 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38335 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38336 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38337 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38338 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38340 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38341 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38342 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38343 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38344 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38345 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38346 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38347 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38348 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38349 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38350 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38351 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38352 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38353 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38354 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38355 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38356 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38357 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38358 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38359 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38360 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38361 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38362 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38363 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38364 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38365 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38373 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38374 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38375 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38376 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38377 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38378 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38379 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38380 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38381 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38382 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38383 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38384 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38385 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38386 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38387 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38388 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38390 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38391 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38392 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38393 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38394 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38395 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38396 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38397 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38400 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38401 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38402 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38403 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38404 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38405 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38406 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38407 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38408 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38410 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38416 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38417 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38418 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38419 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38420 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38421 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38422 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38423 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38424 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38425 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38426 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38427 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38428 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38429 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38430 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38431 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38432 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38433 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38434 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38435 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38436 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38437 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38438 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38443 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38444 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38445 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38447 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38448 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38450 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38451 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38452 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38453 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38457 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38458 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38460 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38461 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38462 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38463 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38464 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38465 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38466 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38467 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38468 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38470 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38473 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38474 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38475 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38476 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38477 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38478 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38479 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38480 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38490 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38491 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38492 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38494 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38498 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38499 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38500 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38501 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38502 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38503 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38509 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38510 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38511 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38561 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38563 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38564 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38565 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38572 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38573 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38574 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38575 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38576 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38581 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38582 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38583 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38584 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38593 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38594 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38595 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38596 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38597 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38598 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38599 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38600 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38601 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38602 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38603 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38604 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38605 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38607 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38609 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38611 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38613 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38614 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38617 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38618 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38622 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38624 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38627 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38628 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38629 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38630 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38631 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38632 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38633 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38641 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38643 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38644 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38645 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38647 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38648 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38649 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38651 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38652 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38653 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38654 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38655 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38656 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38657 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38658 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38661 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38662 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38663 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38665 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38666 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38668 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38669 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38671 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38672 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38677 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38678 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38679 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38680 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38681 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38683 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38684 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38685 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38687 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38688 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38690 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38691 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38694 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38695 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38697 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38700 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38701 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38702 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38704 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38705 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38707 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38708 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38710 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38711 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38713 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38714 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38715 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38716 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38717 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38718 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38719 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38720 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38721 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38722 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38723 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38724 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38725 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38726 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38727 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38728 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38729 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38730 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38731 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38734 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38736 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38742 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38743 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38744 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38745 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38746 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38747 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38748 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38749 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38751 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38752 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38753 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38760 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38763 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38764 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38765 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38766 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38767 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38768 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38771 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38778 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38779 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38782 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38783 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38789 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38790 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38791 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38792 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38810 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38811 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38812 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38813 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38814 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38817 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38824 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38826 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38827 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38829 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38830 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38831 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38832 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38833 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38834 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38835 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38836 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38837 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38838 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38839 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38840 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38842 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38850 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38852 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38854 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38855 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38856 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38857 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38858 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38859 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38865 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38866 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38867 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38868 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38869 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38870 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38874 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38878 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38882 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38883 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38884 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38889 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38890 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38891 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38892 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38893 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38894 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38895 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38896 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38897 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38898 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38899 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38900 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38909 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38910 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38912 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38913 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
38914 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
38915 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
38916 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
38917 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
38918 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
38919 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
38920 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
38921 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
38922 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
38923 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
38924 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
38925 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
38926 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
38927 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
38928 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
38929 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
38930 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
38931 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
38932 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
38933 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
38934 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
38935 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
38937 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
38939 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
38940 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
38941 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
38942 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
38955 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
38956 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
38957 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
38959 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
38960 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
38961 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
38962 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
38963 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
38964 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
38965 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
38966 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39019 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39029 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39030 { NULL
, NULL
, 0, NULL
}
39034 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39036 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39037 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39039 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39040 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39042 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39043 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39045 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39046 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39048 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39049 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39051 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39052 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39054 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39055 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39057 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39058 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39060 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39061 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39063 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39064 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39066 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39067 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39069 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39070 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39072 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39073 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39075 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39076 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39078 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39079 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39081 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39082 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39084 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39085 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39087 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39088 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39090 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39091 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39093 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39094 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39096 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39097 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39099 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39100 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39102 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39103 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39105 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39106 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39108 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39109 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39111 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39112 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39114 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39115 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39117 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39118 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39120 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39121 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39123 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39124 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39126 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39127 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39129 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39130 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39132 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39133 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39135 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39136 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39138 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39139 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39141 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39142 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39144 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39145 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39147 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39148 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39150 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39151 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39153 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39154 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39156 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39157 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39159 static void *_p_wxPenTo_p_wxObject(void *x
) {
39160 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39162 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39163 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39165 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39166 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39168 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39169 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39171 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39172 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39174 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39175 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39177 static void *_p_wxIconTo_p_wxObject(void *x
) {
39178 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39180 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39181 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39183 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39184 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39186 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39187 return (void *)((wxObject
*) ((wxSizer
*) x
));
39189 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39190 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39192 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39193 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39195 static void *_p_wxEventTo_p_wxObject(void *x
) {
39196 return (void *)((wxObject
*) ((wxEvent
*) x
));
39198 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39199 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39201 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39202 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39204 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39205 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39207 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39208 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39210 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39213 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39214 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39216 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39217 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39219 static void *_p_wxDCTo_p_wxObject(void *x
) {
39220 return (void *)((wxObject
*) ((wxDC
*) x
));
39222 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39223 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39225 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39226 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39228 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39229 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39231 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39232 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39234 static void *_p_wxControlTo_p_wxObject(void *x
) {
39235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39237 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39238 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39240 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39241 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39243 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39244 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39246 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39247 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39249 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39250 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39252 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39253 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39255 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39256 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39258 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39259 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39261 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39262 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39264 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39265 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39267 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39268 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39270 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39271 return (void *)((wxObject
*) ((wxEffects
*) x
));
39273 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39274 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39276 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39279 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39280 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39282 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39283 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39285 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39286 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39288 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39289 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39291 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39294 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39295 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39297 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39300 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39301 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39303 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39304 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39306 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39307 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39309 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39310 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39312 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39313 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39315 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39316 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39318 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39321 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39322 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39324 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39325 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39327 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39328 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39330 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39333 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39334 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39336 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39337 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39339 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39340 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39342 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39345 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39348 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39349 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39351 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39352 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39354 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39355 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39357 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39360 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39361 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39363 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39364 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39366 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39367 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39369 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39370 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39372 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39373 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39375 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39376 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39378 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39379 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39381 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39382 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39384 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39385 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39387 static void *_p_wxImageTo_p_wxObject(void *x
) {
39388 return (void *)((wxObject
*) ((wxImage
*) x
));
39390 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39391 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39393 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39394 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39396 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39397 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39399 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39400 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39402 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39403 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39405 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39406 return (void *)((wxObject
*) ((wxImageList
*) x
));
39408 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39409 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39411 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39412 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39414 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39415 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39417 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39418 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39420 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39421 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39423 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39426 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39427 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39429 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39430 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39432 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39433 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39435 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39436 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39438 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39441 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39442 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39444 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39445 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39447 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39448 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39450 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39451 return (void *)((wxObject
*) ((wxMask
*) x
));
39453 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39454 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39456 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39459 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39460 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39462 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39463 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39465 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39466 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39468 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39469 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39471 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39472 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39474 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39477 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39478 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39480 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39481 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39483 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39484 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39486 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39489 static void *_p_wxFontTo_p_wxObject(void *x
) {
39490 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39492 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39493 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39495 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39496 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39498 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39501 static void *_p_wxColourTo_p_wxObject(void *x
) {
39502 return (void *)((wxObject
*) ((wxColour
*) x
));
39504 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39507 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39508 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39510 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39511 return (void *)((wxWindow
*) ((wxControl
*) x
));
39513 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39514 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39516 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39517 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39519 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39520 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39522 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39523 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39525 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39526 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39527 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39528 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};
39529 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39530 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39531 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39532 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39533 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39534 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39535 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39536 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39537 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39538 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39539 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39540 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39541 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39542 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39543 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39544 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39545 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39546 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39547 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39548 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39549 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39550 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39551 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39552 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39553 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39554 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39555 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39556 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39557 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39558 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39559 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39560 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39561 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39562 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39563 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39564 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39565 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39566 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39567 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39568 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39569 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39570 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39571 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39572 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39573 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39574 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39575 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39576 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39577 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39578 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39579 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39580 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39581 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39582 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39583 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39584 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39585 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39586 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39587 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39588 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39589 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39590 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39591 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39592 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39593 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39594 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39595 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39596 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39597 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39598 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39599 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39600 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39601 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39602 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39603 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39604 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39605 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39606 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39607 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39608 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39609 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39610 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39611 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39612 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39613 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39614 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39615 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39616 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39617 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39618 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39619 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39620 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39621 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39622 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39623 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39624 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39625 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39626 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39627 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39628 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39629 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39630 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39631 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39632 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39633 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39634 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39635 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39636 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39637 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39638 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39639 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39640 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39641 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39642 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39643 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39644 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39645 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39646 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39647 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39648 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39649 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39650 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39651 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39652 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39653 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39654 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39655 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39656 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39657 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39658 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39659 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39660 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39661 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39662 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39663 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39664 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39665 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39666 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39667 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39668 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39669 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39670 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39671 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39672 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39673 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39674 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39675 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39676 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39677 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39678 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39679 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39680 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39681 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39682 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39683 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39684 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39685 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39686 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39687 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39688 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39689 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39690 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39691 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39692 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39693 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39694 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39695 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39697 static swig_type_info
*swig_type_initial
[] = {
39701 &_swigt__p_form_ops_t
,
39703 &_swigt__p_unsigned_char
,
39704 &_swigt__p_unsigned_int
,
39705 &_swigt__p_unsigned_long
,
39707 &_swigt__p_wxANIHandler
,
39708 &_swigt__p_wxAcceleratorTable
,
39709 &_swigt__p_wxActivateEvent
,
39710 &_swigt__p_wxAlphaPixelData
,
39711 &_swigt__p_wxAlphaPixelData_Accessor
,
39712 &_swigt__p_wxAutoBufferedPaintDC
,
39713 &_swigt__p_wxBMPHandler
,
39714 &_swigt__p_wxBitmap
,
39715 &_swigt__p_wxBoxSizer
,
39716 &_swigt__p_wxBrush
,
39717 &_swigt__p_wxBrushList
,
39718 &_swigt__p_wxBufferedDC
,
39719 &_swigt__p_wxBufferedPaintDC
,
39720 &_swigt__p_wxCURHandler
,
39722 &_swigt__p_wxChildFocusEvent
,
39723 &_swigt__p_wxClientDC
,
39724 &_swigt__p_wxClipboardTextEvent
,
39725 &_swigt__p_wxCloseEvent
,
39726 &_swigt__p_wxColor
,
39727 &_swigt__p_wxColour
,
39728 &_swigt__p_wxColourDatabase
,
39729 &_swigt__p_wxCommandEvent
,
39730 &_swigt__p_wxContextMenuEvent
,
39731 &_swigt__p_wxControl
,
39732 &_swigt__p_wxControlWithItems
,
39733 &_swigt__p_wxCursor
,
39735 &_swigt__p_wxDCBrushChanger
,
39736 &_swigt__p_wxDCClipper
,
39737 &_swigt__p_wxDCOverlay
,
39738 &_swigt__p_wxDCPenChanger
,
39739 &_swigt__p_wxDCTextColourChanger
,
39741 &_swigt__p_wxDateEvent
,
39742 &_swigt__p_wxDisplayChangedEvent
,
39743 &_swigt__p_wxDropFilesEvent
,
39744 &_swigt__p_wxDuplexMode
,
39745 &_swigt__p_wxEffects
,
39746 &_swigt__p_wxEncodingConverter
,
39747 &_swigt__p_wxEraseEvent
,
39748 &_swigt__p_wxEvent
,
39749 &_swigt__p_wxEvtHandler
,
39750 &_swigt__p_wxFSFile
,
39751 &_swigt__p_wxFileSystem
,
39752 &_swigt__p_wxFlexGridSizer
,
39753 &_swigt__p_wxFocusEvent
,
39755 &_swigt__p_wxFontList
,
39756 &_swigt__p_wxFontMapper
,
39757 &_swigt__p_wxGBSizerItem
,
39759 &_swigt__p_wxGDIObjListBase
,
39760 &_swigt__p_wxGDIObject
,
39761 &_swigt__p_wxGIFHandler
,
39762 &_swigt__p_wxGraphicsBrush
,
39763 &_swigt__p_wxGraphicsContext
,
39764 &_swigt__p_wxGraphicsFont
,
39765 &_swigt__p_wxGraphicsMatrix
,
39766 &_swigt__p_wxGraphicsObject
,
39767 &_swigt__p_wxGraphicsPath
,
39768 &_swigt__p_wxGraphicsPen
,
39769 &_swigt__p_wxGraphicsRenderer
,
39770 &_swigt__p_wxGridBagSizer
,
39771 &_swigt__p_wxGridSizer
,
39772 &_swigt__p_wxHeaderButtonParams
,
39773 &_swigt__p_wxICOHandler
,
39775 &_swigt__p_wxIconBundle
,
39776 &_swigt__p_wxIconLocation
,
39777 &_swigt__p_wxIconizeEvent
,
39778 &_swigt__p_wxIdleEvent
,
39779 &_swigt__p_wxImage
,
39780 &_swigt__p_wxImageHandler
,
39781 &_swigt__p_wxImageList
,
39782 &_swigt__p_wxIndividualLayoutConstraint
,
39783 &_swigt__p_wxInitDialogEvent
,
39784 &_swigt__p_wxJPEGHandler
,
39785 &_swigt__p_wxKeyEvent
,
39786 &_swigt__p_wxLanguageInfo
,
39787 &_swigt__p_wxLayoutConstraints
,
39788 &_swigt__p_wxLocale
,
39790 &_swigt__p_wxMaximizeEvent
,
39791 &_swigt__p_wxMemoryDC
,
39793 &_swigt__p_wxMenuBar
,
39794 &_swigt__p_wxMenuEvent
,
39795 &_swigt__p_wxMenuItem
,
39796 &_swigt__p_wxMetaFile
,
39797 &_swigt__p_wxMetaFileDC
,
39798 &_swigt__p_wxMirrorDC
,
39799 &_swigt__p_wxMouseCaptureChangedEvent
,
39800 &_swigt__p_wxMouseCaptureLostEvent
,
39801 &_swigt__p_wxMouseEvent
,
39802 &_swigt__p_wxMoveEvent
,
39803 &_swigt__p_wxNativeEncodingInfo
,
39804 &_swigt__p_wxNativeFontInfo
,
39805 &_swigt__p_wxNativePixelData
,
39806 &_swigt__p_wxNativePixelData_Accessor
,
39807 &_swigt__p_wxNavigationKeyEvent
,
39808 &_swigt__p_wxNcPaintEvent
,
39809 &_swigt__p_wxNotifyEvent
,
39810 &_swigt__p_wxObject
,
39811 &_swigt__p_wxOverlay
,
39812 &_swigt__p_wxPCXHandler
,
39813 &_swigt__p_wxPNGHandler
,
39814 &_swigt__p_wxPNMHandler
,
39815 &_swigt__p_wxPaintDC
,
39816 &_swigt__p_wxPaintEvent
,
39817 &_swigt__p_wxPalette
,
39818 &_swigt__p_wxPaletteChangedEvent
,
39819 &_swigt__p_wxPaperSize
,
39821 &_swigt__p_wxPenList
,
39822 &_swigt__p_wxPixelDataBase
,
39823 &_swigt__p_wxPoint
,
39824 &_swigt__p_wxPoint2D
,
39825 &_swigt__p_wxPoint2DDouble
,
39826 &_swigt__p_wxPostScriptDC
,
39827 &_swigt__p_wxPrintData
,
39828 &_swigt__p_wxPrinterDC
,
39829 &_swigt__p_wxPseudoDC
,
39830 &_swigt__p_wxPyApp
,
39831 &_swigt__p_wxPyCommandEvent
,
39832 &_swigt__p_wxPyEvent
,
39833 &_swigt__p_wxPyFontEnumerator
,
39834 &_swigt__p_wxPyImageHandler
,
39835 &_swigt__p_wxPyLocale
,
39836 &_swigt__p_wxPySizer
,
39837 &_swigt__p_wxPyValidator
,
39838 &_swigt__p_wxQueryNewPaletteEvent
,
39840 &_swigt__p_wxRect2DDouble
,
39841 &_swigt__p_wxRegion
,
39842 &_swigt__p_wxRegionIterator
,
39843 &_swigt__p_wxRendererNative
,
39844 &_swigt__p_wxRendererVersion
,
39845 &_swigt__p_wxScreenDC
,
39846 &_swigt__p_wxScrollEvent
,
39847 &_swigt__p_wxScrollWinEvent
,
39848 &_swigt__p_wxSetCursorEvent
,
39849 &_swigt__p_wxShowEvent
,
39851 &_swigt__p_wxSizeEvent
,
39852 &_swigt__p_wxSizer
,
39853 &_swigt__p_wxSizerItem
,
39854 &_swigt__p_wxSplitterRenderParams
,
39855 &_swigt__p_wxStaticBoxSizer
,
39856 &_swigt__p_wxStdDialogButtonSizer
,
39857 &_swigt__p_wxStockGDI
,
39858 &_swigt__p_wxString
,
39859 &_swigt__p_wxSysColourChangedEvent
,
39860 &_swigt__p_wxTGAHandler
,
39861 &_swigt__p_wxTIFFHandler
,
39862 &_swigt__p_wxUpdateUIEvent
,
39863 &_swigt__p_wxValidator
,
39864 &_swigt__p_wxWindow
,
39865 &_swigt__p_wxWindowCreateEvent
,
39866 &_swigt__p_wxWindowDC
,
39867 &_swigt__p_wxWindowDestroyEvent
,
39868 &_swigt__p_wxXPMHandler
,
39871 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39872 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39873 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39874 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39875 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39876 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39877 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39878 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39879 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39880 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39881 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39882 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39883 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39884 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39885 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39886 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}};
39887 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39888 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39889 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}};
39890 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39891 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39892 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39893 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39894 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}};
39895 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39896 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39897 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39898 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39899 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39900 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39901 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39902 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39903 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39904 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39905 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39906 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39907 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39908 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}};
39909 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}};
39910 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39911 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39912 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39913 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
39914 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}};
39915 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
39916 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
39917 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
39918 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
39919 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39920 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
39921 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
39922 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39923 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
39924 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
39925 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}};
39926 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
39927 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}};
39928 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
39929 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
39930 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
39931 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
39932 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
39933 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
39934 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39935 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39936 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39937 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39938 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39939 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39940 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39941 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39942 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39943 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39944 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39945 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39946 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
39947 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39948 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39949 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39950 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39951 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39952 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39953 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39954 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39955 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39956 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39957 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39958 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39959 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39960 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39961 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39962 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39963 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39964 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39965 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39966 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39967 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39968 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39969 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39970 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39971 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39972 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39973 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39974 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
39975 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
39976 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39977 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39978 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39979 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39980 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39981 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39982 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39983 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39984 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39985 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39986 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39987 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39988 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39989 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39990 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39991 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39992 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39993 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39994 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39995 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39996 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39997 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39998 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39999 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40000 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40001 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40002 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40003 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40004 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40005 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40006 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40007 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40008 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40009 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40010 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40011 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40012 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}};
40013 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40014 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40015 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40016 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40017 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40018 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40019 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}};
40020 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40021 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40022 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40023 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40024 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40025 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40026 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40027 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40028 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40029 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40030 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40031 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40032 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40033 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40034 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40035 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40036 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40037 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40038 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40039 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40040 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}};
40041 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40043 static swig_cast_info
*swig_cast_initial
[] = {
40047 _swigc__p_form_ops_t
,
40049 _swigc__p_unsigned_char
,
40050 _swigc__p_unsigned_int
,
40051 _swigc__p_unsigned_long
,
40053 _swigc__p_wxANIHandler
,
40054 _swigc__p_wxAcceleratorTable
,
40055 _swigc__p_wxActivateEvent
,
40056 _swigc__p_wxAlphaPixelData
,
40057 _swigc__p_wxAlphaPixelData_Accessor
,
40058 _swigc__p_wxAutoBufferedPaintDC
,
40059 _swigc__p_wxBMPHandler
,
40060 _swigc__p_wxBitmap
,
40061 _swigc__p_wxBoxSizer
,
40063 _swigc__p_wxBrushList
,
40064 _swigc__p_wxBufferedDC
,
40065 _swigc__p_wxBufferedPaintDC
,
40066 _swigc__p_wxCURHandler
,
40068 _swigc__p_wxChildFocusEvent
,
40069 _swigc__p_wxClientDC
,
40070 _swigc__p_wxClipboardTextEvent
,
40071 _swigc__p_wxCloseEvent
,
40073 _swigc__p_wxColour
,
40074 _swigc__p_wxColourDatabase
,
40075 _swigc__p_wxCommandEvent
,
40076 _swigc__p_wxContextMenuEvent
,
40077 _swigc__p_wxControl
,
40078 _swigc__p_wxControlWithItems
,
40079 _swigc__p_wxCursor
,
40081 _swigc__p_wxDCBrushChanger
,
40082 _swigc__p_wxDCClipper
,
40083 _swigc__p_wxDCOverlay
,
40084 _swigc__p_wxDCPenChanger
,
40085 _swigc__p_wxDCTextColourChanger
,
40087 _swigc__p_wxDateEvent
,
40088 _swigc__p_wxDisplayChangedEvent
,
40089 _swigc__p_wxDropFilesEvent
,
40090 _swigc__p_wxDuplexMode
,
40091 _swigc__p_wxEffects
,
40092 _swigc__p_wxEncodingConverter
,
40093 _swigc__p_wxEraseEvent
,
40095 _swigc__p_wxEvtHandler
,
40096 _swigc__p_wxFSFile
,
40097 _swigc__p_wxFileSystem
,
40098 _swigc__p_wxFlexGridSizer
,
40099 _swigc__p_wxFocusEvent
,
40101 _swigc__p_wxFontList
,
40102 _swigc__p_wxFontMapper
,
40103 _swigc__p_wxGBSizerItem
,
40105 _swigc__p_wxGDIObjListBase
,
40106 _swigc__p_wxGDIObject
,
40107 _swigc__p_wxGIFHandler
,
40108 _swigc__p_wxGraphicsBrush
,
40109 _swigc__p_wxGraphicsContext
,
40110 _swigc__p_wxGraphicsFont
,
40111 _swigc__p_wxGraphicsMatrix
,
40112 _swigc__p_wxGraphicsObject
,
40113 _swigc__p_wxGraphicsPath
,
40114 _swigc__p_wxGraphicsPen
,
40115 _swigc__p_wxGraphicsRenderer
,
40116 _swigc__p_wxGridBagSizer
,
40117 _swigc__p_wxGridSizer
,
40118 _swigc__p_wxHeaderButtonParams
,
40119 _swigc__p_wxICOHandler
,
40121 _swigc__p_wxIconBundle
,
40122 _swigc__p_wxIconLocation
,
40123 _swigc__p_wxIconizeEvent
,
40124 _swigc__p_wxIdleEvent
,
40126 _swigc__p_wxImageHandler
,
40127 _swigc__p_wxImageList
,
40128 _swigc__p_wxIndividualLayoutConstraint
,
40129 _swigc__p_wxInitDialogEvent
,
40130 _swigc__p_wxJPEGHandler
,
40131 _swigc__p_wxKeyEvent
,
40132 _swigc__p_wxLanguageInfo
,
40133 _swigc__p_wxLayoutConstraints
,
40134 _swigc__p_wxLocale
,
40136 _swigc__p_wxMaximizeEvent
,
40137 _swigc__p_wxMemoryDC
,
40139 _swigc__p_wxMenuBar
,
40140 _swigc__p_wxMenuEvent
,
40141 _swigc__p_wxMenuItem
,
40142 _swigc__p_wxMetaFile
,
40143 _swigc__p_wxMetaFileDC
,
40144 _swigc__p_wxMirrorDC
,
40145 _swigc__p_wxMouseCaptureChangedEvent
,
40146 _swigc__p_wxMouseCaptureLostEvent
,
40147 _swigc__p_wxMouseEvent
,
40148 _swigc__p_wxMoveEvent
,
40149 _swigc__p_wxNativeEncodingInfo
,
40150 _swigc__p_wxNativeFontInfo
,
40151 _swigc__p_wxNativePixelData
,
40152 _swigc__p_wxNativePixelData_Accessor
,
40153 _swigc__p_wxNavigationKeyEvent
,
40154 _swigc__p_wxNcPaintEvent
,
40155 _swigc__p_wxNotifyEvent
,
40156 _swigc__p_wxObject
,
40157 _swigc__p_wxOverlay
,
40158 _swigc__p_wxPCXHandler
,
40159 _swigc__p_wxPNGHandler
,
40160 _swigc__p_wxPNMHandler
,
40161 _swigc__p_wxPaintDC
,
40162 _swigc__p_wxPaintEvent
,
40163 _swigc__p_wxPalette
,
40164 _swigc__p_wxPaletteChangedEvent
,
40165 _swigc__p_wxPaperSize
,
40167 _swigc__p_wxPenList
,
40168 _swigc__p_wxPixelDataBase
,
40170 _swigc__p_wxPoint2D
,
40171 _swigc__p_wxPoint2DDouble
,
40172 _swigc__p_wxPostScriptDC
,
40173 _swigc__p_wxPrintData
,
40174 _swigc__p_wxPrinterDC
,
40175 _swigc__p_wxPseudoDC
,
40177 _swigc__p_wxPyCommandEvent
,
40178 _swigc__p_wxPyEvent
,
40179 _swigc__p_wxPyFontEnumerator
,
40180 _swigc__p_wxPyImageHandler
,
40181 _swigc__p_wxPyLocale
,
40182 _swigc__p_wxPySizer
,
40183 _swigc__p_wxPyValidator
,
40184 _swigc__p_wxQueryNewPaletteEvent
,
40186 _swigc__p_wxRect2DDouble
,
40187 _swigc__p_wxRegion
,
40188 _swigc__p_wxRegionIterator
,
40189 _swigc__p_wxRendererNative
,
40190 _swigc__p_wxRendererVersion
,
40191 _swigc__p_wxScreenDC
,
40192 _swigc__p_wxScrollEvent
,
40193 _swigc__p_wxScrollWinEvent
,
40194 _swigc__p_wxSetCursorEvent
,
40195 _swigc__p_wxShowEvent
,
40197 _swigc__p_wxSizeEvent
,
40199 _swigc__p_wxSizerItem
,
40200 _swigc__p_wxSplitterRenderParams
,
40201 _swigc__p_wxStaticBoxSizer
,
40202 _swigc__p_wxStdDialogButtonSizer
,
40203 _swigc__p_wxStockGDI
,
40204 _swigc__p_wxString
,
40205 _swigc__p_wxSysColourChangedEvent
,
40206 _swigc__p_wxTGAHandler
,
40207 _swigc__p_wxTIFFHandler
,
40208 _swigc__p_wxUpdateUIEvent
,
40209 _swigc__p_wxValidator
,
40210 _swigc__p_wxWindow
,
40211 _swigc__p_wxWindowCreateEvent
,
40212 _swigc__p_wxWindowDC
,
40213 _swigc__p_wxWindowDestroyEvent
,
40214 _swigc__p_wxXPMHandler
,
40218 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40220 static swig_const_info swig_const_table
[] = {
40221 {0, 0, 0, 0.0, 0, 0}};
40226 /* -----------------------------------------------------------------------------
40227 * Type initialization:
40228 * This problem is tough by the requirement that no dynamic
40229 * memory is used. Also, since swig_type_info structures store pointers to
40230 * swig_cast_info structures and swig_cast_info structures store pointers back
40231 * to swig_type_info structures, we need some lookup code at initialization.
40232 * The idea is that swig generates all the structures that are needed.
40233 * The runtime then collects these partially filled structures.
40234 * The SWIG_InitializeModule function takes these initial arrays out of
40235 * swig_module, and does all the lookup, filling in the swig_module.types
40236 * array with the correct data and linking the correct swig_cast_info
40237 * structures together.
40239 * The generated swig_type_info structures are assigned staticly to an initial
40240 * array. We just loop though that array, and handle each type individually.
40241 * First we lookup if this type has been already loaded, and if so, use the
40242 * loaded structure instead of the generated one. Then we have to fill in the
40243 * cast linked list. The cast data is initially stored in something like a
40244 * two-dimensional array. Each row corresponds to a type (there are the same
40245 * number of rows as there are in the swig_type_initial array). Each entry in
40246 * a column is one of the swig_cast_info structures for that type.
40247 * The cast_initial array is actually an array of arrays, because each row has
40248 * a variable number of columns. So to actually build the cast linked list,
40249 * we find the array of casts associated with the type, and loop through it
40250 * adding the casts to the list. The one last trick we need to do is making
40251 * sure the type pointer in the swig_cast_info struct is correct.
40253 * First off, we lookup the cast->type name to see if it is already loaded.
40254 * There are three cases to handle:
40255 * 1) If the cast->type has already been loaded AND the type we are adding
40256 * casting info to has not been loaded (it is in this module), THEN we
40257 * replace the cast->type pointer with the type pointer that has already
40259 * 2) If BOTH types (the one we are adding casting info to, and the
40260 * cast->type) are loaded, THEN the cast info has already been loaded by
40261 * the previous module so we just ignore it.
40262 * 3) Finally, if cast->type has not already been loaded, then we add that
40263 * swig_cast_info to the linked list (because the cast->type) pointer will
40265 * ----------------------------------------------------------------------------- */
40275 #define SWIGRUNTIME_DEBUG
40279 SWIG_InitializeModule(void *clientdata
) {
40281 swig_module_info
*module_head
;
40282 static int init_run
= 0;
40284 clientdata
= clientdata
;
40286 if (init_run
) return;
40289 /* Initialize the swig_module */
40290 swig_module
.type_initial
= swig_type_initial
;
40291 swig_module
.cast_initial
= swig_cast_initial
;
40293 /* Try and load any already created modules */
40294 module_head
= SWIG_GetModule(clientdata
);
40296 swig_module
.next
= module_head
->next
;
40297 module_head
->next
= &swig_module
;
40299 /* This is the first module loaded */
40300 swig_module
.next
= &swig_module
;
40301 SWIG_SetModule(clientdata
, &swig_module
);
40304 /* Now work on filling in swig_module.types */
40305 #ifdef SWIGRUNTIME_DEBUG
40306 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40308 for (i
= 0; i
< swig_module
.size
; ++i
) {
40309 swig_type_info
*type
= 0;
40310 swig_type_info
*ret
;
40311 swig_cast_info
*cast
;
40313 #ifdef SWIGRUNTIME_DEBUG
40314 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40317 /* if there is another module already loaded */
40318 if (swig_module
.next
!= &swig_module
) {
40319 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40322 /* Overwrite clientdata field */
40323 #ifdef SWIGRUNTIME_DEBUG
40324 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40326 if (swig_module
.type_initial
[i
]->clientdata
) {
40327 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40328 #ifdef SWIGRUNTIME_DEBUG
40329 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40333 type
= swig_module
.type_initial
[i
];
40336 /* Insert casting types */
40337 cast
= swig_module
.cast_initial
[i
];
40338 while (cast
->type
) {
40339 /* Don't need to add information already in the list */
40341 #ifdef SWIGRUNTIME_DEBUG
40342 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40344 if (swig_module
.next
!= &swig_module
) {
40345 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40346 #ifdef SWIGRUNTIME_DEBUG
40347 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40351 if (type
== swig_module
.type_initial
[i
]) {
40352 #ifdef SWIGRUNTIME_DEBUG
40353 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40358 /* Check for casting already in the list */
40359 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40360 #ifdef SWIGRUNTIME_DEBUG
40361 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40363 if (!ocast
) ret
= 0;
40368 #ifdef SWIGRUNTIME_DEBUG
40369 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40372 type
->cast
->prev
= cast
;
40373 cast
->next
= type
->cast
;
40379 /* Set entry in modules->types array equal to the type */
40380 swig_module
.types
[i
] = type
;
40382 swig_module
.types
[i
] = 0;
40384 #ifdef SWIGRUNTIME_DEBUG
40385 printf("**** SWIG_InitializeModule: Cast List ******\n");
40386 for (i
= 0; i
< swig_module
.size
; ++i
) {
40388 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40389 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40390 while (cast
->type
) {
40391 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40395 printf("---- Total casts: %d\n",j
);
40397 printf("**** SWIG_InitializeModule: Cast List ******\n");
40401 /* This function will propagate the clientdata field of type to
40402 * any new swig_type_info structures that have been added into the list
40403 * of equivalent types. It is like calling
40404 * SWIG_TypeClientData(type, clientdata) a second time.
40407 SWIG_PropagateClientData(void) {
40409 swig_cast_info
*equiv
;
40410 static int init_run
= 0;
40412 if (init_run
) return;
40415 for (i
= 0; i
< swig_module
.size
; i
++) {
40416 if (swig_module
.types
[i
]->clientdata
) {
40417 equiv
= swig_module
.types
[i
]->cast
;
40419 if (!equiv
->converter
) {
40420 if (equiv
->type
&& !equiv
->type
->clientdata
)
40421 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40423 equiv
= equiv
->next
;
40443 /* Python-specific SWIG API */
40444 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40445 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40446 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40448 /* -----------------------------------------------------------------------------
40449 * global variable support code.
40450 * ----------------------------------------------------------------------------- */
40452 typedef struct swig_globalvar
{
40453 char *name
; /* Name of global variable */
40454 PyObject
*(*get_attr
)(void); /* Return the current value */
40455 int (*set_attr
)(PyObject
*); /* Set the value */
40456 struct swig_globalvar
*next
;
40459 typedef struct swig_varlinkobject
{
40461 swig_globalvar
*vars
;
40462 } swig_varlinkobject
;
40464 SWIGINTERN PyObject
*
40465 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40466 return PyString_FromString("<Swig global variables>");
40469 SWIGINTERN PyObject
*
40470 swig_varlink_str(swig_varlinkobject
*v
) {
40471 PyObject
*str
= PyString_FromString("(");
40472 swig_globalvar
*var
;
40473 for (var
= v
->vars
; var
; var
=var
->next
) {
40474 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40475 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40477 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40482 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40483 PyObject
*str
= swig_varlink_str(v
);
40484 fprintf(fp
,"Swig global variables ");
40485 fprintf(fp
,"%s\n", PyString_AsString(str
));
40491 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40492 swig_globalvar
*var
= v
->vars
;
40494 swig_globalvar
*n
= var
->next
;
40501 SWIGINTERN PyObject
*
40502 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40503 PyObject
*res
= NULL
;
40504 swig_globalvar
*var
= v
->vars
;
40506 if (strcmp(var
->name
,n
) == 0) {
40507 res
= (*var
->get_attr
)();
40512 if (res
== NULL
&& !PyErr_Occurred()) {
40513 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40519 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40521 swig_globalvar
*var
= v
->vars
;
40523 if (strcmp(var
->name
,n
) == 0) {
40524 res
= (*var
->set_attr
)(p
);
40529 if (res
== 1 && !PyErr_Occurred()) {
40530 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40535 SWIGINTERN PyTypeObject
*
40536 swig_varlink_type(void) {
40537 static char varlink__doc__
[] = "Swig var link object";
40538 static PyTypeObject varlink_type
;
40539 static int type_init
= 0;
40541 const PyTypeObject tmp
40543 PyObject_HEAD_INIT(NULL
)
40544 0, /* Number of items in variable part (ob_size) */
40545 (char *)"swigvarlink", /* Type name (tp_name) */
40546 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40547 0, /* Itemsize (tp_itemsize) */
40548 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40549 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40550 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40551 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40552 0, /* tp_compare */
40553 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40554 0, /* tp_as_number */
40555 0, /* tp_as_sequence */
40556 0, /* tp_as_mapping */
40559 (reprfunc
)swig_varlink_str
, /* tp_str */
40560 0, /* tp_getattro */
40561 0, /* tp_setattro */
40562 0, /* tp_as_buffer */
40564 varlink__doc__
, /* tp_doc */
40565 0, /* tp_traverse */
40567 0, /* tp_richcompare */
40568 0, /* tp_weaklistoffset */
40569 #if PY_VERSION_HEX >= 0x02020000
40570 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40572 #if PY_VERSION_HEX >= 0x02030000
40575 #ifdef COUNT_ALLOCS
40576 0,0,0,0 /* tp_alloc -> tp_next */
40579 varlink_type
= tmp
;
40580 varlink_type
.ob_type
= &PyType_Type
;
40583 return &varlink_type
;
40586 /* Create a variable linking object for use later */
40587 SWIGINTERN PyObject
*
40588 SWIG_Python_newvarlink(void) {
40589 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40593 return ((PyObject
*) result
);
40597 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40598 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40599 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40601 size_t size
= strlen(name
)+1;
40602 gv
->name
= (char *)malloc(size
);
40604 strncpy(gv
->name
,name
,size
);
40605 gv
->get_attr
= get_attr
;
40606 gv
->set_attr
= set_attr
;
40607 gv
->next
= v
->vars
;
40613 SWIGINTERN PyObject
*
40615 static PyObject
*_SWIG_globals
= 0;
40616 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40617 return _SWIG_globals
;
40620 /* -----------------------------------------------------------------------------
40621 * constants/methods manipulation
40622 * ----------------------------------------------------------------------------- */
40624 /* Install Constants */
40626 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40629 for (i
= 0; constants
[i
].type
; ++i
) {
40630 switch(constants
[i
].type
) {
40631 case SWIG_PY_POINTER
:
40632 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40634 case SWIG_PY_BINARY
:
40635 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40642 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40648 /* -----------------------------------------------------------------------------*/
40649 /* Fix SwigMethods to carry the callback ptrs when needed */
40650 /* -----------------------------------------------------------------------------*/
40653 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40654 swig_const_info
*const_table
,
40655 swig_type_info
**types
,
40656 swig_type_info
**types_initial
) {
40658 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40659 const char *c
= methods
[i
].ml_doc
;
40660 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40662 swig_const_info
*ci
= 0;
40663 const char *name
= c
+ 10;
40664 for (j
= 0; const_table
[j
].type
; ++j
) {
40665 if (strncmp(const_table
[j
].name
, name
,
40666 strlen(const_table
[j
].name
)) == 0) {
40667 ci
= &(const_table
[j
]);
40672 size_t shift
= (ci
->ptype
) - types
;
40673 swig_type_info
*ty
= types_initial
[shift
];
40674 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40675 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40676 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40679 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40681 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40683 strncpy(buff
, "swig_ptr: ", 10);
40685 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40686 methods
[i
].ml_doc
= ndoc
;
40698 /* -----------------------------------------------------------------------------*
40699 * Partial Init method
40700 * -----------------------------------------------------------------------------*/
40705 SWIGEXPORT
void SWIG_init(void) {
40708 /* Fix SwigMethods to carry the callback ptrs when needed */
40709 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40711 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40712 d
= PyModule_GetDict(m
);
40714 SWIG_InitializeModule(0);
40715 SWIG_InstallConstants(d
,swig_const_table
);
40718 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40719 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40720 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40721 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40722 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40723 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40724 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40725 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40726 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40727 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40728 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40729 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40730 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40731 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40732 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40733 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40734 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40735 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40736 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40737 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40738 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40739 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40740 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40741 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40742 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40743 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40744 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40745 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40746 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40747 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40748 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40749 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40750 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40751 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40752 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40753 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40754 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40755 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40756 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40757 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40758 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40759 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40760 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40761 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40762 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40763 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40764 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40765 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40766 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40767 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40768 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40769 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40770 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40771 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40772 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40773 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40774 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40775 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40776 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40777 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40778 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40779 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40780 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40781 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40782 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40783 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40784 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40785 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40786 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40787 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40788 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40789 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40790 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40791 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40792 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40793 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40794 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40795 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40796 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40797 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40798 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40799 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40800 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40801 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40802 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40803 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40804 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40805 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40806 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40807 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40808 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40809 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40810 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40811 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40812 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40813 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40814 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40815 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40816 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40817 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40818 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40819 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40820 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40821 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40822 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40823 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40824 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40825 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40826 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40827 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40828 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40829 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40830 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40831 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40832 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40833 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40834 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40835 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40836 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40837 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40838 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40839 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40840 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40841 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40842 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40843 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40844 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40845 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40846 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40847 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40848 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40849 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40851 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40853 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40854 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40855 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40856 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40857 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40858 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40859 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40860 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40861 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40862 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40863 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40864 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40865 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40866 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40867 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40868 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40869 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40870 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40871 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40872 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40873 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40874 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40875 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40876 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40877 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40878 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40879 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40880 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40881 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40882 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40883 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40884 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40885 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40886 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40887 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40888 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40889 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40890 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40891 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40892 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40893 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40894 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40895 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40896 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40897 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40898 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40899 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40900 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40901 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40902 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40903 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40904 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40905 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40906 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40907 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40908 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40909 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40910 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40911 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40912 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40913 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
40914 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
40915 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
40916 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
40917 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
40918 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
40919 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
40920 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
40921 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
40922 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
40923 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
40924 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
40925 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
40926 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
40927 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
40928 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
40929 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
40930 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
40931 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
40932 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
40933 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
40934 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
40935 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
40936 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
40937 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
40938 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
40939 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
40940 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
40941 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
40942 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
40943 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
40944 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
40945 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
40946 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
40947 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
40948 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
40949 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
40950 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
40951 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
40952 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
40953 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
40954 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
40955 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
40956 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
40957 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
40958 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
40959 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
40960 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
40961 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
40962 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
40963 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
40964 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
40965 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
40966 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
40967 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
40968 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
40969 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
40970 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
40971 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
40972 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
40973 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
40974 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
40975 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
40976 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
40977 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
40978 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
40979 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
40980 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
40981 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
40982 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
40983 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
40984 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
40985 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
40986 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
40987 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
40988 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
40989 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
40990 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
40991 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
40992 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
40993 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
40994 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
40995 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
40996 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
40997 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
40998 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
40999 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41000 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41001 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41002 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41003 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41004 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41005 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41006 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41007 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41008 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41009 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41010 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41011 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41012 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41013 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41014 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41015 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41016 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41017 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41018 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41084 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41085 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41086 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41087 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41088 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41089 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41090 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41091 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41092 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41093 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41094 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41095 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41096 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41097 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41098 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41099 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41100 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41101 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41102 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41103 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41104 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41105 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41106 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41107 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41108 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41109 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41110 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41111 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41112 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41113 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41114 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41115 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41116 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41117 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41118 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41119 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41120 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41121 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41122 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41123 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41124 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41125 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41126 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41127 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41128 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41129 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41130 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41131 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41132 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41133 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41134 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41135 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41136 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41137 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41138 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41139 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41140 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41141 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41142 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41143 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41144 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41145 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41146 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41147 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41148 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41149 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41150 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41151 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41152 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41153 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41154 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41155 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41156 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41157 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41158 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41159 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41160 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41161 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41162 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41163 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41164 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41165 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41166 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41167 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41168 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41169 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41170 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41171 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41172 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41173 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41174 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41175 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41176 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41178 // Work around a chicken/egg problem in drawlist.cpp
41179 wxPyDrawList_SetAPIPtr();