1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2982 wxSize
size(self
->GetWidth(), self
->GetHeight());
2985 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2986 wxMask
*mask
= new wxMask(*self
, colour
);
2987 self
->SetMask(mask
);
2989 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2990 self
->SetWidth(size
.x
);
2991 self
->SetHeight(size
.y
);
2993 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2994 int height
=self
->GetHeight();
2995 int width
=self
->GetWidth();
2997 if (DATASIZE
!= width
* height
* 3) {
2998 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3000 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3002 // raise an exception...
3003 wxPyErr_SetString(PyExc_RuntimeError
,
3004 "Failed to gain raw access to bitmap data.");
3008 wxNativePixelData::Iterator
p(pixData
);
3009 for (int y
=0; y
<height
; y
++) {
3010 wxNativePixelData::Iterator rowStart
= p
;
3011 for (int x
=0; x
<width
; x
++) {
3012 p
.Red() = *(data
++);
3013 p
.Green() = *(data
++);
3014 p
.Blue() = *(data
++);
3018 p
.OffsetY(pixData
, 1);
3021 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3022 int height
=self
->GetHeight();
3023 int width
=self
->GetWidth();
3025 if (DATASIZE
!= width
* height
* 4) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3030 // raise an exception...
3031 wxPyErr_SetString(PyExc_RuntimeError
,
3032 "Failed to gain raw access to bitmap data.");
3037 wxAlphaPixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxAlphaPixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = wxPy_premultiply(*(data
++), a
);
3043 p
.Green() = wxPy_premultiply(*(data
++), a
);
3044 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3045 p
.Alpha() = a
; data
++;
3049 p
.OffsetY(pixData
, 1);
3052 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3053 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3055 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3056 buffer data
, int DATASIZE
,
3057 buffer alpha
, int ALPHASIZE
)
3059 if (DATASIZE
!= width
*height
*3) {
3060 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3064 if (ALPHASIZE
!= width
*height
) {
3065 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3069 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3070 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3072 // raise an exception...
3073 wxPyErr_SetString(PyExc_RuntimeError
,
3074 "Failed to gain raw access to bitmap data.");
3079 wxAlphaPixelData::Iterator
p(pixData
);
3080 for (int y
=0; y
<height
; y
++) {
3081 wxAlphaPixelData::Iterator rowStart
= p
;
3082 for (int x
=0; x
<width
; x
++) {
3083 byte a
= *(alpha
++);
3084 p
.Red() = wxPy_premultiply(*(data
++), a
);
3085 p
.Green() = wxPy_premultiply(*(data
++), a
);
3086 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3091 p
.OffsetY(pixData
, 1);
3096 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3098 if (DATASIZE
!= width
*height
*3) {
3099 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3103 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3104 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3106 // raise an exception...
3107 wxPyErr_SetString(PyExc_RuntimeError
,
3108 "Failed to gain raw access to bitmap data.");
3112 wxNativePixelData::Iterator
p(pixData
);
3113 for (int y
=0; y
<height
; y
++) {
3114 wxNativePixelData::Iterator rowStart
= p
;
3115 for (int x
=0; x
<width
; x
++) {
3116 p
.Red() = *(data
++);
3117 p
.Green() = *(data
++);
3118 p
.Blue() = *(data
++);
3122 p
.OffsetY(pixData
, 1);
3128 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3130 if (DATASIZE
!= width
*height
*4) {
3131 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3135 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3136 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3138 // raise an exception...
3139 wxPyErr_SetString(PyExc_RuntimeError
,
3140 "Failed to gain raw access to bitmap data.");
3145 wxAlphaPixelData::Iterator
p(pixData
);
3146 for (int y
=0; y
<height
; y
++) {
3147 wxAlphaPixelData::Iterator rowStart
= p
;
3148 for (int x
=0; x
<width
; x
++) {
3150 p
.Red() = wxPy_premultiply(*(data
++), a
);
3151 p
.Green() = wxPy_premultiply(*(data
++), a
);
3152 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3153 p
.Alpha() = a
; data
++;
3157 p
.OffsetY(pixData
, 1);
3163 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3165 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3167 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3169 self
->Green() = green
;
3170 self
->Blue() = blue
;
3172 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3173 PyObject
* rv
= PyTuple_New(3);
3174 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3175 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3176 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3180 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3182 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3184 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3185 self
->Red() = wxPy_premultiply(red
, alpha
);
3186 self
->Green() = wxPy_premultiply(green
, alpha
);
3187 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3188 self
->Alpha() = alpha
;
3190 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3191 PyObject
* rv
= PyTuple_New(4);
3192 int red
= self
->Red();
3193 int green
= self
->Green();
3194 int blue
= self
->Blue();
3195 int alpha
= self
->Alpha();
3197 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3198 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3199 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3200 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3203 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3204 if ( !colour
.IsOk() )
3205 return new wxMask(bitmap
, *wxBLACK
);
3207 return new wxMask(bitmap
, colour
);
3210 #include <wx/iconbndl.h>
3212 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3213 wxIcon
* icon
= new wxIcon();
3214 icon
->CopyFromBitmap(bmp
);
3217 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3218 char** cArray
= NULL
;
3221 cArray
= ConvertListOfStrings(listOfStrings
);
3224 icon
= new wxIcon(cArray
);
3228 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3229 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
, num
);
3236 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3238 self
->SetIndex(num
);
3243 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3245 return self
->GetIndex();
3250 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3252 wxImage
img(cursorName
, type
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3254 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3255 return new wxCursor(img
);
3257 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3263 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3266 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3267 return self
->operator bool();
3270 #include <wx/fontutil.h>
3271 #include <wx/fontmap.h>
3272 #include <wx/fontenum.h>
3274 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3275 return self
->ToString();
3278 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3279 { wxPyRaiseNotImplemented(); return NULL
; }
3281 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3282 { wxPyRaiseNotImplemented(); return false; }
3285 SWIGINTERNINLINE PyObject
*
3286 SWIG_From_size_t (size_t value
)
3288 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3292 SWIGINTERNINLINE
int
3293 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3296 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3297 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3301 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3302 wxFontEncoding alt_enc
;
3303 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3304 return PyInt_FromLong(alt_enc
);
3310 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3311 wxNativeFontInfo nfi
;
3312 nfi
.FromString(info
);
3313 return new wxFont(nfi
);
3315 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3318 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3319 return wxFontBase::New(pixelSize
, family
,
3320 style
, weight
, underlined
,
3323 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3324 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3326 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3327 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3329 class wxPyFontEnumerator
: public wxFontEnumerator
{
3331 wxPyFontEnumerator() {}
3332 ~wxPyFontEnumerator() {}
3334 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3335 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3340 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3341 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3344 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3346 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 ret
= wxArrayString2PyList_helper(arr
);
3349 wxPyEndBlockThreads(blocked
);
3352 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3354 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 ret
= wxArrayString2PyList_helper(arr
);
3357 wxPyEndBlockThreads(blocked
);
3363 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3366 loc
= new wxLocale();
3368 loc
= new wxLocale(language
, flags
);
3369 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3370 // for the floating point conversions and such to work right.
3371 #if PY_VERSION_HEX < 0x02040000
3372 setlocale(LC_NUMERIC
, "C");
3376 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3377 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3378 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3379 // for the floating point conversions and such to work right.
3380 #if PY_VERSION_HEX < 0x02040000
3381 setlocale(LC_NUMERIC
, "C");
3385 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 bool rc
= self
->Init(language
, flags
);
3387 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3388 // for the floating point conversions and such to work right.
3389 #if PY_VERSION_HEX < 0x02040000
3390 setlocale(LC_NUMERIC
, "C");
3395 class wxPyLocale
: public wxLocale
3400 wxPyLocale(const wxChar
*szName
, // name (for messages)
3401 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3402 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3403 bool bLoadDefault
= true, // preload wxstd.mo?
3404 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3406 wxPyLocale(int language
, // wxLanguage id or custom language
3407 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szDomain
= NULL
) const;
3413 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3418 const wxChar
*szDomain
= NULL
) const;
3419 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3420 const wxChar
*szOrigString2
, size_t n
,
3421 const wxChar
*szDomain
= NULL
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3433 const wxChar
*szShort
, // dir prefix (for msg files)
3434 const wxChar
*szLocale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3451 const wxChar
*szDomain
) const
3453 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3454 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3457 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3458 const wxChar
*szOrigString2
, size_t n
,
3459 const wxChar
*szDomain
) const
3461 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3462 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3465 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3466 const wxChar
*szDomain
) const
3469 static wxString str
;
3470 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3471 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3472 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3473 PyObject
* param1
= wx2PyString(szOrigString
);
3474 PyObject
* param2
= wx2PyString(szDomain
);
3475 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3479 str
= Py2wxString(ret
);
3483 wxPyEndBlockThreads(blocked
);
3484 return (found
? (wxChar
*)str
.c_str() : NULL
);
3487 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3488 const wxChar
*szOrigString2
, size_t n
,
3489 const wxChar
*szDomain
) const
3492 static wxString str
;
3493 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3494 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3495 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3496 PyObject
* param1
= wx2PyString(szOrigString
);
3497 PyObject
* param2
= wx2PyString(szOrigString2
);
3498 PyObject
* param4
= wx2PyString(szDomain
);
3499 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? (wxChar
*)str
.c_str() : NULL
);
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 #include <wx/metafile.h>
3612 #include <wx/graphics.h>
3615 #if !wxUSE_GRAPHICS_CONTEXT
3616 // C++ stub classes for platforms or build configurations that don't have
3617 // wxGraphicsContext yet.
3620 class wxGraphicsObject
: public wxObject
3623 wxGraphicsObject( wxGraphicsRenderer
* ) {
3624 PyErr_SetString(PyExc_NotImplementedError
,
3625 "wx.GraphicsObject is not available on this platform.");
3627 wxGraphicsObject( const wxGraphicsObject
& ) {}
3628 virtual ~wxGraphicsObject() {}
3629 bool IsNull() const { return false; }
3630 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3635 class wxGraphicsPen
: public wxGraphicsObject
3638 virtual ~wxGraphicsPen() {}
3640 wxGraphicsPen wxNullGraphicsPen
;
3644 class wxGraphicsBrush
: public wxGraphicsObject
3647 wxGraphicsBrush() {}
3648 virtual ~wxGraphicsBrush() {}
3650 wxGraphicsBrush wxNullGraphicsBrush
;
3654 class wxGraphicsFont
: public wxGraphicsObject
3658 virtual ~wxGraphicsFont() {}
3660 wxGraphicsFont wxNullGraphicsFont
;
3664 class wxGraphicsPath
: public wxGraphicsObject
3667 wxGraphicsPath(wxGraphicsRenderer
* ) {
3668 PyErr_SetString(PyExc_NotImplementedError
,
3669 "wx.GraphicsPath is not available on this platform.");
3671 virtual ~wxGraphicsPath() {}
3673 void MoveToPoint( wxDouble
, wxDouble
) {}
3674 void MoveToPoint( const wxPoint2DDouble
& ) {}
3675 void AddLineToPoint( wxDouble
, wxDouble
) {}
3676 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3677 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3678 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3679 void AddPath( const wxGraphicsPath
* ) {}
3680 void CloseSubpath() {}
3681 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3682 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3683 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3684 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3686 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3687 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3688 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3689 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3691 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void * GetNativePath() const { return NULL
; }
3694 void UnGetNativePath(void *) {}
3695 void Transform( wxGraphicsMatrix
* ) {}
3696 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3697 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3699 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3700 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3702 wxGraphicsPath wxNullGraphicsPath
;
3705 class wxGraphicsMatrix
: public wxGraphicsObject
3708 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3709 PyErr_SetString(PyExc_NotImplementedError
,
3710 "wx.GraphicsMatrix is not available on this platform.");
3712 virtual ~wxGraphicsMatrix() {}
3713 virtual void Concat( const wxGraphicsMatrix
* ) {}
3714 virtual void Copy( const wxGraphicsMatrix
* ) {}
3715 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3716 wxDouble
, wxDouble
) {}
3717 virtual void Invert() {}
3718 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3719 virtual bool IsIdentity() { return false; }
3720 virtual void Translate( wxDouble
, wxDouble
) {}
3721 virtual void Scale( wxDouble
, wxDouble
) {}
3722 virtual void Rotate( wxDouble
) {}
3723 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3724 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3725 virtual void * GetNativeMatrix() const { return NULL
; }
3727 wxGraphicsMatrix wxNullGraphicsMatrix
;
3730 class wxGraphicsContext
: public wxGraphicsObject
3734 wxGraphicsContext(wxGraphicsRenderer
* ) {
3735 PyErr_SetString(PyExc_NotImplementedError
,
3736 "wx.GraphicsContext is not available on this platform.");
3739 virtual ~wxGraphicsContext() {}
3741 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3742 PyErr_SetString(PyExc_NotImplementedError
,
3743 "wx.GraphicsContext is not available on this platform.");
3746 static wxGraphicsContext
* CreateFromNative( void * ) {
3747 PyErr_SetString(PyExc_NotImplementedError
,
3748 "wx.GraphicsContext is not available on this platform.");
3751 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3752 PyErr_SetString(PyExc_NotImplementedError
,
3753 "wx.GraphicsContext is not available on this platform.");
3756 static wxGraphicsContext
* Create( wxWindow
* ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3761 wxGraphicsPath
* CreatePath() { return NULL
; }
3763 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3765 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3767 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3768 const wxColour
&, const wxColour
&) { return NULL
; }
3770 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3771 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3772 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3774 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3776 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3777 wxDouble
, wxDouble
) { return NULL
; }
3779 virtual void PushState() {}
3780 virtual void PopState() {}
3781 virtual void Clip( const wxRegion
& ) {}
3782 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3783 virtual void ResetClip() {}
3784 virtual void * GetNativeContext() { return NULL
; }
3785 virtual void Translate( wxDouble
, wxDouble
) {}
3786 virtual void Scale( wxDouble
, wxDouble
) {}
3787 virtual void Rotate( wxDouble
) {}
3788 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3789 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3790 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3792 virtual void SetPen( const wxGraphicsPen
& ) {}
3793 void SetPen( const wxPen
& ) {}
3795 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3796 void SetBrush( const wxBrush
& ) {}
3798 virtual void SetFont( const wxGraphicsFont
& ) {}
3799 void SetFont( const wxFont
&, const wxColour
& ) {}
3801 virtual void StrokePath( const wxGraphicsPath
* ) {}
3802 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3803 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3805 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3806 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3807 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3808 wxDouble
*, wxDouble
* ) const {}
3809 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3811 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3812 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3814 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3815 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3816 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3817 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3818 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3819 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3820 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3821 virtual bool ShouldOffset() const { return false; }
3825 class wxGraphicsRenderer
: public wxObject
3828 wxGraphicsRenderer() {
3829 PyErr_SetString(PyExc_NotImplementedError
,
3830 "wx.GraphicsRenderer is not available on this platform.");
3833 virtual ~wxGraphicsRenderer() {}
3835 static wxGraphicsRenderer
* GetDefaultRenderer(
3836 PyErr_SetString(PyExc_NotImplementedError
,
3837 "wx.GraphicsRenderer is not available on this platform.");
3840 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3841 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3842 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3843 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3845 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3847 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3848 wxDouble
, wxDouble
) { return NULL
; }
3850 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3851 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3852 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3853 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3854 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3855 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3856 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3861 class wxGCDC
: public wxWindowDC
3864 wxGCDC(const wxWindowDC
&) {
3865 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3866 PyErr_SetString(PyExc_NotImplementedError
,
3867 "wxGCDC is not available on this platform.");
3868 wxPyEndBlockThreads(blocked
);
3872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wxGCDC is not available on this platform.");
3875 wxPyEndBlockThreads(blocked
);
3878 virtual ~wxGCDC() {}
3880 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3881 void SetGraphicsContext( wxGraphicsContext
* ) {}
3886 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3889 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3890 wxDouble width
= 0.0,
3892 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3893 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3894 PyObject
* rv
= PyTuple_New(2);
3895 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3896 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3899 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3900 wxArrayDouble widths
;
3901 self
->GetPartialTextExtents(text
, widths
);
3904 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3905 size_t c1
, c2
, count
;
3906 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3907 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3909 if ( beginP
!= NULL
&& endP
!= NULL
)
3911 count
= wxMin(c1
, c2
);
3912 self
->StrokeLines(count
, beginP
, endP
);
3918 #include "wx/dcgraph.h"
3921 #include <wx/overlay.h>
3925 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3926 self
->AddColour(name
, wxColour(red
, green
, blue
));
3929 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3930 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3931 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3932 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3935 #include <wx/effects.h>
3938 #include "wx/renderer.h"
3941 SWIGINTERNINLINE PyObject
*
3942 SWIG_From_bool (bool value
)
3944 return PyBool_FromLong(value
? 1 : 0);
3948 #include "wx/wxPython/pseudodc.h"
3950 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3952 self
->GetIdBounds(id
, rect
);
3958 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3959 PyObject
*resultobj
= 0;
3960 wxGDIObject
*result
= 0 ;
3962 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3964 if (!wxPyCheckForApp()) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= (wxGDIObject
*)new wxGDIObject();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3977 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3978 PyObject
*resultobj
= 0;
3979 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3982 PyObject
*swig_obj
[1] ;
3984 if (!args
) SWIG_fail
;
3986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3987 if (!SWIG_IsOK(res1
)) {
3988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3990 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_Py_Void();
4005 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4006 PyObject
*resultobj
= 0;
4007 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4011 PyObject
*swig_obj
[1] ;
4013 if (!args
) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4019 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (bool)(arg1
)->IsNull();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4035 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4038 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4039 return SWIG_Py_Void();
4042 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 return SWIG_Python_InitShadowInstance(args
);
4046 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
= 0;
4048 byte arg1
= (byte
) 0 ;
4049 byte arg2
= (byte
) 0 ;
4050 byte arg3
= (byte
) 0 ;
4051 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4052 wxColour
*result
= 0 ;
4053 unsigned char val1
;
4055 unsigned char val2
;
4057 unsigned char val3
;
4059 unsigned char val4
;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4063 PyObject
* obj2
= 0 ;
4064 PyObject
* obj3
= 0 ;
4065 char * kwnames
[] = {
4066 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4071 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4072 if (!SWIG_IsOK(ecode1
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4075 arg1
= static_cast< byte
>(val1
);
4078 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4079 if (!SWIG_IsOK(ecode2
)) {
4080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4082 arg2
= static_cast< byte
>(val2
);
4085 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4086 if (!SWIG_IsOK(ecode3
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4089 arg3
= static_cast< byte
>(val3
);
4092 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4093 if (!SWIG_IsOK(ecode4
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4096 arg4
= static_cast< byte
>(val4
);
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4111 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
= 0;
4113 wxString
*arg1
= 0 ;
4114 wxColour
*result
= 0 ;
4115 bool temp1
= false ;
4116 PyObject
* obj0
= 0 ;
4117 char * kwnames
[] = {
4118 (char *) "colorName", NULL
4121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4123 arg1
= wxString_in_helper(obj0
);
4124 if (arg1
== NULL
) SWIG_fail
;
4128 if (!wxPyCheckForApp()) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= 0;
4151 unsigned long arg1
;
4152 wxColour
*result
= 0 ;
4153 unsigned long val1
;
4155 PyObject
* obj0
= 0 ;
4156 char * kwnames
[] = {
4157 (char *) "colRGB", NULL
4160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4161 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4162 if (!SWIG_IsOK(ecode1
)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4165 arg1
= static_cast< unsigned long >(val1
);
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxColour
*)new wxColour(arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4179 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4180 PyObject
*resultobj
= 0;
4181 wxColour
*arg1
= (wxColour
*) 0 ;
4184 PyObject
*swig_obj
[1] ;
4186 if (!args
) SWIG_fail
;
4188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4189 if (!SWIG_IsOK(res1
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4192 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_Py_Void();
4207 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4208 PyObject
*resultobj
= 0;
4209 wxColour
*arg1
= (wxColour
*) 0 ;
4213 PyObject
*swig_obj
[1] ;
4215 if (!args
) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4221 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (byte
)(arg1
)->Red();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4235 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4236 PyObject
*resultobj
= 0;
4237 wxColour
*arg1
= (wxColour
*) 0 ;
4241 PyObject
*swig_obj
[1] ;
4243 if (!args
) SWIG_fail
;
4245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4246 if (!SWIG_IsOK(res1
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4249 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (byte
)(arg1
)->Green();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4263 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4264 PyObject
*resultobj
= 0;
4265 wxColour
*arg1
= (wxColour
*) 0 ;
4269 PyObject
*swig_obj
[1] ;
4271 if (!args
) SWIG_fail
;
4273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4274 if (!SWIG_IsOK(res1
)) {
4275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4277 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (byte
)(arg1
)->Blue();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4291 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4292 PyObject
*resultobj
= 0;
4293 wxColour
*arg1
= (wxColour
*) 0 ;
4297 PyObject
*swig_obj
[1] ;
4299 if (!args
) SWIG_fail
;
4301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4302 if (!SWIG_IsOK(res1
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4305 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (byte
)(arg1
)->Alpha();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4319 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4320 PyObject
*resultobj
= 0;
4321 wxColour
*arg1
= (wxColour
*) 0 ;
4325 PyObject
*swig_obj
[1] ;
4327 if (!args
) SWIG_fail
;
4329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4330 if (!SWIG_IsOK(res1
)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4333 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (bool)(arg1
)->IsOk();
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4349 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
= 0;
4351 wxColour
*arg1
= (wxColour
*) 0 ;
4355 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4358 unsigned char val2
;
4360 unsigned char val3
;
4362 unsigned char val4
;
4364 unsigned char val5
;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 PyObject
* obj3
= 0 ;
4370 PyObject
* obj4
= 0 ;
4371 char * kwnames
[] = {
4372 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4377 if (!SWIG_IsOK(res1
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4380 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4381 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4382 if (!SWIG_IsOK(ecode2
)) {
4383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4385 arg2
= static_cast< byte
>(val2
);
4386 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4387 if (!SWIG_IsOK(ecode3
)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4390 arg3
= static_cast< byte
>(val3
);
4391 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4392 if (!SWIG_IsOK(ecode4
)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4395 arg4
= static_cast< byte
>(val4
);
4397 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4398 if (!SWIG_IsOK(ecode5
)) {
4399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4401 arg5
= static_cast< byte
>(val5
);
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= SWIG_Py_Void();
4416 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
= 0;
4418 wxColour
*arg1
= (wxColour
*) 0 ;
4419 unsigned long arg2
;
4422 unsigned long val2
;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 char * kwnames
[] = {
4427 (char *) "self",(char *) "colRGB", NULL
4430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4432 if (!SWIG_IsOK(res1
)) {
4433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4435 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4436 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4437 if (!SWIG_IsOK(ecode2
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4440 arg2
= static_cast< unsigned long >(val2
);
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_Py_Void();
4454 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
= 0;
4456 wxColour
*arg1
= (wxColour
*) 0 ;
4457 wxString
*arg2
= 0 ;
4460 bool temp2
= false ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4463 char * kwnames
[] = {
4464 (char *) "self",(char *) "colourName", NULL
4467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4469 if (!SWIG_IsOK(res1
)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4472 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4474 arg2
= wxString_in_helper(obj1
);
4475 if (arg2
== NULL
) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 (arg1
)->Set((wxString
const &)*arg2
);
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= SWIG_Py_Void();
4499 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
= 0;
4501 wxColour
*arg1
= (wxColour
*) 0 ;
4502 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4510 char * kwnames
[] = {
4511 (char *) "self",(char *) "flags", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4516 if (!SWIG_IsOK(res1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4519 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4521 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4522 if (!SWIG_IsOK(ecode2
)) {
4523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4525 arg2
= static_cast< long >(val2
);
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4546 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4547 PyObject
*resultobj
= 0;
4548 wxColour
*arg1
= (wxColour
*) 0 ;
4552 PyObject
*swig_obj
[1] ;
4554 if (!args
) SWIG_fail
;
4556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4557 if (!SWIG_IsOK(res1
)) {
4558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4560 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= SWIG_From_long(static_cast< long >(result
));
4574 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxColour
*arg1
= (wxColour
*) 0 ;
4577 PyObject
*arg2
= (PyObject
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4583 char * kwnames
[] = {
4584 (char *) "self",(char *) "other", NULL
4587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4589 if (!SWIG_IsOK(res1
)) {
4590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4592 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4595 result
= (bool)wxColour___eq__(arg1
,arg2
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4607 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
= 0;
4609 wxColour
*arg1
= (wxColour
*) 0 ;
4610 PyObject
*arg2
= (PyObject
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4615 PyObject
* obj1
= 0 ;
4616 char * kwnames
[] = {
4617 (char *) "self",(char *) "other", NULL
4620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4622 if (!SWIG_IsOK(res1
)) {
4623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4625 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4628 result
= (bool)wxColour___ne__(arg1
,arg2
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4640 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
= 0;
4642 wxColour
*arg1
= (wxColour
*) 0 ;
4643 bool arg2
= (bool) false ;
4644 PyObject
*result
= 0 ;
4649 PyObject
* obj0
= 0 ;
4650 PyObject
* obj1
= 0 ;
4651 char * kwnames
[] = {
4652 (char *) "self",(char *) "includeAlpha", NULL
4655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4657 if (!SWIG_IsOK(res1
)) {
4658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4660 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4663 if (!SWIG_IsOK(ecode2
)) {
4664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4666 arg2
= static_cast< bool >(val2
);
4669 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4679 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4680 PyObject
*resultobj
= 0;
4681 wxColour
*arg1
= (wxColour
*) 0 ;
4682 unsigned long result
;
4685 PyObject
*swig_obj
[1] ;
4687 if (!args
) SWIG_fail
;
4689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4690 if (!SWIG_IsOK(res1
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4693 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4695 result
= (unsigned long)wxColour_GetRGB(arg1
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4705 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4708 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4709 return SWIG_Py_Void();
4712 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 return SWIG_Python_InitShadowInstance(args
);
4716 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
= 0;
4719 unsigned char *arg2
= (unsigned char *) 0 ;
4720 unsigned char *arg3
= (unsigned char *) 0 ;
4721 unsigned char *arg4
= (unsigned char *) 0 ;
4722 wxPalette
*result
= 0 ;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4733 PyObject
* obj2
= 0 ;
4734 PyObject
* obj3
= 0 ;
4735 char * kwnames
[] = {
4736 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4741 if (!SWIG_IsOK(ecode1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4744 arg1
= static_cast< int >(val1
);
4745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4746 if (!SWIG_IsOK(res2
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4749 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4750 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4751 if (!SWIG_IsOK(res3
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4754 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4755 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4756 if (!SWIG_IsOK(res4
)) {
4757 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4759 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4761 if (!wxPyCheckForApp()) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4774 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 PyObject
*resultobj
= 0;
4776 wxPalette
*arg1
= (wxPalette
*) 0 ;
4779 PyObject
*swig_obj
[1] ;
4781 if (!args
) SWIG_fail
;
4783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4784 if (!SWIG_IsOK(res1
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4787 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_Py_Void();
4802 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
= 0;
4804 wxPalette
*arg1
= (wxPalette
*) 0 ;
4811 unsigned char val2
;
4813 unsigned char val3
;
4815 unsigned char val4
;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4819 PyObject
* obj2
= 0 ;
4820 PyObject
* obj3
= 0 ;
4821 char * kwnames
[] = {
4822 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4827 if (!SWIG_IsOK(res1
)) {
4828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4830 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4831 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4832 if (!SWIG_IsOK(ecode2
)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4835 arg2
= static_cast< byte
>(val2
);
4836 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4837 if (!SWIG_IsOK(ecode3
)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4840 arg3
= static_cast< byte
>(val3
);
4841 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4842 if (!SWIG_IsOK(ecode4
)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4845 arg4
= static_cast< byte
>(val4
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_From_int(static_cast< int >(result
));
4859 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
= 0;
4861 wxPalette
*arg1
= (wxPalette
*) 0 ;
4863 byte
*arg3
= (byte
*) 0 ;
4864 byte
*arg4
= (byte
*) 0 ;
4865 byte
*arg5
= (byte
*) 0 ;
4872 int res3
= SWIG_TMPOBJ
;
4874 int res4
= SWIG_TMPOBJ
;
4876 int res5
= SWIG_TMPOBJ
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 char * kwnames
[] = {
4880 (char *) "self",(char *) "pixel", NULL
4886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4891 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4893 if (!SWIG_IsOK(ecode2
)) {
4894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4896 arg2
= static_cast< int >(val2
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4906 if (SWIG_IsTmpObj(res3
)) {
4907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4909 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4912 if (SWIG_IsTmpObj(res4
)) {
4913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4915 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4918 if (SWIG_IsTmpObj(res5
)) {
4919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4921 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4930 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4931 PyObject
*resultobj
= 0;
4932 wxPalette
*arg1
= (wxPalette
*) 0 ;
4936 PyObject
*swig_obj
[1] ;
4938 if (!args
) SWIG_fail
;
4940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4941 if (!SWIG_IsOK(res1
)) {
4942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4944 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= SWIG_From_int(static_cast< int >(result
));
4958 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4959 PyObject
*resultobj
= 0;
4960 wxPalette
*arg1
= (wxPalette
*) 0 ;
4964 PyObject
*swig_obj
[1] ;
4966 if (!args
) SWIG_fail
;
4968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4969 if (!SWIG_IsOK(res1
)) {
4970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4972 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (bool)(arg1
)->IsOk();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4988 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4992 return SWIG_Py_Void();
4995 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 return SWIG_Python_InitShadowInstance(args
);
4999 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
= 0;
5001 wxColour
*arg1
= 0 ;
5002 int arg2
= (int) 1 ;
5003 int arg3
= (int) wxSOLID
;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj2
= 0 ;
5013 char * kwnames
[] = {
5014 (char *) "colour",(char *) "width",(char *) "style", NULL
5017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5020 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5024 if (!SWIG_IsOK(ecode2
)) {
5025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5027 arg2
= static_cast< int >(val2
);
5030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5031 if (!SWIG_IsOK(ecode3
)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5034 arg3
= static_cast< int >(val3
);
5037 if (!wxPyCheckForApp()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5050 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 PyObject
*resultobj
= 0;
5052 wxPen
*arg1
= (wxPen
*) 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5063 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= SWIG_Py_Void();
5078 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5079 PyObject
*resultobj
= 0;
5080 wxPen
*arg1
= (wxPen
*) 0 ;
5084 PyObject
*swig_obj
[1] ;
5086 if (!args
) SWIG_fail
;
5088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5089 if (!SWIG_IsOK(res1
)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5092 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (int)(arg1
)->GetCap();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_From_int(static_cast< int >(result
));
5106 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5107 PyObject
*resultobj
= 0;
5108 wxPen
*arg1
= (wxPen
*) 0 ;
5112 PyObject
*swig_obj
[1] ;
5114 if (!args
) SWIG_fail
;
5116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5117 if (!SWIG_IsOK(res1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5120 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (arg1
)->GetColour();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5134 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5135 PyObject
*resultobj
= 0;
5136 wxPen
*arg1
= (wxPen
*) 0 ;
5140 PyObject
*swig_obj
[1] ;
5142 if (!args
) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5148 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (int)(arg1
)->GetJoin();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_From_int(static_cast< int >(result
));
5162 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5163 PyObject
*resultobj
= 0;
5164 wxPen
*arg1
= (wxPen
*) 0 ;
5168 PyObject
*swig_obj
[1] ;
5170 if (!args
) SWIG_fail
;
5172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5173 if (!SWIG_IsOK(res1
)) {
5174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5176 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (int)(arg1
)->GetStyle();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_From_int(static_cast< int >(result
));
5190 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5191 PyObject
*resultobj
= 0;
5192 wxPen
*arg1
= (wxPen
*) 0 ;
5196 PyObject
*swig_obj
[1] ;
5198 if (!args
) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5204 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (int)(arg1
)->GetWidth();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_From_int(static_cast< int >(result
));
5218 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5219 PyObject
*resultobj
= 0;
5220 wxPen
*arg1
= (wxPen
*) 0 ;
5224 PyObject
*swig_obj
[1] ;
5226 if (!args
) SWIG_fail
;
5228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5229 if (!SWIG_IsOK(res1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5232 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (bool)(arg1
)->IsOk();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= 0;
5250 wxPen
*arg1
= (wxPen
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5258 char * kwnames
[] = {
5259 (char *) "self",(char *) "cap_style", NULL
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5267 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5269 if (!SWIG_IsOK(ecode2
)) {
5270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5272 arg2
= static_cast< int >(val2
);
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 (arg1
)->SetCap(arg2
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_Py_Void();
5286 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= 0;
5288 wxPen
*arg1
= (wxPen
*) 0 ;
5289 wxColour
*arg2
= 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "colour", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5304 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5307 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 (arg1
)->SetColour(*arg2
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_Py_Void();
5322 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
= 0;
5324 wxPen
*arg1
= (wxPen
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 char * kwnames
[] = {
5333 (char *) "self",(char *) "join_style", NULL
5336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5338 if (!SWIG_IsOK(res1
)) {
5339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5341 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5343 if (!SWIG_IsOK(ecode2
)) {
5344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5346 arg2
= static_cast< int >(val2
);
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->SetJoin(arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxPen
*arg1
= (wxPen
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "style", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5379 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5384 arg2
= static_cast< int >(val2
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->SetStyle(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_Py_Void();
5398 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
= 0;
5400 wxPen
*arg1
= (wxPen
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 char * kwnames
[] = {
5409 (char *) "self",(char *) "width", NULL
5412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5417 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5419 if (!SWIG_IsOK(ecode2
)) {
5420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5422 arg2
= static_cast< int >(val2
);
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->SetWidth(arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_Py_Void();
5436 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
= 0;
5438 wxPen
*arg1
= (wxPen
*) 0 ;
5440 wxDash
*arg3
= (wxDash
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5445 char * kwnames
[] = {
5446 (char *) "self",(char *) "dashes", NULL
5449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5454 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5456 arg2
= PyList_Size(obj1
);
5457 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5458 if (arg3
== NULL
) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 (arg1
)->SetDashes(arg2
,arg3
);
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_Py_Void();
5468 if (arg3
) delete [] arg3
;
5473 if (arg3
) delete [] arg3
;
5479 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5480 PyObject
*resultobj
= 0;
5481 wxPen
*arg1
= (wxPen
*) 0 ;
5482 PyObject
*result
= 0 ;
5485 PyObject
*swig_obj
[1] ;
5487 if (!args
) SWIG_fail
;
5489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5490 if (!SWIG_IsOK(res1
)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5493 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5507 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
= 0;
5509 wxPen
*arg1
= (wxPen
*) 0 ;
5510 PyObject
*arg2
= (PyObject
*) 0 ;
5511 PyObject
*arg3
= (PyObject
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 PyObject
* obj2
= 0 ;
5517 char * kwnames
[] = {
5518 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5523 if (!SWIG_IsOK(res1
)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5526 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 wxPen__SetDashes(arg1
,arg2
,arg3
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= SWIG_Py_Void();
5542 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5543 PyObject
*resultobj
= 0;
5544 wxPen
*arg1
= (wxPen
*) 0 ;
5548 PyObject
*swig_obj
[1] ;
5550 if (!args
) SWIG_fail
;
5552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5553 if (!SWIG_IsOK(res1
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5556 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_From_int(static_cast< int >(result
));
5570 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5571 PyObject
*resultobj
= 0;
5572 wxPen
*arg1
= (wxPen
*) 0 ;
5573 wxBitmap
*result
= 0 ;
5576 PyObject
*swig_obj
[1] ;
5578 if (!args
) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5584 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (wxBitmap
*)(arg1
)->GetStipple();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5598 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= 0;
5600 wxPen
*arg1
= (wxPen
*) 0 ;
5601 wxBitmap
*arg2
= 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "self",(char *) "stipple", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5617 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5619 if (!SWIG_IsOK(res2
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5625 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetStipple(*arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_Py_Void();
5639 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
= 0;
5641 wxPen
*arg1
= (wxPen
*) 0 ;
5642 wxPen
*arg2
= (wxPen
*) 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5650 char * kwnames
[] = {
5651 (char *) "self",(char *) "other", NULL
5654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5656 if (!SWIG_IsOK(res1
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5659 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5661 if (!SWIG_IsOK(res2
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5664 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5680 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
= 0;
5682 wxPen
*arg1
= (wxPen
*) 0 ;
5683 wxPen
*arg2
= (wxPen
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "other", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5700 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5702 if (!SWIG_IsOK(res2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5705 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5721 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5724 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5725 return SWIG_Py_Void();
5728 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 return SWIG_Python_InitShadowInstance(args
);
5732 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= 0;
5734 wxColour
*arg1
= 0 ;
5735 int arg2
= (int) wxSOLID
;
5736 wxBrush
*result
= 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 char * kwnames
[] = {
5743 (char *) "colour",(char *) "style", NULL
5746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5749 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5753 if (!SWIG_IsOK(ecode2
)) {
5754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5756 arg2
= static_cast< int >(val2
);
5759 if (!wxPyCheckForApp()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5772 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= 0;
5774 wxBitmap
*arg1
= 0 ;
5775 wxBrush
*result
= 0 ;
5778 PyObject
* obj0
= 0 ;
5779 char * kwnames
[] = {
5780 (char *) "stippleBitmap", NULL
5783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5784 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5785 if (!SWIG_IsOK(res1
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5791 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5793 if (!wxPyCheckForApp()) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5806 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5807 PyObject
*resultobj
= 0;
5808 wxBrush
*arg1
= (wxBrush
*) 0 ;
5811 PyObject
*swig_obj
[1] ;
5813 if (!args
) SWIG_fail
;
5815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5816 if (!SWIG_IsOK(res1
)) {
5817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5819 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_Py_Void();
5834 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
= 0;
5836 wxBrush
*arg1
= (wxBrush
*) 0 ;
5837 wxColour
*arg2
= 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "self",(char *) "col", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5852 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->SetColour((wxColour
const &)*arg2
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_Py_Void();
5870 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5872 wxBrush
*arg1
= (wxBrush
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 char * kwnames
[] = {
5881 (char *) "self",(char *) "style", NULL
5884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5889 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5891 if (!SWIG_IsOK(ecode2
)) {
5892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5894 arg2
= static_cast< int >(val2
);
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 (arg1
)->SetStyle(arg2
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_Py_Void();
5908 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5910 wxBrush
*arg1
= (wxBrush
*) 0 ;
5911 wxBitmap
*arg2
= 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "self",(char *) "stipple", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5927 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5929 if (!SWIG_IsOK(res2
)) {
5930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5935 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_Py_Void();
5949 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5950 PyObject
*resultobj
= 0;
5951 wxBrush
*arg1
= (wxBrush
*) 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5963 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= ((wxBrush
const *)arg1
)->GetColour();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5977 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5978 PyObject
*resultobj
= 0;
5979 wxBrush
*arg1
= (wxBrush
*) 0 ;
5983 PyObject
*swig_obj
[1] ;
5985 if (!args
) SWIG_fail
;
5987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5988 if (!SWIG_IsOK(res1
)) {
5989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5991 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_From_int(static_cast< int >(result
));
6005 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6006 PyObject
*resultobj
= 0;
6007 wxBrush
*arg1
= (wxBrush
*) 0 ;
6008 wxBitmap
*result
= 0 ;
6011 PyObject
*swig_obj
[1] ;
6013 if (!args
) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6019 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6033 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6034 PyObject
*resultobj
= 0;
6035 wxBrush
*arg1
= (wxBrush
*) 0 ;
6039 PyObject
*swig_obj
[1] ;
6041 if (!args
) SWIG_fail
;
6043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6044 if (!SWIG_IsOK(res1
)) {
6045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6047 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6064 PyObject
*resultobj
= 0;
6065 wxBrush
*arg1
= (wxBrush
*) 0 ;
6069 PyObject
*swig_obj
[1] ;
6071 if (!args
) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6077 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (bool)(arg1
)->IsOk();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6093 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6096 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6097 return SWIG_Py_Void();
6100 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 return SWIG_Python_InitShadowInstance(args
);
6104 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
= 0;
6106 wxString
*arg1
= 0 ;
6107 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6108 wxBitmap
*result
= 0 ;
6109 bool temp1
= false ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 char * kwnames
[] = {
6115 (char *) "name",(char *) "type", NULL
6118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6120 arg1
= wxString_in_helper(obj0
);
6121 if (arg1
== NULL
) SWIG_fail
;
6125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6126 if (!SWIG_IsOK(ecode2
)) {
6127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6129 arg2
= static_cast< wxBitmapType
>(val2
);
6132 if (!wxPyCheckForApp()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6153 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6154 PyObject
*resultobj
= 0;
6155 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6158 PyObject
*swig_obj
[1] ;
6160 if (!args
) SWIG_fail
;
6162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6163 if (!SWIG_IsOK(res1
)) {
6164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_Py_Void();
6179 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
= 0;
6183 int arg3
= (int) -1 ;
6184 wxBitmap
*result
= 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 PyObject
* obj2
= 0 ;
6194 char * kwnames
[] = {
6195 (char *) "width",(char *) "height",(char *) "depth", NULL
6198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6200 if (!SWIG_IsOK(ecode1
)) {
6201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6203 arg1
= static_cast< int >(val1
);
6204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6205 if (!SWIG_IsOK(ecode2
)) {
6206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6208 arg2
= static_cast< int >(val2
);
6210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6211 if (!SWIG_IsOK(ecode3
)) {
6212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6214 arg3
= static_cast< int >(val3
);
6217 if (!wxPyCheckForApp()) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6230 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
= 0;
6233 wxBitmap
*result
= 0 ;
6236 PyObject
* obj0
= 0 ;
6237 char * kwnames
[] = {
6238 (char *) "icon", NULL
6241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6249 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6251 if (!wxPyCheckForApp()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6264 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6267 int arg2
= (int) -1 ;
6268 wxBitmap
*result
= 0 ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "image",(char *) "depth", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6287 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6290 if (!SWIG_IsOK(ecode2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6293 arg2
= static_cast< int >(val2
);
6296 if (!wxPyCheckForApp()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6309 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
= 0;
6311 PyObject
*arg1
= (PyObject
*) 0 ;
6312 wxBitmap
*result
= 0 ;
6313 PyObject
* obj0
= 0 ;
6314 char * kwnames
[] = {
6315 (char *) "listOfStrings", NULL
6318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6321 if (!wxPyCheckForApp()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxBitmap
*)new_wxBitmap(arg1
);
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_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
= 0;
6336 PyObject
*arg1
= (PyObject
*) 0 ;
6339 int arg4
= (int) 1 ;
6340 wxBitmap
*result
= 0 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6349 PyObject
* obj2
= 0 ;
6350 PyObject
* obj3
= 0 ;
6351 char * kwnames
[] = {
6352 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6358 if (!SWIG_IsOK(ecode2
)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6361 arg2
= static_cast< int >(val2
);
6362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6363 if (!SWIG_IsOK(ecode3
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6366 arg3
= static_cast< int >(val3
);
6368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6369 if (!SWIG_IsOK(ecode4
)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6372 arg4
= static_cast< int >(val4
);
6375 if (!wxPyCheckForApp()) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6388 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(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_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6404 result
= (long)(arg1
)->GetHandle();
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_From_long(static_cast< long >(result
));
6414 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
= 0;
6416 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6424 char * kwnames
[] = {
6425 (char *) "self",(char *) "handle", NULL
6428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6435 if (!SWIG_IsOK(ecode2
)) {
6436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6438 arg2
= static_cast< long >(val2
);
6440 wxBitmap_SetHandle(arg1
,arg2
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_Py_Void();
6450 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6451 PyObject
*resultobj
= 0;
6452 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6456 PyObject
*swig_obj
[1] ;
6458 if (!args
) SWIG_fail
;
6460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6461 if (!SWIG_IsOK(res1
)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6464 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6466 result
= (bool)(arg1
)->IsOk();
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6478 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6479 PyObject
*resultobj
= 0;
6480 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6484 PyObject
*swig_obj
[1] ;
6486 if (!args
) SWIG_fail
;
6488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6489 if (!SWIG_IsOK(res1
)) {
6490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6492 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6494 result
= (int)(arg1
)->GetWidth();
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_From_int(static_cast< int >(result
));
6504 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6510 PyObject
*swig_obj
[1] ;
6512 if (!args
) SWIG_fail
;
6514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6515 if (!SWIG_IsOK(res1
)) {
6516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6518 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6520 result
= (int)(arg1
)->GetHeight();
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_From_int(static_cast< int >(result
));
6530 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6544 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6546 result
= (int)(arg1
)->GetDepth();
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_From_int(static_cast< int >(result
));
6556 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6570 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6572 result
= wxBitmap_GetSize(arg1
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6582 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6583 PyObject
*resultobj
= 0;
6584 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6585 SwigValueWrapper
<wxImage
> result
;
6588 PyObject
*swig_obj
[1] ;
6590 if (!args
) SWIG_fail
;
6592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6593 if (!SWIG_IsOK(res1
)) {
6594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6596 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6598 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6608 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6609 PyObject
*resultobj
= 0;
6610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6611 wxMask
*result
= 0 ;
6614 PyObject
*swig_obj
[1] ;
6616 if (!args
) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6622 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6624 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6634 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
= 0;
6636 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6637 wxMask
*arg2
= (wxMask
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 char * kwnames
[] = {
6644 (char *) "self",(char *) "mask", NULL
6647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6652 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6654 if (!SWIG_IsOK(res2
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6658 (arg1
)->SetMask(arg2
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6668 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
= 0;
6670 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6671 wxColour
*arg2
= 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6677 char * kwnames
[] = {
6678 (char *) "self",(char *) "colour", NULL
6681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6683 if (!SWIG_IsOK(res1
)) {
6684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6686 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6692 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= SWIG_Py_Void();
6702 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
= 0;
6704 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6706 SwigValueWrapper
<wxBitmap
> result
;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6712 char * kwnames
[] = {
6713 (char *) "self",(char *) "rect", NULL
6716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6718 if (!SWIG_IsOK(res1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6721 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6727 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6737 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
= 0;
6739 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6740 wxString
*arg2
= 0 ;
6742 wxPalette
*arg4
= (wxPalette
*) NULL
;
6746 bool temp2
= false ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 PyObject
* obj2
= 0 ;
6754 PyObject
* obj3
= 0 ;
6755 char * kwnames
[] = {
6756 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6764 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6766 arg2
= wxString_in_helper(obj1
);
6767 if (arg2
== NULL
) SWIG_fail
;
6770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6771 if (!SWIG_IsOK(ecode3
)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6774 arg3
= static_cast< wxBitmapType
>(val3
);
6776 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6777 if (!SWIG_IsOK(res4
)) {
6778 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6780 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6783 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6803 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
= 0;
6805 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6806 wxString
*arg2
= 0 ;
6811 bool temp2
= false ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6817 char * kwnames
[] = {
6818 (char *) "self",(char *) "name",(char *) "type", NULL
6821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6823 if (!SWIG_IsOK(res1
)) {
6824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6826 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6828 arg2
= wxString_in_helper(obj1
);
6829 if (arg2
== NULL
) SWIG_fail
;
6832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6833 if (!SWIG_IsOK(ecode3
)) {
6834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6836 arg3
= static_cast< wxBitmapType
>(val3
);
6838 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6859 PyObject
*resultobj
= 0;
6860 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6861 wxPalette
*result
= 0 ;
6864 PyObject
*swig_obj
[1] ;
6866 if (!args
) SWIG_fail
;
6868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6869 if (!SWIG_IsOK(res1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6884 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6887 wxPalette
*arg2
= 0 ;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6894 char * kwnames
[] = {
6895 (char *) "self",(char *) "palette", NULL
6898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6900 if (!SWIG_IsOK(res1
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6903 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6905 if (!SWIG_IsOK(res2
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6911 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6913 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 char * kwnames
[] = {
6935 (char *) "self",(char *) "icon", NULL
6938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6943 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6945 if (!SWIG_IsOK(res2
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6951 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6953 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6965 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
= 0;
6967 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "height", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6986 if (!SWIG_IsOK(ecode2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6989 arg2
= static_cast< int >(val2
);
6991 (arg1
)->SetHeight(arg2
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_Py_Void();
7001 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
= 0;
7003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 char * kwnames
[] = {
7012 (char *) "self",(char *) "width", NULL
7015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7020 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7022 if (!SWIG_IsOK(ecode2
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7025 arg2
= static_cast< int >(val2
);
7027 (arg1
)->SetWidth(arg2
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_Py_Void();
7037 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "depth", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7056 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7058 if (!SWIG_IsOK(ecode2
)) {
7059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7061 arg2
= static_cast< int >(val2
);
7063 (arg1
)->SetDepth(arg2
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_Py_Void();
7073 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= 0;
7075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7082 char * kwnames
[] = {
7083 (char *) "self",(char *) "size", NULL
7086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res1
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7091 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7094 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7097 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_Py_Void();
7107 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= 0;
7109 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7110 wxCursor
*arg2
= 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 char * kwnames
[] = {
7119 (char *) "self",(char *) "cursor", NULL
7122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7127 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7129 if (!SWIG_IsOK(res2
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7135 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7137 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7149 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
= 0;
7151 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "data", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7170 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7174 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_Py_Void();
7184 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
= 0;
7186 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "self",(char *) "data", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7203 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7205 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7209 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_Py_Void();
7219 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
= 0;
7221 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7222 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7230 char * kwnames
[] = {
7231 (char *) "self",(char *) "other", NULL
7234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7236 if (!SWIG_IsOK(res1
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7239 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7241 if (!SWIG_IsOK(res2
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7244 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7246 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7258 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
= 0;
7260 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7261 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "self",(char *) "other", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7280 if (!SWIG_IsOK(res2
)) {
7281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7283 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7285 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7297 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7300 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7301 return SWIG_Py_Void();
7304 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7305 return SWIG_Python_InitShadowInstance(args
);
7308 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
= 0;
7316 wxBitmap
*result
= 0 ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7325 PyObject
* obj2
= 0 ;
7326 PyObject
* obj3
= 0 ;
7327 char * kwnames
[] = {
7328 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7333 if (!SWIG_IsOK(ecode1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7336 arg1
= static_cast< int >(val1
);
7337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7338 if (!SWIG_IsOK(ecode2
)) {
7339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7341 arg2
= static_cast< int >(val2
);
7343 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7347 if (obj3
!= Py_None
) {
7348 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7353 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7363 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
= 0;
7369 wxBitmap
*result
= 0 ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 PyObject
* obj2
= 0 ;
7378 char * kwnames
[] = {
7379 (char *) "width",(char *) "height",(char *) "data", NULL
7382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7384 if (!SWIG_IsOK(ecode1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7387 arg1
= static_cast< int >(val1
);
7388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7389 if (!SWIG_IsOK(ecode2
)) {
7390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7392 arg2
= static_cast< int >(val2
);
7394 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7398 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7408 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
= 0;
7414 wxBitmap
*result
= 0 ;
7420 PyObject
* obj0
= 0 ;
7421 PyObject
* obj1
= 0 ;
7422 PyObject
* obj2
= 0 ;
7423 char * kwnames
[] = {
7424 (char *) "width",(char *) "height",(char *) "data", NULL
7427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7429 if (!SWIG_IsOK(ecode1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7432 arg1
= static_cast< int >(val1
);
7433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7434 if (!SWIG_IsOK(ecode2
)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7437 arg2
= static_cast< int >(val2
);
7439 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7443 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7453 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7454 PyObject
*resultobj
= 0;
7455 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7459 PyObject
*swig_obj
[1] ;
7461 if (!args
) SWIG_fail
;
7463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7464 if (!SWIG_IsOK(res1
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7467 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7469 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7479 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7480 PyObject
*resultobj
= 0;
7481 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7485 PyObject
*swig_obj
[1] ;
7487 if (!args
) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7493 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7495 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_From_int(static_cast< int >(result
));
7505 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7506 PyObject
*resultobj
= 0;
7507 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7511 PyObject
*swig_obj
[1] ;
7513 if (!args
) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7519 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7521 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_From_int(static_cast< int >(result
));
7531 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7532 PyObject
*resultobj
= 0;
7533 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7537 PyObject
*swig_obj
[1] ;
7539 if (!args
) SWIG_fail
;
7541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7542 if (!SWIG_IsOK(res1
)) {
7543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7545 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7547 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7557 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7558 PyObject
*resultobj
= 0;
7559 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7563 PyObject
*swig_obj
[1] ;
7565 if (!args
) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7571 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7573 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_From_int(static_cast< int >(result
));
7583 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7587 return SWIG_Py_Void();
7590 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7591 PyObject
*resultobj
= 0;
7592 wxBitmap
*arg1
= 0 ;
7593 wxNativePixelData
*result
= 0 ;
7597 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7605 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7607 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7617 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7618 PyObject
*resultobj
= 0;
7619 wxBitmap
*arg1
= 0 ;
7621 wxNativePixelData
*result
= 0 ;
7626 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7628 if (!SWIG_IsOK(res1
)) {
7629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7634 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7637 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7640 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7650 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7651 PyObject
*resultobj
= 0;
7652 wxBitmap
*arg1
= 0 ;
7655 wxNativePixelData
*result
= 0 ;
7661 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7672 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7676 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7679 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7689 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7693 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7696 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7699 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7702 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7706 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7711 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7712 PyObject
*resultobj
= 0;
7713 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7716 PyObject
*swig_obj
[1] ;
7718 if (!args
) SWIG_fail
;
7720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7721 if (!SWIG_IsOK(res1
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7724 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_Py_Void();
7737 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7738 PyObject
*resultobj
= 0;
7739 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7740 wxNativePixelData_Accessor result
;
7743 PyObject
*swig_obj
[1] ;
7745 if (!args
) SWIG_fail
;
7747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7748 if (!SWIG_IsOK(res1
)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7751 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7753 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7763 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7764 PyObject
*resultobj
= 0;
7765 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7768 PyObject
*swig_obj
[1] ;
7770 if (!args
) SWIG_fail
;
7772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7773 if (!SWIG_IsOK(res1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7776 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_Py_Void();
7788 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7789 PyObject
*resultobj
= 0;
7790 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7794 PyObject
*swig_obj
[1] ;
7796 if (!args
) SWIG_fail
;
7798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7799 if (!SWIG_IsOK(res1
)) {
7800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7802 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7804 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7816 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7819 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7820 return SWIG_Py_Void();
7823 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 return SWIG_Python_InitShadowInstance(args
);
7827 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7828 PyObject
*resultobj
= 0;
7829 wxNativePixelData
*arg1
= 0 ;
7830 wxNativePixelData_Accessor
*result
= 0 ;
7834 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7842 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7844 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7854 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7855 PyObject
*resultobj
= 0;
7856 wxBitmap
*arg1
= 0 ;
7857 wxNativePixelData
*arg2
= 0 ;
7858 wxNativePixelData_Accessor
*result
= 0 ;
7864 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7866 if (!SWIG_IsOK(res1
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7873 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7874 if (!SWIG_IsOK(res2
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7880 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7882 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7892 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7893 PyObject
*resultobj
= 0;
7894 wxNativePixelData_Accessor
*result
= 0 ;
7896 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7898 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7908 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7912 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7915 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7918 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7921 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7925 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7930 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7931 PyObject
*resultobj
= 0;
7932 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7935 PyObject
*swig_obj
[1] ;
7937 if (!args
) SWIG_fail
;
7939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7940 if (!SWIG_IsOK(res1
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7943 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_Py_Void();
7956 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
= 0;
7958 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7959 wxNativePixelData
*arg2
= 0 ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "self",(char *) "data", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7975 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7977 if (!SWIG_IsOK(res2
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7983 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7985 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_Py_Void();
7995 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7996 PyObject
*resultobj
= 0;
7997 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8001 PyObject
*swig_obj
[1] ;
8003 if (!args
) SWIG_fail
;
8005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8006 if (!SWIG_IsOK(res1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8009 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8011 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8023 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8028 PyObject
*swig_obj
[1] ;
8030 if (!args
) SWIG_fail
;
8032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8033 if (!SWIG_IsOK(res1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8036 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8038 wxNativePixelData_Accessor_nextPixel(arg1
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_Py_Void();
8048 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8051 wxNativePixelData
*arg2
= 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8064 PyObject
* obj2
= 0 ;
8065 PyObject
* obj3
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8075 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8077 if (!SWIG_IsOK(res2
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8083 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8085 if (!SWIG_IsOK(ecode3
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8088 arg3
= static_cast< int >(val3
);
8089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8090 if (!SWIG_IsOK(ecode4
)) {
8091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8093 arg4
= static_cast< int >(val4
);
8095 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_Py_Void();
8105 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
= 0;
8107 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8108 wxNativePixelData
*arg2
= 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8119 char * kwnames
[] = {
8120 (char *) "self",(char *) "data",(char *) "x", NULL
8123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8128 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8130 if (!SWIG_IsOK(res2
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8136 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8138 if (!SWIG_IsOK(ecode3
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8141 arg3
= static_cast< int >(val3
);
8143 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_Py_Void();
8153 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
= 0;
8155 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8156 wxNativePixelData
*arg2
= 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8167 char * kwnames
[] = {
8168 (char *) "self",(char *) "data",(char *) "y", NULL
8171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8173 if (!SWIG_IsOK(res1
)) {
8174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8176 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8178 if (!SWIG_IsOK(res2
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8184 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8186 if (!SWIG_IsOK(ecode3
)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8189 arg3
= static_cast< int >(val3
);
8191 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_Py_Void();
8201 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
= 0;
8203 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8204 wxNativePixelData
*arg2
= 0 ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 char * kwnames
[] = {
8220 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8228 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8230 if (!SWIG_IsOK(res2
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8236 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8238 if (!SWIG_IsOK(ecode3
)) {
8239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8241 arg3
= static_cast< int >(val3
);
8242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8243 if (!SWIG_IsOK(ecode4
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8246 arg4
= static_cast< int >(val4
);
8248 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_Py_Void();
8258 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
= 0;
8260 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8266 unsigned char val2
;
8268 unsigned char val3
;
8270 unsigned char val4
;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8274 PyObject
* obj2
= 0 ;
8275 PyObject
* obj3
= 0 ;
8276 char * kwnames
[] = {
8277 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8282 if (!SWIG_IsOK(res1
)) {
8283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8285 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8286 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8287 if (!SWIG_IsOK(ecode2
)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8290 arg2
= static_cast< byte
>(val2
);
8291 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8292 if (!SWIG_IsOK(ecode3
)) {
8293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8295 arg3
= static_cast< byte
>(val3
);
8296 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8297 if (!SWIG_IsOK(ecode4
)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8300 arg4
= static_cast< byte
>(val4
);
8302 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= SWIG_Py_Void();
8312 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8313 PyObject
*resultobj
= 0;
8314 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8315 PyObject
*result
= 0 ;
8318 PyObject
*swig_obj
[1] ;
8320 if (!args
) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8326 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8328 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8338 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8341 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8342 return SWIG_Py_Void();
8345 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8346 return SWIG_Python_InitShadowInstance(args
);
8349 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8350 PyObject
*resultobj
= 0;
8351 wxBitmap
*arg1
= 0 ;
8352 wxAlphaPixelData
*result
= 0 ;
8356 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8366 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8376 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8377 PyObject
*resultobj
= 0;
8378 wxBitmap
*arg1
= 0 ;
8380 wxAlphaPixelData
*result
= 0 ;
8385 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8387 if (!SWIG_IsOK(res1
)) {
8388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8393 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8396 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8399 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8409 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8410 PyObject
*resultobj
= 0;
8411 wxBitmap
*arg1
= 0 ;
8414 wxAlphaPixelData
*result
= 0 ;
8420 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8422 if (!SWIG_IsOK(res1
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8428 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8431 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8435 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8438 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8448 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8452 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8455 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8458 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8461 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8465 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8470 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8471 PyObject
*resultobj
= 0;
8472 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8475 PyObject
*swig_obj
[1] ;
8477 if (!args
) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8483 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_Py_Void();
8496 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8497 PyObject
*resultobj
= 0;
8498 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8499 wxAlphaPixelData_Accessor result
;
8502 PyObject
*swig_obj
[1] ;
8504 if (!args
) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8510 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8512 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8522 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8523 PyObject
*resultobj
= 0;
8524 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8527 PyObject
*swig_obj
[1] ;
8529 if (!args
) SWIG_fail
;
8531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8532 if (!SWIG_IsOK(res1
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8535 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_Py_Void();
8547 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8548 PyObject
*resultobj
= 0;
8549 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8553 PyObject
*swig_obj
[1] ;
8555 if (!args
) SWIG_fail
;
8557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8558 if (!SWIG_IsOK(res1
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8561 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8563 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8578 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8579 return SWIG_Py_Void();
8582 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8583 return SWIG_Python_InitShadowInstance(args
);
8586 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8587 PyObject
*resultobj
= 0;
8588 wxAlphaPixelData
*arg1
= 0 ;
8589 wxAlphaPixelData_Accessor
*result
= 0 ;
8593 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8595 if (!SWIG_IsOK(res1
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8601 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8603 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8613 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8614 PyObject
*resultobj
= 0;
8615 wxBitmap
*arg1
= 0 ;
8616 wxAlphaPixelData
*arg2
= 0 ;
8617 wxAlphaPixelData_Accessor
*result
= 0 ;
8623 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8625 if (!SWIG_IsOK(res1
)) {
8626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8631 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8632 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8633 if (!SWIG_IsOK(res2
)) {
8634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8639 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8641 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8651 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8652 PyObject
*resultobj
= 0;
8653 wxAlphaPixelData_Accessor
*result
= 0 ;
8655 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8657 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8667 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8671 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8674 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8677 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8680 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8684 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8689 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8690 PyObject
*resultobj
= 0;
8691 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8694 PyObject
*swig_obj
[1] ;
8696 if (!args
) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8702 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_Py_Void();
8715 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
= 0;
8717 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8718 wxAlphaPixelData
*arg2
= 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 char * kwnames
[] = {
8726 (char *) "self",(char *) "data", NULL
8729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8734 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8736 if (!SWIG_IsOK(res2
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8742 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8744 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_Py_Void();
8754 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8755 PyObject
*resultobj
= 0;
8756 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8760 PyObject
*swig_obj
[1] ;
8762 if (!args
) SWIG_fail
;
8764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8765 if (!SWIG_IsOK(res1
)) {
8766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8768 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8770 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8782 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 PyObject
*resultobj
= 0;
8784 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8787 PyObject
*swig_obj
[1] ;
8789 if (!args
) SWIG_fail
;
8791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8792 if (!SWIG_IsOK(res1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8795 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8797 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_Py_Void();
8807 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8810 wxAlphaPixelData
*arg2
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8834 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8842 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8844 if (!SWIG_IsOK(ecode3
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8847 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8852 arg4
= static_cast< int >(val4
);
8854 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8867 wxAlphaPixelData
*arg2
= 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8878 char * kwnames
[] = {
8879 (char *) "self",(char *) "data",(char *) "x", NULL
8882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8884 if (!SWIG_IsOK(res1
)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8887 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8889 if (!SWIG_IsOK(res2
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8895 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8897 if (!SWIG_IsOK(ecode3
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8900 arg3
= static_cast< int >(val3
);
8902 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_Py_Void();
8912 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= 0;
8914 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8915 wxAlphaPixelData
*arg2
= 0 ;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "data",(char *) "y", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8935 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8937 if (!SWIG_IsOK(res2
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8943 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8945 if (!SWIG_IsOK(ecode3
)) {
8946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8948 arg3
= static_cast< int >(val3
);
8950 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= SWIG_Py_Void();
8960 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
= 0;
8962 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8963 wxAlphaPixelData
*arg2
= 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8977 PyObject
* obj3
= 0 ;
8978 char * kwnames
[] = {
8979 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8984 if (!SWIG_IsOK(res1
)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8987 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8989 if (!SWIG_IsOK(res2
)) {
8990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8995 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8997 if (!SWIG_IsOK(ecode3
)) {
8998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9000 arg3
= static_cast< int >(val3
);
9001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9002 if (!SWIG_IsOK(ecode4
)) {
9003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9005 arg4
= static_cast< int >(val4
);
9007 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_Py_Void();
9017 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
= 0;
9019 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9026 unsigned char val2
;
9028 unsigned char val3
;
9030 unsigned char val4
;
9032 unsigned char val5
;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 PyObject
* obj2
= 0 ;
9037 PyObject
* obj3
= 0 ;
9038 PyObject
* obj4
= 0 ;
9039 char * kwnames
[] = {
9040 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9048 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9049 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9050 if (!SWIG_IsOK(ecode2
)) {
9051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9053 arg2
= static_cast< byte
>(val2
);
9054 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9055 if (!SWIG_IsOK(ecode3
)) {
9056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9058 arg3
= static_cast< byte
>(val3
);
9059 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9060 if (!SWIG_IsOK(ecode4
)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9063 arg4
= static_cast< byte
>(val4
);
9064 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9065 if (!SWIG_IsOK(ecode5
)) {
9066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9068 arg5
= static_cast< byte
>(val5
);
9070 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_Py_Void();
9080 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9081 PyObject
*resultobj
= 0;
9082 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9083 PyObject
*result
= 0 ;
9086 PyObject
*swig_obj
[1] ;
9088 if (!args
) SWIG_fail
;
9090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9091 if (!SWIG_IsOK(res1
)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9094 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9096 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9106 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9109 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9110 return SWIG_Py_Void();
9113 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9114 return SWIG_Python_InitShadowInstance(args
);
9117 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
= 0;
9119 wxBitmap
*arg1
= 0 ;
9120 wxColour
const &arg2_defvalue
= wxNullColour
;
9121 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9122 wxMask
*result
= 0 ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "bitmap",(char *) "colour", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9140 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9148 if (!wxPyCheckForApp()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9161 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9162 PyObject
*resultobj
= 0;
9163 wxMask
*arg1
= (wxMask
*) 0 ;
9166 PyObject
*swig_obj
[1] ;
9168 if (!args
) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9174 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_Py_Void();
9187 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9190 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9191 return SWIG_Py_Void();
9194 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9195 return SWIG_Python_InitShadowInstance(args
);
9198 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
= 0;
9200 wxString
*arg1
= 0 ;
9202 int arg3
= (int) -1 ;
9203 int arg4
= (int) -1 ;
9204 wxIcon
*result
= 0 ;
9205 bool temp1
= false ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 PyObject
* obj2
= 0 ;
9215 PyObject
* obj3
= 0 ;
9216 char * kwnames
[] = {
9217 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9222 arg1
= wxString_in_helper(obj0
);
9223 if (arg1
== NULL
) SWIG_fail
;
9226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9227 if (!SWIG_IsOK(ecode2
)) {
9228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9230 arg2
= static_cast< wxBitmapType
>(val2
);
9232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9233 if (!SWIG_IsOK(ecode3
)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9236 arg3
= static_cast< int >(val3
);
9239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9240 if (!SWIG_IsOK(ecode4
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9243 arg4
= static_cast< int >(val4
);
9246 if (!wxPyCheckForApp()) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9267 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9268 PyObject
*resultobj
= 0;
9269 wxIcon
*arg1
= (wxIcon
*) 0 ;
9272 PyObject
*swig_obj
[1] ;
9274 if (!args
) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9280 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_Py_Void();
9295 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxIcon
*result
= 0 ;
9299 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9301 if (!wxPyCheckForApp()) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (wxIcon
*)new wxIcon();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9314 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
= 0;
9316 wxIconLocation
*arg1
= 0 ;
9317 wxIcon
*result
= 0 ;
9320 PyObject
* obj0
= 0 ;
9321 char * kwnames
[] = {
9322 (char *) "loc", NULL
9325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9333 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9335 if (!wxPyCheckForApp()) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9348 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
= 0;
9350 wxBitmap
*arg1
= 0 ;
9351 wxIcon
*result
= 0 ;
9354 PyObject
* obj0
= 0 ;
9355 char * kwnames
[] = {
9356 (char *) "bmp", NULL
9359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9367 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9369 if (!wxPyCheckForApp()) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9382 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
= 0;
9384 PyObject
*arg1
= (PyObject
*) 0 ;
9385 wxIcon
*result
= 0 ;
9386 PyObject
* obj0
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "listOfStrings", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9394 if (!wxPyCheckForApp()) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (wxIcon
*)new_wxIcon(arg1
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9407 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
= 0;
9409 wxIcon
*arg1
= (wxIcon
*) 0 ;
9410 wxString
*arg2
= 0 ;
9415 bool temp2
= false ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9421 char * kwnames
[] = {
9422 (char *) "self",(char *) "name",(char *) "type", NULL
9425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9427 if (!SWIG_IsOK(res1
)) {
9428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9430 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9432 arg2
= wxString_in_helper(obj1
);
9433 if (arg2
== NULL
) SWIG_fail
;
9436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9437 if (!SWIG_IsOK(ecode3
)) {
9438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9440 arg3
= static_cast< wxBitmapType
>(val3
);
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9464 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9465 PyObject
*resultobj
= 0;
9466 wxIcon
*arg1
= (wxIcon
*) 0 ;
9470 PyObject
*swig_obj
[1] ;
9472 if (!args
) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9478 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (long)(arg1
)->GetHandle();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_From_long(static_cast< long >(result
));
9492 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
= 0;
9494 wxIcon
*arg1
= (wxIcon
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 char * kwnames
[] = {
9503 (char *) "self",(char *) "handle", NULL
9506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9508 if (!SWIG_IsOK(res1
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9511 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9512 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9513 if (!SWIG_IsOK(ecode2
)) {
9514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9516 arg2
= static_cast< long >(val2
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 wxIcon_SetHandle(arg1
,arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_Py_Void();
9530 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 PyObject
*resultobj
= 0;
9532 wxIcon
*arg1
= (wxIcon
*) 0 ;
9536 PyObject
*swig_obj
[1] ;
9538 if (!args
) SWIG_fail
;
9540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9541 if (!SWIG_IsOK(res1
)) {
9542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9544 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)(arg1
)->IsOk();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9561 PyObject
*resultobj
= 0;
9562 wxIcon
*arg1
= (wxIcon
*) 0 ;
9566 PyObject
*swig_obj
[1] ;
9568 if (!args
) SWIG_fail
;
9570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9571 if (!SWIG_IsOK(res1
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9574 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (int)(arg1
)->GetWidth();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_From_int(static_cast< int >(result
));
9588 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9589 PyObject
*resultobj
= 0;
9590 wxIcon
*arg1
= (wxIcon
*) 0 ;
9594 PyObject
*swig_obj
[1] ;
9596 if (!args
) SWIG_fail
;
9598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9599 if (!SWIG_IsOK(res1
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9602 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (int)(arg1
)->GetHeight();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_From_int(static_cast< int >(result
));
9616 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9617 PyObject
*resultobj
= 0;
9618 wxIcon
*arg1
= (wxIcon
*) 0 ;
9622 PyObject
*swig_obj
[1] ;
9624 if (!args
) SWIG_fail
;
9626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9627 if (!SWIG_IsOK(res1
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9630 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (int)(arg1
)->GetDepth();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_From_int(static_cast< int >(result
));
9644 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
= 0;
9646 wxIcon
*arg1
= (wxIcon
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 char * kwnames
[] = {
9655 (char *) "self",(char *) "w", NULL
9658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9660 if (!SWIG_IsOK(res1
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9663 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9665 if (!SWIG_IsOK(ecode2
)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9668 arg2
= static_cast< int >(val2
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->SetWidth(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_Py_Void();
9682 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxIcon
*arg1
= (wxIcon
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 char * kwnames
[] = {
9693 (char *) "self",(char *) "h", NULL
9696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9701 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9703 if (!SWIG_IsOK(ecode2
)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9706 arg2
= static_cast< int >(val2
);
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetHeight(arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_Py_Void();
9720 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxIcon
*arg1
= (wxIcon
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "d", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9739 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9741 if (!SWIG_IsOK(ecode2
)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9744 arg2
= static_cast< int >(val2
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetDepth(arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_Py_Void();
9758 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= 0;
9760 wxIcon
*arg1
= (wxIcon
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 char * kwnames
[] = {
9768 (char *) "self",(char *) "size", NULL
9771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9776 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9779 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 (arg1
)->SetSize((wxSize
const &)*arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_Py_Void();
9794 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxIcon
*arg1
= (wxIcon
*) 0 ;
9797 wxBitmap
*arg2
= 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "bmp", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9813 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9815 if (!SWIG_IsOK(res2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9821 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9838 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9839 return SWIG_Py_Void();
9842 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9843 return SWIG_Python_InitShadowInstance(args
);
9846 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
= 0;
9848 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9849 int arg2
= (int) 0 ;
9850 wxIconLocation
*result
= 0 ;
9851 bool temp1
= false ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 char * kwnames
[] = {
9857 (char *) "filename",(char *) "num", NULL
9860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9863 arg1
= wxString_in_helper(obj0
);
9864 if (arg1
== NULL
) SWIG_fail
;
9869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9870 if (!SWIG_IsOK(ecode2
)) {
9871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9873 arg2
= static_cast< int >(val2
);
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9896 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9897 PyObject
*resultobj
= 0;
9898 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9901 PyObject
*swig_obj
[1] ;
9903 if (!args
) SWIG_fail
;
9905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9906 if (!SWIG_IsOK(res1
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9909 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= SWIG_Py_Void();
9924 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9925 PyObject
*resultobj
= 0;
9926 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9930 PyObject
*swig_obj
[1] ;
9932 if (!args
) SWIG_fail
;
9934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9935 if (!SWIG_IsOK(res1
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9938 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9954 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9957 wxString
*arg2
= 0 ;
9960 bool temp2
= false ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "self",(char *) "filename", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9969 if (!SWIG_IsOK(res1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9972 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9974 arg2
= wxString_in_helper(obj1
);
9975 if (arg2
== NULL
) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 (arg1
)->SetFileName((wxString
const &)*arg2
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_Py_Void();
9999 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10000 PyObject
*resultobj
= 0;
10001 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10002 wxString
*result
= 0 ;
10005 PyObject
*swig_obj
[1] ;
10007 if (!args
) SWIG_fail
;
10008 swig_obj
[0] = args
;
10009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10013 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10018 result
= (wxString
*) &_result_ref
;
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10036 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
= 0;
10038 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 char * kwnames
[] = {
10047 (char *) "self",(char *) "num", NULL
10050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10055 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10057 if (!SWIG_IsOK(ecode2
)) {
10058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10060 arg2
= static_cast< int >(val2
);
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 wxIconLocation_SetIndex(arg1
,arg2
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_Py_Void();
10074 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10075 PyObject
*resultobj
= 0;
10076 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10080 PyObject
*swig_obj
[1] ;
10082 if (!args
) SWIG_fail
;
10083 swig_obj
[0] = args
;
10084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10085 if (!SWIG_IsOK(res1
)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10088 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (int)wxIconLocation_GetIndex(arg1
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_From_int(static_cast< int >(result
));
10102 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10105 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10106 return SWIG_Py_Void();
10109 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10110 return SWIG_Python_InitShadowInstance(args
);
10113 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxIconBundle
*result
= 0 ;
10117 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (wxIconBundle
*)new wxIconBundle();
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10131 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
= 0;
10133 wxString
*arg1
= 0 ;
10135 wxIconBundle
*result
= 0 ;
10136 bool temp1
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char * kwnames
[] = {
10142 (char *) "file",(char *) "type", NULL
10145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10147 arg1
= wxString_in_helper(obj0
);
10148 if (arg1
== NULL
) SWIG_fail
;
10151 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10152 if (!SWIG_IsOK(ecode2
)) {
10153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10155 arg2
= static_cast< long >(val2
);
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10177 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
= 0;
10180 wxIconBundle
*result
= 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char * kwnames
[] = {
10185 (char *) "icon", NULL
10188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10189 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10190 if (!SWIG_IsOK(res1
)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10196 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10210 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10211 PyObject
*resultobj
= 0;
10212 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10215 PyObject
*swig_obj
[1] ;
10217 if (!args
) SWIG_fail
;
10218 swig_obj
[0] = args
;
10219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10223 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_Py_Void();
10238 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
= 0;
10240 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 char * kwnames
[] = {
10249 (char *) "self",(char *) "icon", NULL
10252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10254 if (!SWIG_IsOK(res1
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10257 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10259 if (!SWIG_IsOK(res2
)) {
10260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10265 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_Py_Void();
10279 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10282 wxString
*arg2
= 0 ;
10286 bool temp2
= false ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 char * kwnames
[] = {
10293 (char *) "self",(char *) "file",(char *) "type", NULL
10296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10301 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10303 arg2
= wxString_in_helper(obj1
);
10304 if (arg2
== NULL
) SWIG_fail
;
10307 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10308 if (!SWIG_IsOK(ecode3
)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10311 arg3
= static_cast< long >(val3
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_Py_Void();
10333 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
= 0;
10335 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10337 wxIcon
*result
= 0 ;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char * kwnames
[] = {
10344 (char *) "self",(char *) "size", NULL
10347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10349 if (!SWIG_IsOK(res1
)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10352 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10355 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10361 result
= (wxIcon
*) &_result_ref
;
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10367 wxIcon
* resultptr
= new wxIcon(*result
);
10368 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10376 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10379 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10380 return SWIG_Py_Void();
10383 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10384 return SWIG_Python_InitShadowInstance(args
);
10387 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
= 0;
10389 wxString
*arg1
= 0 ;
10391 int arg3
= (int) 0 ;
10392 int arg4
= (int) 0 ;
10393 wxCursor
*result
= 0 ;
10394 bool temp1
= false ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 PyObject
* obj3
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10411 arg1
= wxString_in_helper(obj0
);
10412 if (arg1
== NULL
) SWIG_fail
;
10415 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10416 if (!SWIG_IsOK(ecode2
)) {
10417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10419 arg2
= static_cast< long >(val2
);
10421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10422 if (!SWIG_IsOK(ecode3
)) {
10423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10425 arg3
= static_cast< int >(val3
);
10428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10429 if (!SWIG_IsOK(ecode4
)) {
10430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10432 arg4
= static_cast< int >(val4
);
10435 if (!wxPyCheckForApp()) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10456 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10457 PyObject
*resultobj
= 0;
10458 wxCursor
*arg1
= (wxCursor
*) 0 ;
10461 PyObject
*swig_obj
[1] ;
10463 if (!args
) SWIG_fail
;
10464 swig_obj
[0] = args
;
10465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10469 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_Py_Void();
10484 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10487 wxCursor
*result
= 0 ;
10490 PyObject
* obj0
= 0 ;
10491 char * kwnames
[] = {
10492 (char *) "id", NULL
10495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10497 if (!SWIG_IsOK(ecode1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10500 arg1
= static_cast< int >(val1
);
10502 if (!wxPyCheckForApp()) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (wxCursor
*)new wxCursor(arg1
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10515 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
= 0;
10517 wxImage
*arg1
= 0 ;
10518 wxCursor
*result
= 0 ;
10521 PyObject
* obj0
= 0 ;
10522 char * kwnames
[] = {
10523 (char *) "image", NULL
10526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10527 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10534 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10536 if (!wxPyCheckForApp()) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10549 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 PyObject
*resultobj
= 0;
10551 wxCursor
*arg1
= (wxCursor
*) 0 ;
10555 PyObject
*swig_obj
[1] ;
10557 if (!args
) SWIG_fail
;
10558 swig_obj
[0] = args
;
10559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10563 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (long)(arg1
)->GetHandle();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= SWIG_From_long(static_cast< long >(result
));
10577 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
= 0;
10579 wxCursor
*arg1
= (wxCursor
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "handle", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10596 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10598 if (!SWIG_IsOK(ecode2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10601 arg2
= static_cast< long >(val2
);
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 wxCursor_SetHandle(arg1
,arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_Py_Void();
10615 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10616 PyObject
*resultobj
= 0;
10617 wxCursor
*arg1
= (wxCursor
*) 0 ;
10621 PyObject
*swig_obj
[1] ;
10623 if (!args
) SWIG_fail
;
10624 swig_obj
[0] = args
;
10625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10626 if (!SWIG_IsOK(res1
)) {
10627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10629 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->IsOk();
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10645 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10646 PyObject
*resultobj
= 0;
10647 wxCursor
*arg1
= (wxCursor
*) 0 ;
10651 PyObject
*swig_obj
[1] ;
10653 if (!args
) SWIG_fail
;
10654 swig_obj
[0] = args
;
10655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10656 if (!SWIG_IsOK(res1
)) {
10657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10659 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (int)(arg1
)->GetWidth();
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= SWIG_From_int(static_cast< int >(result
));
10673 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10674 PyObject
*resultobj
= 0;
10675 wxCursor
*arg1
= (wxCursor
*) 0 ;
10679 PyObject
*swig_obj
[1] ;
10681 if (!args
) SWIG_fail
;
10682 swig_obj
[0] = args
;
10683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10687 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= (int)(arg1
)->GetHeight();
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_From_int(static_cast< int >(result
));
10701 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10702 PyObject
*resultobj
= 0;
10703 wxCursor
*arg1
= (wxCursor
*) 0 ;
10707 PyObject
*swig_obj
[1] ;
10709 if (!args
) SWIG_fail
;
10710 swig_obj
[0] = args
;
10711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10712 if (!SWIG_IsOK(res1
)) {
10713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10715 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 result
= (int)(arg1
)->GetDepth();
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= SWIG_From_int(static_cast< int >(result
));
10729 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
= 0;
10731 wxCursor
*arg1
= (wxCursor
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char * kwnames
[] = {
10740 (char *) "self",(char *) "w", NULL
10743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10748 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10750 if (!SWIG_IsOK(ecode2
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10753 arg2
= static_cast< int >(val2
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetWidth(arg2
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_Py_Void();
10767 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
= 0;
10769 wxCursor
*arg1
= (wxCursor
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 char * kwnames
[] = {
10778 (char *) "self",(char *) "h", NULL
10781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10783 if (!SWIG_IsOK(res1
)) {
10784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10786 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10788 if (!SWIG_IsOK(ecode2
)) {
10789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10791 arg2
= static_cast< int >(val2
);
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetHeight(arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_Py_Void();
10805 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= 0;
10807 wxCursor
*arg1
= (wxCursor
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "d", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10824 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10829 arg2
= static_cast< int >(val2
);
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetDepth(arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_Py_Void();
10843 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
= 0;
10845 wxCursor
*arg1
= (wxCursor
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "size", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10861 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetSize((wxSize
const &)*arg2
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_Py_Void();
10879 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10882 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10883 return SWIG_Py_Void();
10886 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10887 return SWIG_Python_InitShadowInstance(args
);
10890 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
= 0;
10892 int arg1
= (int) 0 ;
10893 int arg2
= (int) 0 ;
10894 int arg3
= (int) 0 ;
10895 int arg4
= (int) 0 ;
10896 wxRegion
*result
= 0 ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 PyObject
* obj2
= 0 ;
10908 PyObject
* obj3
= 0 ;
10909 char * kwnames
[] = {
10910 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10915 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10916 if (!SWIG_IsOK(ecode1
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10919 arg1
= static_cast< int >(val1
);
10922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10923 if (!SWIG_IsOK(ecode2
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10926 arg2
= static_cast< int >(val2
);
10929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10930 if (!SWIG_IsOK(ecode3
)) {
10931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10933 arg3
= static_cast< int >(val3
);
10936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10937 if (!SWIG_IsOK(ecode4
)) {
10938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10940 arg4
= static_cast< int >(val4
);
10943 if (!wxPyCheckForApp()) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10956 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
= 0;
10958 wxBitmap
*arg1
= 0 ;
10959 wxRegion
*result
= 0 ;
10962 PyObject
* obj0
= 0 ;
10963 char * kwnames
[] = {
10964 (char *) "bmp", NULL
10967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10968 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10969 if (!SWIG_IsOK(res1
)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10975 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10977 if (!wxPyCheckForApp()) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10990 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= 0;
10992 wxBitmap
*arg1
= 0 ;
10993 wxColour
*arg2
= 0 ;
10994 int arg3
= (int) 0 ;
10995 wxRegion
*result
= 0 ;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 PyObject
* obj2
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11023 if (!SWIG_IsOK(ecode3
)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11026 arg3
= static_cast< int >(val3
);
11029 if (!wxPyCheckForApp()) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11042 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11045 wxPoint
*arg2
= (wxPoint
*) 0 ;
11046 int arg3
= (int) wxWINDING_RULE
;
11047 wxRegion
*result
= 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char * kwnames
[] = {
11053 (char *) "points",(char *) "fillStyle", NULL
11056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11058 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11059 if (arg2
== NULL
) SWIG_fail
;
11062 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11063 if (!SWIG_IsOK(ecode3
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11066 arg3
= static_cast< int >(val3
);
11069 if (!wxPyCheckForApp()) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11077 if (arg2
) delete [] arg2
;
11082 if (arg2
) delete [] arg2
;
11088 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11089 PyObject
*resultobj
= 0;
11090 wxRegion
*arg1
= (wxRegion
*) 0 ;
11093 PyObject
*swig_obj
[1] ;
11095 if (!args
) SWIG_fail
;
11096 swig_obj
[0] = args
;
11097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11101 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= SWIG_Py_Void();
11116 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11118 wxRegion
*arg1
= (wxRegion
*) 0 ;
11121 PyObject
*swig_obj
[1] ;
11123 if (!args
) SWIG_fail
;
11124 swig_obj
[0] = args
;
11125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11129 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= SWIG_Py_Void();
11143 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxRegion
*arg1
= (wxRegion
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 PyObject
* obj2
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "x",(char *) "y", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11167 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11172 arg2
= static_cast< int >(val2
);
11173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11174 if (!SWIG_IsOK(ecode3
)) {
11175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11177 arg3
= static_cast< int >(val3
);
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11193 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
= 0;
11195 wxRegion
*arg1
= (wxRegion
*) 0 ;
11198 wxRegionContain result
;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 PyObject
* obj2
= 0 ;
11208 char * kwnames
[] = {
11209 (char *) "self",(char *) "x",(char *) "y", NULL
11212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11217 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11219 if (!SWIG_IsOK(ecode2
)) {
11220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11222 arg2
= static_cast< int >(val2
);
11223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11224 if (!SWIG_IsOK(ecode3
)) {
11225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11227 arg3
= static_cast< int >(val3
);
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_From_int(static_cast< int >(result
));
11241 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= 0;
11243 wxRegion
*arg1
= (wxRegion
*) 0 ;
11244 wxPoint
*arg2
= 0 ;
11245 wxRegionContain result
;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "self",(char *) "pt", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11260 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_From_int(static_cast< int >(result
));
11278 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11282 wxRegionContain result
;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char * kwnames
[] = {
11289 (char *) "self",(char *) "rect", NULL
11292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11297 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int(static_cast< int >(result
));
11315 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
= 0;
11317 wxRegion
*arg1
= (wxRegion
*) 0 ;
11322 wxRegionContain result
;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 PyObject
* obj2
= 0 ;
11336 PyObject
* obj3
= 0 ;
11337 PyObject
* obj4
= 0 ;
11338 char * kwnames
[] = {
11339 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11347 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11349 if (!SWIG_IsOK(ecode2
)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11352 arg2
= static_cast< int >(val2
);
11353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11354 if (!SWIG_IsOK(ecode3
)) {
11355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11357 arg3
= static_cast< int >(val3
);
11358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11359 if (!SWIG_IsOK(ecode4
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11362 arg4
= static_cast< int >(val4
);
11363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11364 if (!SWIG_IsOK(ecode5
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11367 arg5
= static_cast< int >(val5
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_int(static_cast< int >(result
));
11381 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxRegion
*arg1
= (wxRegion
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11395 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (arg1
)->GetBox();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11409 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
= 0;
11411 wxRegion
*arg1
= (wxRegion
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 PyObject
* obj3
= 0 ;
11431 PyObject
* obj4
= 0 ;
11432 char * kwnames
[] = {
11433 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11441 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11443 if (!SWIG_IsOK(ecode2
)) {
11444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11446 arg2
= static_cast< int >(val2
);
11447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11448 if (!SWIG_IsOK(ecode3
)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11451 arg3
= static_cast< int >(val3
);
11452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11453 if (!SWIG_IsOK(ecode4
)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11456 arg4
= static_cast< int >(val4
);
11457 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11458 if (!SWIG_IsOK(ecode5
)) {
11459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11461 arg5
= static_cast< int >(val5
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11477 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
= 0;
11479 wxRegion
*arg1
= (wxRegion
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char * kwnames
[] = {
11488 (char *) "self",(char *) "rect", NULL
11491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11493 if (!SWIG_IsOK(res1
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11496 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11499 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
= 0;
11518 wxRegion
*arg1
= (wxRegion
*) 0 ;
11519 wxRegion
*arg2
= 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char * kwnames
[] = {
11528 (char *) "self",(char *) "region", NULL
11531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",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_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11536 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11538 if (!SWIG_IsOK(res2
)) {
11539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11544 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (bool)(arg1
)->Intersect((wxRegion
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_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11561 PyObject
*resultobj
= 0;
11562 wxRegion
*arg1
= (wxRegion
*) 0 ;
11566 PyObject
*swig_obj
[1] ;
11568 if (!args
) SWIG_fail
;
11569 swig_obj
[0] = args
;
11570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11571 if (!SWIG_IsOK(res1
)) {
11572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11574 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (bool)(arg1
)->IsEmpty();
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11590 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
= 0;
11592 wxRegion
*arg1
= (wxRegion
*) 0 ;
11593 wxRegion
*arg2
= 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char * kwnames
[] = {
11602 (char *) "self",(char *) "region", NULL
11605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11610 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11612 if (!SWIG_IsOK(res2
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11618 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11634 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
= 0;
11636 wxRegion
*arg1
= (wxRegion
*) 0 ;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 PyObject
* obj2
= 0 ;
11655 PyObject
* obj3
= 0 ;
11656 PyObject
* obj4
= 0 ;
11657 char * kwnames
[] = {
11658 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11663 if (!SWIG_IsOK(res1
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11666 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11668 if (!SWIG_IsOK(ecode2
)) {
11669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11671 arg2
= static_cast< int >(val2
);
11672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11673 if (!SWIG_IsOK(ecode3
)) {
11674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11676 arg3
= static_cast< int >(val3
);
11677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11678 if (!SWIG_IsOK(ecode4
)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11681 arg4
= static_cast< int >(val4
);
11682 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11683 if (!SWIG_IsOK(ecode5
)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11686 arg5
= static_cast< int >(val5
);
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11702 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
= 0;
11704 wxRegion
*arg1
= (wxRegion
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 char * kwnames
[] = {
11713 (char *) "self",(char *) "rect", NULL
11716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11721 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11741 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
= 0;
11743 wxRegion
*arg1
= (wxRegion
*) 0 ;
11744 wxRegion
*arg2
= 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 char * kwnames
[] = {
11753 (char *) "self",(char *) "region", NULL
11756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11761 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11763 if (!SWIG_IsOK(res2
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11769 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
= 0;
11787 wxRegion
*arg1
= (wxRegion
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 PyObject
* obj2
= 0 ;
11806 PyObject
* obj3
= 0 ;
11807 PyObject
* obj4
= 0 ;
11808 char * kwnames
[] = {
11809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11814 if (!SWIG_IsOK(res1
)) {
11815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11817 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11819 if (!SWIG_IsOK(ecode2
)) {
11820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11822 arg2
= static_cast< int >(val2
);
11823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11824 if (!SWIG_IsOK(ecode3
)) {
11825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11827 arg3
= static_cast< int >(val3
);
11828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11829 if (!SWIG_IsOK(ecode4
)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11832 arg4
= static_cast< int >(val4
);
11833 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11834 if (!SWIG_IsOK(ecode5
)) {
11835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11837 arg5
= static_cast< int >(val5
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11853 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
= 0;
11855 wxRegion
*arg1
= (wxRegion
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char * kwnames
[] = {
11864 (char *) "self",(char *) "rect", NULL
11867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11869 if (!SWIG_IsOK(res1
)) {
11870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11872 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11875 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11892 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxRegion
*arg1
= (wxRegion
*) 0 ;
11895 wxRegion
*arg2
= 0 ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 char * kwnames
[] = {
11904 (char *) "self",(char *) "region", NULL
11907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11912 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11914 if (!SWIG_IsOK(res2
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11920 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11936 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
= 0;
11938 wxRegion
*arg1
= (wxRegion
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 PyObject
* obj2
= 0 ;
11957 PyObject
* obj3
= 0 ;
11958 PyObject
* obj4
= 0 ;
11959 char * kwnames
[] = {
11960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11965 if (!SWIG_IsOK(res1
)) {
11966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11968 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11970 if (!SWIG_IsOK(ecode2
)) {
11971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11973 arg2
= static_cast< int >(val2
);
11974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11975 if (!SWIG_IsOK(ecode3
)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11978 arg3
= static_cast< int >(val3
);
11979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11980 if (!SWIG_IsOK(ecode4
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11983 arg4
= static_cast< int >(val4
);
11984 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11985 if (!SWIG_IsOK(ecode5
)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11988 arg5
= static_cast< int >(val5
);
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
= 0;
12006 wxRegion
*arg1
= (wxRegion
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 char * kwnames
[] = {
12015 (char *) "self",(char *) "rect", NULL
12018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12020 if (!SWIG_IsOK(res1
)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12023 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12026 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12043 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxRegion
*arg1
= (wxRegion
*) 0 ;
12046 wxRegion
*arg2
= 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char * kwnames
[] = {
12055 (char *) "self",(char *) "region", NULL
12058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12063 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12065 if (!SWIG_IsOK(res2
)) {
12066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12071 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12087 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxRegion
*arg1
= (wxRegion
*) 0 ;
12090 SwigValueWrapper
<wxBitmap
> result
;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12101 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (arg1
)->ConvertToBitmap();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12115 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxRegion
*arg1
= (wxRegion
*) 0 ;
12118 wxBitmap
*arg2
= 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char * kwnames
[] = {
12127 (char *) "self",(char *) "bmp", NULL
12130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12135 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12137 if (!SWIG_IsOK(res2
)) {
12138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12143 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12159 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
= 0;
12161 wxRegion
*arg1
= (wxRegion
*) 0 ;
12162 wxBitmap
*arg2
= 0 ;
12163 wxColour
*arg3
= 0 ;
12164 int arg4
= (int) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 PyObject
* obj3
= 0 ;
12177 char * kwnames
[] = {
12178 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12186 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12188 if (!SWIG_IsOK(res2
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12194 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12197 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12201 if (!SWIG_IsOK(ecode4
)) {
12202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12204 arg4
= static_cast< int >(val4
);
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12221 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12224 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12225 return SWIG_Py_Void();
12228 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 return SWIG_Python_InitShadowInstance(args
);
12232 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 wxRegion
*arg1
= 0 ;
12235 wxRegionIterator
*result
= 0 ;
12238 PyObject
* obj0
= 0 ;
12239 char * kwnames
[] = {
12240 (char *) "region", NULL
12243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12244 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12245 if (!SWIG_IsOK(res1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12251 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12253 if (!wxPyCheckForApp()) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12266 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12267 PyObject
*resultobj
= 0;
12268 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12271 PyObject
*swig_obj
[1] ;
12273 if (!args
) SWIG_fail
;
12274 swig_obj
[0] = args
;
12275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12279 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_Py_Void();
12294 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12300 PyObject
*swig_obj
[1] ;
12302 if (!args
) SWIG_fail
;
12303 swig_obj
[0] = args
;
12304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12308 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (int)(arg1
)->GetX();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_From_int(static_cast< int >(result
));
12322 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12328 PyObject
*swig_obj
[1] ;
12330 if (!args
) SWIG_fail
;
12331 swig_obj
[0] = args
;
12332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12336 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (int)(arg1
)->GetY();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int(static_cast< int >(result
));
12350 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12364 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (int)(arg1
)->GetW();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_From_int(static_cast< int >(result
));
12378 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12379 PyObject
*resultobj
= 0;
12380 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12384 PyObject
*swig_obj
[1] ;
12386 if (!args
) SWIG_fail
;
12387 swig_obj
[0] = args
;
12388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12389 if (!SWIG_IsOK(res1
)) {
12390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12392 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (int)(arg1
)->GetWidth();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_From_int(static_cast< int >(result
));
12406 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12407 PyObject
*resultobj
= 0;
12408 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12412 PyObject
*swig_obj
[1] ;
12414 if (!args
) SWIG_fail
;
12415 swig_obj
[0] = args
;
12416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12420 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (int)(arg1
)->GetH();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_From_int(static_cast< int >(result
));
12434 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12435 PyObject
*resultobj
= 0;
12436 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12440 PyObject
*swig_obj
[1] ;
12442 if (!args
) SWIG_fail
;
12443 swig_obj
[0] = args
;
12444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12448 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (int)(arg1
)->GetHeight();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_From_int(static_cast< int >(result
));
12462 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12463 PyObject
*resultobj
= 0;
12464 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12468 PyObject
*swig_obj
[1] ;
12470 if (!args
) SWIG_fail
;
12471 swig_obj
[0] = args
;
12472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12473 if (!SWIG_IsOK(res1
)) {
12474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12476 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (arg1
)->GetRect();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12490 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12491 PyObject
*resultobj
= 0;
12492 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12496 PyObject
*swig_obj
[1] ;
12498 if (!args
) SWIG_fail
;
12499 swig_obj
[0] = args
;
12500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12504 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (bool)(arg1
)->HaveRects();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12520 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12525 PyObject
*swig_obj
[1] ;
12527 if (!args
) SWIG_fail
;
12528 swig_obj
[0] = args
;
12529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12533 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12547 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12548 PyObject
*resultobj
= 0;
12549 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12552 PyObject
*swig_obj
[1] ;
12554 if (!args
) SWIG_fail
;
12555 swig_obj
[0] = args
;
12556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12557 if (!SWIG_IsOK(res1
)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12560 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 wxRegionIterator_Next(arg1
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_Py_Void();
12574 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 PyObject
*resultobj
= 0;
12576 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12580 PyObject
*swig_obj
[1] ;
12582 if (!args
) SWIG_fail
;
12583 swig_obj
[0] = args
;
12584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12585 if (!SWIG_IsOK(res1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12588 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12604 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12607 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12608 return SWIG_Py_Void();
12611 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 return SWIG_Python_InitShadowInstance(args
);
12615 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxNativeFontInfo
*result
= 0 ;
12619 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12633 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12634 PyObject
*resultobj
= 0;
12635 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12638 PyObject
*swig_obj
[1] ;
12640 if (!args
) SWIG_fail
;
12641 swig_obj
[0] = args
;
12642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12643 if (!SWIG_IsOK(res1
)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12646 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_Py_Void();
12661 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12662 PyObject
*resultobj
= 0;
12663 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12666 PyObject
*swig_obj
[1] ;
12668 if (!args
) SWIG_fail
;
12669 swig_obj
[0] = args
;
12670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12671 if (!SWIG_IsOK(res1
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12674 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= SWIG_Py_Void();
12688 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
= 0;
12690 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 char * kwnames
[] = {
12699 (char *) "self",(char *) "font", NULL
12702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12704 if (!SWIG_IsOK(res1
)) {
12705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12707 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12709 if (!SWIG_IsOK(res2
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12715 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_Py_Void();
12729 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12730 PyObject
*resultobj
= 0;
12731 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12735 PyObject
*swig_obj
[1] ;
12737 if (!args
) SWIG_fail
;
12738 swig_obj
[0] = args
;
12739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12740 if (!SWIG_IsOK(res1
)) {
12741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12743 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_From_int(static_cast< int >(result
));
12757 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12758 PyObject
*resultobj
= 0;
12759 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12763 PyObject
*swig_obj
[1] ;
12765 if (!args
) SWIG_fail
;
12766 swig_obj
[0] = args
;
12767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12768 if (!SWIG_IsOK(res1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12771 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12785 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12786 PyObject
*resultobj
= 0;
12787 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12788 wxFontStyle result
;
12791 PyObject
*swig_obj
[1] ;
12793 if (!args
) SWIG_fail
;
12794 swig_obj
[0] = args
;
12795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12796 if (!SWIG_IsOK(res1
)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12799 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_From_int(static_cast< int >(result
));
12813 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12814 PyObject
*resultobj
= 0;
12815 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12816 wxFontWeight result
;
12819 PyObject
*swig_obj
[1] ;
12821 if (!args
) SWIG_fail
;
12822 swig_obj
[0] = args
;
12823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12824 if (!SWIG_IsOK(res1
)) {
12825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12827 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_From_int(static_cast< int >(result
));
12841 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12842 PyObject
*resultobj
= 0;
12843 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12847 PyObject
*swig_obj
[1] ;
12849 if (!args
) SWIG_fail
;
12850 swig_obj
[0] = args
;
12851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12852 if (!SWIG_IsOK(res1
)) {
12853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12855 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12871 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12872 PyObject
*resultobj
= 0;
12873 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12877 PyObject
*swig_obj
[1] ;
12879 if (!args
) SWIG_fail
;
12880 swig_obj
[0] = args
;
12881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12882 if (!SWIG_IsOK(res1
)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12885 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12905 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12908 wxFontFamily result
;
12911 PyObject
*swig_obj
[1] ;
12913 if (!args
) SWIG_fail
;
12914 swig_obj
[0] = args
;
12915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12916 if (!SWIG_IsOK(res1
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12919 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_From_int(static_cast< int >(result
));
12933 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12936 wxFontEncoding result
;
12939 PyObject
*swig_obj
[1] ;
12941 if (!args
) SWIG_fail
;
12942 swig_obj
[0] = args
;
12943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12944 if (!SWIG_IsOK(res1
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12947 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_From_int(static_cast< int >(result
));
12961 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
= 0;
12963 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char * kwnames
[] = {
12972 (char *) "self",(char *) "pointsize", NULL
12975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12980 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12982 if (!SWIG_IsOK(ecode2
)) {
12983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12985 arg2
= static_cast< int >(val2
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->SetPointSize(arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_Py_Void();
12999 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= 0;
13001 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "pixelSize", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13017 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= SWIG_Py_Void();
13035 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
= 0;
13037 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 char * kwnames
[] = {
13046 (char *) "self",(char *) "style", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13051 if (!SWIG_IsOK(res1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13054 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13056 if (!SWIG_IsOK(ecode2
)) {
13057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13059 arg2
= static_cast< wxFontStyle
>(val2
);
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetStyle(arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_Py_Void();
13073 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
= 0;
13075 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13076 wxFontWeight arg2
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char * kwnames
[] = {
13084 (char *) "self",(char *) "weight", NULL
13087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13092 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13094 if (!SWIG_IsOK(ecode2
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13097 arg2
= static_cast< wxFontWeight
>(val2
);
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 (arg1
)->SetWeight(arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_Py_Void();
13111 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char * kwnames
[] = {
13122 (char *) "self",(char *) "underlined", NULL
13125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13127 if (!SWIG_IsOK(res1
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13131 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13132 if (!SWIG_IsOK(ecode2
)) {
13133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13135 arg2
= static_cast< bool >(val2
);
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->SetUnderlined(arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_Py_Void();
13149 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
= 0;
13151 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char * kwnames
[] = {
13159 (char *) "self",(char *) "facename", NULL
13162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13167 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13169 wxString
* sptr
= wxString_in_helper(obj1
);
13170 if (sptr
== NULL
) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (bool)(arg1
)->SetFaceName(arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13189 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13192 wxFontFamily arg2
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "family", NULL
13203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13208 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13210 if (!SWIG_IsOK(ecode2
)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13213 arg2
= static_cast< wxFontFamily
>(val2
);
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 (arg1
)->SetFamily(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_Py_Void();
13227 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
= 0;
13229 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13230 wxFontEncoding arg2
;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char * kwnames
[] = {
13238 (char *) "self",(char *) "encoding", NULL
13241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13246 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13248 if (!SWIG_IsOK(ecode2
)) {
13249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13251 arg2
= static_cast< wxFontEncoding
>(val2
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->SetEncoding(arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_Py_Void();
13265 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
= 0;
13267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13268 wxString
*arg2
= 0 ;
13272 bool temp2
= false ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "s", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13284 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13286 arg2
= wxString_in_helper(obj1
);
13287 if (arg2
== NULL
) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13313 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13327 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13347 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13348 PyObject
*resultobj
= 0;
13349 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13353 PyObject
*swig_obj
[1] ;
13355 if (!args
) SWIG_fail
;
13356 swig_obj
[0] = args
;
13357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13358 if (!SWIG_IsOK(res1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13361 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= wxNativeFontInfo___str__(arg1
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13381 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13384 wxString
*arg2
= 0 ;
13388 bool temp2
= false ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char * kwnames
[] = {
13392 (char *) "self",(char *) "s", NULL
13395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13400 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13402 arg2
= wxString_in_helper(obj1
);
13403 if (arg2
== NULL
) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13429 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13430 PyObject
*resultobj
= 0;
13431 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13435 PyObject
*swig_obj
[1] ;
13437 if (!args
) SWIG_fail
;
13438 swig_obj
[0] = args
;
13439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13440 if (!SWIG_IsOK(res1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13443 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13463 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13466 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13467 return SWIG_Py_Void();
13470 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 return SWIG_Python_InitShadowInstance(args
);
13474 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 PyObject
*resultobj
= 0;
13476 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13477 wxString
*arg2
= (wxString
*) 0 ;
13480 bool temp2
= false ;
13481 PyObject
*swig_obj
[2] ;
13483 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13488 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13490 arg2
= wxString_in_helper(swig_obj
[1]);
13491 if (arg2
== NULL
) SWIG_fail
;
13494 if (arg1
) (arg1
)->facename
= *arg2
;
13496 resultobj
= SWIG_Py_Void();
13511 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13514 wxString
*result
= 0 ;
13517 PyObject
*swig_obj
[1] ;
13519 if (!args
) SWIG_fail
;
13520 swig_obj
[0] = args
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13525 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13526 result
= (wxString
*)& ((arg1
)->facename
);
13529 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13531 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13540 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13541 PyObject
*resultobj
= 0;
13542 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13543 wxFontEncoding arg2
;
13548 PyObject
*swig_obj
[2] ;
13550 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13555 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13556 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13557 if (!SWIG_IsOK(ecode2
)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13560 arg2
= static_cast< wxFontEncoding
>(val2
);
13561 if (arg1
) (arg1
)->encoding
= arg2
;
13563 resultobj
= SWIG_Py_Void();
13570 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13571 PyObject
*resultobj
= 0;
13572 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13573 wxFontEncoding result
;
13576 PyObject
*swig_obj
[1] ;
13578 if (!args
) SWIG_fail
;
13579 swig_obj
[0] = args
;
13580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13581 if (!SWIG_IsOK(res1
)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13584 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13585 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13586 resultobj
= SWIG_From_int(static_cast< int >(result
));
13593 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13594 PyObject
*resultobj
= 0;
13595 wxNativeEncodingInfo
*result
= 0 ;
13597 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13611 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13612 PyObject
*resultobj
= 0;
13613 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13616 PyObject
*swig_obj
[1] ;
13618 if (!args
) SWIG_fail
;
13619 swig_obj
[0] = args
;
13620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13621 if (!SWIG_IsOK(res1
)) {
13622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13624 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_Py_Void();
13639 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= 0;
13641 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13642 wxString
*arg2
= 0 ;
13646 bool temp2
= false ;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 char * kwnames
[] = {
13650 (char *) "self",(char *) "s", NULL
13653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13655 if (!SWIG_IsOK(res1
)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13658 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13660 arg2
= wxString_in_helper(obj1
);
13661 if (arg2
== NULL
) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13687 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13688 PyObject
*resultobj
= 0;
13689 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13693 PyObject
*swig_obj
[1] ;
13695 if (!args
) SWIG_fail
;
13696 swig_obj
[0] = args
;
13697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13701 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13721 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13724 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13725 return SWIG_Py_Void();
13728 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 return SWIG_Python_InitShadowInstance(args
);
13732 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
= 0;
13734 wxFontEncoding arg1
;
13735 wxNativeEncodingInfo
*result
= 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char * kwnames
[] = {
13740 (char *) "encoding", NULL
13743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13745 if (!SWIG_IsOK(ecode1
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13748 arg1
= static_cast< wxFontEncoding
>(val1
);
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13762 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
= 0;
13764 wxNativeEncodingInfo
*arg1
= 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char * kwnames
[] = {
13770 (char *) "info", NULL
13773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13775 if (!SWIG_IsOK(res1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13781 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13797 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13798 PyObject
*resultobj
= 0;
13799 wxFontMapper
*result
= 0 ;
13801 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (wxFontMapper
*)new wxFontMapper();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13815 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13816 PyObject
*resultobj
= 0;
13817 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13820 PyObject
*swig_obj
[1] ;
13822 if (!args
) SWIG_fail
;
13823 swig_obj
[0] = args
;
13824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13828 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= SWIG_Py_Void();
13843 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13844 PyObject
*resultobj
= 0;
13845 wxFontMapper
*result
= 0 ;
13847 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (wxFontMapper
*)wxFontMapper::Get();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13861 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13864 wxFontMapper
*result
= 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char * kwnames
[] = {
13869 (char *) "mapper", NULL
13872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13874 if (!SWIG_IsOK(res1
)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13877 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13891 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
= 0;
13893 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13894 wxString
*arg2
= 0 ;
13895 bool arg3
= (bool) true ;
13896 wxFontEncoding result
;
13899 bool temp2
= false ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 PyObject
* obj2
= 0 ;
13905 char * kwnames
[] = {
13906 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13911 if (!SWIG_IsOK(res1
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13914 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13916 arg2
= wxString_in_helper(obj1
);
13917 if (arg2
== NULL
) SWIG_fail
;
13921 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13922 if (!SWIG_IsOK(ecode3
)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13925 arg3
= static_cast< bool >(val3
);
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_From_int(static_cast< int >(result
));
13948 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13949 PyObject
*resultobj
= 0;
13952 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13966 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= 0;
13969 wxFontEncoding result
;
13972 PyObject
* obj0
= 0 ;
13973 char * kwnames
[] = {
13977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13978 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13979 if (!SWIG_IsOK(ecode1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13982 arg1
= static_cast< size_t >(val1
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_From_int(static_cast< int >(result
));
13996 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= 0;
13998 wxFontEncoding arg1
;
14002 PyObject
* obj0
= 0 ;
14003 char * kwnames
[] = {
14004 (char *) "encoding", NULL
14007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14009 if (!SWIG_IsOK(ecode1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14012 arg1
= static_cast< wxFontEncoding
>(val1
);
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= wxFontMapper::GetEncodingName(arg1
);
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14032 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
= 0;
14034 wxFontEncoding arg1
;
14038 PyObject
* obj0
= 0 ;
14039 char * kwnames
[] = {
14040 (char *) "encoding", NULL
14043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14045 if (!SWIG_IsOK(ecode1
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14048 arg1
= static_cast< wxFontEncoding
>(val1
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= wxFontMapper::GetEncodingDescription(arg1
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14068 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
= 0;
14070 wxString
*arg1
= 0 ;
14071 wxFontEncoding result
;
14072 bool temp1
= false ;
14073 PyObject
* obj0
= 0 ;
14074 char * kwnames
[] = {
14075 (char *) "name", NULL
14078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14080 arg1
= wxString_in_helper(obj0
);
14081 if (arg1
== NULL
) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_int(static_cast< int >(result
));
14105 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
= 0;
14107 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14108 wxString
*arg2
= 0 ;
14111 bool temp2
= false ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char * kwnames
[] = {
14115 (char *) "self",(char *) "prefix", NULL
14118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14123 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14125 arg2
= wxString_in_helper(obj1
);
14126 if (arg2
== NULL
) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= SWIG_Py_Void();
14150 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14151 PyObject
*resultobj
= 0;
14154 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= wxFontMapper::GetDefaultConfigPath();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14174 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
= 0;
14176 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14177 wxFontEncoding arg2
;
14178 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14179 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14180 bool arg4
= (bool) true ;
14181 PyObject
*result
= 0 ;
14186 bool temp3
= false ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 PyObject
* obj2
= 0 ;
14192 PyObject
* obj3
= 0 ;
14193 char * kwnames
[] = {
14194 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14202 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14204 if (!SWIG_IsOK(ecode2
)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14207 arg2
= static_cast< wxFontEncoding
>(val2
);
14210 arg3
= wxString_in_helper(obj2
);
14211 if (arg3
== NULL
) SWIG_fail
;
14216 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14217 if (!SWIG_IsOK(ecode4
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14220 arg4
= static_cast< bool >(val4
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= result
;
14243 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
= 0;
14245 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14246 wxFontEncoding arg2
;
14247 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14248 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14254 bool temp3
= false ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 PyObject
* obj2
= 0 ;
14258 char * kwnames
[] = {
14259 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14267 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14269 if (!SWIG_IsOK(ecode2
)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14272 arg2
= static_cast< wxFontEncoding
>(val2
);
14275 arg3
= wxString_in_helper(obj2
);
14276 if (arg3
== NULL
) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
= 0;
14305 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14306 wxWindow
*arg2
= (wxWindow
*) 0 ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 char * kwnames
[] = {
14314 (char *) "self",(char *) "parent", NULL
14317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14322 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14324 if (!SWIG_IsOK(res2
)) {
14325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14327 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->SetDialogParent(arg2
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= SWIG_Py_Void();
14341 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
= 0;
14343 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14344 wxString
*arg2
= 0 ;
14347 bool temp2
= false ;
14348 PyObject
* obj0
= 0 ;
14349 PyObject
* obj1
= 0 ;
14350 char * kwnames
[] = {
14351 (char *) "self",(char *) "title", NULL
14354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14359 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14361 arg2
= wxString_in_helper(obj1
);
14362 if (arg2
== NULL
) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_Py_Void();
14386 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14389 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14390 return SWIG_Py_Void();
14393 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14394 return SWIG_Python_InitShadowInstance(args
);
14397 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
= 0;
14403 bool arg5
= (bool) false ;
14404 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14405 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14406 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14407 wxFont
*result
= 0 ;
14418 bool temp6
= false ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 PyObject
* obj2
= 0 ;
14424 PyObject
* obj3
= 0 ;
14425 PyObject
* obj4
= 0 ;
14426 PyObject
* obj5
= 0 ;
14427 PyObject
* obj6
= 0 ;
14428 char * kwnames
[] = {
14429 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14434 if (!SWIG_IsOK(ecode1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14437 arg1
= static_cast< int >(val1
);
14438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14439 if (!SWIG_IsOK(ecode2
)) {
14440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14442 arg2
= static_cast< int >(val2
);
14443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14444 if (!SWIG_IsOK(ecode3
)) {
14445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14447 arg3
= static_cast< int >(val3
);
14448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14449 if (!SWIG_IsOK(ecode4
)) {
14450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14452 arg4
= static_cast< int >(val4
);
14454 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14455 if (!SWIG_IsOK(ecode5
)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14458 arg5
= static_cast< bool >(val5
);
14462 arg6
= wxString_in_helper(obj5
);
14463 if (arg6
== NULL
) SWIG_fail
;
14468 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14469 if (!SWIG_IsOK(ecode7
)) {
14470 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14472 arg7
= static_cast< wxFontEncoding
>(val7
);
14475 if (!wxPyCheckForApp()) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14496 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14497 PyObject
*resultobj
= 0;
14498 wxFont
*arg1
= (wxFont
*) 0 ;
14501 PyObject
*swig_obj
[1] ;
14503 if (!args
) SWIG_fail
;
14504 swig_obj
[0] = args
;
14505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14506 if (!SWIG_IsOK(res1
)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14509 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_Py_Void();
14524 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
= 0;
14526 wxNativeFontInfo
*arg1
= 0 ;
14527 wxFont
*result
= 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char * kwnames
[] = {
14532 (char *) "info", NULL
14535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14543 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14545 if (!wxPyCheckForApp()) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14558 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
= 0;
14560 wxString
*arg1
= 0 ;
14561 wxFont
*result
= 0 ;
14562 bool temp1
= false ;
14563 PyObject
* obj0
= 0 ;
14564 char * kwnames
[] = {
14565 (char *) "info", NULL
14568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14570 arg1
= wxString_in_helper(obj0
);
14571 if (arg1
== NULL
) SWIG_fail
;
14575 if (!wxPyCheckForApp()) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14596 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
= 0;
14599 wxFontFamily arg2
;
14600 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14603 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14604 wxFont
*result
= 0 ;
14611 bool temp4
= false ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 PyObject
* obj3
= 0 ;
14618 PyObject
* obj4
= 0 ;
14619 char * kwnames
[] = {
14620 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14624 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14625 if (!SWIG_IsOK(ecode1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14628 arg1
= static_cast< int >(val1
);
14629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14630 if (!SWIG_IsOK(ecode2
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14633 arg2
= static_cast< wxFontFamily
>(val2
);
14635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14636 if (!SWIG_IsOK(ecode3
)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14639 arg3
= static_cast< int >(val3
);
14643 arg4
= wxString_in_helper(obj3
);
14644 if (arg4
== NULL
) SWIG_fail
;
14649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14650 if (!SWIG_IsOK(ecode5
)) {
14651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14653 arg5
= static_cast< wxFontEncoding
>(val5
);
14656 if (!wxPyCheckForApp()) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14677 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
= 0;
14683 bool arg5
= (bool) false ;
14684 wxString
const &arg6_defvalue
= wxEmptyString
;
14685 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14686 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14687 wxFont
*result
= 0 ;
14697 bool temp6
= false ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 PyObject
* obj3
= 0 ;
14704 PyObject
* obj4
= 0 ;
14705 PyObject
* obj5
= 0 ;
14706 PyObject
* obj6
= 0 ;
14707 char * kwnames
[] = {
14708 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14714 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14717 if (!SWIG_IsOK(ecode2
)) {
14718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14720 arg2
= static_cast< int >(val2
);
14721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14722 if (!SWIG_IsOK(ecode3
)) {
14723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14725 arg3
= static_cast< int >(val3
);
14726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14727 if (!SWIG_IsOK(ecode4
)) {
14728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14730 arg4
= static_cast< int >(val4
);
14732 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14733 if (!SWIG_IsOK(ecode5
)) {
14734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14736 arg5
= static_cast< bool >(val5
);
14740 arg6
= wxString_in_helper(obj5
);
14741 if (arg6
== NULL
) SWIG_fail
;
14746 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14747 if (!SWIG_IsOK(ecode7
)) {
14748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14750 arg7
= static_cast< wxFontEncoding
>(val7
);
14753 if (!wxPyCheckForApp()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14774 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
= 0;
14777 wxFontFamily arg2
;
14778 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14779 wxString
const &arg4_defvalue
= wxEmptyString
;
14780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14781 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14782 wxFont
*result
= 0 ;
14788 bool temp4
= false ;
14791 PyObject
* obj0
= 0 ;
14792 PyObject
* obj1
= 0 ;
14793 PyObject
* obj2
= 0 ;
14794 PyObject
* obj3
= 0 ;
14795 PyObject
* obj4
= 0 ;
14796 char * kwnames
[] = {
14797 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14803 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14806 if (!SWIG_IsOK(ecode2
)) {
14807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14809 arg2
= static_cast< wxFontFamily
>(val2
);
14811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14812 if (!SWIG_IsOK(ecode3
)) {
14813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14815 arg3
= static_cast< int >(val3
);
14819 arg4
= wxString_in_helper(obj3
);
14820 if (arg4
== NULL
) SWIG_fail
;
14825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14826 if (!SWIG_IsOK(ecode5
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14829 arg5
= static_cast< wxFontEncoding
>(val5
);
14832 if (!wxPyCheckForApp()) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14853 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14854 PyObject
*resultobj
= 0;
14855 wxFont
*arg1
= (wxFont
*) 0 ;
14859 PyObject
*swig_obj
[1] ;
14861 if (!args
) SWIG_fail
;
14862 swig_obj
[0] = args
;
14863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14864 if (!SWIG_IsOK(res1
)) {
14865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14867 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14883 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
= 0;
14885 wxFont
*arg1
= (wxFont
*) 0 ;
14886 wxFont
*arg2
= (wxFont
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 char * kwnames
[] = {
14895 (char *) "self",(char *) "other", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14903 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14905 if (!SWIG_IsOK(res2
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14908 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14926 wxFont
*arg1
= (wxFont
*) 0 ;
14927 wxFont
*arg2
= (wxFont
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 char * kwnames
[] = {
14936 (char *) "self",(char *) "other", NULL
14939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14944 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14946 if (!SWIG_IsOK(res2
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14949 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14965 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14966 PyObject
*resultobj
= 0;
14967 wxFont
*arg1
= (wxFont
*) 0 ;
14971 PyObject
*swig_obj
[1] ;
14973 if (!args
) SWIG_fail
;
14974 swig_obj
[0] = args
;
14975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14979 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_From_int(static_cast< int >(result
));
14993 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxFont
*arg1
= (wxFont
*) 0 ;
14999 PyObject
*swig_obj
[1] ;
15001 if (!args
) SWIG_fail
;
15002 swig_obj
[0] = args
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15007 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15021 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15022 PyObject
*resultobj
= 0;
15023 wxFont
*arg1
= (wxFont
*) 0 ;
15027 PyObject
*swig_obj
[1] ;
15029 if (!args
) SWIG_fail
;
15030 swig_obj
[0] = args
;
15031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15032 if (!SWIG_IsOK(res1
)) {
15033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15035 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15051 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15052 PyObject
*resultobj
= 0;
15053 wxFont
*arg1
= (wxFont
*) 0 ;
15057 PyObject
*swig_obj
[1] ;
15059 if (!args
) SWIG_fail
;
15060 swig_obj
[0] = args
;
15061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15065 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_From_int(static_cast< int >(result
));
15079 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15080 PyObject
*resultobj
= 0;
15081 wxFont
*arg1
= (wxFont
*) 0 ;
15085 PyObject
*swig_obj
[1] ;
15087 if (!args
) SWIG_fail
;
15088 swig_obj
[0] = args
;
15089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15090 if (!SWIG_IsOK(res1
)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15093 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_From_int(static_cast< int >(result
));
15107 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 wxFont
*arg1
= (wxFont
*) 0 ;
15113 PyObject
*swig_obj
[1] ;
15115 if (!args
) SWIG_fail
;
15116 swig_obj
[0] = args
;
15117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15121 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_From_int(static_cast< int >(result
));
15135 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15136 PyObject
*resultobj
= 0;
15137 wxFont
*arg1
= (wxFont
*) 0 ;
15141 PyObject
*swig_obj
[1] ;
15143 if (!args
) SWIG_fail
;
15144 swig_obj
[0] = args
;
15145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15146 if (!SWIG_IsOK(res1
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15149 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15165 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15166 PyObject
*resultobj
= 0;
15167 wxFont
*arg1
= (wxFont
*) 0 ;
15171 PyObject
*swig_obj
[1] ;
15173 if (!args
) SWIG_fail
;
15174 swig_obj
[0] = args
;
15175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15179 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= ((wxFont
const *)arg1
)->GetFaceName();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15199 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15200 PyObject
*resultobj
= 0;
15201 wxFont
*arg1
= (wxFont
*) 0 ;
15202 wxFontEncoding result
;
15205 PyObject
*swig_obj
[1] ;
15207 if (!args
) SWIG_fail
;
15208 swig_obj
[0] = args
;
15209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15210 if (!SWIG_IsOK(res1
)) {
15211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15213 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_From_int(static_cast< int >(result
));
15227 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15228 PyObject
*resultobj
= 0;
15229 wxFont
*arg1
= (wxFont
*) 0 ;
15230 wxNativeFontInfo
*result
= 0 ;
15233 PyObject
*swig_obj
[1] ;
15235 if (!args
) SWIG_fail
;
15236 swig_obj
[0] = args
;
15237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15238 if (!SWIG_IsOK(res1
)) {
15239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15241 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15255 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15256 PyObject
*resultobj
= 0;
15257 wxFont
*arg1
= (wxFont
*) 0 ;
15261 PyObject
*swig_obj
[1] ;
15263 if (!args
) SWIG_fail
;
15264 swig_obj
[0] = args
;
15265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15266 if (!SWIG_IsOK(res1
)) {
15267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15269 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15285 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15286 PyObject
*resultobj
= 0;
15287 wxFont
*arg1
= (wxFont
*) 0 ;
15291 PyObject
*swig_obj
[1] ;
15293 if (!args
) SWIG_fail
;
15294 swig_obj
[0] = args
;
15295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15296 if (!SWIG_IsOK(res1
)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15299 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15319 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 PyObject
*resultobj
= 0;
15321 wxFont
*arg1
= (wxFont
*) 0 ;
15325 PyObject
*swig_obj
[1] ;
15327 if (!args
) SWIG_fail
;
15328 swig_obj
[0] = args
;
15329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15330 if (!SWIG_IsOK(res1
)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15333 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15353 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
= 0;
15355 wxFont
*arg1
= (wxFont
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 char * kwnames
[] = {
15364 (char *) "self",(char *) "pointSize", NULL
15367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15369 if (!SWIG_IsOK(res1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15372 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15374 if (!SWIG_IsOK(ecode2
)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15377 arg2
= static_cast< int >(val2
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetPointSize(arg2
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_Py_Void();
15391 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= 0;
15393 wxFont
*arg1
= (wxFont
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "pixelSize", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15409 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15412 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_Py_Void();
15427 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
= 0;
15429 wxFont
*arg1
= (wxFont
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char * kwnames
[] = {
15438 (char *) "self",(char *) "family", NULL
15441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15448 if (!SWIG_IsOK(ecode2
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15451 arg2
= static_cast< int >(val2
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetFamily(arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15465 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
= 0;
15467 wxFont
*arg1
= (wxFont
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 char * kwnames
[] = {
15476 (char *) "self",(char *) "style", NULL
15479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15484 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15486 if (!SWIG_IsOK(ecode2
)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15489 arg2
= static_cast< int >(val2
);
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->SetStyle(arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_Py_Void();
15503 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
= 0;
15505 wxFont
*arg1
= (wxFont
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "self",(char *) "weight", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15522 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15524 if (!SWIG_IsOK(ecode2
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15527 arg2
= static_cast< int >(val2
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->SetWeight(arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_Py_Void();
15541 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
= 0;
15543 wxFont
*arg1
= (wxFont
*) 0 ;
15544 wxString
*arg2
= 0 ;
15548 bool temp2
= false ;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char * kwnames
[] = {
15552 (char *) "self",(char *) "faceName", NULL
15555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15557 if (!SWIG_IsOK(res1
)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15560 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15562 arg2
= wxString_in_helper(obj1
);
15563 if (arg2
== NULL
) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15589 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
= 0;
15591 wxFont
*arg1
= (wxFont
*) 0 ;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 char * kwnames
[] = {
15600 (char *) "self",(char *) "underlined", NULL
15603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15605 if (!SWIG_IsOK(res1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15608 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15609 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15610 if (!SWIG_IsOK(ecode2
)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15613 arg2
= static_cast< bool >(val2
);
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->SetUnderlined(arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_Py_Void();
15627 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
= 0;
15629 wxFont
*arg1
= (wxFont
*) 0 ;
15630 wxFontEncoding arg2
;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char * kwnames
[] = {
15638 (char *) "self",(char *) "encoding", NULL
15641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15643 if (!SWIG_IsOK(res1
)) {
15644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15646 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15648 if (!SWIG_IsOK(ecode2
)) {
15649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15651 arg2
= static_cast< wxFontEncoding
>(val2
);
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 (arg1
)->SetEncoding(arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= SWIG_Py_Void();
15665 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
= 0;
15667 wxFont
*arg1
= (wxFont
*) 0 ;
15668 wxNativeFontInfo
*arg2
= 0 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 char * kwnames
[] = {
15676 (char *) "self",(char *) "info", NULL
15679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15684 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15686 if (!SWIG_IsOK(res2
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15692 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxFont
*arg1
= (wxFont
*) 0 ;
15709 wxString
*arg2
= 0 ;
15713 bool temp2
= false ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 char * kwnames
[] = {
15717 (char *) "self",(char *) "info", NULL
15720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15725 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15727 arg2
= wxString_in_helper(obj1
);
15728 if (arg2
== NULL
) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15754 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
= 0;
15756 wxFont
*arg1
= (wxFont
*) 0 ;
15757 wxString
*arg2
= 0 ;
15761 bool temp2
= false ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char * kwnames
[] = {
15765 (char *) "self",(char *) "info", NULL
15768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15773 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15775 arg2
= wxString_in_helper(obj1
);
15776 if (arg2
== NULL
) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15802 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15803 PyObject
*resultobj
= 0;
15804 wxFont
*arg1
= (wxFont
*) 0 ;
15808 PyObject
*swig_obj
[1] ;
15810 if (!args
) SWIG_fail
;
15811 swig_obj
[0] = args
;
15812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15816 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15836 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 PyObject
*resultobj
= 0;
15838 wxFont
*arg1
= (wxFont
*) 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15850 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= ((wxFont
const *)arg1
)->GetStyleString();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15870 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15871 PyObject
*resultobj
= 0;
15872 wxFont
*arg1
= (wxFont
*) 0 ;
15876 PyObject
*swig_obj
[1] ;
15878 if (!args
) SWIG_fail
;
15879 swig_obj
[0] = args
;
15880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15884 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= ((wxFont
const *)arg1
)->GetWeightString();
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15904 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
= 0;
15906 wxFont
*arg1
= (wxFont
*) 0 ;
15907 bool arg2
= (bool) true ;
15912 PyObject
* obj0
= 0 ;
15913 PyObject
* obj1
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "self",(char *) "no", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15923 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15925 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15926 if (!SWIG_IsOK(ecode2
)) {
15927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15929 arg2
= static_cast< bool >(val2
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->SetNoAntiAliasing(arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_Py_Void();
15944 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15945 PyObject
*resultobj
= 0;
15946 wxFont
*arg1
= (wxFont
*) 0 ;
15950 PyObject
*swig_obj
[1] ;
15952 if (!args
) SWIG_fail
;
15953 swig_obj
[0] = args
;
15954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15955 if (!SWIG_IsOK(res1
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15958 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15974 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15975 PyObject
*resultobj
= 0;
15976 wxFontEncoding result
;
15978 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15980 if (!wxPyCheckForApp()) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_From_int(static_cast< int >(result
));
15993 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
= 0;
15995 wxFontEncoding arg1
;
15998 PyObject
* obj0
= 0 ;
15999 char * kwnames
[] = {
16000 (char *) "encoding", NULL
16003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16005 if (!SWIG_IsOK(ecode1
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16008 arg1
= static_cast< wxFontEncoding
>(val1
);
16010 if (!wxPyCheckForApp()) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 wxFont::SetDefaultEncoding(arg1
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= SWIG_Py_Void();
16023 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16026 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16027 return SWIG_Py_Void();
16030 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16031 return SWIG_Python_InitShadowInstance(args
);
16034 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 PyObject
*resultobj
= 0;
16036 wxPyFontEnumerator
*result
= 0 ;
16038 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16040 if (!wxPyCheckForApp()) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16053 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16054 PyObject
*resultobj
= 0;
16055 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16058 PyObject
*swig_obj
[1] ;
16060 if (!args
) SWIG_fail
;
16061 swig_obj
[0] = args
;
16062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16063 if (!SWIG_IsOK(res1
)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16066 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_Py_Void();
16081 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
= 0;
16083 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16084 PyObject
*arg2
= (PyObject
*) 0 ;
16085 PyObject
*arg3
= (PyObject
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 PyObject
* obj1
= 0 ;
16093 PyObject
* obj2
= 0 ;
16094 PyObject
* obj3
= 0 ;
16095 char * kwnames
[] = {
16096 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16101 if (!SWIG_IsOK(res1
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16104 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16107 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16108 if (!SWIG_IsOK(ecode4
)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
16111 arg4
= static_cast< bool >(val4
);
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_Py_Void();
16125 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
= 0;
16127 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16128 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16129 bool arg3
= (bool) false ;
16137 PyObject
* obj0
= 0 ;
16138 PyObject
* obj1
= 0 ;
16139 PyObject
* obj2
= 0 ;
16140 char * kwnames
[] = {
16141 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16146 if (!SWIG_IsOK(res1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16149 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16152 if (!SWIG_IsOK(ecode2
)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16155 arg2
= static_cast< wxFontEncoding
>(val2
);
16158 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16159 if (!SWIG_IsOK(ecode3
)) {
16160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16162 arg3
= static_cast< bool >(val3
);
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
= 0;
16181 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16182 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16183 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16187 bool temp2
= false ;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 char * kwnames
[] = {
16191 (char *) "self",(char *) "facename", NULL
16194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16196 if (!SWIG_IsOK(res1
)) {
16197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16199 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16202 arg2
= wxString_in_helper(obj1
);
16203 if (arg2
== NULL
) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16230 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16231 PyObject
*resultobj
= 0;
16232 PyObject
*result
= 0 ;
16234 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= result
;
16248 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16249 PyObject
*resultobj
= 0;
16250 PyObject
*result
= 0 ;
16252 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
;
16266 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
= 0;
16268 wxString
*arg1
= 0 ;
16270 bool temp1
= false ;
16271 PyObject
* obj0
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "str", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16278 arg1
= wxString_in_helper(obj0
);
16279 if (arg1
== NULL
) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16305 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16309 return SWIG_Py_Void();
16312 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16313 return SWIG_Python_InitShadowInstance(args
);
16316 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16317 PyObject
*resultobj
= 0;
16318 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16324 PyObject
*swig_obj
[2] ;
16326 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16331 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16332 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16333 if (!SWIG_IsOK(ecode2
)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16336 arg2
= static_cast< int >(val2
);
16337 if (arg1
) (arg1
)->Language
= arg2
;
16339 resultobj
= SWIG_Py_Void();
16346 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16347 PyObject
*resultobj
= 0;
16348 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16352 PyObject
*swig_obj
[1] ;
16354 if (!args
) SWIG_fail
;
16355 swig_obj
[0] = args
;
16356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16357 if (!SWIG_IsOK(res1
)) {
16358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16360 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16361 result
= (int) ((arg1
)->Language
);
16362 resultobj
= SWIG_From_int(static_cast< int >(result
));
16369 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16370 PyObject
*resultobj
= 0;
16371 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16372 wxString
*arg2
= (wxString
*) 0 ;
16375 bool temp2
= false ;
16376 PyObject
*swig_obj
[2] ;
16378 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16380 if (!SWIG_IsOK(res1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16383 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16385 arg2
= wxString_in_helper(swig_obj
[1]);
16386 if (arg2
== NULL
) SWIG_fail
;
16389 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16391 resultobj
= SWIG_Py_Void();
16406 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16407 PyObject
*resultobj
= 0;
16408 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16409 wxString
*result
= 0 ;
16412 PyObject
*swig_obj
[1] ;
16414 if (!args
) SWIG_fail
;
16415 swig_obj
[0] = args
;
16416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16420 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16421 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16424 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16426 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16435 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16436 PyObject
*resultobj
= 0;
16437 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16438 wxString
*arg2
= (wxString
*) 0 ;
16441 bool temp2
= false ;
16442 PyObject
*swig_obj
[2] ;
16444 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16446 if (!SWIG_IsOK(res1
)) {
16447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16449 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16451 arg2
= wxString_in_helper(swig_obj
[1]);
16452 if (arg2
== NULL
) SWIG_fail
;
16455 if (arg1
) (arg1
)->Description
= *arg2
;
16457 resultobj
= SWIG_Py_Void();
16472 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16473 PyObject
*resultobj
= 0;
16474 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16475 wxString
*result
= 0 ;
16478 PyObject
*swig_obj
[1] ;
16480 if (!args
) SWIG_fail
;
16481 swig_obj
[0] = args
;
16482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16483 if (!SWIG_IsOK(res1
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16486 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16487 result
= (wxString
*)& ((arg1
)->Description
);
16490 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16492 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16501 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16504 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16505 return SWIG_Py_Void();
16508 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16510 int arg1
= (int) -1 ;
16511 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16512 wxLocale
*result
= 0 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char * kwnames
[] = {
16520 (char *) "language",(char *) "flags", NULL
16523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16525 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16526 if (!SWIG_IsOK(ecode1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16529 arg1
= static_cast< int >(val1
);
16532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16533 if (!SWIG_IsOK(ecode2
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16536 arg2
= static_cast< int >(val2
);
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16551 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16552 PyObject
*resultobj
= 0;
16553 wxLocale
*arg1
= (wxLocale
*) 0 ;
16556 PyObject
*swig_obj
[1] ;
16558 if (!args
) SWIG_fail
;
16559 swig_obj
[0] = args
;
16560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16564 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= SWIG_Py_Void();
16579 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
= 0;
16581 wxLocale
*arg1
= (wxLocale
*) 0 ;
16582 wxString
*arg2
= 0 ;
16583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16587 bool arg5
= (bool) true ;
16588 bool arg6
= (bool) false ;
16592 bool temp2
= false ;
16593 bool temp3
= false ;
16594 bool temp4
= false ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 PyObject
* obj2
= 0 ;
16602 PyObject
* obj3
= 0 ;
16603 PyObject
* obj4
= 0 ;
16604 PyObject
* obj5
= 0 ;
16605 char * kwnames
[] = {
16606 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16611 if (!SWIG_IsOK(res1
)) {
16612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16614 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16616 arg2
= wxString_in_helper(obj1
);
16617 if (arg2
== NULL
) SWIG_fail
;
16622 arg3
= wxString_in_helper(obj2
);
16623 if (arg3
== NULL
) SWIG_fail
;
16629 arg4
= wxString_in_helper(obj3
);
16630 if (arg4
== NULL
) SWIG_fail
;
16635 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16636 if (!SWIG_IsOK(ecode5
)) {
16637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16639 arg5
= static_cast< bool >(val5
);
16642 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16643 if (!SWIG_IsOK(ecode6
)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16646 arg6
= static_cast< bool >(val6
);
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16689 wxLocale
*arg1
= (wxLocale
*) 0 ;
16690 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16691 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 PyObject
* obj2
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "self",(char *) "language",(char *) "flags", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16711 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16714 if (!SWIG_IsOK(ecode2
)) {
16715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16717 arg2
= static_cast< int >(val2
);
16720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16721 if (!SWIG_IsOK(ecode3
)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16724 arg3
= static_cast< int >(val3
);
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16741 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16742 PyObject
*resultobj
= 0;
16745 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (int)wxLocale::GetSystemLanguage();
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_From_int(static_cast< int >(result
));
16759 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16760 PyObject
*resultobj
= 0;
16761 wxFontEncoding result
;
16763 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= SWIG_From_int(static_cast< int >(result
));
16777 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16778 PyObject
*resultobj
= 0;
16781 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= wxLocale::GetSystemEncodingName();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16801 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16802 PyObject
*resultobj
= 0;
16803 wxLocale
*arg1
= (wxLocale
*) 0 ;
16807 PyObject
*swig_obj
[1] ;
16809 if (!args
) SWIG_fail
;
16810 swig_obj
[0] = args
;
16811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16815 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16831 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16832 PyObject
*resultobj
= 0;
16833 wxLocale
*arg1
= (wxLocale
*) 0 ;
16837 PyObject
*swig_obj
[1] ;
16839 if (!args
) SWIG_fail
;
16840 swig_obj
[0] = args
;
16841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16842 if (!SWIG_IsOK(res1
)) {
16843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16845 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= ((wxLocale
const *)arg1
)->GetLocale();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16865 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16866 PyObject
*resultobj
= 0;
16867 wxLocale
*arg1
= (wxLocale
*) 0 ;
16871 PyObject
*swig_obj
[1] ;
16873 if (!args
) SWIG_fail
;
16874 swig_obj
[0] = args
;
16875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16879 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_From_int(static_cast< int >(result
));
16893 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16894 PyObject
*resultobj
= 0;
16895 wxLocale
*arg1
= (wxLocale
*) 0 ;
16899 PyObject
*swig_obj
[1] ;
16901 if (!args
) SWIG_fail
;
16902 swig_obj
[0] = args
;
16903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16904 if (!SWIG_IsOK(res1
)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16907 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 result
= ((wxLocale
const *)arg1
)->GetSysName();
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16927 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16928 PyObject
*resultobj
= 0;
16929 wxLocale
*arg1
= (wxLocale
*) 0 ;
16933 PyObject
*swig_obj
[1] ;
16935 if (!args
) SWIG_fail
;
16936 swig_obj
[0] = args
;
16937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16941 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16961 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
= 0;
16963 wxString
*arg1
= 0 ;
16964 bool temp1
= false ;
16965 PyObject
* obj0
= 0 ;
16966 char * kwnames
[] = {
16967 (char *) "prefix", NULL
16970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16972 arg1
= wxString_in_helper(obj0
);
16973 if (arg1
== NULL
) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_Py_Void();
16997 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
= 0;
16999 wxLocale
*arg1
= (wxLocale
*) 0 ;
17000 wxString
*arg2
= 0 ;
17004 bool temp2
= false ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char * kwnames
[] = {
17008 (char *) "self",(char *) "szDomain", NULL
17011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17013 if (!SWIG_IsOK(res1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17016 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17018 arg2
= wxString_in_helper(obj1
);
17019 if (arg2
== NULL
) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17045 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
= 0;
17051 PyObject
* obj0
= 0 ;
17052 char * kwnames
[] = {
17053 (char *) "lang", NULL
17056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17058 if (!SWIG_IsOK(ecode1
)) {
17059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17061 arg1
= static_cast< int >(val1
);
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)wxLocale::IsAvailable(arg1
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17077 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
= 0;
17079 wxLocale
*arg1
= (wxLocale
*) 0 ;
17080 wxString
*arg2
= 0 ;
17084 bool temp2
= false ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 char * kwnames
[] = {
17088 (char *) "self",(char *) "szDomain", NULL
17091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17093 if (!SWIG_IsOK(res1
)) {
17094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17096 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17098 arg2
= wxString_in_helper(obj1
);
17099 if (arg2
== NULL
) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17125 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
= 0;
17128 wxLanguageInfo
*result
= 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char * kwnames
[] = {
17133 (char *) "lang", NULL
17136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17138 if (!SWIG_IsOK(ecode1
)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17141 arg1
= static_cast< int >(val1
);
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17155 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
= 0;
17161 PyObject
* obj0
= 0 ;
17162 char * kwnames
[] = {
17163 (char *) "lang", NULL
17166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17167 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17168 if (!SWIG_IsOK(ecode1
)) {
17169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17171 arg1
= static_cast< int >(val1
);
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= wxLocale::GetLanguageName(arg1
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17191 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxString
*arg1
= 0 ;
17194 wxLanguageInfo
*result
= 0 ;
17195 bool temp1
= false ;
17196 PyObject
* obj0
= 0 ;
17197 char * kwnames
[] = {
17198 (char *) "locale", NULL
17201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17203 arg1
= wxString_in_helper(obj0
);
17204 if (arg1
== NULL
) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17228 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
= 0;
17230 wxLanguageInfo
*arg1
= 0 ;
17233 PyObject
* obj0
= 0 ;
17234 char * kwnames
[] = {
17235 (char *) "info", NULL
17238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17239 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17240 if (!SWIG_IsOK(res1
)) {
17241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17246 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_Py_Void();
17260 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
= 0;
17262 wxLocale
*arg1
= (wxLocale
*) 0 ;
17263 wxString
*arg2
= 0 ;
17264 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17269 bool temp2
= false ;
17270 bool temp3
= false ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 PyObject
* obj2
= 0 ;
17274 char * kwnames
[] = {
17275 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17280 if (!SWIG_IsOK(res1
)) {
17281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17283 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17285 arg2
= wxString_in_helper(obj1
);
17286 if (arg2
== NULL
) SWIG_fail
;
17291 arg3
= wxString_in_helper(obj2
);
17292 if (arg3
== NULL
) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17331 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17332 PyObject
*resultobj
= 0;
17333 wxLocale
*arg1
= (wxLocale
*) 0 ;
17334 wxString
*result
= 0 ;
17337 PyObject
*swig_obj
[1] ;
17339 if (!args
) SWIG_fail
;
17340 swig_obj
[0] = args
;
17341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17342 if (!SWIG_IsOK(res1
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17345 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17350 result
= (wxString
*) &_result_ref
;
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17359 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17368 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17371 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17372 return SWIG_Py_Void();
17375 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17376 return SWIG_Python_InitShadowInstance(args
);
17379 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
= 0;
17381 int arg1
= (int) -1 ;
17382 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17383 wxPyLocale
*result
= 0 ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char * kwnames
[] = {
17391 (char *) "language",(char *) "flags", NULL
17394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17397 if (!SWIG_IsOK(ecode1
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17400 arg1
= static_cast< int >(val1
);
17403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17404 if (!SWIG_IsOK(ecode2
)) {
17405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17407 arg2
= static_cast< int >(val2
);
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17422 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17423 PyObject
*resultobj
= 0;
17424 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17427 PyObject
*swig_obj
[1] ;
17429 if (!args
) SWIG_fail
;
17430 swig_obj
[0] = args
;
17431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17432 if (!SWIG_IsOK(res1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17435 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_Py_Void();
17450 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
= 0;
17452 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17453 PyObject
*arg2
= (PyObject
*) 0 ;
17454 PyObject
*arg3
= (PyObject
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 PyObject
* obj2
= 0 ;
17460 char * kwnames
[] = {
17461 (char *) "self",(char *) "self",(char *) "_class", NULL
17464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17466 if (!SWIG_IsOK(res1
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17469 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_Py_Void();
17485 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
= 0;
17487 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17488 wxChar
*arg2
= (wxChar
*) 0 ;
17489 wxChar
*arg3
= (wxChar
*) NULL
;
17490 wxChar
*result
= 0 ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 PyObject
* obj2
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17509 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17511 if (!SWIG_IsOK(res2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17514 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17516 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17517 if (!SWIG_IsOK(res3
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17520 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17535 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
= 0;
17537 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17538 wxChar
*arg2
= (wxChar
*) 0 ;
17539 wxChar
*arg3
= (wxChar
*) 0 ;
17541 wxChar
*arg5
= (wxChar
*) NULL
;
17542 wxChar
*result
= 0 ;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 PyObject
* obj2
= 0 ;
17556 PyObject
* obj3
= 0 ;
17557 PyObject
* obj4
= 0 ;
17558 char * kwnames
[] = {
17559 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17564 if (!SWIG_IsOK(res1
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17567 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17569 if (!SWIG_IsOK(res2
)) {
17570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17572 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17573 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17574 if (!SWIG_IsOK(res3
)) {
17575 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17577 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17578 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17579 if (!SWIG_IsOK(ecode4
)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17582 arg4
= static_cast< size_t >(val4
);
17584 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17585 if (!SWIG_IsOK(res5
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17588 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17603 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17606 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17607 return SWIG_Py_Void();
17610 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17611 return SWIG_Python_InitShadowInstance(args
);
17614 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17615 PyObject
*resultobj
= 0;
17616 wxLocale
*result
= 0 ;
17618 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (wxLocale
*)wxGetLocale();
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17632 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17633 PyObject
*resultobj
= 0;
17634 wxString
*arg1
= 0 ;
17636 bool temp1
= false ;
17638 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17640 arg1
= wxString_in_helper(swig_obj
[0]);
17641 if (arg1
== NULL
) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= wxGetTranslation((wxString
const &)*arg1
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17671 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17672 PyObject
*resultobj
= 0;
17673 wxString
*arg1
= 0 ;
17674 wxString
*arg2
= 0 ;
17676 bool temp1
= false ;
17677 bool temp2
= false ;
17679 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17681 arg1
= wxString_in_helper(swig_obj
[0]);
17682 if (arg1
== NULL
) SWIG_fail
;
17686 arg2
= wxString_in_helper(swig_obj
[1]);
17687 if (arg2
== NULL
) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17725 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17726 PyObject
*resultobj
= 0;
17727 wxString
*arg1
= 0 ;
17728 wxString
*arg2
= 0 ;
17731 bool temp1
= false ;
17732 bool temp2
= false ;
17736 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17738 arg1
= wxString_in_helper(swig_obj
[0]);
17739 if (arg1
== NULL
) SWIG_fail
;
17743 arg2
= wxString_in_helper(swig_obj
[1]);
17744 if (arg2
== NULL
) SWIG_fail
;
17747 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17748 if (!SWIG_IsOK(ecode3
)) {
17749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17751 arg3
= static_cast< size_t >(val3
);
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17787 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17788 PyObject
*resultobj
= 0;
17789 wxString
*arg1
= 0 ;
17790 wxString
*arg2
= 0 ;
17792 wxString
*arg4
= 0 ;
17794 bool temp1
= false ;
17795 bool temp2
= false ;
17798 bool temp4
= false ;
17800 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17802 arg1
= wxString_in_helper(swig_obj
[0]);
17803 if (arg1
== NULL
) SWIG_fail
;
17807 arg2
= wxString_in_helper(swig_obj
[1]);
17808 if (arg2
== NULL
) SWIG_fail
;
17811 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17812 if (!SWIG_IsOK(ecode3
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17815 arg3
= static_cast< size_t >(val3
);
17817 arg4
= wxString_in_helper(swig_obj
[3]);
17818 if (arg4
== NULL
) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17864 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17871 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17874 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17877 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17880 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17884 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17889 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17890 PyObject
*resultobj
= 0;
17891 wxEncodingConverter
*result
= 0 ;
17893 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17907 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17908 PyObject
*resultobj
= 0;
17909 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17912 PyObject
*swig_obj
[1] ;
17914 if (!args
) SWIG_fail
;
17915 swig_obj
[0] = args
;
17916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17917 if (!SWIG_IsOK(res1
)) {
17918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17920 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= SWIG_Py_Void();
17935 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
= 0;
17937 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17938 wxFontEncoding arg2
;
17939 wxFontEncoding arg3
;
17940 int arg4
= (int) wxCONVERT_STRICT
;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 PyObject
* obj2
= 0 ;
17953 PyObject
* obj3
= 0 ;
17954 char * kwnames
[] = {
17955 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17960 if (!SWIG_IsOK(res1
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17963 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17965 if (!SWIG_IsOK(ecode2
)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17968 arg2
= static_cast< wxFontEncoding
>(val2
);
17969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17970 if (!SWIG_IsOK(ecode3
)) {
17971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17973 arg3
= static_cast< wxFontEncoding
>(val3
);
17975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17976 if (!SWIG_IsOK(ecode4
)) {
17977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17979 arg4
= static_cast< int >(val4
);
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17996 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
= 0;
17998 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17999 wxString
*arg2
= 0 ;
18003 bool temp2
= false ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 char * kwnames
[] = {
18007 (char *) "self",(char *) "input", NULL
18010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18012 if (!SWIG_IsOK(res1
)) {
18013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18015 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18017 arg2
= wxString_in_helper(obj1
);
18018 if (arg2
== NULL
) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18048 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxFontEncoding arg1
;
18051 int arg2
= (int) wxPLATFORM_CURRENT
;
18052 wxFontEncodingArray result
;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 char * kwnames
[] = {
18060 (char *) "enc",(char *) "platform", NULL
18063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18065 if (!SWIG_IsOK(ecode1
)) {
18066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18068 arg1
= static_cast< wxFontEncoding
>(val1
);
18070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18071 if (!SWIG_IsOK(ecode2
)) {
18072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18074 arg2
= static_cast< int >(val2
);
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= PyList_New(0);
18084 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18085 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18086 PyList_Append(resultobj
, number
);
18096 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
= 0;
18098 wxFontEncoding arg1
;
18099 wxFontEncodingArray result
;
18102 PyObject
* obj0
= 0 ;
18103 char * kwnames
[] = {
18104 (char *) "enc", NULL
18107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18109 if (!SWIG_IsOK(ecode1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18112 arg1
= static_cast< wxFontEncoding
>(val1
);
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= PyList_New(0);
18121 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18122 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18123 PyList_Append(resultobj
, number
);
18133 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
= 0;
18135 wxFontEncoding arg1
;
18136 wxFontEncoding arg2
;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "encIn",(char *) "encOut", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18150 if (!SWIG_IsOK(ecode1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18153 arg1
= static_cast< wxFontEncoding
>(val1
);
18154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18155 if (!SWIG_IsOK(ecode2
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18158 arg2
= static_cast< wxFontEncoding
>(val2
);
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18174 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18177 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18178 return SWIG_Py_Void();
18181 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18182 return SWIG_Python_InitShadowInstance(args
);
18185 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18186 PyObject
*resultobj
= 0;
18187 wxDC
*arg1
= (wxDC
*) 0 ;
18190 PyObject
*swig_obj
[1] ;
18192 if (!args
) SWIG_fail
;
18193 swig_obj
[0] = args
;
18194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18195 if (!SWIG_IsOK(res1
)) {
18196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_Py_Void();
18213 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= 0;
18215 wxDC
*arg1
= (wxDC
*) 0 ;
18218 wxColour
*arg4
= 0 ;
18219 int arg5
= (int) wxFLOOD_SURFACE
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 PyObject
* obj2
= 0 ;
18233 PyObject
* obj3
= 0 ;
18234 PyObject
* obj4
= 0 ;
18235 char * kwnames
[] = {
18236 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18241 if (!SWIG_IsOK(res1
)) {
18242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18246 if (!SWIG_IsOK(ecode2
)) {
18247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18249 arg2
= static_cast< int >(val2
);
18250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18251 if (!SWIG_IsOK(ecode3
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18254 arg3
= static_cast< int >(val3
);
18257 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18260 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18261 if (!SWIG_IsOK(ecode5
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18264 arg5
= static_cast< int >(val5
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18281 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxDC
*arg1
= (wxDC
*) 0 ;
18284 wxPoint
*arg2
= 0 ;
18285 wxColour
*arg3
= 0 ;
18286 int arg4
= (int) wxFLOOD_SURFACE
;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 PyObject
* obj2
= 0 ;
18297 PyObject
* obj3
= 0 ;
18298 char * kwnames
[] = {
18299 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18314 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18318 if (!SWIG_IsOK(ecode4
)) {
18319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18321 arg4
= static_cast< int >(val4
);
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18338 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
= 0;
18340 wxDC
*arg1
= (wxDC
*) 0 ;
18342 wxColour
*arg3
= 0 ;
18343 wxColour
*arg4
= 0 ;
18344 wxPoint
*arg5
= 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 PyObject
* obj2
= 0 ;
18354 PyObject
* obj3
= 0 ;
18355 PyObject
* obj4
= 0 ;
18356 char * kwnames
[] = {
18357 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18362 if (!SWIG_IsOK(res1
)) {
18363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18372 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18376 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18380 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_Py_Void();
18395 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
= 0;
18397 wxDC
*arg1
= (wxDC
*) 0 ;
18399 wxColour
*arg3
= 0 ;
18400 wxColour
*arg4
= 0 ;
18401 wxDirection arg5
= (wxDirection
) wxEAST
;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 PyObject
* obj2
= 0 ;
18412 PyObject
* obj3
= 0 ;
18413 PyObject
* obj4
= 0 ;
18414 char * kwnames
[] = {
18415 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18420 if (!SWIG_IsOK(res1
)) {
18421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18426 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18434 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18438 if (!SWIG_IsOK(ecode5
)) {
18439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18441 arg5
= static_cast< wxDirection
>(val5
);
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_Py_Void();
18456 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
= 0;
18458 wxDC
*arg1
= (wxDC
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 PyObject
* obj2
= 0 ;
18471 char * kwnames
[] = {
18472 (char *) "self",(char *) "x",(char *) "y", NULL
18475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18482 if (!SWIG_IsOK(ecode2
)) {
18483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18485 arg2
= static_cast< int >(val2
);
18486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18487 if (!SWIG_IsOK(ecode3
)) {
18488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18490 arg3
= static_cast< int >(val3
);
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18504 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
= 0;
18506 wxDC
*arg1
= (wxDC
*) 0 ;
18507 wxPoint
*arg2
= 0 ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 char * kwnames
[] = {
18515 (char *) "self",(char *) "pt", NULL
18518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18520 if (!SWIG_IsOK(res1
)) {
18521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18541 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
= 0;
18543 wxDC
*arg1
= (wxDC
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 PyObject
* obj2
= 0 ;
18561 PyObject
* obj3
= 0 ;
18562 PyObject
* obj4
= 0 ;
18563 char * kwnames
[] = {
18564 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18574 if (!SWIG_IsOK(ecode2
)) {
18575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18577 arg2
= static_cast< int >(val2
);
18578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18579 if (!SWIG_IsOK(ecode3
)) {
18580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18582 arg3
= static_cast< int >(val3
);
18583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18584 if (!SWIG_IsOK(ecode4
)) {
18585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18587 arg4
= static_cast< int >(val4
);
18588 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18589 if (!SWIG_IsOK(ecode5
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18592 arg5
= static_cast< int >(val5
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_Py_Void();
18606 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
= 0;
18608 wxDC
*arg1
= (wxDC
*) 0 ;
18609 wxPoint
*arg2
= 0 ;
18610 wxPoint
*arg3
= 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 char * kwnames
[] = {
18619 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_Py_Void();
18649 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
= 0;
18651 wxDC
*arg1
= (wxDC
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 PyObject
* obj2
= 0 ;
18663 char * kwnames
[] = {
18664 (char *) "self",(char *) "x",(char *) "y", NULL
18667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18669 if (!SWIG_IsOK(res1
)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18674 if (!SWIG_IsOK(ecode2
)) {
18675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18677 arg2
= static_cast< int >(val2
);
18678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18679 if (!SWIG_IsOK(ecode3
)) {
18680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18682 arg3
= static_cast< int >(val3
);
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->CrossHair(arg2
,arg3
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_Py_Void();
18696 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
= 0;
18698 wxDC
*arg1
= (wxDC
*) 0 ;
18699 wxPoint
*arg2
= 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char * kwnames
[] = {
18706 (char *) "self",(char *) "pt", NULL
18709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18711 if (!SWIG_IsOK(res1
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_Py_Void();
18732 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
= 0;
18734 wxDC
*arg1
= (wxDC
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 PyObject
* obj2
= 0 ;
18758 PyObject
* obj3
= 0 ;
18759 PyObject
* obj4
= 0 ;
18760 PyObject
* obj5
= 0 ;
18761 PyObject
* obj6
= 0 ;
18762 char * kwnames
[] = {
18763 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18768 if (!SWIG_IsOK(res1
)) {
18769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18773 if (!SWIG_IsOK(ecode2
)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18776 arg2
= static_cast< int >(val2
);
18777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18778 if (!SWIG_IsOK(ecode3
)) {
18779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18781 arg3
= static_cast< int >(val3
);
18782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18783 if (!SWIG_IsOK(ecode4
)) {
18784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18786 arg4
= static_cast< int >(val4
);
18787 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18788 if (!SWIG_IsOK(ecode5
)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18791 arg5
= static_cast< int >(val5
);
18792 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18793 if (!SWIG_IsOK(ecode6
)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18796 arg6
= static_cast< int >(val6
);
18797 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18798 if (!SWIG_IsOK(ecode7
)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18801 arg7
= static_cast< int >(val7
);
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_Py_Void();
18815 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
= 0;
18817 wxDC
*arg1
= (wxDC
*) 0 ;
18818 wxPoint
*arg2
= 0 ;
18819 wxPoint
*arg3
= 0 ;
18820 wxPoint
*arg4
= 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 PyObject
* obj2
= 0 ;
18829 PyObject
* obj3
= 0 ;
18830 char * kwnames
[] = {
18831 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18836 if (!SWIG_IsOK(res1
)) {
18837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_Py_Void();
18865 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
= 0;
18867 wxDC
*arg1
= (wxDC
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 PyObject
* obj2
= 0 ;
18885 PyObject
* obj3
= 0 ;
18886 PyObject
* obj4
= 0 ;
18887 char * kwnames
[] = {
18888 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18893 if (!SWIG_IsOK(res1
)) {
18894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18898 if (!SWIG_IsOK(ecode2
)) {
18899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18901 arg2
= static_cast< int >(val2
);
18902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18903 if (!SWIG_IsOK(ecode3
)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18906 arg3
= static_cast< int >(val3
);
18907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18908 if (!SWIG_IsOK(ecode4
)) {
18909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18911 arg4
= static_cast< int >(val4
);
18912 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18913 if (!SWIG_IsOK(ecode5
)) {
18914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18916 arg5
= static_cast< int >(val5
);
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_Py_Void();
18930 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
= 0;
18932 wxDC
*arg1
= (wxDC
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char * kwnames
[] = {
18940 (char *) "self",(char *) "rect", NULL
18943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18951 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
= 0;
18968 wxDC
*arg1
= (wxDC
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 PyObject
* obj2
= 0 ;
18992 PyObject
* obj3
= 0 ;
18993 PyObject
* obj4
= 0 ;
18994 PyObject
* obj5
= 0 ;
18995 PyObject
* obj6
= 0 ;
18996 char * kwnames
[] = {
18997 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19007 if (!SWIG_IsOK(ecode2
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19010 arg2
= static_cast< int >(val2
);
19011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19012 if (!SWIG_IsOK(ecode3
)) {
19013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19015 arg3
= static_cast< int >(val3
);
19016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19017 if (!SWIG_IsOK(ecode4
)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19020 arg4
= static_cast< int >(val4
);
19021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19022 if (!SWIG_IsOK(ecode5
)) {
19023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19025 arg5
= static_cast< int >(val5
);
19026 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19027 if (!SWIG_IsOK(ecode6
)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19030 arg6
= static_cast< double >(val6
);
19031 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19032 if (!SWIG_IsOK(ecode7
)) {
19033 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19035 arg7
= static_cast< double >(val7
);
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_Py_Void();
19049 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
= 0;
19051 wxDC
*arg1
= (wxDC
*) 0 ;
19052 wxPoint
*arg2
= 0 ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 PyObject
* obj2
= 0 ;
19067 PyObject
* obj3
= 0 ;
19068 PyObject
* obj4
= 0 ;
19069 char * kwnames
[] = {
19070 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19085 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19087 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19088 if (!SWIG_IsOK(ecode4
)) {
19089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19091 arg4
= static_cast< double >(val4
);
19092 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19093 if (!SWIG_IsOK(ecode5
)) {
19094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19096 arg5
= static_cast< double >(val5
);
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= SWIG_Py_Void();
19110 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
= 0;
19112 wxDC
*arg1
= (wxDC
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 PyObject
* obj2
= 0 ;
19124 char * kwnames
[] = {
19125 (char *) "self",(char *) "x",(char *) "y", NULL
19128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19130 if (!SWIG_IsOK(res1
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19135 if (!SWIG_IsOK(ecode2
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19138 arg2
= static_cast< int >(val2
);
19139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19140 if (!SWIG_IsOK(ecode3
)) {
19141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19143 arg3
= static_cast< int >(val3
);
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->DrawPoint(arg2
,arg3
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_Py_Void();
19157 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
= 0;
19159 wxDC
*arg1
= (wxDC
*) 0 ;
19160 wxPoint
*arg2
= 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "pt", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_Py_Void();
19193 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
= 0;
19195 wxDC
*arg1
= (wxDC
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 PyObject
* obj2
= 0 ;
19213 PyObject
* obj3
= 0 ;
19214 PyObject
* obj4
= 0 ;
19215 char * kwnames
[] = {
19216 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19221 if (!SWIG_IsOK(res1
)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19226 if (!SWIG_IsOK(ecode2
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19229 arg2
= static_cast< int >(val2
);
19230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19231 if (!SWIG_IsOK(ecode3
)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19234 arg3
= static_cast< int >(val3
);
19235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19236 if (!SWIG_IsOK(ecode4
)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19239 arg4
= static_cast< int >(val4
);
19240 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19241 if (!SWIG_IsOK(ecode5
)) {
19242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19244 arg5
= static_cast< int >(val5
);
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_Py_Void();
19258 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
= 0;
19260 wxDC
*arg1
= (wxDC
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char * kwnames
[] = {
19268 (char *) "self",(char *) "rect", NULL
19271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19273 if (!SWIG_IsOK(res1
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_Py_Void();
19294 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
= 0;
19296 wxDC
*arg1
= (wxDC
*) 0 ;
19297 wxPoint
*arg2
= 0 ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 PyObject
* obj2
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "self",(char *) "pt",(char *) "sz", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19322 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_Py_Void();
19337 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
= 0;
19339 wxDC
*arg1
= (wxDC
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 PyObject
* obj3
= 0 ;
19361 PyObject
* obj4
= 0 ;
19362 PyObject
* obj5
= 0 ;
19363 char * kwnames
[] = {
19364 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19369 if (!SWIG_IsOK(res1
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19374 if (!SWIG_IsOK(ecode2
)) {
19375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19377 arg2
= static_cast< int >(val2
);
19378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19379 if (!SWIG_IsOK(ecode3
)) {
19380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19382 arg3
= static_cast< int >(val3
);
19383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19384 if (!SWIG_IsOK(ecode4
)) {
19385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19387 arg4
= static_cast< int >(val4
);
19388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19389 if (!SWIG_IsOK(ecode5
)) {
19390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19392 arg5
= static_cast< int >(val5
);
19393 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19394 if (!SWIG_IsOK(ecode6
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19397 arg6
= static_cast< double >(val6
);
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_Py_Void();
19411 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
= 0;
19413 wxDC
*arg1
= (wxDC
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 char * kwnames
[] = {
19425 (char *) "self",(char *) "r",(char *) "radius", NULL
19428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19438 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19439 if (!SWIG_IsOK(ecode3
)) {
19440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19442 arg3
= static_cast< double >(val3
);
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= SWIG_Py_Void();
19456 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
= 0;
19458 wxDC
*arg1
= (wxDC
*) 0 ;
19459 wxPoint
*arg2
= 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 PyObject
* obj2
= 0 ;
19471 PyObject
* obj3
= 0 ;
19472 char * kwnames
[] = {
19473 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19478 if (!SWIG_IsOK(res1
)) {
19479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19488 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19490 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19491 if (!SWIG_IsOK(ecode4
)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19494 arg4
= static_cast< double >(val4
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_Py_Void();
19508 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
= 0;
19510 wxDC
*arg1
= (wxDC
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 PyObject
* obj2
= 0 ;
19525 PyObject
* obj3
= 0 ;
19526 char * kwnames
[] = {
19527 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19532 if (!SWIG_IsOK(res1
)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19537 if (!SWIG_IsOK(ecode2
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19540 arg2
= static_cast< int >(val2
);
19541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19542 if (!SWIG_IsOK(ecode3
)) {
19543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19545 arg3
= static_cast< int >(val3
);
19546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19547 if (!SWIG_IsOK(ecode4
)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19550 arg4
= static_cast< int >(val4
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_Py_Void();
19564 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
= 0;
19566 wxDC
*arg1
= (wxDC
*) 0 ;
19567 wxPoint
*arg2
= 0 ;
19574 PyObject
* obj0
= 0 ;
19575 PyObject
* obj1
= 0 ;
19576 PyObject
* obj2
= 0 ;
19577 char * kwnames
[] = {
19578 (char *) "self",(char *) "pt",(char *) "radius", NULL
19581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19583 if (!SWIG_IsOK(res1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19592 if (!SWIG_IsOK(ecode3
)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19595 arg3
= static_cast< int >(val3
);
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_Py_Void();
19609 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= 0;
19611 wxDC
*arg1
= (wxDC
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 PyObject
* obj2
= 0 ;
19629 PyObject
* obj3
= 0 ;
19630 PyObject
* obj4
= 0 ;
19631 char * kwnames
[] = {
19632 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19637 if (!SWIG_IsOK(res1
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19642 if (!SWIG_IsOK(ecode2
)) {
19643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19645 arg2
= static_cast< int >(val2
);
19646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19647 if (!SWIG_IsOK(ecode3
)) {
19648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19650 arg3
= static_cast< int >(val3
);
19651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19652 if (!SWIG_IsOK(ecode4
)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19655 arg4
= static_cast< int >(val4
);
19656 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19657 if (!SWIG_IsOK(ecode5
)) {
19658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19660 arg5
= static_cast< int >(val5
);
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_Py_Void();
19674 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
= 0;
19676 wxDC
*arg1
= (wxDC
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 char * kwnames
[] = {
19684 (char *) "self",(char *) "rect", NULL
19687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19689 if (!SWIG_IsOK(res1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19695 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_Py_Void();
19710 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxDC
*arg1
= (wxDC
*) 0 ;
19713 wxPoint
*arg2
= 0 ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 PyObject
* obj2
= 0 ;
19722 char * kwnames
[] = {
19723 (char *) "self",(char *) "pt",(char *) "sz", NULL
19726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19728 if (!SWIG_IsOK(res1
)) {
19729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19738 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_Py_Void();
19753 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxDC
*arg1
= (wxDC
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 PyObject
* obj2
= 0 ;
19770 PyObject
* obj3
= 0 ;
19771 char * kwnames
[] = {
19772 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19777 if (!SWIG_IsOK(res1
)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19782 if (!SWIG_IsOK(res2
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19788 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19790 if (!SWIG_IsOK(ecode3
)) {
19791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19793 arg3
= static_cast< int >(val3
);
19794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19795 if (!SWIG_IsOK(ecode4
)) {
19796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19798 arg4
= static_cast< int >(val4
);
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_Py_Void();
19812 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= 0;
19814 wxDC
*arg1
= (wxDC
*) 0 ;
19816 wxPoint
*arg3
= 0 ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 PyObject
* obj2
= 0 ;
19825 char * kwnames
[] = {
19826 (char *) "self",(char *) "icon",(char *) "pt", NULL
19829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19836 if (!SWIG_IsOK(res2
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19842 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_Py_Void();
19860 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
= 0;
19862 wxDC
*arg1
= (wxDC
*) 0 ;
19863 wxBitmap
*arg2
= 0 ;
19866 bool arg5
= (bool) false ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 PyObject
* obj2
= 0 ;
19880 PyObject
* obj3
= 0 ;
19881 PyObject
* obj4
= 0 ;
19882 char * kwnames
[] = {
19883 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19888 if (!SWIG_IsOK(res1
)) {
19889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19893 if (!SWIG_IsOK(res2
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19899 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19901 if (!SWIG_IsOK(ecode3
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19904 arg3
= static_cast< int >(val3
);
19905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19906 if (!SWIG_IsOK(ecode4
)) {
19907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19909 arg4
= static_cast< int >(val4
);
19911 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19912 if (!SWIG_IsOK(ecode5
)) {
19913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19915 arg5
= static_cast< bool >(val5
);
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_Py_Void();
19930 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
= 0;
19932 wxDC
*arg1
= (wxDC
*) 0 ;
19933 wxBitmap
*arg2
= 0 ;
19934 wxPoint
*arg3
= 0 ;
19935 bool arg4
= (bool) false ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 PyObject
* obj2
= 0 ;
19946 PyObject
* obj3
= 0 ;
19947 char * kwnames
[] = {
19948 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19953 if (!SWIG_IsOK(res1
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19958 if (!SWIG_IsOK(res2
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19964 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19970 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19971 if (!SWIG_IsOK(ecode4
)) {
19972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19974 arg4
= static_cast< bool >(val4
);
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= SWIG_Py_Void();
19989 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
= 0;
19991 wxDC
*arg1
= (wxDC
*) 0 ;
19992 wxString
*arg2
= 0 ;
19997 bool temp2
= false ;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 PyObject
* obj2
= 0 ;
20005 PyObject
* obj3
= 0 ;
20006 char * kwnames
[] = {
20007 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20017 arg2
= wxString_in_helper(obj1
);
20018 if (arg2
== NULL
) SWIG_fail
;
20021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20022 if (!SWIG_IsOK(ecode3
)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20025 arg3
= static_cast< int >(val3
);
20026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20027 if (!SWIG_IsOK(ecode4
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20030 arg4
= static_cast< int >(val4
);
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= SWIG_Py_Void();
20052 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
= 0;
20054 wxDC
*arg1
= (wxDC
*) 0 ;
20055 wxString
*arg2
= 0 ;
20056 wxPoint
*arg3
= 0 ;
20059 bool temp2
= false ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 PyObject
* obj2
= 0 ;
20064 char * kwnames
[] = {
20065 (char *) "self",(char *) "text",(char *) "pt", NULL
20068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20070 if (!SWIG_IsOK(res1
)) {
20071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20075 arg2
= wxString_in_helper(obj1
);
20076 if (arg2
== NULL
) SWIG_fail
;
20081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 resultobj
= SWIG_Py_Void();
20104 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
= 0;
20106 wxDC
*arg1
= (wxDC
*) 0 ;
20107 wxString
*arg2
= 0 ;
20113 bool temp2
= false ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 PyObject
* obj2
= 0 ;
20123 PyObject
* obj3
= 0 ;
20124 PyObject
* obj4
= 0 ;
20125 char * kwnames
[] = {
20126 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20131 if (!SWIG_IsOK(res1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20136 arg2
= wxString_in_helper(obj1
);
20137 if (arg2
== NULL
) SWIG_fail
;
20140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20141 if (!SWIG_IsOK(ecode3
)) {
20142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20144 arg3
= static_cast< int >(val3
);
20145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20146 if (!SWIG_IsOK(ecode4
)) {
20147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20149 arg4
= static_cast< int >(val4
);
20150 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20151 if (!SWIG_IsOK(ecode5
)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20154 arg5
= static_cast< double >(val5
);
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_Py_Void();
20176 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
= 0;
20178 wxDC
*arg1
= (wxDC
*) 0 ;
20179 wxString
*arg2
= 0 ;
20180 wxPoint
*arg3
= 0 ;
20184 bool temp2
= false ;
20188 PyObject
* obj0
= 0 ;
20189 PyObject
* obj1
= 0 ;
20190 PyObject
* obj2
= 0 ;
20191 PyObject
* obj3
= 0 ;
20192 char * kwnames
[] = {
20193 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawRotatedTextPoint" "', 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 ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20211 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20212 if (!SWIG_IsOK(ecode4
)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20215 arg4
= static_cast< double >(val4
);
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_Py_Void();
20237 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
= 0;
20239 wxDC
*arg1
= (wxDC
*) 0 ;
20244 wxDC
*arg6
= (wxDC
*) 0 ;
20247 int arg9
= (int) wxCOPY
;
20248 bool arg10
= (bool) false ;
20249 int arg11
= (int) -1 ;
20250 int arg12
= (int) -1 ;
20276 PyObject
* obj0
= 0 ;
20277 PyObject
* obj1
= 0 ;
20278 PyObject
* obj2
= 0 ;
20279 PyObject
* obj3
= 0 ;
20280 PyObject
* obj4
= 0 ;
20281 PyObject
* obj5
= 0 ;
20282 PyObject
* obj6
= 0 ;
20283 PyObject
* obj7
= 0 ;
20284 PyObject
* obj8
= 0 ;
20285 PyObject
* obj9
= 0 ;
20286 PyObject
* obj10
= 0 ;
20287 PyObject
* obj11
= 0 ;
20288 char * kwnames
[] = {
20289 (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
20292 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
;
20293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20294 if (!SWIG_IsOK(res1
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20299 if (!SWIG_IsOK(ecode2
)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20302 arg2
= static_cast< int >(val2
);
20303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20304 if (!SWIG_IsOK(ecode3
)) {
20305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20307 arg3
= static_cast< int >(val3
);
20308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20309 if (!SWIG_IsOK(ecode4
)) {
20310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20312 arg4
= static_cast< int >(val4
);
20313 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20314 if (!SWIG_IsOK(ecode5
)) {
20315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20317 arg5
= static_cast< int >(val5
);
20318 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20319 if (!SWIG_IsOK(res6
)) {
20320 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20322 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20323 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20324 if (!SWIG_IsOK(ecode7
)) {
20325 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20327 arg7
= static_cast< int >(val7
);
20328 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20329 if (!SWIG_IsOK(ecode8
)) {
20330 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20332 arg8
= static_cast< int >(val8
);
20334 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20335 if (!SWIG_IsOK(ecode9
)) {
20336 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20338 arg9
= static_cast< int >(val9
);
20341 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20342 if (!SWIG_IsOK(ecode10
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20345 arg10
= static_cast< bool >(val10
);
20348 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20349 if (!SWIG_IsOK(ecode11
)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20352 arg11
= static_cast< int >(val11
);
20355 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20356 if (!SWIG_IsOK(ecode12
)) {
20357 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20359 arg12
= static_cast< int >(val12
);
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20376 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
= 0;
20378 wxDC
*arg1
= (wxDC
*) 0 ;
20379 wxPoint
*arg2
= 0 ;
20381 wxDC
*arg4
= (wxDC
*) 0 ;
20382 wxPoint
*arg5
= 0 ;
20383 int arg6
= (int) wxCOPY
;
20384 bool arg7
= (bool) false ;
20385 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20386 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20400 PyObject
* obj0
= 0 ;
20401 PyObject
* obj1
= 0 ;
20402 PyObject
* obj2
= 0 ;
20403 PyObject
* obj3
= 0 ;
20404 PyObject
* obj4
= 0 ;
20405 PyObject
* obj5
= 0 ;
20406 PyObject
* obj6
= 0 ;
20407 PyObject
* obj7
= 0 ;
20408 char * kwnames
[] = {
20409 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20424 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20426 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20427 if (!SWIG_IsOK(res4
)) {
20428 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20430 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20436 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20437 if (!SWIG_IsOK(ecode6
)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20440 arg6
= static_cast< int >(val6
);
20443 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20444 if (!SWIG_IsOK(ecode7
)) {
20445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20447 arg7
= static_cast< bool >(val7
);
20452 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20470 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
= 0;
20472 wxDC
*arg1
= (wxDC
*) 0 ;
20473 wxRect
*arg2
= (wxRect
*) NULL
;
20474 SwigValueWrapper
<wxBitmap
> result
;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char * kwnames
[] = {
20482 (char *) "self",(char *) "subrect", NULL
20485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20493 if (!SWIG_IsOK(res2
)) {
20494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20496 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20511 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
= 0;
20513 wxDC
*arg1
= (wxDC
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 PyObject
* obj2
= 0 ;
20531 PyObject
* obj3
= 0 ;
20532 PyObject
* obj4
= 0 ;
20533 char * kwnames
[] = {
20534 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20539 if (!SWIG_IsOK(res1
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20544 if (!SWIG_IsOK(ecode2
)) {
20545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20547 arg2
= static_cast< int >(val2
);
20548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20549 if (!SWIG_IsOK(ecode3
)) {
20550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20552 arg3
= static_cast< int >(val3
);
20553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20554 if (!SWIG_IsOK(ecode4
)) {
20555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20557 arg4
= static_cast< int >(val4
);
20558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20559 if (!SWIG_IsOK(ecode5
)) {
20560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20562 arg5
= static_cast< int >(val5
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_Py_Void();
20576 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= 0;
20578 wxDC
*arg1
= (wxDC
*) 0 ;
20579 wxPoint
*arg2
= 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 PyObject
* obj2
= 0 ;
20588 char * kwnames
[] = {
20589 (char *) "self",(char *) "pt",(char *) "sz", NULL
20592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20594 if (!SWIG_IsOK(res1
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20604 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= SWIG_Py_Void();
20619 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= 0;
20621 wxDC
*arg1
= (wxDC
*) 0 ;
20622 wxRegion
*arg2
= 0 ;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 char * kwnames
[] = {
20630 (char *) "self",(char *) "region", NULL
20633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20635 if (!SWIG_IsOK(res1
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20640 if (!SWIG_IsOK(res2
)) {
20641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20646 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= SWIG_Py_Void();
20660 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
= 0;
20662 wxDC
*arg1
= (wxDC
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char * kwnames
[] = {
20670 (char *) "self",(char *) "rect", NULL
20673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20681 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_Py_Void();
20696 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
= 0;
20698 wxDC
*arg1
= (wxDC
*) 0 ;
20700 wxPoint
*arg3
= (wxPoint
*) 0 ;
20701 int arg4
= (int) 0 ;
20702 int arg5
= (int) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 PyObject
* obj2
= 0 ;
20712 PyObject
* obj3
= 0 ;
20713 char * kwnames
[] = {
20714 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20719 if (!SWIG_IsOK(res1
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20724 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20725 if (arg3
== NULL
) SWIG_fail
;
20728 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20729 if (!SWIG_IsOK(ecode4
)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20732 arg4
= static_cast< int >(val4
);
20735 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20736 if (!SWIG_IsOK(ecode5
)) {
20737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20739 arg5
= static_cast< int >(val5
);
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_Py_Void();
20749 if (arg3
) delete [] arg3
;
20754 if (arg3
) delete [] arg3
;
20760 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
= 0;
20762 wxDC
*arg1
= (wxDC
*) 0 ;
20764 wxPoint
*arg3
= (wxPoint
*) 0 ;
20765 int arg4
= (int) 0 ;
20766 int arg5
= (int) 0 ;
20767 int arg6
= (int) wxODDEVEN_RULE
;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 PyObject
* obj2
= 0 ;
20779 PyObject
* obj3
= 0 ;
20780 PyObject
* obj4
= 0 ;
20781 char * kwnames
[] = {
20782 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20792 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20793 if (arg3
== NULL
) SWIG_fail
;
20796 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20797 if (!SWIG_IsOK(ecode4
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20800 arg4
= static_cast< int >(val4
);
20803 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20804 if (!SWIG_IsOK(ecode5
)) {
20805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20807 arg5
= static_cast< int >(val5
);
20810 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20811 if (!SWIG_IsOK(ecode6
)) {
20812 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20814 arg6
= static_cast< int >(val6
);
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_Py_Void();
20824 if (arg3
) delete [] arg3
;
20829 if (arg3
) delete [] arg3
;
20835 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
= 0;
20837 wxDC
*arg1
= (wxDC
*) 0 ;
20838 wxString
*arg2
= 0 ;
20840 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20841 int arg5
= (int) -1 ;
20844 bool temp2
= false ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 PyObject
* obj2
= 0 ;
20853 PyObject
* obj3
= 0 ;
20854 PyObject
* obj4
= 0 ;
20855 char * kwnames
[] = {
20856 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20861 if (!SWIG_IsOK(res1
)) {
20862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20866 arg2
= wxString_in_helper(obj1
);
20867 if (arg2
== NULL
) SWIG_fail
;
20872 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20876 if (!SWIG_IsOK(ecode4
)) {
20877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20879 arg4
= static_cast< int >(val4
);
20882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20883 if (!SWIG_IsOK(ecode5
)) {
20884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20886 arg5
= static_cast< int >(val5
);
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_Py_Void();
20909 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
= 0;
20911 wxDC
*arg1
= (wxDC
*) 0 ;
20912 wxString
*arg2
= 0 ;
20913 wxBitmap
*arg3
= 0 ;
20915 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20916 int arg6
= (int) -1 ;
20920 bool temp2
= false ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 PyObject
* obj2
= 0 ;
20931 PyObject
* obj3
= 0 ;
20932 PyObject
* obj4
= 0 ;
20933 PyObject
* obj5
= 0 ;
20934 char * kwnames
[] = {
20935 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20940 if (!SWIG_IsOK(res1
)) {
20941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20945 arg2
= wxString_in_helper(obj1
);
20946 if (arg2
== NULL
) SWIG_fail
;
20949 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20950 if (!SWIG_IsOK(res3
)) {
20951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20956 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20959 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20962 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20963 if (!SWIG_IsOK(ecode5
)) {
20964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20966 arg5
= static_cast< int >(val5
);
20969 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20970 if (!SWIG_IsOK(ecode6
)) {
20971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20973 arg6
= static_cast< int >(val6
);
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20996 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxDC
*arg1
= (wxDC
*) 0 ;
21000 wxPoint
*arg3
= (wxPoint
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char * kwnames
[] = {
21006 (char *) "self",(char *) "points", NULL
21009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21016 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21017 if (arg3
== NULL
) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->DrawSpline(arg2
,arg3
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= SWIG_Py_Void();
21027 if (arg3
) delete [] arg3
;
21032 if (arg3
) delete [] arg3
;
21038 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21039 PyObject
*resultobj
= 0;
21040 wxDC
*arg1
= (wxDC
*) 0 ;
21043 PyObject
*swig_obj
[1] ;
21045 if (!args
) SWIG_fail
;
21046 swig_obj
[0] = args
;
21047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_Py_Void();
21065 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
= 0;
21067 wxDC
*arg1
= (wxDC
*) 0 ;
21068 wxString
*arg2
= 0 ;
21072 bool temp2
= false ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char * kwnames
[] = {
21076 (char *) "self",(char *) "message", NULL
21079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21081 if (!SWIG_IsOK(res1
)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21086 arg2
= wxString_in_helper(obj1
);
21087 if (arg2
== NULL
) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21113 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21114 PyObject
*resultobj
= 0;
21115 wxDC
*arg1
= (wxDC
*) 0 ;
21118 PyObject
*swig_obj
[1] ;
21120 if (!args
) SWIG_fail
;
21121 swig_obj
[0] = args
;
21122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= SWIG_Py_Void();
21140 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21141 PyObject
*resultobj
= 0;
21142 wxDC
*arg1
= (wxDC
*) 0 ;
21145 PyObject
*swig_obj
[1] ;
21147 if (!args
) SWIG_fail
;
21148 swig_obj
[0] = args
;
21149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 (arg1
)->StartPage();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_Py_Void();
21167 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21168 PyObject
*resultobj
= 0;
21169 wxDC
*arg1
= (wxDC
*) 0 ;
21172 PyObject
*swig_obj
[1] ;
21174 if (!args
) SWIG_fail
;
21175 swig_obj
[0] = args
;
21176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21177 if (!SWIG_IsOK(res1
)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_Py_Void();
21194 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
= 0;
21196 wxDC
*arg1
= (wxDC
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char * kwnames
[] = {
21205 (char *) "self",(char *) "font", NULL
21208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21210 if (!SWIG_IsOK(res1
)) {
21211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21215 if (!SWIG_IsOK(res2
)) {
21216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21221 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 (arg1
)->SetFont((wxFont
const &)*arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_Py_Void();
21235 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
= 0;
21237 wxDC
*arg1
= (wxDC
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char * kwnames
[] = {
21246 (char *) "self",(char *) "pen", NULL
21249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21251 if (!SWIG_IsOK(res1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21256 if (!SWIG_IsOK(res2
)) {
21257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21262 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 (arg1
)->SetPen((wxPen
const &)*arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_Py_Void();
21276 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxDC
*arg1
= (wxDC
*) 0 ;
21279 wxBrush
*arg2
= 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char * kwnames
[] = {
21287 (char *) "self",(char *) "brush", NULL
21290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21297 if (!SWIG_IsOK(res2
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21303 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_Py_Void();
21317 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
= 0;
21319 wxDC
*arg1
= (wxDC
*) 0 ;
21320 wxBrush
*arg2
= 0 ;
21325 PyObject
* obj0
= 0 ;
21326 PyObject
* obj1
= 0 ;
21327 char * kwnames
[] = {
21328 (char *) "self",(char *) "brush", NULL
21331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21338 if (!SWIG_IsOK(res2
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21344 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_Py_Void();
21358 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxDC
*arg1
= (wxDC
*) 0 ;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char * kwnames
[] = {
21369 (char *) "self",(char *) "mode", NULL
21372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21379 if (!SWIG_IsOK(ecode2
)) {
21380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21382 arg2
= static_cast< int >(val2
);
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 (arg1
)->SetBackgroundMode(arg2
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_Py_Void();
21396 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
= 0;
21398 wxDC
*arg1
= (wxDC
*) 0 ;
21399 wxPalette
*arg2
= 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char * kwnames
[] = {
21407 (char *) "self",(char *) "palette", NULL
21410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21412 if (!SWIG_IsOK(res1
)) {
21413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21417 if (!SWIG_IsOK(res2
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21423 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_Py_Void();
21437 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21438 PyObject
*resultobj
= 0;
21439 wxDC
*arg1
= (wxDC
*) 0 ;
21442 PyObject
*swig_obj
[1] ;
21444 if (!args
) SWIG_fail
;
21445 swig_obj
[0] = args
;
21446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21447 if (!SWIG_IsOK(res1
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->DestroyClippingRegion();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_Py_Void();
21464 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21465 PyObject
*resultobj
= 0;
21466 wxDC
*arg1
= (wxDC
*) 0 ;
21467 int *arg2
= (int *) 0 ;
21468 int *arg3
= (int *) 0 ;
21469 int *arg4
= (int *) 0 ;
21470 int *arg5
= (int *) 0 ;
21474 int res2
= SWIG_TMPOBJ
;
21476 int res3
= SWIG_TMPOBJ
;
21478 int res4
= SWIG_TMPOBJ
;
21480 int res5
= SWIG_TMPOBJ
;
21481 PyObject
*swig_obj
[1] ;
21487 if (!args
) SWIG_fail
;
21488 swig_obj
[0] = args
;
21489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21490 if (!SWIG_IsOK(res1
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_Py_Void();
21501 if (SWIG_IsTmpObj(res2
)) {
21502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21504 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21507 if (SWIG_IsTmpObj(res3
)) {
21508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21510 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21513 if (SWIG_IsTmpObj(res4
)) {
21514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21516 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21519 if (SWIG_IsTmpObj(res5
)) {
21520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21522 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21523 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21531 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21532 PyObject
*resultobj
= 0;
21533 wxDC
*arg1
= (wxDC
*) 0 ;
21537 PyObject
*swig_obj
[1] ;
21539 if (!args
) SWIG_fail
;
21540 swig_obj
[0] = args
;
21541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21542 if (!SWIG_IsOK(res1
)) {
21543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= wxDC_GetClippingRect(arg1
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21559 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21560 PyObject
*resultobj
= 0;
21561 wxDC
*arg1
= (wxDC
*) 0 ;
21565 PyObject
*swig_obj
[1] ;
21567 if (!args
) SWIG_fail
;
21568 swig_obj
[0] = args
;
21569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21570 if (!SWIG_IsOK(res1
)) {
21571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_From_int(static_cast< int >(result
));
21587 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21588 PyObject
*resultobj
= 0;
21589 wxDC
*arg1
= (wxDC
*) 0 ;
21593 PyObject
*swig_obj
[1] ;
21595 if (!args
) SWIG_fail
;
21596 swig_obj
[0] = args
;
21597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21598 if (!SWIG_IsOK(res1
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= SWIG_From_int(static_cast< int >(result
));
21615 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
= 0;
21617 wxDC
*arg1
= (wxDC
*) 0 ;
21618 wxString
*arg2
= 0 ;
21619 int *arg3
= (int *) 0 ;
21620 int *arg4
= (int *) 0 ;
21623 bool temp2
= false ;
21625 int res3
= SWIG_TMPOBJ
;
21627 int res4
= SWIG_TMPOBJ
;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char * kwnames
[] = {
21631 (char *) "self",(char *) "string", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 arg2
= wxString_in_helper(obj1
);
21644 if (arg2
== NULL
) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_Py_Void();
21654 if (SWIG_IsTmpObj(res3
)) {
21655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21660 if (SWIG_IsTmpObj(res4
)) {
21661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21663 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21680 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
= 0;
21682 wxDC
*arg1
= (wxDC
*) 0 ;
21683 wxString
*arg2
= 0 ;
21684 int *arg3
= (int *) 0 ;
21685 int *arg4
= (int *) 0 ;
21686 int *arg5
= (int *) 0 ;
21687 int *arg6
= (int *) 0 ;
21688 wxFont
*arg7
= (wxFont
*) NULL
;
21691 bool temp2
= false ;
21693 int res3
= SWIG_TMPOBJ
;
21695 int res4
= SWIG_TMPOBJ
;
21697 int res5
= SWIG_TMPOBJ
;
21699 int res6
= SWIG_TMPOBJ
;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 char * kwnames
[] = {
21706 (char *) "self",(char *) "string",(char *) "font", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21720 arg2
= wxString_in_helper(obj1
);
21721 if (arg2
== NULL
) SWIG_fail
;
21725 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21726 if (!SWIG_IsOK(res7
)) {
21727 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21729 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21738 if (SWIG_IsTmpObj(res3
)) {
21739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21741 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21744 if (SWIG_IsTmpObj(res4
)) {
21745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21747 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21750 if (SWIG_IsTmpObj(res5
)) {
21751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21753 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21756 if (SWIG_IsTmpObj(res6
)) {
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21759 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21776 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
= 0;
21778 wxDC
*arg1
= (wxDC
*) 0 ;
21779 wxString
*arg2
= 0 ;
21780 int *arg3
= (int *) 0 ;
21781 int *arg4
= (int *) 0 ;
21782 int *arg5
= (int *) 0 ;
21783 wxFont
*arg6
= (wxFont
*) NULL
;
21786 bool temp2
= false ;
21788 int res3
= SWIG_TMPOBJ
;
21790 int res4
= SWIG_TMPOBJ
;
21792 int res5
= SWIG_TMPOBJ
;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 PyObject
* obj2
= 0 ;
21798 char * kwnames
[] = {
21799 (char *) "self",(char *) "text",(char *) "font", NULL
21805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21807 if (!SWIG_IsOK(res1
)) {
21808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21812 arg2
= wxString_in_helper(obj1
);
21813 if (arg2
== NULL
) SWIG_fail
;
21817 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21818 if (!SWIG_IsOK(res6
)) {
21819 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21821 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_Py_Void();
21830 if (SWIG_IsTmpObj(res3
)) {
21831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21833 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21836 if (SWIG_IsTmpObj(res4
)) {
21837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21839 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21842 if (SWIG_IsTmpObj(res5
)) {
21843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21845 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21862 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
= 0;
21864 wxDC
*arg1
= (wxDC
*) 0 ;
21865 wxString
*arg2
= 0 ;
21869 bool temp2
= false ;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 char * kwnames
[] = {
21873 (char *) "self",(char *) "text", NULL
21876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21883 arg2
= wxString_in_helper(obj1
);
21884 if (arg2
== NULL
) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= wxArrayInt2PyList_helper(result
);
21910 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21911 PyObject
*resultobj
= 0;
21912 wxDC
*arg1
= (wxDC
*) 0 ;
21916 PyObject
*swig_obj
[1] ;
21918 if (!args
) SWIG_fail
;
21919 swig_obj
[0] = args
;
21920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21921 if (!SWIG_IsOK(res1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= (arg1
)->GetSize();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21938 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxDC
*arg1
= (wxDC
*) 0 ;
21941 int *arg2
= (int *) 0 ;
21942 int *arg3
= (int *) 0 ;
21946 int res2
= SWIG_TMPOBJ
;
21948 int res3
= SWIG_TMPOBJ
;
21949 PyObject
*swig_obj
[1] ;
21953 if (!args
) SWIG_fail
;
21954 swig_obj
[0] = args
;
21955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->GetSize(arg2
,arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= SWIG_Py_Void();
21967 if (SWIG_IsTmpObj(res2
)) {
21968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21970 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21973 if (SWIG_IsTmpObj(res3
)) {
21974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21985 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21986 PyObject
*resultobj
= 0;
21987 wxDC
*arg1
= (wxDC
*) 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_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22013 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22014 PyObject
*resultobj
= 0;
22015 wxDC
*arg1
= (wxDC
*) 0 ;
22016 int *arg2
= (int *) 0 ;
22017 int *arg3
= (int *) 0 ;
22021 int res2
= SWIG_TMPOBJ
;
22023 int res3
= SWIG_TMPOBJ
;
22024 PyObject
*swig_obj
[1] ;
22028 if (!args
) SWIG_fail
;
22029 swig_obj
[0] = args
;
22030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_Py_Void();
22042 if (SWIG_IsTmpObj(res2
)) {
22043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22045 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22048 if (SWIG_IsTmpObj(res3
)) {
22049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22060 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
= 0;
22062 wxDC
*arg1
= (wxDC
*) 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char * kwnames
[] = {
22072 (char *) "self",(char *) "x", NULL
22075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22077 if (!SWIG_IsOK(res1
)) {
22078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22082 if (!SWIG_IsOK(ecode2
)) {
22083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22085 arg2
= static_cast< int >(val2
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= SWIG_From_int(static_cast< int >(result
));
22099 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
= 0;
22101 wxDC
*arg1
= (wxDC
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 char * kwnames
[] = {
22111 (char *) "self",(char *) "y", NULL
22114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22121 if (!SWIG_IsOK(ecode2
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22124 arg2
= static_cast< int >(val2
);
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_From_int(static_cast< int >(result
));
22138 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
= 0;
22140 wxDC
*arg1
= (wxDC
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char * kwnames
[] = {
22150 (char *) "self",(char *) "x", NULL
22153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22155 if (!SWIG_IsOK(res1
)) {
22156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22160 if (!SWIG_IsOK(ecode2
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22163 arg2
= static_cast< int >(val2
);
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_From_int(static_cast< int >(result
));
22177 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= 0;
22179 wxDC
*arg1
= (wxDC
*) 0 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 char * kwnames
[] = {
22189 (char *) "self",(char *) "y", NULL
22192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22199 if (!SWIG_IsOK(ecode2
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22202 arg2
= static_cast< int >(val2
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_From_int(static_cast< int >(result
));
22216 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
= 0;
22218 wxDC
*arg1
= (wxDC
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 char * kwnames
[] = {
22228 (char *) "self",(char *) "x", NULL
22231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22238 if (!SWIG_IsOK(ecode2
)) {
22239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22241 arg2
= static_cast< int >(val2
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_From_int(static_cast< int >(result
));
22255 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
= 0;
22257 wxDC
*arg1
= (wxDC
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 char * kwnames
[] = {
22267 (char *) "self",(char *) "y", NULL
22270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22277 if (!SWIG_IsOK(ecode2
)) {
22278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22280 arg2
= static_cast< int >(val2
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_From_int(static_cast< int >(result
));
22294 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
= 0;
22296 wxDC
*arg1
= (wxDC
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "self",(char *) "x", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22316 if (!SWIG_IsOK(ecode2
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22319 arg2
= static_cast< int >(val2
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_From_int(static_cast< int >(result
));
22333 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
= 0;
22335 wxDC
*arg1
= (wxDC
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char * kwnames
[] = {
22345 (char *) "self",(char *) "y", NULL
22348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22355 if (!SWIG_IsOK(ecode2
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22358 arg2
= static_cast< int >(val2
);
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_From_int(static_cast< int >(result
));
22372 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22373 PyObject
*resultobj
= 0;
22374 wxDC
*arg1
= (wxDC
*) 0 ;
22378 PyObject
*swig_obj
[1] ;
22380 if (!args
) SWIG_fail
;
22381 swig_obj
[0] = args
;
22382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22383 if (!SWIG_IsOK(res1
)) {
22384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22403 PyObject
*resultobj
= 0;
22404 wxDC
*arg1
= (wxDC
*) 0 ;
22408 PyObject
*swig_obj
[1] ;
22410 if (!args
) SWIG_fail
;
22411 swig_obj
[0] = args
;
22412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22413 if (!SWIG_IsOK(res1
)) {
22414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22432 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 PyObject
*resultobj
= 0;
22434 wxDC
*arg1
= (wxDC
*) 0 ;
22438 PyObject
*swig_obj
[1] ;
22440 if (!args
) SWIG_fail
;
22441 swig_obj
[0] = args
;
22442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_From_int(static_cast< int >(result
));
22460 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22461 PyObject
*resultobj
= 0;
22462 wxDC
*arg1
= (wxDC
*) 0 ;
22466 PyObject
*swig_obj
[1] ;
22468 if (!args
) SWIG_fail
;
22469 swig_obj
[0] = args
;
22470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= ((wxDC
const *)arg1
)->GetPPI();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22488 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22489 PyObject
*resultobj
= 0;
22490 wxDC
*arg1
= (wxDC
*) 0 ;
22494 PyObject
*swig_obj
[1] ;
22496 if (!args
) SWIG_fail
;
22497 swig_obj
[0] = args
;
22498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 PyObject
*resultobj
= 0;
22520 wxDC
*arg1
= (wxDC
*) 0 ;
22524 PyObject
*swig_obj
[1] ;
22526 if (!args
) SWIG_fail
;
22527 swig_obj
[0] = args
;
22528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_From_int(static_cast< int >(result
));
22546 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 PyObject
*resultobj
= 0;
22548 wxDC
*arg1
= (wxDC
*) 0 ;
22549 wxBrush
*result
= 0 ;
22552 PyObject
*swig_obj
[1] ;
22554 if (!args
) SWIG_fail
;
22555 swig_obj
[0] = args
;
22556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22557 if (!SWIG_IsOK(res1
)) {
22558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22565 result
= (wxBrush
*) &_result_ref
;
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 wxBrush
* resultptr
= new wxBrush(*result
);
22572 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22580 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22581 PyObject
*resultobj
= 0;
22582 wxDC
*arg1
= (wxDC
*) 0 ;
22583 wxBrush
*result
= 0 ;
22586 PyObject
*swig_obj
[1] ;
22588 if (!args
) SWIG_fail
;
22589 swig_obj
[0] = args
;
22590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22599 result
= (wxBrush
*) &_result_ref
;
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 wxBrush
* resultptr
= new wxBrush(*result
);
22606 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22614 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22615 PyObject
*resultobj
= 0;
22616 wxDC
*arg1
= (wxDC
*) 0 ;
22617 wxFont
*result
= 0 ;
22620 PyObject
*swig_obj
[1] ;
22622 if (!args
) SWIG_fail
;
22623 swig_obj
[0] = args
;
22624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22625 if (!SWIG_IsOK(res1
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22633 result
= (wxFont
*) &_result_ref
;
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22639 wxFont
* resultptr
= new wxFont(*result
);
22640 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22648 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22649 PyObject
*resultobj
= 0;
22650 wxDC
*arg1
= (wxDC
*) 0 ;
22651 wxPen
*result
= 0 ;
22654 PyObject
*swig_obj
[1] ;
22656 if (!args
) SWIG_fail
;
22657 swig_obj
[0] = args
;
22658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22659 if (!SWIG_IsOK(res1
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22667 result
= (wxPen
*) &_result_ref
;
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 wxPen
* resultptr
= new wxPen(*result
);
22674 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22682 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxDC
*arg1
= (wxDC
*) 0 ;
22685 wxColour
*result
= 0 ;
22688 PyObject
*swig_obj
[1] ;
22690 if (!args
) SWIG_fail
;
22691 swig_obj
[0] = args
;
22692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22701 result
= (wxColour
*) &_result_ref
;
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22713 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22714 PyObject
*resultobj
= 0;
22715 wxDC
*arg1
= (wxDC
*) 0 ;
22716 wxColour
*result
= 0 ;
22719 PyObject
*swig_obj
[1] ;
22721 if (!args
) SWIG_fail
;
22722 swig_obj
[0] = args
;
22723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22732 result
= (wxColour
*) &_result_ref
;
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22744 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
= 0;
22746 wxDC
*arg1
= (wxDC
*) 0 ;
22747 wxColour
*arg2
= 0 ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 char * kwnames
[] = {
22754 (char *) "self",(char *) "colour", NULL
22757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22759 if (!SWIG_IsOK(res1
)) {
22760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= SWIG_Py_Void();
22780 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
= 0;
22782 wxDC
*arg1
= (wxDC
*) 0 ;
22783 wxColour
*arg2
= 0 ;
22787 PyObject
* obj0
= 0 ;
22788 PyObject
* obj1
= 0 ;
22789 char * kwnames
[] = {
22790 (char *) "self",(char *) "colour", NULL
22793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22795 if (!SWIG_IsOK(res1
)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= SWIG_Py_Void();
22816 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 PyObject
*resultobj
= 0;
22818 wxDC
*arg1
= (wxDC
*) 0 ;
22822 PyObject
*swig_obj
[1] ;
22824 if (!args
) SWIG_fail
;
22825 swig_obj
[0] = args
;
22826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22827 if (!SWIG_IsOK(res1
)) {
22828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_From_int(static_cast< int >(result
));
22844 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxDC
*arg1
= (wxDC
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 char * kwnames
[] = {
22855 (char *) "self",(char *) "mode", NULL
22858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22860 if (!SWIG_IsOK(res1
)) {
22861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22865 if (!SWIG_IsOK(ecode2
)) {
22866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22868 arg2
= static_cast< int >(val2
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->SetMapMode(arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_Py_Void();
22882 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22883 PyObject
*resultobj
= 0;
22884 wxDC
*arg1
= (wxDC
*) 0 ;
22885 double *arg2
= (double *) 0 ;
22886 double *arg3
= (double *) 0 ;
22890 int res2
= SWIG_TMPOBJ
;
22892 int res3
= SWIG_TMPOBJ
;
22893 PyObject
*swig_obj
[1] ;
22897 if (!args
) SWIG_fail
;
22898 swig_obj
[0] = args
;
22899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_Py_Void();
22911 if (SWIG_IsTmpObj(res2
)) {
22912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22914 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22917 if (SWIG_IsTmpObj(res3
)) {
22918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22920 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22929 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
= 0;
22931 wxDC
*arg1
= (wxDC
*) 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 PyObject
* obj2
= 0 ;
22943 char * kwnames
[] = {
22944 (char *) "self",(char *) "x",(char *) "y", NULL
22947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22949 if (!SWIG_IsOK(res1
)) {
22950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22953 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22954 if (!SWIG_IsOK(ecode2
)) {
22955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22957 arg2
= static_cast< double >(val2
);
22958 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22959 if (!SWIG_IsOK(ecode3
)) {
22960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22962 arg3
= static_cast< double >(val3
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->SetUserScale(arg2
,arg3
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxDC
*arg1
= (wxDC
*) 0 ;
22979 double *arg2
= (double *) 0 ;
22980 double *arg3
= (double *) 0 ;
22984 int res2
= SWIG_TMPOBJ
;
22986 int res3
= SWIG_TMPOBJ
;
22987 PyObject
*swig_obj
[1] ;
22991 if (!args
) SWIG_fail
;
22992 swig_obj
[0] = args
;
22993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 (arg1
)->GetLogicalScale(arg2
,arg3
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_Py_Void();
23005 if (SWIG_IsTmpObj(res2
)) {
23006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23008 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23011 if (SWIG_IsTmpObj(res3
)) {
23012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23014 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23023 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
= 0;
23025 wxDC
*arg1
= (wxDC
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char * kwnames
[] = {
23038 (char *) "self",(char *) "x",(char *) "y", NULL
23041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23047 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23048 if (!SWIG_IsOK(ecode2
)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23051 arg2
= static_cast< double >(val2
);
23052 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23053 if (!SWIG_IsOK(ecode3
)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23056 arg3
= static_cast< double >(val3
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->SetLogicalScale(arg2
,arg3
);
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_Py_Void();
23070 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23071 PyObject
*resultobj
= 0;
23072 wxDC
*arg1
= (wxDC
*) 0 ;
23076 PyObject
*swig_obj
[1] ;
23078 if (!args
) SWIG_fail
;
23079 swig_obj
[0] = args
;
23080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23081 if (!SWIG_IsOK(res1
)) {
23082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23098 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23099 PyObject
*resultobj
= 0;
23100 wxDC
*arg1
= (wxDC
*) 0 ;
23101 int *arg2
= (int *) 0 ;
23102 int *arg3
= (int *) 0 ;
23106 int res2
= SWIG_TMPOBJ
;
23108 int res3
= SWIG_TMPOBJ
;
23109 PyObject
*swig_obj
[1] ;
23113 if (!args
) SWIG_fail
;
23114 swig_obj
[0] = args
;
23115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23116 if (!SWIG_IsOK(res1
)) {
23117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_Py_Void();
23127 if (SWIG_IsTmpObj(res2
)) {
23128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23130 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23133 if (SWIG_IsTmpObj(res3
)) {
23134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23136 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23145 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
= 0;
23147 wxDC
*arg1
= (wxDC
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 PyObject
* obj2
= 0 ;
23159 char * kwnames
[] = {
23160 (char *) "self",(char *) "x",(char *) "y", NULL
23163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23170 if (!SWIG_IsOK(ecode2
)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23173 arg2
= static_cast< int >(val2
);
23174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23175 if (!SWIG_IsOK(ecode3
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23178 arg3
= static_cast< int >(val3
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_Py_Void();
23192 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= 0;
23194 wxDC
*arg1
= (wxDC
*) 0 ;
23195 wxPoint
*arg2
= 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char * kwnames
[] = {
23202 (char *) "self",(char *) "point", NULL
23205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23207 if (!SWIG_IsOK(res1
)) {
23208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_Py_Void();
23228 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23229 PyObject
*resultobj
= 0;
23230 wxDC
*arg1
= (wxDC
*) 0 ;
23234 PyObject
*swig_obj
[1] ;
23236 if (!args
) SWIG_fail
;
23237 swig_obj
[0] = args
;
23238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23256 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23257 PyObject
*resultobj
= 0;
23258 wxDC
*arg1
= (wxDC
*) 0 ;
23259 int *arg2
= (int *) 0 ;
23260 int *arg3
= (int *) 0 ;
23264 int res2
= SWIG_TMPOBJ
;
23266 int res3
= SWIG_TMPOBJ
;
23267 PyObject
*swig_obj
[1] ;
23271 if (!args
) SWIG_fail
;
23272 swig_obj
[0] = args
;
23273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23274 if (!SWIG_IsOK(res1
)) {
23275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_Py_Void();
23285 if (SWIG_IsTmpObj(res2
)) {
23286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23288 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23291 if (SWIG_IsTmpObj(res3
)) {
23292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23294 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23303 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
= 0;
23305 wxDC
*arg1
= (wxDC
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 PyObject
* obj2
= 0 ;
23317 char * kwnames
[] = {
23318 (char *) "self",(char *) "x",(char *) "y", NULL
23321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23323 if (!SWIG_IsOK(res1
)) {
23324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23328 if (!SWIG_IsOK(ecode2
)) {
23329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23331 arg2
= static_cast< int >(val2
);
23332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23333 if (!SWIG_IsOK(ecode3
)) {
23334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23336 arg3
= static_cast< int >(val3
);
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_Py_Void();
23350 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
= 0;
23352 wxDC
*arg1
= (wxDC
*) 0 ;
23353 wxPoint
*arg2
= 0 ;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "point", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_Py_Void();
23386 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
= 0;
23388 wxDC
*arg1
= (wxDC
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 PyObject
* obj2
= 0 ;
23400 char * kwnames
[] = {
23401 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23406 if (!SWIG_IsOK(res1
)) {
23407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23410 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23411 if (!SWIG_IsOK(ecode2
)) {
23412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23414 arg2
= static_cast< bool >(val2
);
23415 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23416 if (!SWIG_IsOK(ecode3
)) {
23417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23419 arg3
= static_cast< bool >(val3
);
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_Py_Void();
23433 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23434 PyObject
*resultobj
= 0;
23435 wxDC
*arg1
= (wxDC
*) 0 ;
23439 PyObject
*swig_obj
[1] ;
23441 if (!args
) SWIG_fail
;
23442 swig_obj
[0] = args
;
23443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23444 if (!SWIG_IsOK(res1
)) {
23445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_From_int(static_cast< int >(result
));
23461 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
= 0;
23463 wxDC
*arg1
= (wxDC
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char * kwnames
[] = {
23472 (char *) "self",(char *) "function", NULL
23475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23477 if (!SWIG_IsOK(res1
)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23482 if (!SWIG_IsOK(ecode2
)) {
23483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23485 arg2
= static_cast< int >(val2
);
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 (arg1
)->SetLogicalFunction(arg2
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_Py_Void();
23499 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23500 PyObject
*resultobj
= 0;
23501 wxDC
*arg1
= (wxDC
*) 0 ;
23504 PyObject
*swig_obj
[1] ;
23506 if (!args
) SWIG_fail
;
23507 swig_obj
[0] = args
;
23508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23509 if (!SWIG_IsOK(res1
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 (arg1
)->ComputeScaleAndOrigin();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= SWIG_Py_Void();
23526 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
= 0;
23528 wxDC
*arg1
= (wxDC
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 PyObject
* obj2
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "self",(char *) "x",(char *) "y", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23551 if (!SWIG_IsOK(ecode2
)) {
23552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23554 arg2
= static_cast< int >(val2
);
23555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23556 if (!SWIG_IsOK(ecode3
)) {
23557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23559 arg3
= static_cast< int >(val3
);
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_Py_Void();
23573 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
= 0;
23575 wxDC
*arg1
= (wxDC
*) 0 ;
23576 wxPoint
*arg2
= 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "self",(char *) "point", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_Py_Void();
23609 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23610 PyObject
*resultobj
= 0;
23611 wxDC
*arg1
= (wxDC
*) 0 ;
23614 PyObject
*swig_obj
[1] ;
23616 if (!args
) SWIG_fail
;
23617 swig_obj
[0] = args
;
23618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23619 if (!SWIG_IsOK(res1
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->ResetBoundingBox();
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_Py_Void();
23636 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23637 PyObject
*resultobj
= 0;
23638 wxDC
*arg1
= (wxDC
*) 0 ;
23642 PyObject
*swig_obj
[1] ;
23644 if (!args
) SWIG_fail
;
23645 swig_obj
[0] = args
;
23646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (int)((wxDC
const *)arg1
)->MinX();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= SWIG_From_int(static_cast< int >(result
));
23664 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23665 PyObject
*resultobj
= 0;
23666 wxDC
*arg1
= (wxDC
*) 0 ;
23670 PyObject
*swig_obj
[1] ;
23672 if (!args
) SWIG_fail
;
23673 swig_obj
[0] = args
;
23674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23675 if (!SWIG_IsOK(res1
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (int)((wxDC
const *)arg1
)->MaxX();
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_From_int(static_cast< int >(result
));
23692 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23693 PyObject
*resultobj
= 0;
23694 wxDC
*arg1
= (wxDC
*) 0 ;
23698 PyObject
*swig_obj
[1] ;
23700 if (!args
) SWIG_fail
;
23701 swig_obj
[0] = args
;
23702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23703 if (!SWIG_IsOK(res1
)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (int)((wxDC
const *)arg1
)->MinY();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_From_int(static_cast< int >(result
));
23720 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23721 PyObject
*resultobj
= 0;
23722 wxDC
*arg1
= (wxDC
*) 0 ;
23726 PyObject
*swig_obj
[1] ;
23728 if (!args
) SWIG_fail
;
23729 swig_obj
[0] = args
;
23730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23731 if (!SWIG_IsOK(res1
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (int)((wxDC
const *)arg1
)->MaxY();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_From_int(static_cast< int >(result
));
23748 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23749 PyObject
*resultobj
= 0;
23750 wxDC
*arg1
= (wxDC
*) 0 ;
23751 int *arg2
= (int *) 0 ;
23752 int *arg3
= (int *) 0 ;
23753 int *arg4
= (int *) 0 ;
23754 int *arg5
= (int *) 0 ;
23758 int res2
= SWIG_TMPOBJ
;
23760 int res3
= SWIG_TMPOBJ
;
23762 int res4
= SWIG_TMPOBJ
;
23764 int res5
= SWIG_TMPOBJ
;
23765 PyObject
*swig_obj
[1] ;
23771 if (!args
) SWIG_fail
;
23772 swig_obj
[0] = args
;
23773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23774 if (!SWIG_IsOK(res1
)) {
23775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_Py_Void();
23785 if (SWIG_IsTmpObj(res2
)) {
23786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23788 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23791 if (SWIG_IsTmpObj(res3
)) {
23792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23794 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23797 if (SWIG_IsTmpObj(res4
)) {
23798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23800 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23803 if (SWIG_IsTmpObj(res5
)) {
23804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23806 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23815 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23816 PyObject
*resultobj
= 0;
23817 wxDC
*arg1
= (wxDC
*) 0 ;
23818 wxLayoutDirection result
;
23821 PyObject
*swig_obj
[1] ;
23823 if (!args
) SWIG_fail
;
23824 swig_obj
[0] = args
;
23825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23826 if (!SWIG_IsOK(res1
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 resultobj
= SWIG_From_int(static_cast< int >(result
));
23843 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
= 0;
23845 wxDC
*arg1
= (wxDC
*) 0 ;
23846 wxLayoutDirection arg2
;
23851 PyObject
* obj0
= 0 ;
23852 PyObject
* obj1
= 0 ;
23853 char * kwnames
[] = {
23854 (char *) "self",(char *) "dir", NULL
23857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23859 if (!SWIG_IsOK(res1
)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23864 if (!SWIG_IsOK(ecode2
)) {
23865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23867 arg2
= static_cast< wxLayoutDirection
>(val2
);
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 (arg1
)->SetLayoutDirection(arg2
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_Py_Void();
23881 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23882 PyObject
*resultobj
= 0;
23883 wxDC
*arg1
= (wxDC
*) 0 ;
23887 PyObject
*swig_obj
[1] ;
23889 if (!args
) SWIG_fail
;
23890 swig_obj
[0] = args
;
23891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23892 if (!SWIG_IsOK(res1
)) {
23893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (long)(arg1
)->GetHDC();
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= SWIG_From_long(static_cast< long >(result
));
23909 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
= 0;
23911 wxDC
*arg1
= (wxDC
*) 0 ;
23912 PyObject
*arg2
= (PyObject
*) 0 ;
23913 PyObject
*arg3
= (PyObject
*) 0 ;
23914 PyObject
*arg4
= (PyObject
*) 0 ;
23915 PyObject
*result
= 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 PyObject
* obj2
= 0 ;
23921 PyObject
* obj3
= 0 ;
23922 char * kwnames
[] = {
23923 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= result
;
23948 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
= 0;
23950 wxDC
*arg1
= (wxDC
*) 0 ;
23951 PyObject
*arg2
= (PyObject
*) 0 ;
23952 PyObject
*arg3
= (PyObject
*) 0 ;
23953 PyObject
*arg4
= (PyObject
*) 0 ;
23954 PyObject
*result
= 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 PyObject
* obj2
= 0 ;
23960 PyObject
* obj3
= 0 ;
23961 char * kwnames
[] = {
23962 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23967 if (!SWIG_IsOK(res1
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= result
;
23987 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
= 0;
23989 wxDC
*arg1
= (wxDC
*) 0 ;
23990 PyObject
*arg2
= (PyObject
*) 0 ;
23991 PyObject
*arg3
= (PyObject
*) 0 ;
23992 PyObject
*arg4
= (PyObject
*) 0 ;
23993 PyObject
*result
= 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 PyObject
* obj3
= 0 ;
24000 char * kwnames
[] = {
24001 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24006 if (!SWIG_IsOK(res1
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= result
;
24026 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxDC
*arg1
= (wxDC
*) 0 ;
24029 PyObject
*arg2
= (PyObject
*) 0 ;
24030 PyObject
*arg3
= (PyObject
*) 0 ;
24031 PyObject
*arg4
= (PyObject
*) 0 ;
24032 PyObject
*result
= 0 ;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 PyObject
* obj2
= 0 ;
24038 PyObject
* obj3
= 0 ;
24039 char * kwnames
[] = {
24040 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
;
24065 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
= 0;
24067 wxDC
*arg1
= (wxDC
*) 0 ;
24068 PyObject
*arg2
= (PyObject
*) 0 ;
24069 PyObject
*arg3
= (PyObject
*) 0 ;
24070 PyObject
*arg4
= (PyObject
*) 0 ;
24071 PyObject
*result
= 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 PyObject
* obj2
= 0 ;
24077 PyObject
* obj3
= 0 ;
24078 char * kwnames
[] = {
24079 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= result
;
24104 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= 0;
24106 wxDC
*arg1
= (wxDC
*) 0 ;
24107 PyObject
*arg2
= (PyObject
*) 0 ;
24108 PyObject
*arg3
= (PyObject
*) 0 ;
24109 PyObject
*arg4
= (PyObject
*) 0 ;
24110 PyObject
*arg5
= (PyObject
*) 0 ;
24111 PyObject
*result
= 0 ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 PyObject
* obj2
= 0 ;
24117 PyObject
* obj3
= 0 ;
24118 PyObject
* obj4
= 0 ;
24119 char * kwnames
[] = {
24120 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= result
;
24146 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24149 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24150 return SWIG_Py_Void();
24153 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
= 0;
24156 wxColour
*arg2
= 0 ;
24157 wxDCTextColourChanger
*result
= 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char * kwnames
[] = {
24164 (char *) "dc",(char *) "col", NULL
24167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24168 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24193 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24198 PyObject
*swig_obj
[1] ;
24200 if (!args
) SWIG_fail
;
24201 swig_obj
[0] = args
;
24202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24206 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_Py_Void();
24221 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24224 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24225 return SWIG_Py_Void();
24228 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24229 return SWIG_Python_InitShadowInstance(args
);
24232 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
= 0;
24236 wxDCPenChanger
*result
= 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 char * kwnames
[] = {
24244 (char *) "dc",(char *) "pen", NULL
24247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24248 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24249 if (!SWIG_IsOK(res1
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24257 if (!SWIG_IsOK(res2
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24263 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24277 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24278 PyObject
*resultobj
= 0;
24279 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24282 PyObject
*swig_obj
[1] ;
24284 if (!args
) SWIG_fail
;
24285 swig_obj
[0] = args
;
24286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24287 if (!SWIG_IsOK(res1
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24290 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_Py_Void();
24305 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24308 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24309 return SWIG_Py_Void();
24312 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24313 return SWIG_Python_InitShadowInstance(args
);
24316 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
= 0;
24319 wxBrush
*arg2
= 0 ;
24320 wxDCBrushChanger
*result
= 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 char * kwnames
[] = {
24328 (char *) "dc",(char *) "brush", NULL
24331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24332 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24333 if (!SWIG_IsOK(res1
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24341 if (!SWIG_IsOK(res2
)) {
24342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24347 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24361 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24362 PyObject
*resultobj
= 0;
24363 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24366 PyObject
*swig_obj
[1] ;
24368 if (!args
) SWIG_fail
;
24369 swig_obj
[0] = args
;
24370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24374 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_Py_Void();
24389 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24392 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24393 return SWIG_Py_Void();
24396 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24397 return SWIG_Python_InitShadowInstance(args
);
24400 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24401 PyObject
*resultobj
= 0;
24403 wxRegion
*arg2
= 0 ;
24404 wxDCClipper
*result
= 0 ;
24410 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24419 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24420 if (!SWIG_IsOK(res2
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24426 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24440 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24441 PyObject
*resultobj
= 0;
24444 wxDCClipper
*result
= 0 ;
24449 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24460 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24475 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24476 PyObject
*resultobj
= 0;
24482 wxDCClipper
*result
= 0 ;
24494 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24503 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24504 if (!SWIG_IsOK(ecode2
)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24507 arg2
= static_cast< int >(val2
);
24508 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24509 if (!SWIG_IsOK(ecode3
)) {
24510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24512 arg3
= static_cast< int >(val3
);
24513 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24514 if (!SWIG_IsOK(ecode4
)) {
24515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24517 arg4
= static_cast< int >(val4
);
24518 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24519 if (!SWIG_IsOK(ecode5
)) {
24520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24522 arg5
= static_cast< int >(val5
);
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24536 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24545 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24546 _v
= SWIG_CheckState(res
);
24548 if (!_v
) goto check_1
;
24549 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24554 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24557 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24561 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24566 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24567 PyObject
*resultobj
= 0;
24568 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24571 PyObject
*swig_obj
[1] ;
24573 if (!args
) SWIG_fail
;
24574 swig_obj
[0] = args
;
24575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24576 if (!SWIG_IsOK(res1
)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24579 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= SWIG_Py_Void();
24594 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24597 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24598 return SWIG_Py_Void();
24601 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24602 return SWIG_Python_InitShadowInstance(args
);
24605 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
= 0;
24607 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24608 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24609 wxMemoryDC
*result
= 0 ;
24612 PyObject
* obj0
= 0 ;
24613 char * kwnames
[] = {
24614 (char *) "bitmap", NULL
24617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24619 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24626 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24629 if (!wxPyCheckForApp()) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24642 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
= 0;
24644 wxDC
*arg1
= (wxDC
*) 0 ;
24645 wxMemoryDC
*result
= 0 ;
24648 PyObject
* obj0
= 0 ;
24649 char * kwnames
[] = {
24650 (char *) "oldDC", NULL
24653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24660 if (!wxPyCheckForApp()) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24673 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= 0;
24675 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24676 wxBitmap
*arg2
= 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char * kwnames
[] = {
24684 (char *) "self",(char *) "bitmap", NULL
24687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24689 if (!SWIG_IsOK(res1
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24692 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24694 if (!SWIG_IsOK(res2
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24700 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->SelectObject(*arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_Py_Void();
24714 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24717 wxBitmap
*arg2
= 0 ;
24722 PyObject
* obj0
= 0 ;
24723 PyObject
* obj1
= 0 ;
24724 char * kwnames
[] = {
24725 (char *) "self",(char *) "bmp", NULL
24728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24730 if (!SWIG_IsOK(res1
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24733 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24735 if (!SWIG_IsOK(res2
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24741 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_Py_Void();
24755 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24758 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24759 return SWIG_Py_Void();
24762 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24763 return SWIG_Python_InitShadowInstance(args
);
24766 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24767 PyObject
*resultobj
= 0;
24768 wxScreenDC
*result
= 0 ;
24770 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24772 if (!wxPyCheckForApp()) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (wxScreenDC
*)new wxScreenDC();
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24785 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
= 0;
24787 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24788 wxWindow
*arg2
= (wxWindow
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char * kwnames
[] = {
24797 (char *) "self",(char *) "window", NULL
24800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24802 if (!SWIG_IsOK(res1
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24805 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24807 if (!SWIG_IsOK(res2
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24810 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
= 0;
24828 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24829 wxRect
*arg2
= (wxRect
*) NULL
;
24835 PyObject
* obj0
= 0 ;
24836 PyObject
* obj1
= 0 ;
24837 char * kwnames
[] = {
24838 (char *) "self",(char *) "rect", NULL
24841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24846 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24849 if (!SWIG_IsOK(res2
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24852 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24869 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24870 PyObject
*resultobj
= 0;
24871 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24875 PyObject
*swig_obj
[1] ;
24877 if (!args
) SWIG_fail
;
24878 swig_obj
[0] = args
;
24879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24880 if (!SWIG_IsOK(res1
)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24883 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (bool)(arg1
)->EndDrawingOnTop();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24899 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24902 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24903 return SWIG_Py_Void();
24906 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24907 return SWIG_Python_InitShadowInstance(args
);
24910 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
= 0;
24912 wxWindow
*arg1
= (wxWindow
*) 0 ;
24913 wxWindowDC
*result
= 0 ;
24916 PyObject
* obj0
= 0 ;
24917 char * kwnames
[] = {
24918 (char *) "win", NULL
24921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24923 if (!SWIG_IsOK(res1
)) {
24924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24928 if (!wxPyCheckForApp()) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24941 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24944 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24945 return SWIG_Py_Void();
24948 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24949 return SWIG_Python_InitShadowInstance(args
);
24952 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
= 0;
24954 wxWindow
*arg1
= (wxWindow
*) 0 ;
24955 wxClientDC
*result
= 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char * kwnames
[] = {
24960 (char *) "win", NULL
24963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24965 if (!SWIG_IsOK(res1
)) {
24966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24970 if (!wxPyCheckForApp()) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (wxClientDC
*)new wxClientDC(arg1
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24983 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24986 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24987 return SWIG_Py_Void();
24990 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24991 return SWIG_Python_InitShadowInstance(args
);
24994 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxWindow
*arg1
= (wxWindow
*) 0 ;
24997 wxPaintDC
*result
= 0 ;
25000 PyObject
* obj0
= 0 ;
25001 char * kwnames
[] = {
25002 (char *) "win", NULL
25005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
25006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25010 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25012 if (!wxPyCheckForApp()) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
25025 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
25029 return SWIG_Py_Void();
25032 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25033 return SWIG_Python_InitShadowInstance(args
);
25036 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25037 PyObject
*resultobj
= 0;
25038 wxDC
*arg1
= (wxDC
*) 0 ;
25039 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
25040 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25041 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25042 wxBufferedDC
*result
= 0 ;
25050 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25057 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25058 if (!SWIG_IsOK(res2
)) {
25059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25064 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25067 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25068 if (!SWIG_IsOK(ecode3
)) {
25069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25071 arg3
= static_cast< int >(val3
);
25074 if (!wxPyCheckForApp()) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25087 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25088 PyObject
*resultobj
= 0;
25089 wxDC
*arg1
= (wxDC
*) 0 ;
25091 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25092 wxBufferedDC
*result
= 0 ;
25099 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25101 if (!SWIG_IsOK(res1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25107 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25110 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25111 if (!SWIG_IsOK(ecode3
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25114 arg3
= static_cast< int >(val3
);
25117 if (!wxPyCheckForApp()) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25130 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25134 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25136 if ((argc
>= 1) && (argc
<= 3)) {
25140 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
25141 _v
= SWIG_CheckState(res
);
25143 if (!_v
) goto check_1
;
25145 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25149 if ((argc
>= 2) && (argc
<= 3)) {
25150 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25154 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25159 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25160 PyObject
*resultobj
= 0;
25161 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25164 PyObject
*swig_obj
[1] ;
25166 if (!args
) SWIG_fail
;
25167 swig_obj
[0] = args
;
25168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25169 if (!SWIG_IsOK(res1
)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25172 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_Py_Void();
25187 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25188 PyObject
*resultobj
= 0;
25189 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25192 PyObject
*swig_obj
[1] ;
25194 if (!args
) SWIG_fail
;
25195 swig_obj
[0] = args
;
25196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25197 if (!SWIG_IsOK(res1
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25200 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_Py_Void();
25214 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25217 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25218 return SWIG_Py_Void();
25221 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25222 return SWIG_Python_InitShadowInstance(args
);
25225 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
= 0;
25227 wxWindow
*arg1
= (wxWindow
*) 0 ;
25228 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
25229 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25230 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25231 wxBufferedPaintDC
*result
= 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 char * kwnames
[] = {
25242 (char *) "window",(char *) "buffer",(char *) "style", NULL
25245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25247 if (!SWIG_IsOK(res1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25250 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25253 if (!SWIG_IsOK(res2
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25259 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25263 if (!SWIG_IsOK(ecode3
)) {
25264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25266 arg3
= static_cast< int >(val3
);
25269 if (!wxPyCheckForApp()) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25282 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25285 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25286 return SWIG_Py_Void();
25289 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25290 return SWIG_Python_InitShadowInstance(args
);
25293 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
= 0;
25295 wxWindow
*arg1
= (wxWindow
*) 0 ;
25296 wxAutoBufferedPaintDC
*result
= 0 ;
25299 PyObject
* obj0
= 0 ;
25300 char * kwnames
[] = {
25301 (char *) "win", NULL
25304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25323 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25326 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25327 return SWIG_Py_Void();
25330 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25331 return SWIG_Python_InitShadowInstance(args
);
25334 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
= 0;
25336 wxWindow
*arg1
= (wxWindow
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 char * kwnames
[] = {
25342 (char *) "window", NULL
25345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25347 if (!SWIG_IsOK(res1
)) {
25348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25366 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
= 0;
25370 wxMirrorDC
*result
= 0 ;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj1
= 0 ;
25377 char * kwnames
[] = {
25378 (char *) "dc",(char *) "mirror", NULL
25381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25382 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25383 if (!SWIG_IsOK(res1
)) {
25384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25390 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25391 if (!SWIG_IsOK(ecode2
)) {
25392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25394 arg2
= static_cast< bool >(val2
);
25396 if (!wxPyCheckForApp()) SWIG_fail
;
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25409 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25412 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25413 return SWIG_Py_Void();
25416 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25417 return SWIG_Python_InitShadowInstance(args
);
25420 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
= 0;
25422 wxPrintData
*arg1
= 0 ;
25423 wxPostScriptDC
*result
= 0 ;
25426 PyObject
* obj0
= 0 ;
25427 char * kwnames
[] = {
25428 (char *) "printData", NULL
25431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25432 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25433 if (!SWIG_IsOK(res1
)) {
25434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25439 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25441 if (!wxPyCheckForApp()) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25454 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25455 PyObject
*resultobj
= 0;
25456 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25457 wxPrintData
*result
= 0 ;
25460 PyObject
*swig_obj
[1] ;
25462 if (!args
) SWIG_fail
;
25463 swig_obj
[0] = args
;
25464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25465 if (!SWIG_IsOK(res1
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25468 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25473 result
= (wxPrintData
*) &_result_ref
;
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25485 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25486 PyObject
*resultobj
= 0;
25487 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25488 wxPrintData
*arg2
= 0 ;
25493 PyObject
* obj0
= 0 ;
25494 PyObject
* obj1
= 0 ;
25495 char * kwnames
[] = {
25496 (char *) "self",(char *) "data", NULL
25499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25501 if (!SWIG_IsOK(res1
)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25504 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25506 if (!SWIG_IsOK(res2
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25512 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= SWIG_Py_Void();
25526 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
= 0;
25531 PyObject
* obj0
= 0 ;
25532 char * kwnames
[] = {
25533 (char *) "ppi", NULL
25536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25537 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25538 if (!SWIG_IsOK(ecode1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25541 arg1
= static_cast< int >(val1
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 wxPostScriptDC::SetResolution(arg1
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_Py_Void();
25555 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25556 PyObject
*resultobj
= 0;
25559 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= (int)wxPostScriptDC::GetResolution();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_From_int(static_cast< int >(result
));
25573 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25576 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25577 return SWIG_Py_Void();
25580 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25581 return SWIG_Python_InitShadowInstance(args
);
25584 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
= 0;
25586 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25587 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25588 wxMetaFile
*result
= 0 ;
25589 bool temp1
= false ;
25590 PyObject
* obj0
= 0 ;
25591 char * kwnames
[] = {
25592 (char *) "filename", NULL
25595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25598 arg1
= wxString_in_helper(obj0
);
25599 if (arg1
== NULL
) SWIG_fail
;
25604 if (!wxPyCheckForApp()) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25625 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25626 PyObject
*resultobj
= 0;
25627 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25630 PyObject
*swig_obj
[1] ;
25632 if (!args
) SWIG_fail
;
25633 swig_obj
[0] = args
;
25634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25635 if (!SWIG_IsOK(res1
)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25638 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_Py_Void();
25653 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25654 PyObject
*resultobj
= 0;
25655 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25659 PyObject
*swig_obj
[1] ;
25661 if (!args
) SWIG_fail
;
25662 swig_obj
[0] = args
;
25663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25664 if (!SWIG_IsOK(res1
)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25667 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (bool)(arg1
)->IsOk();
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25683 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
= 0;
25685 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25686 int arg2
= (int) 0 ;
25687 int arg3
= (int) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 PyObject
* obj1
= 0 ;
25697 PyObject
* obj2
= 0 ;
25698 char * kwnames
[] = {
25699 (char *) "self",(char *) "width",(char *) "height", NULL
25702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25704 if (!SWIG_IsOK(res1
)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25707 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25710 if (!SWIG_IsOK(ecode2
)) {
25711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25713 arg2
= static_cast< int >(val2
);
25716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25717 if (!SWIG_IsOK(ecode3
)) {
25718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25720 arg3
= static_cast< int >(val3
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25737 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25738 PyObject
*resultobj
= 0;
25739 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25743 PyObject
*swig_obj
[1] ;
25745 if (!args
) SWIG_fail
;
25746 swig_obj
[0] = args
;
25747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25748 if (!SWIG_IsOK(res1
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25751 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (arg1
)->GetSize();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25765 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25766 PyObject
*resultobj
= 0;
25767 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25771 PyObject
*swig_obj
[1] ;
25773 if (!args
) SWIG_fail
;
25774 swig_obj
[0] = args
;
25775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25776 if (!SWIG_IsOK(res1
)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25779 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 result
= (int)(arg1
)->GetWidth();
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= SWIG_From_int(static_cast< int >(result
));
25793 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25794 PyObject
*resultobj
= 0;
25795 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25799 PyObject
*swig_obj
[1] ;
25801 if (!args
) SWIG_fail
;
25802 swig_obj
[0] = args
;
25803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25807 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= (int)(arg1
)->GetHeight();
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= SWIG_From_int(static_cast< int >(result
));
25821 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25822 PyObject
*resultobj
= 0;
25823 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25824 wxString
*result
= 0 ;
25827 PyObject
*swig_obj
[1] ;
25829 if (!args
) SWIG_fail
;
25830 swig_obj
[0] = args
;
25831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25832 if (!SWIG_IsOK(res1
)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25835 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25840 result
= (wxString
*) &_result_ref
;
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25849 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25858 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25861 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25862 return SWIG_Py_Void();
25865 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25866 return SWIG_Python_InitShadowInstance(args
);
25869 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
= 0;
25871 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25872 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25873 int arg2
= (int) 0 ;
25874 int arg3
= (int) 0 ;
25875 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25876 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25877 wxMetaFileDC
*result
= 0 ;
25878 bool temp1
= false ;
25883 bool temp4
= false ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 PyObject
* obj2
= 0 ;
25887 PyObject
* obj3
= 0 ;
25888 char * kwnames
[] = {
25889 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25895 arg1
= wxString_in_helper(obj0
);
25896 if (arg1
== NULL
) SWIG_fail
;
25901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25902 if (!SWIG_IsOK(ecode2
)) {
25903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25905 arg2
= static_cast< int >(val2
);
25908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25909 if (!SWIG_IsOK(ecode3
)) {
25910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25912 arg3
= static_cast< int >(val3
);
25916 arg4
= wxString_in_helper(obj3
);
25917 if (arg4
== NULL
) SWIG_fail
;
25922 if (!wxPyCheckForApp()) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25951 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25952 PyObject
*resultobj
= 0;
25953 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25954 wxMetaFile
*result
= 0 ;
25957 PyObject
*swig_obj
[1] ;
25959 if (!args
) SWIG_fail
;
25960 swig_obj
[0] = args
;
25961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25962 if (!SWIG_IsOK(res1
)) {
25963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25965 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 result
= (wxMetaFile
*)(arg1
)->Close();
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25979 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25982 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25983 return SWIG_Py_Void();
25986 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25987 return SWIG_Python_InitShadowInstance(args
);
25990 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
= 0;
25992 wxPrintData
*arg1
= 0 ;
25993 wxPrinterDC
*result
= 0 ;
25996 PyObject
* obj0
= 0 ;
25997 char * kwnames
[] = {
25998 (char *) "printData", NULL
26001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26002 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26003 if (!SWIG_IsOK(res1
)) {
26004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26009 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26011 if (!wxPyCheckForApp()) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26024 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26028 return SWIG_Py_Void();
26031 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26032 return SWIG_Python_InitShadowInstance(args
);
26035 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
= 0;
26037 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26038 wxGraphicsObject
*result
= 0 ;
26041 PyObject
* obj0
= 0 ;
26042 char * kwnames
[] = {
26043 (char *) "renderer", NULL
26046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26052 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26055 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26065 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26066 PyObject
*resultobj
= 0;
26067 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26070 PyObject
*swig_obj
[1] ;
26072 if (!args
) SWIG_fail
;
26073 swig_obj
[0] = args
;
26074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26075 if (!SWIG_IsOK(res1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26078 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_Py_Void();
26091 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26092 PyObject
*resultobj
= 0;
26093 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26097 PyObject
*swig_obj
[1] ;
26099 if (!args
) SWIG_fail
;
26100 swig_obj
[0] = args
;
26101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26102 if (!SWIG_IsOK(res1
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26105 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26107 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26119 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26120 PyObject
*resultobj
= 0;
26121 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26122 wxGraphicsRenderer
*result
= 0 ;
26125 PyObject
*swig_obj
[1] ;
26127 if (!args
) SWIG_fail
;
26128 swig_obj
[0] = args
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26133 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26135 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26145 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26148 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26149 return SWIG_Py_Void();
26152 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26153 return SWIG_Python_InitShadowInstance(args
);
26156 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26157 PyObject
*resultobj
= 0;
26158 wxGraphicsPen
*result
= 0 ;
26160 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26162 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26172 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26173 PyObject
*resultobj
= 0;
26174 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26177 PyObject
*swig_obj
[1] ;
26179 if (!args
) SWIG_fail
;
26180 swig_obj
[0] = args
;
26181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26182 if (!SWIG_IsOK(res1
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26185 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26201 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26202 return SWIG_Py_Void();
26205 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26206 return SWIG_Python_InitShadowInstance(args
);
26209 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26210 PyObject
*resultobj
= 0;
26211 wxGraphicsBrush
*result
= 0 ;
26213 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26215 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26225 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26226 PyObject
*resultobj
= 0;
26227 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26230 PyObject
*swig_obj
[1] ;
26232 if (!args
) SWIG_fail
;
26233 swig_obj
[0] = args
;
26234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26238 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_Py_Void();
26251 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26254 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26255 return SWIG_Py_Void();
26258 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26259 return SWIG_Python_InitShadowInstance(args
);
26262 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26263 PyObject
*resultobj
= 0;
26264 wxGraphicsFont
*result
= 0 ;
26266 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26268 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26278 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26279 PyObject
*resultobj
= 0;
26280 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26283 PyObject
*swig_obj
[1] ;
26285 if (!args
) SWIG_fail
;
26286 swig_obj
[0] = args
;
26287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26291 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_Py_Void();
26304 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26307 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26308 return SWIG_Py_Void();
26311 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26312 return SWIG_Python_InitShadowInstance(args
);
26315 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26316 PyObject
*resultobj
= 0;
26317 wxGraphicsMatrix
*result
= 0 ;
26319 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26321 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26331 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26332 PyObject
*resultobj
= 0;
26333 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26336 PyObject
*swig_obj
[1] ;
26338 if (!args
) SWIG_fail
;
26339 swig_obj
[0] = args
;
26340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26344 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_Py_Void();
26357 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
= 0;
26359 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26360 wxGraphicsMatrix
*arg2
= 0 ;
26365 PyObject
* obj0
= 0 ;
26366 PyObject
* obj1
= 0 ;
26367 char * kwnames
[] = {
26368 (char *) "self",(char *) "t", NULL
26371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26373 if (!SWIG_IsOK(res1
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26376 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26378 if (!SWIG_IsOK(res2
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26384 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26386 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 resultobj
= SWIG_Py_Void();
26396 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
= 0;
26398 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26399 wxGraphicsMatrix
*arg2
= 0 ;
26404 PyObject
* obj0
= 0 ;
26405 PyObject
* obj1
= 0 ;
26406 char * kwnames
[] = {
26407 (char *) "self",(char *) "t", NULL
26410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26412 if (!SWIG_IsOK(res1
)) {
26413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26415 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26417 if (!SWIG_IsOK(res2
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26423 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26425 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_Py_Void();
26435 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
= 0;
26437 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26438 wxDouble arg2
= (wxDouble
) 1.0 ;
26439 wxDouble arg3
= (wxDouble
) 0.0 ;
26440 wxDouble arg4
= (wxDouble
) 0.0 ;
26441 wxDouble arg5
= (wxDouble
) 1.0 ;
26442 wxDouble arg6
= (wxDouble
) 0.0 ;
26443 wxDouble arg7
= (wxDouble
) 0.0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 PyObject
* obj2
= 0 ;
26461 PyObject
* obj3
= 0 ;
26462 PyObject
* obj4
= 0 ;
26463 PyObject
* obj5
= 0 ;
26464 PyObject
* obj6
= 0 ;
26465 char * kwnames
[] = {
26466 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26471 if (!SWIG_IsOK(res1
)) {
26472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26474 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26476 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26477 if (!SWIG_IsOK(ecode2
)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26480 arg2
= static_cast< wxDouble
>(val2
);
26483 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26484 if (!SWIG_IsOK(ecode3
)) {
26485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26487 arg3
= static_cast< wxDouble
>(val3
);
26490 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26491 if (!SWIG_IsOK(ecode4
)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26494 arg4
= static_cast< wxDouble
>(val4
);
26497 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26498 if (!SWIG_IsOK(ecode5
)) {
26499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26501 arg5
= static_cast< wxDouble
>(val5
);
26504 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26505 if (!SWIG_IsOK(ecode6
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26508 arg6
= static_cast< wxDouble
>(val6
);
26511 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26512 if (!SWIG_IsOK(ecode7
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26515 arg7
= static_cast< wxDouble
>(val7
);
26518 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_Py_Void();
26528 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26529 PyObject
*resultobj
= 0;
26530 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26533 PyObject
*swig_obj
[1] ;
26535 if (!args
) SWIG_fail
;
26536 swig_obj
[0] = args
;
26537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26541 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= SWIG_Py_Void();
26553 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
= 0;
26555 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26556 wxGraphicsMatrix
*arg2
= 0 ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 char * kwnames
[] = {
26565 (char *) "self",(char *) "t", NULL
26568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26570 if (!SWIG_IsOK(res1
)) {
26571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26573 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26575 if (!SWIG_IsOK(res2
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26581 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26583 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26595 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26596 PyObject
*resultobj
= 0;
26597 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26601 PyObject
*swig_obj
[1] ;
26603 if (!args
) SWIG_fail
;
26604 swig_obj
[0] = args
;
26605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26606 if (!SWIG_IsOK(res1
)) {
26607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26609 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26611 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26612 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26623 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
= 0;
26625 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26634 PyObject
* obj0
= 0 ;
26635 PyObject
* obj1
= 0 ;
26636 PyObject
* obj2
= 0 ;
26637 char * kwnames
[] = {
26638 (char *) "self",(char *) "dx",(char *) "dy", NULL
26641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26646 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26647 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26648 if (!SWIG_IsOK(ecode2
)) {
26649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26651 arg2
= static_cast< wxDouble
>(val2
);
26652 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26653 if (!SWIG_IsOK(ecode3
)) {
26654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26656 arg3
= static_cast< wxDouble
>(val3
);
26658 (arg1
)->Translate(arg2
,arg3
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= SWIG_Py_Void();
26668 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
= 0;
26670 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 PyObject
* obj2
= 0 ;
26682 char * kwnames
[] = {
26683 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26688 if (!SWIG_IsOK(res1
)) {
26689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26691 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26692 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26693 if (!SWIG_IsOK(ecode2
)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26696 arg2
= static_cast< wxDouble
>(val2
);
26697 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26698 if (!SWIG_IsOK(ecode3
)) {
26699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26701 arg3
= static_cast< wxDouble
>(val3
);
26703 (arg1
)->Scale(arg2
,arg3
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_Py_Void();
26713 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 char * kwnames
[] = {
26724 (char *) "self",(char *) "angle", NULL
26727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26729 if (!SWIG_IsOK(res1
)) {
26730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26732 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26733 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26734 if (!SWIG_IsOK(ecode2
)) {
26735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26737 arg2
= static_cast< wxDouble
>(val2
);
26739 (arg1
)->Rotate(arg2
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_Py_Void();
26749 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
= 0;
26751 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26752 wxDouble
*arg2
= (wxDouble
*) 0 ;
26753 wxDouble
*arg3
= (wxDouble
*) 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 PyObject
* obj2
= 0 ;
26763 char * kwnames
[] = {
26764 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26769 if (!SWIG_IsOK(res1
)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26772 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26773 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26775 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26776 if (!SWIG_IsOK(ecode
)) {
26777 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26779 temp2
= static_cast< wxDouble
>(val
);
26781 res2
= SWIG_AddTmpMask(ecode
);
26783 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26785 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26786 if (!SWIG_IsOK(ecode
)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26789 temp3
= static_cast< wxDouble
>(val
);
26791 res3
= SWIG_AddTmpMask(ecode
);
26794 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_Py_Void();
26798 if (SWIG_IsTmpObj(res2
)) {
26799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26801 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26804 if (SWIG_IsTmpObj(res3
)) {
26805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26807 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26816 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
= 0;
26818 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26819 wxDouble
*arg2
= (wxDouble
*) 0 ;
26820 wxDouble
*arg3
= (wxDouble
*) 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 PyObject
* obj2
= 0 ;
26830 char * kwnames
[] = {
26831 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26836 if (!SWIG_IsOK(res1
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26839 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26840 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26842 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26843 if (!SWIG_IsOK(ecode
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26846 temp2
= static_cast< wxDouble
>(val
);
26848 res2
= SWIG_AddTmpMask(ecode
);
26850 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26852 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26853 if (!SWIG_IsOK(ecode
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26856 temp3
= static_cast< wxDouble
>(val
);
26858 res3
= SWIG_AddTmpMask(ecode
);
26861 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_Py_Void();
26865 if (SWIG_IsTmpObj(res2
)) {
26866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26868 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26871 if (SWIG_IsTmpObj(res3
)) {
26872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26883 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26884 PyObject
*resultobj
= 0;
26885 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26889 PyObject
*swig_obj
[1] ;
26891 if (!args
) SWIG_fail
;
26892 swig_obj
[0] = args
;
26893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26894 if (!SWIG_IsOK(res1
)) {
26895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26897 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26899 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26909 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26912 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26913 return SWIG_Py_Void();
26916 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26917 return SWIG_Python_InitShadowInstance(args
);
26920 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26921 PyObject
*resultobj
= 0;
26922 wxGraphicsPath
*result
= 0 ;
26924 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26926 if (!wxPyCheckForApp()) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26939 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26940 PyObject
*resultobj
= 0;
26941 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26944 PyObject
*swig_obj
[1] ;
26946 if (!args
) SWIG_fail
;
26947 swig_obj
[0] = args
;
26948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26952 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_Py_Void();
26965 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26966 PyObject
*resultobj
= 0;
26967 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26977 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26979 if (!SWIG_IsOK(res1
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26982 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26983 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26984 if (!SWIG_IsOK(ecode2
)) {
26985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26987 arg2
= static_cast< wxDouble
>(val2
);
26988 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26989 if (!SWIG_IsOK(ecode3
)) {
26990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26992 arg3
= static_cast< wxDouble
>(val3
);
26994 (arg1
)->MoveToPoint(arg2
,arg3
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= SWIG_Py_Void();
27004 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27005 PyObject
*resultobj
= 0;
27006 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27007 wxPoint2D
*arg2
= 0 ;
27012 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27017 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27020 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27023 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 resultobj
= SWIG_Py_Void();
27033 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27037 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27040 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27043 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27047 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27052 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27053 PyObject
*resultobj
= 0;
27054 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27064 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27066 if (!SWIG_IsOK(res1
)) {
27067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27069 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27070 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27071 if (!SWIG_IsOK(ecode2
)) {
27072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27074 arg2
= static_cast< wxDouble
>(val2
);
27075 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27076 if (!SWIG_IsOK(ecode3
)) {
27077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27079 arg3
= static_cast< wxDouble
>(val3
);
27081 (arg1
)->AddLineToPoint(arg2
,arg3
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= SWIG_Py_Void();
27091 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27092 PyObject
*resultobj
= 0;
27093 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27094 wxPoint2D
*arg2
= 0 ;
27099 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27101 if (!SWIG_IsOK(res1
)) {
27102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27104 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27107 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27110 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27120 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27124 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27127 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27130 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27134 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27139 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27140 PyObject
*resultobj
= 0;
27141 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27163 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27168 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27169 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27170 if (!SWIG_IsOK(ecode2
)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27173 arg2
= static_cast< wxDouble
>(val2
);
27174 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27175 if (!SWIG_IsOK(ecode3
)) {
27176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27178 arg3
= static_cast< wxDouble
>(val3
);
27179 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27180 if (!SWIG_IsOK(ecode4
)) {
27181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27183 arg4
= static_cast< wxDouble
>(val4
);
27184 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27185 if (!SWIG_IsOK(ecode5
)) {
27186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27188 arg5
= static_cast< wxDouble
>(val5
);
27189 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27190 if (!SWIG_IsOK(ecode6
)) {
27191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27193 arg6
= static_cast< wxDouble
>(val6
);
27194 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27195 if (!SWIG_IsOK(ecode7
)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27198 arg7
= static_cast< wxDouble
>(val7
);
27200 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= SWIG_Py_Void();
27210 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27211 PyObject
*resultobj
= 0;
27212 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27213 wxPoint2D
*arg2
= 0 ;
27214 wxPoint2D
*arg3
= 0 ;
27215 wxPoint2D
*arg4
= 0 ;
27222 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27224 if (!SWIG_IsOK(res1
)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27227 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27230 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27234 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27238 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27241 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_Py_Void();
27251 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27255 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27258 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27261 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27265 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27270 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
= 0;
27272 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27273 wxGraphicsPath
*arg2
= 0 ;
27278 PyObject
* obj0
= 0 ;
27279 PyObject
* obj1
= 0 ;
27280 char * kwnames
[] = {
27281 (char *) "self",(char *) "path", NULL
27284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27286 if (!SWIG_IsOK(res1
)) {
27287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27289 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27291 if (!SWIG_IsOK(res2
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27297 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27299 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= SWIG_Py_Void();
27309 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27310 PyObject
*resultobj
= 0;
27311 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27314 PyObject
*swig_obj
[1] ;
27316 if (!args
) SWIG_fail
;
27317 swig_obj
[0] = args
;
27318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27322 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27324 (arg1
)->CloseSubpath();
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_Py_Void();
27334 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 PyObject
*resultobj
= 0;
27336 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27340 PyObject
*swig_obj
[1] ;
27342 if (!args
) SWIG_fail
;
27343 swig_obj
[0] = args
;
27344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27345 if (!SWIG_IsOK(res1
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27348 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27350 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27360 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27361 PyObject
*resultobj
= 0;
27362 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27384 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27389 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27390 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27391 if (!SWIG_IsOK(ecode2
)) {
27392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27394 arg2
= static_cast< wxDouble
>(val2
);
27395 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27396 if (!SWIG_IsOK(ecode3
)) {
27397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27399 arg3
= static_cast< wxDouble
>(val3
);
27400 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27401 if (!SWIG_IsOK(ecode4
)) {
27402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27404 arg4
= static_cast< wxDouble
>(val4
);
27405 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27406 if (!SWIG_IsOK(ecode5
)) {
27407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27409 arg5
= static_cast< wxDouble
>(val5
);
27410 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27411 if (!SWIG_IsOK(ecode6
)) {
27412 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27414 arg6
= static_cast< wxDouble
>(val6
);
27415 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27416 if (!SWIG_IsOK(ecode7
)) {
27417 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27419 arg7
= static_cast< bool >(val7
);
27421 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= SWIG_Py_Void();
27431 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27432 PyObject
*resultobj
= 0;
27433 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27434 wxPoint2D
*arg2
= 0 ;
27451 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27456 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27459 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27461 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27462 if (!SWIG_IsOK(ecode3
)) {
27463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27465 arg3
= static_cast< wxDouble
>(val3
);
27466 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27467 if (!SWIG_IsOK(ecode4
)) {
27468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27470 arg4
= static_cast< wxDouble
>(val4
);
27471 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27472 if (!SWIG_IsOK(ecode5
)) {
27473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27475 arg5
= static_cast< wxDouble
>(val5
);
27476 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27477 if (!SWIG_IsOK(ecode6
)) {
27478 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27480 arg6
= static_cast< bool >(val6
);
27482 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= SWIG_Py_Void();
27492 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27496 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27499 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27502 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27506 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27511 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
= 0;
27513 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27528 PyObject
* obj0
= 0 ;
27529 PyObject
* obj1
= 0 ;
27530 PyObject
* obj2
= 0 ;
27531 PyObject
* obj3
= 0 ;
27532 PyObject
* obj4
= 0 ;
27533 char * kwnames
[] = {
27534 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27539 if (!SWIG_IsOK(res1
)) {
27540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27542 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27543 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27544 if (!SWIG_IsOK(ecode2
)) {
27545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27547 arg2
= static_cast< wxDouble
>(val2
);
27548 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27549 if (!SWIG_IsOK(ecode3
)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27552 arg3
= static_cast< wxDouble
>(val3
);
27553 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27554 if (!SWIG_IsOK(ecode4
)) {
27555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27557 arg4
= static_cast< wxDouble
>(val4
);
27558 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27559 if (!SWIG_IsOK(ecode5
)) {
27560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27562 arg5
= static_cast< wxDouble
>(val5
);
27564 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_Py_Void();
27574 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
= 0;
27576 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27591 PyObject
* obj0
= 0 ;
27592 PyObject
* obj1
= 0 ;
27593 PyObject
* obj2
= 0 ;
27594 PyObject
* obj3
= 0 ;
27595 PyObject
* obj4
= 0 ;
27596 char * kwnames
[] = {
27597 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27605 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27606 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27607 if (!SWIG_IsOK(ecode2
)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27610 arg2
= static_cast< wxDouble
>(val2
);
27611 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27612 if (!SWIG_IsOK(ecode3
)) {
27613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27615 arg3
= static_cast< wxDouble
>(val3
);
27616 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27617 if (!SWIG_IsOK(ecode4
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27620 arg4
= static_cast< wxDouble
>(val4
);
27621 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27622 if (!SWIG_IsOK(ecode5
)) {
27623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27625 arg5
= static_cast< wxDouble
>(val5
);
27627 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_Py_Void();
27637 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
= 0;
27639 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 PyObject
* obj1
= 0 ;
27653 PyObject
* obj2
= 0 ;
27654 PyObject
* obj3
= 0 ;
27655 char * kwnames
[] = {
27656 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27661 if (!SWIG_IsOK(res1
)) {
27662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27664 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27665 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27666 if (!SWIG_IsOK(ecode2
)) {
27667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27669 arg2
= static_cast< wxDouble
>(val2
);
27670 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27671 if (!SWIG_IsOK(ecode3
)) {
27672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27674 arg3
= static_cast< wxDouble
>(val3
);
27675 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27676 if (!SWIG_IsOK(ecode4
)) {
27677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27679 arg4
= static_cast< wxDouble
>(val4
);
27681 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= SWIG_Py_Void();
27691 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
= 0;
27693 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 PyObject
* obj2
= 0 ;
27714 PyObject
* obj3
= 0 ;
27715 PyObject
* obj4
= 0 ;
27716 PyObject
* obj5
= 0 ;
27717 char * kwnames
[] = {
27718 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27726 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27727 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27728 if (!SWIG_IsOK(ecode2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27731 arg2
= static_cast< wxDouble
>(val2
);
27732 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27733 if (!SWIG_IsOK(ecode3
)) {
27734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27736 arg3
= static_cast< wxDouble
>(val3
);
27737 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27738 if (!SWIG_IsOK(ecode4
)) {
27739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27741 arg4
= static_cast< wxDouble
>(val4
);
27742 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27743 if (!SWIG_IsOK(ecode5
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27746 arg5
= static_cast< wxDouble
>(val5
);
27747 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27748 if (!SWIG_IsOK(ecode6
)) {
27749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27751 arg6
= static_cast< wxDouble
>(val6
);
27753 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_Py_Void();
27763 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
= 0;
27765 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 PyObject
* obj2
= 0 ;
27783 PyObject
* obj3
= 0 ;
27784 PyObject
* obj4
= 0 ;
27785 char * kwnames
[] = {
27786 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27794 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27795 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27796 if (!SWIG_IsOK(ecode2
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27799 arg2
= static_cast< wxDouble
>(val2
);
27800 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27801 if (!SWIG_IsOK(ecode3
)) {
27802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27804 arg3
= static_cast< wxDouble
>(val3
);
27805 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27806 if (!SWIG_IsOK(ecode4
)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27809 arg4
= static_cast< wxDouble
>(val4
);
27810 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27811 if (!SWIG_IsOK(ecode5
)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27814 arg5
= static_cast< wxDouble
>(val5
);
27816 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= SWIG_Py_Void();
27826 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
= 0;
27828 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 PyObject
* obj1
= 0 ;
27848 PyObject
* obj2
= 0 ;
27849 PyObject
* obj3
= 0 ;
27850 PyObject
* obj4
= 0 ;
27851 PyObject
* obj5
= 0 ;
27852 char * kwnames
[] = {
27853 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27861 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27862 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27866 arg2
= static_cast< wxDouble
>(val2
);
27867 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27868 if (!SWIG_IsOK(ecode3
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27871 arg3
= static_cast< wxDouble
>(val3
);
27872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27873 if (!SWIG_IsOK(ecode4
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27876 arg4
= static_cast< wxDouble
>(val4
);
27877 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27878 if (!SWIG_IsOK(ecode5
)) {
27879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27881 arg5
= static_cast< wxDouble
>(val5
);
27882 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27883 if (!SWIG_IsOK(ecode6
)) {
27884 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27886 arg6
= static_cast< wxDouble
>(val6
);
27888 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= SWIG_Py_Void();
27898 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27899 PyObject
*resultobj
= 0;
27900 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27904 PyObject
*swig_obj
[1] ;
27906 if (!args
) SWIG_fail
;
27907 swig_obj
[0] = args
;
27908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27909 if (!SWIG_IsOK(res1
)) {
27910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27912 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27914 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27924 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
= 0;
27926 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27927 void *arg2
= (void *) 0 ;
27931 PyObject
* obj0
= 0 ;
27932 PyObject
* obj1
= 0 ;
27933 char * kwnames
[] = {
27934 (char *) "self",(char *) "p", NULL
27937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27939 if (!SWIG_IsOK(res1
)) {
27940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27942 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27943 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27944 if (!SWIG_IsOK(res2
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27948 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= SWIG_Py_Void();
27958 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
= 0;
27960 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27961 wxGraphicsMatrix
*arg2
= 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 char * kwnames
[] = {
27969 (char *) "self",(char *) "matrix", NULL
27972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27977 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27979 if (!SWIG_IsOK(res2
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27985 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27987 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_Py_Void();
27997 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27998 PyObject
*resultobj
= 0;
27999 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28000 wxRect2DDouble result
;
28003 PyObject
*swig_obj
[1] ;
28005 if (!args
) SWIG_fail
;
28006 swig_obj
[0] = args
;
28007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28008 if (!SWIG_IsOK(res1
)) {
28009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28011 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28013 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28023 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28024 PyObject
*resultobj
= 0;
28025 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28028 int arg4
= (int) wxODDEVEN_RULE
;
28039 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28044 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28045 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28046 if (!SWIG_IsOK(ecode2
)) {
28047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28049 arg2
= static_cast< wxDouble
>(val2
);
28050 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28051 if (!SWIG_IsOK(ecode3
)) {
28052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28054 arg3
= static_cast< wxDouble
>(val3
);
28056 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28057 if (!SWIG_IsOK(ecode4
)) {
28058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28060 arg4
= static_cast< int >(val4
);
28063 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28075 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28076 PyObject
*resultobj
= 0;
28077 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28078 wxPoint2DDouble
*arg2
= 0 ;
28079 int arg3
= (int) wxODDEVEN_RULE
;
28088 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28090 if (!SWIG_IsOK(res1
)) {
28091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28093 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28094 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28095 if (!SWIG_IsOK(res2
)) {
28096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28101 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28103 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28104 if (!SWIG_IsOK(ecode3
)) {
28105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28107 arg3
= static_cast< int >(val3
);
28110 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28122 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28126 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28128 if ((argc
>= 2) && (argc
<= 3)) {
28131 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28132 _v
= SWIG_CheckState(res
);
28134 if (!_v
) goto check_1
;
28138 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28139 _v
= SWIG_CheckState(res
);
28142 if (!_v
) goto check_1
;
28144 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28148 if ((argc
>= 3) && (argc
<= 4)) {
28149 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28153 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28158 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28161 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28162 return SWIG_Py_Void();
28165 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28166 return SWIG_Python_InitShadowInstance(args
);
28169 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28170 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28175 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28176 PyObject
*pyobj
= 0;
28178 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28183 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28184 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28189 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28190 PyObject
*pyobj
= 0;
28192 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28197 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28198 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28203 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28204 PyObject
*pyobj
= 0;
28206 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28211 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28212 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28217 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28218 PyObject
*pyobj
= 0;
28220 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28225 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28226 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28231 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28232 PyObject
*pyobj
= 0;
28234 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28239 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28240 PyObject
*resultobj
= 0;
28241 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28244 PyObject
*swig_obj
[1] ;
28246 if (!args
) SWIG_fail
;
28247 swig_obj
[0] = args
;
28248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28249 if (!SWIG_IsOK(res1
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28252 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_Py_Void();
28265 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28266 PyObject
*resultobj
= 0;
28267 wxWindowDC
*arg1
= 0 ;
28268 wxGraphicsContext
*result
= 0 ;
28272 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28280 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28282 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28292 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28293 PyObject
*resultobj
= 0;
28294 wxWindow
*arg1
= (wxWindow
*) 0 ;
28295 wxGraphicsContext
*result
= 0 ;
28299 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28301 if (!SWIG_IsOK(res1
)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28304 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28306 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28316 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28320 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28325 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28326 _v
= SWIG_CheckState(res
);
28328 if (!_v
) goto check_1
;
28329 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28334 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28338 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28343 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
= 0;
28345 void *arg1
= (void *) 0 ;
28346 wxGraphicsContext
*result
= 0 ;
28348 PyObject
* obj0
= 0 ;
28349 char * kwnames
[] = {
28350 (char *) "context", NULL
28353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28354 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28355 if (!SWIG_IsOK(res1
)) {
28356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28359 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28369 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
= 0;
28371 void *arg1
= (void *) 0 ;
28372 wxGraphicsContext
*result
= 0 ;
28374 PyObject
* obj0
= 0 ;
28375 char * kwnames
[] = {
28376 (char *) "window", NULL
28379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28380 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28385 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28395 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 PyObject
*resultobj
= 0;
28397 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28398 wxGraphicsPath result
;
28401 PyObject
*swig_obj
[1] ;
28403 if (!args
) SWIG_fail
;
28404 swig_obj
[0] = args
;
28405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28406 if (!SWIG_IsOK(res1
)) {
28407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28409 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28411 result
= (arg1
)->CreatePath();
28412 if (PyErr_Occurred()) SWIG_fail
;
28414 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28421 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
= 0;
28423 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28425 wxGraphicsPen result
;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "pen", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28441 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28443 if (!SWIG_IsOK(res2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28449 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28451 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28461 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
= 0;
28463 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28464 wxBrush
*arg2
= 0 ;
28465 wxGraphicsBrush result
;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "self",(char *) "brush", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28481 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28483 if (!SWIG_IsOK(res2
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28489 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28491 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28501 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
= 0;
28503 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28508 wxColour
*arg6
= 0 ;
28509 wxColour
*arg7
= 0 ;
28510 wxGraphicsBrush result
;
28523 PyObject
* obj0
= 0 ;
28524 PyObject
* obj1
= 0 ;
28525 PyObject
* obj2
= 0 ;
28526 PyObject
* obj3
= 0 ;
28527 PyObject
* obj4
= 0 ;
28528 PyObject
* obj5
= 0 ;
28529 PyObject
* obj6
= 0 ;
28530 char * kwnames
[] = {
28531 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28536 if (!SWIG_IsOK(res1
)) {
28537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28539 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28540 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28541 if (!SWIG_IsOK(ecode2
)) {
28542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28544 arg2
= static_cast< wxDouble
>(val2
);
28545 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28546 if (!SWIG_IsOK(ecode3
)) {
28547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28549 arg3
= static_cast< wxDouble
>(val3
);
28550 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28551 if (!SWIG_IsOK(ecode4
)) {
28552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28554 arg4
= static_cast< wxDouble
>(val4
);
28555 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28556 if (!SWIG_IsOK(ecode5
)) {
28557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28559 arg5
= static_cast< wxDouble
>(val5
);
28562 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28566 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28569 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28579 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28580 PyObject
*resultobj
= 0;
28581 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28587 wxColour
*arg7
= 0 ;
28588 wxColour
*arg8
= 0 ;
28589 wxGraphicsBrush result
;
28604 PyObject
* obj0
= 0 ;
28605 PyObject
* obj1
= 0 ;
28606 PyObject
* obj2
= 0 ;
28607 PyObject
* obj3
= 0 ;
28608 PyObject
* obj4
= 0 ;
28609 PyObject
* obj5
= 0 ;
28610 PyObject
* obj6
= 0 ;
28611 PyObject
* obj7
= 0 ;
28612 char * kwnames
[] = {
28613 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28618 if (!SWIG_IsOK(res1
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28621 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28622 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28623 if (!SWIG_IsOK(ecode2
)) {
28624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28626 arg2
= static_cast< wxDouble
>(val2
);
28627 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28628 if (!SWIG_IsOK(ecode3
)) {
28629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28631 arg3
= static_cast< wxDouble
>(val3
);
28632 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28633 if (!SWIG_IsOK(ecode4
)) {
28634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28636 arg4
= static_cast< wxDouble
>(val4
);
28637 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28638 if (!SWIG_IsOK(ecode5
)) {
28639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28641 arg5
= static_cast< wxDouble
>(val5
);
28642 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28643 if (!SWIG_IsOK(ecode6
)) {
28644 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28646 arg6
= static_cast< wxDouble
>(val6
);
28649 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28653 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28656 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28666 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
= 0;
28668 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28670 wxColour
const &arg3_defvalue
= *wxBLACK
;
28671 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28672 wxGraphicsFont result
;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 PyObject
* obj2
= 0 ;
28681 char * kwnames
[] = {
28682 (char *) "self",(char *) "font",(char *) "col", NULL
28685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28687 if (!SWIG_IsOK(res1
)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28690 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28692 if (!SWIG_IsOK(res2
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28698 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28702 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28706 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28716 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
= 0;
28718 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28719 wxDouble arg2
= (wxDouble
) 1.0 ;
28720 wxDouble arg3
= (wxDouble
) 0.0 ;
28721 wxDouble arg4
= (wxDouble
) 0.0 ;
28722 wxDouble arg5
= (wxDouble
) 1.0 ;
28723 wxDouble arg6
= (wxDouble
) 0.0 ;
28724 wxDouble arg7
= (wxDouble
) 0.0 ;
28725 wxGraphicsMatrix result
;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 PyObject
* obj2
= 0 ;
28743 PyObject
* obj3
= 0 ;
28744 PyObject
* obj4
= 0 ;
28745 PyObject
* obj5
= 0 ;
28746 PyObject
* obj6
= 0 ;
28747 char * kwnames
[] = {
28748 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28753 if (!SWIG_IsOK(res1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28756 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28758 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28759 if (!SWIG_IsOK(ecode2
)) {
28760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28762 arg2
= static_cast< wxDouble
>(val2
);
28765 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28766 if (!SWIG_IsOK(ecode3
)) {
28767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28769 arg3
= static_cast< wxDouble
>(val3
);
28772 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28773 if (!SWIG_IsOK(ecode4
)) {
28774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28776 arg4
= static_cast< wxDouble
>(val4
);
28779 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28780 if (!SWIG_IsOK(ecode5
)) {
28781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28783 arg5
= static_cast< wxDouble
>(val5
);
28786 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28787 if (!SWIG_IsOK(ecode6
)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28790 arg6
= static_cast< wxDouble
>(val6
);
28793 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28794 if (!SWIG_IsOK(ecode7
)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28797 arg7
= static_cast< wxDouble
>(val7
);
28800 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28810 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28811 PyObject
*resultobj
= 0;
28812 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28815 PyObject
*swig_obj
[1] ;
28817 if (!args
) SWIG_fail
;
28818 swig_obj
[0] = args
;
28819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28820 if (!SWIG_IsOK(res1
)) {
28821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28823 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28825 (arg1
)->PushState();
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_Py_Void();
28835 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28836 PyObject
*resultobj
= 0;
28837 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28840 PyObject
*swig_obj
[1] ;
28842 if (!args
) SWIG_fail
;
28843 swig_obj
[0] = args
;
28844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28845 if (!SWIG_IsOK(res1
)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28848 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28850 (arg1
)->PopState();
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_Py_Void();
28860 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
= 0;
28862 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28863 wxRegion
*arg2
= 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "region", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28879 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28881 if (!SWIG_IsOK(res2
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28887 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28889 (arg1
)->Clip((wxRegion
const &)*arg2
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 resultobj
= SWIG_Py_Void();
28899 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28900 PyObject
*resultobj
= 0;
28901 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28916 PyObject
* obj0
= 0 ;
28917 PyObject
* obj1
= 0 ;
28918 PyObject
* obj2
= 0 ;
28919 PyObject
* obj3
= 0 ;
28920 PyObject
* obj4
= 0 ;
28921 char * kwnames
[] = {
28922 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28927 if (!SWIG_IsOK(res1
)) {
28928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28930 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28931 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28932 if (!SWIG_IsOK(ecode2
)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28935 arg2
= static_cast< wxDouble
>(val2
);
28936 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28937 if (!SWIG_IsOK(ecode3
)) {
28938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28940 arg3
= static_cast< wxDouble
>(val3
);
28941 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28942 if (!SWIG_IsOK(ecode4
)) {
28943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28945 arg4
= static_cast< wxDouble
>(val4
);
28946 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28947 if (!SWIG_IsOK(ecode5
)) {
28948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28950 arg5
= static_cast< wxDouble
>(val5
);
28952 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_Py_Void();
28962 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28963 PyObject
*resultobj
= 0;
28964 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28967 PyObject
*swig_obj
[1] ;
28969 if (!args
) SWIG_fail
;
28970 swig_obj
[0] = args
;
28971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28975 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28977 (arg1
)->ResetClip();
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= SWIG_Py_Void();
28987 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28988 PyObject
*resultobj
= 0;
28989 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28993 PyObject
*swig_obj
[1] ;
28995 if (!args
) SWIG_fail
;
28996 swig_obj
[0] = args
;
28997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28998 if (!SWIG_IsOK(res1
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29001 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29003 result
= (void *)(arg1
)->GetNativeContext();
29004 if (PyErr_Occurred()) SWIG_fail
;
29006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29013 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29014 PyObject
*resultobj
= 0;
29015 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 PyObject
* obj2
= 0 ;
29027 char * kwnames
[] = {
29028 (char *) "self",(char *) "dx",(char *) "dy", NULL
29031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29033 if (!SWIG_IsOK(res1
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29036 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29037 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29038 if (!SWIG_IsOK(ecode2
)) {
29039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29041 arg2
= static_cast< wxDouble
>(val2
);
29042 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29043 if (!SWIG_IsOK(ecode3
)) {
29044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29046 arg3
= static_cast< wxDouble
>(val3
);
29048 (arg1
)->Translate(arg2
,arg3
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= SWIG_Py_Void();
29058 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
= 0;
29060 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 PyObject
* obj2
= 0 ;
29072 char * kwnames
[] = {
29073 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29078 if (!SWIG_IsOK(res1
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29081 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29082 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29083 if (!SWIG_IsOK(ecode2
)) {
29084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29086 arg2
= static_cast< wxDouble
>(val2
);
29087 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29088 if (!SWIG_IsOK(ecode3
)) {
29089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29091 arg3
= static_cast< wxDouble
>(val3
);
29093 (arg1
)->Scale(arg2
,arg3
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 resultobj
= SWIG_Py_Void();
29103 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
= 0;
29105 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "self",(char *) "angle", NULL
29117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29119 if (!SWIG_IsOK(res1
)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29122 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29123 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29124 if (!SWIG_IsOK(ecode2
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29127 arg2
= static_cast< wxDouble
>(val2
);
29129 (arg1
)->Rotate(arg2
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29132 resultobj
= SWIG_Py_Void();
29139 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29140 PyObject
*resultobj
= 0;
29141 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29142 wxGraphicsMatrix
*arg2
= 0 ;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 char * kwnames
[] = {
29150 (char *) "self",(char *) "matrix", NULL
29153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29155 if (!SWIG_IsOK(res1
)) {
29156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29158 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29160 if (!SWIG_IsOK(res2
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29166 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29168 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= SWIG_Py_Void();
29178 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
= 0;
29180 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29181 wxGraphicsMatrix
*arg2
= 0 ;
29186 PyObject
* obj0
= 0 ;
29187 PyObject
* obj1
= 0 ;
29188 char * kwnames
[] = {
29189 (char *) "self",(char *) "matrix", NULL
29192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29194 if (!SWIG_IsOK(res1
)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29197 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29199 if (!SWIG_IsOK(res2
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29205 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29207 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_Py_Void();
29217 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29218 PyObject
*resultobj
= 0;
29219 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29220 wxGraphicsMatrix result
;
29223 PyObject
*swig_obj
[1] ;
29225 if (!args
) SWIG_fail
;
29226 swig_obj
[0] = args
;
29227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29228 if (!SWIG_IsOK(res1
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29231 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29233 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29234 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29243 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29244 PyObject
*resultobj
= 0;
29245 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29246 wxGraphicsPen
*arg2
= 0 ;
29252 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29254 if (!SWIG_IsOK(res1
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29257 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29258 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29259 if (!SWIG_IsOK(res2
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29265 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29267 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_Py_Void();
29277 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29278 PyObject
*resultobj
= 0;
29279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29286 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29288 if (!SWIG_IsOK(res1
)) {
29289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29291 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29292 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29293 if (!SWIG_IsOK(res2
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29299 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29301 (arg1
)->SetPen((wxPen
const &)*arg2
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= SWIG_Py_Void();
29311 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29315 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29320 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29321 _v
= SWIG_CheckState(res
);
29323 if (!_v
) goto check_1
;
29324 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29329 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29333 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29338 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29339 PyObject
*resultobj
= 0;
29340 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29341 wxGraphicsBrush
*arg2
= 0 ;
29347 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29352 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29353 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29354 if (!SWIG_IsOK(res2
)) {
29355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29360 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29362 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29365 resultobj
= SWIG_Py_Void();
29372 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29373 PyObject
*resultobj
= 0;
29374 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29375 wxBrush
*arg2
= 0 ;
29381 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29386 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29387 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29388 if (!SWIG_IsOK(res2
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29394 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29396 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= SWIG_Py_Void();
29406 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29410 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29415 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29416 _v
= SWIG_CheckState(res
);
29418 if (!_v
) goto check_1
;
29419 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29424 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29428 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29433 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29434 PyObject
*resultobj
= 0;
29435 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29436 wxGraphicsFont
*arg2
= 0 ;
29442 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29447 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29448 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29449 if (!SWIG_IsOK(res2
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29455 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29457 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= SWIG_Py_Void();
29467 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29468 PyObject
*resultobj
= 0;
29469 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29471 wxColour
const &arg3_defvalue
= *wxBLACK
;
29472 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29479 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29481 if (!SWIG_IsOK(res1
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29484 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29485 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29486 if (!SWIG_IsOK(res2
)) {
29487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29492 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29496 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29500 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= SWIG_Py_Void();
29510 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29514 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29519 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29520 _v
= SWIG_CheckState(res
);
29522 if (!_v
) goto check_1
;
29523 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29527 if ((argc
>= 2) && (argc
<= 3)) {
29528 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29532 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29537 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
= 0;
29539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29540 wxGraphicsPath
*arg2
= 0 ;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 char * kwnames
[] = {
29548 (char *) "self",(char *) "path", NULL
29551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29553 if (!SWIG_IsOK(res1
)) {
29554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29556 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29558 if (!SWIG_IsOK(res2
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29564 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29566 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= SWIG_Py_Void();
29576 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
= 0;
29578 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29579 wxGraphicsPath
*arg2
= 0 ;
29580 int arg3
= (int) wxODDEVEN_RULE
;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 PyObject
* obj2
= 0 ;
29590 char * kwnames
[] = {
29591 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29599 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29601 if (!SWIG_IsOK(res2
)) {
29602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29607 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29610 if (!SWIG_IsOK(ecode3
)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29613 arg3
= static_cast< int >(val3
);
29616 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= SWIG_Py_Void();
29626 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
= 0;
29628 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29629 wxGraphicsPath
*arg2
= 0 ;
29630 int arg3
= (int) wxODDEVEN_RULE
;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 PyObject
* obj2
= 0 ;
29640 char * kwnames
[] = {
29641 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29649 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29651 if (!SWIG_IsOK(res2
)) {
29652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29657 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29660 if (!SWIG_IsOK(ecode3
)) {
29661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29663 arg3
= static_cast< int >(val3
);
29666 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= SWIG_Py_Void();
29676 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
= 0;
29678 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29679 wxString
*arg2
= 0 ;
29684 bool temp2
= false ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 PyObject
* obj2
= 0 ;
29692 PyObject
* obj3
= 0 ;
29693 char * kwnames
[] = {
29694 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
29697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29699 if (!SWIG_IsOK(res1
)) {
29700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29702 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29704 arg2
= wxString_in_helper(obj1
);
29705 if (arg2
== NULL
) SWIG_fail
;
29708 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29709 if (!SWIG_IsOK(ecode3
)) {
29710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29712 arg3
= static_cast< wxDouble
>(val3
);
29713 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29714 if (!SWIG_IsOK(ecode4
)) {
29715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29717 arg4
= static_cast< wxDouble
>(val4
);
29719 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= SWIG_Py_Void();
29737 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
= 0;
29739 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29740 wxString
*arg2
= 0 ;
29746 bool temp2
= false ;
29753 PyObject
* obj0
= 0 ;
29754 PyObject
* obj1
= 0 ;
29755 PyObject
* obj2
= 0 ;
29756 PyObject
* obj3
= 0 ;
29757 PyObject
* obj4
= 0 ;
29758 char * kwnames
[] = {
29759 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29767 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29769 arg2
= wxString_in_helper(obj1
);
29770 if (arg2
== NULL
) SWIG_fail
;
29773 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29774 if (!SWIG_IsOK(ecode3
)) {
29775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29777 arg3
= static_cast< wxDouble
>(val3
);
29778 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29779 if (!SWIG_IsOK(ecode4
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29782 arg4
= static_cast< wxDouble
>(val4
);
29783 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29784 if (!SWIG_IsOK(ecode5
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29787 arg5
= static_cast< wxDouble
>(val5
);
29789 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= SWIG_Py_Void();
29807 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
= 0;
29809 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29810 wxString
*arg2
= 0 ;
29811 wxDouble
*arg3
= (wxDouble
*) 0 ;
29812 wxDouble
*arg4
= (wxDouble
*) 0 ;
29813 wxDouble
*arg5
= (wxDouble
*) 0 ;
29814 wxDouble
*arg6
= (wxDouble
*) 0 ;
29817 bool temp2
= false ;
29819 int res3
= SWIG_TMPOBJ
;
29821 int res4
= SWIG_TMPOBJ
;
29823 int res5
= SWIG_TMPOBJ
;
29825 int res6
= SWIG_TMPOBJ
;
29826 PyObject
* obj0
= 0 ;
29827 PyObject
* obj1
= 0 ;
29828 char * kwnames
[] = {
29829 (char *) "self",(char *) "text", NULL
29836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29841 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29843 arg2
= wxString_in_helper(obj1
);
29844 if (arg2
== NULL
) SWIG_fail
;
29848 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_Py_Void();
29852 if (SWIG_IsTmpObj(res3
)) {
29853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29855 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29858 if (SWIG_IsTmpObj(res4
)) {
29859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29861 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29864 if (SWIG_IsTmpObj(res5
)) {
29865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29867 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29870 if (SWIG_IsTmpObj(res6
)) {
29871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29873 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29890 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
= 0;
29892 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29893 wxString
*arg2
= 0 ;
29894 PyObject
*result
= 0 ;
29897 bool temp2
= false ;
29898 PyObject
* obj0
= 0 ;
29899 PyObject
* obj1
= 0 ;
29900 char * kwnames
[] = {
29901 (char *) "self",(char *) "text", NULL
29904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29906 if (!SWIG_IsOK(res1
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29909 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29911 arg2
= wxString_in_helper(obj1
);
29912 if (arg2
== NULL
) SWIG_fail
;
29916 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= result
;
29934 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
= 0;
29936 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29937 wxString
*arg2
= 0 ;
29938 wxArrayDouble result
;
29941 bool temp2
= false ;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 char * kwnames
[] = {
29945 (char *) "self",(char *) "text", NULL
29948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29953 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29955 arg2
= wxString_in_helper(obj1
);
29956 if (arg2
== NULL
) SWIG_fail
;
29960 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= wxArrayDouble2PyList_helper(result
);
29980 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
= 0;
29982 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29983 wxBitmap
*arg2
= 0 ;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 PyObject
* obj2
= 0 ;
30003 PyObject
* obj3
= 0 ;
30004 PyObject
* obj4
= 0 ;
30005 PyObject
* obj5
= 0 ;
30006 char * kwnames
[] = {
30007 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30015 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30017 if (!SWIG_IsOK(res2
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30023 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30024 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30025 if (!SWIG_IsOK(ecode3
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30028 arg3
= static_cast< wxDouble
>(val3
);
30029 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30030 if (!SWIG_IsOK(ecode4
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30033 arg4
= static_cast< wxDouble
>(val4
);
30034 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30035 if (!SWIG_IsOK(ecode5
)) {
30036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30038 arg5
= static_cast< wxDouble
>(val5
);
30039 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30040 if (!SWIG_IsOK(ecode6
)) {
30041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30043 arg6
= static_cast< wxDouble
>(val6
);
30045 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_Py_Void();
30055 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
= 0;
30057 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 PyObject
* obj2
= 0 ;
30078 PyObject
* obj3
= 0 ;
30079 PyObject
* obj4
= 0 ;
30080 PyObject
* obj5
= 0 ;
30081 char * kwnames
[] = {
30082 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30087 if (!SWIG_IsOK(res1
)) {
30088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30090 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30092 if (!SWIG_IsOK(res2
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30098 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30099 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30100 if (!SWIG_IsOK(ecode3
)) {
30101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30103 arg3
= static_cast< wxDouble
>(val3
);
30104 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30105 if (!SWIG_IsOK(ecode4
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30108 arg4
= static_cast< wxDouble
>(val4
);
30109 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30110 if (!SWIG_IsOK(ecode5
)) {
30111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30113 arg5
= static_cast< wxDouble
>(val5
);
30114 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30115 if (!SWIG_IsOK(ecode6
)) {
30116 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30118 arg6
= static_cast< wxDouble
>(val6
);
30120 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= SWIG_Py_Void();
30130 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
= 0;
30132 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30147 PyObject
* obj0
= 0 ;
30148 PyObject
* obj1
= 0 ;
30149 PyObject
* obj2
= 0 ;
30150 PyObject
* obj3
= 0 ;
30151 PyObject
* obj4
= 0 ;
30152 char * kwnames
[] = {
30153 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30161 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30162 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30163 if (!SWIG_IsOK(ecode2
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30166 arg2
= static_cast< wxDouble
>(val2
);
30167 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30168 if (!SWIG_IsOK(ecode3
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30171 arg3
= static_cast< wxDouble
>(val3
);
30172 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30173 if (!SWIG_IsOK(ecode4
)) {
30174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30176 arg4
= static_cast< wxDouble
>(val4
);
30177 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30178 if (!SWIG_IsOK(ecode5
)) {
30179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30181 arg5
= static_cast< wxDouble
>(val5
);
30183 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= SWIG_Py_Void();
30193 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
= 0;
30195 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30197 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 char * kwnames
[] = {
30203 (char *) "self",(char *) "points", NULL
30206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30208 if (!SWIG_IsOK(res1
)) {
30209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30211 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30213 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30214 if (arg3
== NULL
) SWIG_fail
;
30217 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_Py_Void();
30222 if (arg3
) delete [] arg3
;
30227 if (arg3
) delete [] arg3
;
30233 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
= 0;
30235 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30236 PyObject
*arg2
= (PyObject
*) 0 ;
30237 PyObject
*arg3
= (PyObject
*) 0 ;
30240 PyObject
* obj0
= 0 ;
30241 PyObject
* obj1
= 0 ;
30242 PyObject
* obj2
= 0 ;
30243 char * kwnames
[] = {
30244 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30249 if (!SWIG_IsOK(res1
)) {
30250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30252 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30256 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_Py_Void();
30266 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
= 0;
30268 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30270 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30271 int arg4
= (int) wxODDEVEN_RULE
;
30276 PyObject
* obj0
= 0 ;
30277 PyObject
* obj1
= 0 ;
30278 PyObject
* obj2
= 0 ;
30279 char * kwnames
[] = {
30280 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30285 if (!SWIG_IsOK(res1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30288 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30290 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30291 if (arg3
== NULL
) SWIG_fail
;
30294 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30295 if (!SWIG_IsOK(ecode4
)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30298 arg4
= static_cast< int >(val4
);
30301 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_Py_Void();
30306 if (arg3
) delete [] arg3
;
30311 if (arg3
) delete [] arg3
;
30317 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
= 0;
30319 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 PyObject
* obj2
= 0 ;
30337 PyObject
* obj3
= 0 ;
30338 PyObject
* obj4
= 0 ;
30339 char * kwnames
[] = {
30340 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30348 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30349 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30350 if (!SWIG_IsOK(ecode2
)) {
30351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30353 arg2
= static_cast< wxDouble
>(val2
);
30354 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30355 if (!SWIG_IsOK(ecode3
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30358 arg3
= static_cast< wxDouble
>(val3
);
30359 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30360 if (!SWIG_IsOK(ecode4
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30363 arg4
= static_cast< wxDouble
>(val4
);
30364 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30365 if (!SWIG_IsOK(ecode5
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30368 arg5
= static_cast< wxDouble
>(val5
);
30370 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_Py_Void();
30380 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
= 0;
30382 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 PyObject
* obj2
= 0 ;
30400 PyObject
* obj3
= 0 ;
30401 PyObject
* obj4
= 0 ;
30402 char * kwnames
[] = {
30403 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30408 if (!SWIG_IsOK(res1
)) {
30409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30411 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30412 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30413 if (!SWIG_IsOK(ecode2
)) {
30414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30416 arg2
= static_cast< wxDouble
>(val2
);
30417 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30418 if (!SWIG_IsOK(ecode3
)) {
30419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30421 arg3
= static_cast< wxDouble
>(val3
);
30422 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30423 if (!SWIG_IsOK(ecode4
)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30426 arg4
= static_cast< wxDouble
>(val4
);
30427 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30428 if (!SWIG_IsOK(ecode5
)) {
30429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30431 arg5
= static_cast< wxDouble
>(val5
);
30433 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= SWIG_Py_Void();
30443 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
= 0;
30445 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 PyObject
* obj2
= 0 ;
30466 PyObject
* obj3
= 0 ;
30467 PyObject
* obj4
= 0 ;
30468 PyObject
* obj5
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30478 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30479 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30480 if (!SWIG_IsOK(ecode2
)) {
30481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30483 arg2
= static_cast< wxDouble
>(val2
);
30484 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30485 if (!SWIG_IsOK(ecode3
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30488 arg3
= static_cast< wxDouble
>(val3
);
30489 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30490 if (!SWIG_IsOK(ecode4
)) {
30491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30493 arg4
= static_cast< wxDouble
>(val4
);
30494 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30495 if (!SWIG_IsOK(ecode5
)) {
30496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30498 arg5
= static_cast< wxDouble
>(val5
);
30499 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30500 if (!SWIG_IsOK(ecode6
)) {
30501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30503 arg6
= static_cast< wxDouble
>(val6
);
30505 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_Py_Void();
30515 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30516 PyObject
*resultobj
= 0;
30517 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30521 PyObject
*swig_obj
[1] ;
30523 if (!args
) SWIG_fail
;
30524 swig_obj
[0] = args
;
30525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30529 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30531 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30532 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30543 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30546 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30547 return SWIG_Py_Void();
30550 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30551 PyObject
*resultobj
= 0;
30552 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30555 PyObject
*swig_obj
[1] ;
30557 if (!args
) SWIG_fail
;
30558 swig_obj
[0] = args
;
30559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30560 if (!SWIG_IsOK(res1
)) {
30561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30563 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= SWIG_Py_Void();
30576 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30577 PyObject
*resultobj
= 0;
30578 wxGraphicsRenderer
*result
= 0 ;
30580 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30582 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30592 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30593 PyObject
*resultobj
= 0;
30594 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30595 wxWindowDC
*arg2
= 0 ;
30596 wxGraphicsContext
*result
= 0 ;
30602 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30604 if (!SWIG_IsOK(res1
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30607 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30608 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30609 if (!SWIG_IsOK(res2
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30615 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30617 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30627 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30628 PyObject
*resultobj
= 0;
30629 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30630 wxWindow
*arg2
= (wxWindow
*) 0 ;
30631 wxGraphicsContext
*result
= 0 ;
30637 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30639 if (!SWIG_IsOK(res1
)) {
30640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30642 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30643 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30644 if (!SWIG_IsOK(res2
)) {
30645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30649 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30659 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30663 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30668 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30669 _v
= SWIG_CheckState(res
);
30671 if (!_v
) goto check_1
;
30672 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30677 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30681 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30686 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
= 0;
30688 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30689 void *arg2
= (void *) 0 ;
30690 wxGraphicsContext
*result
= 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 char * kwnames
[] = {
30697 (char *) "self",(char *) "context", NULL
30700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30702 if (!SWIG_IsOK(res1
)) {
30703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30705 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30706 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30707 if (!SWIG_IsOK(res2
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30711 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30721 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30722 PyObject
*resultobj
= 0;
30723 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30724 void *arg2
= (void *) 0 ;
30725 wxGraphicsContext
*result
= 0 ;
30729 PyObject
* obj0
= 0 ;
30730 PyObject
* obj1
= 0 ;
30731 char * kwnames
[] = {
30732 (char *) "self",(char *) "window", NULL
30735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30740 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30741 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30742 if (!SWIG_IsOK(res2
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30746 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30756 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30757 PyObject
*resultobj
= 0;
30758 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30759 wxGraphicsPath result
;
30762 PyObject
*swig_obj
[1] ;
30764 if (!args
) SWIG_fail
;
30765 swig_obj
[0] = args
;
30766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30767 if (!SWIG_IsOK(res1
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30770 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30772 result
= (arg1
)->CreatePath();
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30782 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
= 0;
30784 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30785 wxDouble arg2
= (wxDouble
) 1.0 ;
30786 wxDouble arg3
= (wxDouble
) 0.0 ;
30787 wxDouble arg4
= (wxDouble
) 0.0 ;
30788 wxDouble arg5
= (wxDouble
) 1.0 ;
30789 wxDouble arg6
= (wxDouble
) 0.0 ;
30790 wxDouble arg7
= (wxDouble
) 0.0 ;
30791 wxGraphicsMatrix result
;
30806 PyObject
* obj0
= 0 ;
30807 PyObject
* obj1
= 0 ;
30808 PyObject
* obj2
= 0 ;
30809 PyObject
* obj3
= 0 ;
30810 PyObject
* obj4
= 0 ;
30811 PyObject
* obj5
= 0 ;
30812 PyObject
* obj6
= 0 ;
30813 char * kwnames
[] = {
30814 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30822 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30824 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30825 if (!SWIG_IsOK(ecode2
)) {
30826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30828 arg2
= static_cast< wxDouble
>(val2
);
30831 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30832 if (!SWIG_IsOK(ecode3
)) {
30833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30835 arg3
= static_cast< wxDouble
>(val3
);
30838 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30839 if (!SWIG_IsOK(ecode4
)) {
30840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30842 arg4
= static_cast< wxDouble
>(val4
);
30845 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30846 if (!SWIG_IsOK(ecode5
)) {
30847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30849 arg5
= static_cast< wxDouble
>(val5
);
30852 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30853 if (!SWIG_IsOK(ecode6
)) {
30854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30856 arg6
= static_cast< wxDouble
>(val6
);
30859 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30860 if (!SWIG_IsOK(ecode7
)) {
30861 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30863 arg7
= static_cast< wxDouble
>(val7
);
30866 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30876 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
= 0;
30878 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30880 wxGraphicsPen result
;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 char * kwnames
[] = {
30888 (char *) "self",(char *) "pen", NULL
30891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30893 if (!SWIG_IsOK(res1
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30896 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30898 if (!SWIG_IsOK(res2
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30904 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30906 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30916 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
= 0;
30918 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30919 wxBrush
*arg2
= 0 ;
30920 wxGraphicsBrush result
;
30925 PyObject
* obj0
= 0 ;
30926 PyObject
* obj1
= 0 ;
30927 char * kwnames
[] = {
30928 (char *) "self",(char *) "brush", NULL
30931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30933 if (!SWIG_IsOK(res1
)) {
30934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30936 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30938 if (!SWIG_IsOK(res2
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30944 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30946 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30956 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
= 0;
30958 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30963 wxColour
*arg6
= 0 ;
30964 wxColour
*arg7
= 0 ;
30965 wxGraphicsBrush result
;
30978 PyObject
* obj0
= 0 ;
30979 PyObject
* obj1
= 0 ;
30980 PyObject
* obj2
= 0 ;
30981 PyObject
* obj3
= 0 ;
30982 PyObject
* obj4
= 0 ;
30983 PyObject
* obj5
= 0 ;
30984 PyObject
* obj6
= 0 ;
30985 char * kwnames
[] = {
30986 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30991 if (!SWIG_IsOK(res1
)) {
30992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30994 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30995 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30996 if (!SWIG_IsOK(ecode2
)) {
30997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30999 arg2
= static_cast< wxDouble
>(val2
);
31000 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31001 if (!SWIG_IsOK(ecode3
)) {
31002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31004 arg3
= static_cast< wxDouble
>(val3
);
31005 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31006 if (!SWIG_IsOK(ecode4
)) {
31007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31009 arg4
= static_cast< wxDouble
>(val4
);
31010 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31011 if (!SWIG_IsOK(ecode5
)) {
31012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31014 arg5
= static_cast< wxDouble
>(val5
);
31017 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31021 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31024 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31034 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
= 0;
31036 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31042 wxColour
*arg7
= 0 ;
31043 wxColour
*arg8
= 0 ;
31044 wxGraphicsBrush result
;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 PyObject
* obj2
= 0 ;
31062 PyObject
* obj3
= 0 ;
31063 PyObject
* obj4
= 0 ;
31064 PyObject
* obj5
= 0 ;
31065 PyObject
* obj6
= 0 ;
31066 PyObject
* obj7
= 0 ;
31067 char * kwnames
[] = {
31068 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31073 if (!SWIG_IsOK(res1
)) {
31074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31076 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31077 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31078 if (!SWIG_IsOK(ecode2
)) {
31079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31081 arg2
= static_cast< wxDouble
>(val2
);
31082 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31083 if (!SWIG_IsOK(ecode3
)) {
31084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31086 arg3
= static_cast< wxDouble
>(val3
);
31087 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31088 if (!SWIG_IsOK(ecode4
)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31091 arg4
= static_cast< wxDouble
>(val4
);
31092 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31093 if (!SWIG_IsOK(ecode5
)) {
31094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31096 arg5
= static_cast< wxDouble
>(val5
);
31097 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31098 if (!SWIG_IsOK(ecode6
)) {
31099 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31101 arg6
= static_cast< wxDouble
>(val6
);
31104 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31108 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31111 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31121 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
= 0;
31123 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31125 wxColour
const &arg3_defvalue
= *wxBLACK
;
31126 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31127 wxGraphicsFont result
;
31133 PyObject
* obj0
= 0 ;
31134 PyObject
* obj1
= 0 ;
31135 PyObject
* obj2
= 0 ;
31136 char * kwnames
[] = {
31137 (char *) "self",(char *) "font",(char *) "col", NULL
31140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31142 if (!SWIG_IsOK(res1
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31145 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31147 if (!SWIG_IsOK(res2
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31153 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31157 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31161 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31171 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31174 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31175 return SWIG_Py_Void();
31178 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31179 PyObject
*resultobj
= 0;
31180 wxWindowDC
*arg1
= 0 ;
31181 wxGCDC
*result
= 0 ;
31184 PyObject
* obj0
= 0 ;
31185 char * kwnames
[] = {
31186 (char *) "dc", NULL
31189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
31190 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31191 if (!SWIG_IsOK(res1
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31197 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31199 if (!wxPyCheckForApp()) SWIG_fail
;
31200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31201 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31202 wxPyEndAllowThreads(__tstate
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31212 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31213 PyObject
*resultobj
= 0;
31214 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31217 PyObject
*swig_obj
[1] ;
31219 if (!args
) SWIG_fail
;
31220 swig_obj
[0] = args
;
31221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31222 if (!SWIG_IsOK(res1
)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31225 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_Py_Void();
31238 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31239 PyObject
*resultobj
= 0;
31240 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31241 wxGraphicsContext
*result
= 0 ;
31244 PyObject
*swig_obj
[1] ;
31246 if (!args
) SWIG_fail
;
31247 swig_obj
[0] = args
;
31248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31249 if (!SWIG_IsOK(res1
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31252 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31254 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31255 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31264 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
= 0;
31266 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31267 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 char * kwnames
[] = {
31275 (char *) "self",(char *) "ctx", NULL
31278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31280 if (!SWIG_IsOK(res1
)) {
31281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31283 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31285 if (!SWIG_IsOK(res2
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31288 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31290 (arg1
)->SetGraphicsContext(arg2
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= SWIG_Py_Void();
31300 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31303 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31304 return SWIG_Py_Void();
31307 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31308 return SWIG_Python_InitShadowInstance(args
);
31311 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31312 PyObject
*resultobj
= 0;
31313 wxOverlay
*result
= 0 ;
31315 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 result
= (wxOverlay
*)new wxOverlay();
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31329 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31330 PyObject
*resultobj
= 0;
31331 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31334 PyObject
*swig_obj
[1] ;
31336 if (!args
) SWIG_fail
;
31337 swig_obj
[0] = args
;
31338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31339 if (!SWIG_IsOK(res1
)) {
31340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31342 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= SWIG_Py_Void();
31357 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31358 PyObject
*resultobj
= 0;
31359 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31362 PyObject
*swig_obj
[1] ;
31364 if (!args
) SWIG_fail
;
31365 swig_obj
[0] = args
;
31366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31367 if (!SWIG_IsOK(res1
)) {
31368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31370 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= SWIG_Py_Void();
31384 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31387 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31388 return SWIG_Py_Void();
31391 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31392 return SWIG_Python_InitShadowInstance(args
);
31395 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31396 PyObject
*resultobj
= 0;
31397 wxOverlay
*arg1
= 0 ;
31398 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31403 wxDCOverlay
*result
= 0 ;
31417 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31419 if (!SWIG_IsOK(res1
)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31425 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31426 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31427 if (!SWIG_IsOK(res2
)) {
31428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31430 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31431 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31432 if (!SWIG_IsOK(ecode3
)) {
31433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31435 arg3
= static_cast< int >(val3
);
31436 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31437 if (!SWIG_IsOK(ecode4
)) {
31438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31440 arg4
= static_cast< int >(val4
);
31441 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31442 if (!SWIG_IsOK(ecode5
)) {
31443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31445 arg5
= static_cast< int >(val5
);
31446 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31447 if (!SWIG_IsOK(ecode6
)) {
31448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31450 arg6
= static_cast< int >(val6
);
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31464 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31465 PyObject
*resultobj
= 0;
31466 wxOverlay
*arg1
= 0 ;
31467 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31468 wxDCOverlay
*result
= 0 ;
31474 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31482 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31483 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31484 if (!SWIG_IsOK(res2
)) {
31485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31487 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31490 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31491 wxPyEndAllowThreads(__tstate
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31501 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31505 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31508 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31511 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31515 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31520 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31521 PyObject
*resultobj
= 0;
31522 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31525 PyObject
*swig_obj
[1] ;
31527 if (!args
) SWIG_fail
;
31528 swig_obj
[0] = args
;
31529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31530 if (!SWIG_IsOK(res1
)) {
31531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31533 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 wxPyEndAllowThreads(__tstate
);
31539 if (PyErr_Occurred()) SWIG_fail
;
31541 resultobj
= SWIG_Py_Void();
31548 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31549 PyObject
*resultobj
= 0;
31550 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31553 PyObject
*swig_obj
[1] ;
31555 if (!args
) SWIG_fail
;
31556 swig_obj
[0] = args
;
31557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31558 if (!SWIG_IsOK(res1
)) {
31559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31561 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= SWIG_Py_Void();
31575 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31578 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31579 return SWIG_Py_Void();
31582 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31583 return SWIG_Python_InitShadowInstance(args
);
31586 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
= 0;
31590 int arg3
= (int) true ;
31591 int arg4
= (int) 1 ;
31592 wxImageList
*result
= 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 PyObject
* obj2
= 0 ;
31604 PyObject
* obj3
= 0 ;
31605 char * kwnames
[] = {
31606 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31610 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31611 if (!SWIG_IsOK(ecode1
)) {
31612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31614 arg1
= static_cast< int >(val1
);
31615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31616 if (!SWIG_IsOK(ecode2
)) {
31617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31619 arg2
= static_cast< int >(val2
);
31621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31622 if (!SWIG_IsOK(ecode3
)) {
31623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31625 arg3
= static_cast< int >(val3
);
31628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31629 if (!SWIG_IsOK(ecode4
)) {
31630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31632 arg4
= static_cast< int >(val4
);
31635 if (!wxPyCheckForApp()) SWIG_fail
;
31636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31637 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31648 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31649 PyObject
*resultobj
= 0;
31650 wxImageList
*arg1
= (wxImageList
*) 0 ;
31653 PyObject
*swig_obj
[1] ;
31655 if (!args
) SWIG_fail
;
31656 swig_obj
[0] = args
;
31657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31658 if (!SWIG_IsOK(res1
)) {
31659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31661 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 wxPyEndAllowThreads(__tstate
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31669 resultobj
= SWIG_Py_Void();
31676 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31677 PyObject
*resultobj
= 0;
31678 wxImageList
*arg1
= (wxImageList
*) 0 ;
31679 wxBitmap
*arg2
= 0 ;
31680 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31681 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31689 PyObject
* obj0
= 0 ;
31690 PyObject
* obj1
= 0 ;
31691 PyObject
* obj2
= 0 ;
31692 char * kwnames
[] = {
31693 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31698 if (!SWIG_IsOK(res1
)) {
31699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31701 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31703 if (!SWIG_IsOK(res2
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31709 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31711 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31712 if (!SWIG_IsOK(res3
)) {
31713 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31718 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_From_int(static_cast< int >(result
));
31733 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
= 0;
31735 wxImageList
*arg1
= (wxImageList
*) 0 ;
31736 wxBitmap
*arg2
= 0 ;
31737 wxColour
*arg3
= 0 ;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 PyObject
* obj2
= 0 ;
31747 char * kwnames
[] = {
31748 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31753 if (!SWIG_IsOK(res1
)) {
31754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31756 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31758 if (!SWIG_IsOK(res2
)) {
31759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31764 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31767 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 resultobj
= SWIG_From_int(static_cast< int >(result
));
31782 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
= 0;
31784 wxImageList
*arg1
= (wxImageList
*) 0 ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 char * kwnames
[] = {
31794 (char *) "self",(char *) "icon", NULL
31797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31799 if (!SWIG_IsOK(res1
)) {
31800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31802 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31804 if (!SWIG_IsOK(res2
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31810 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_From_int(static_cast< int >(result
));
31824 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
= 0;
31826 wxImageList
*arg1
= (wxImageList
*) 0 ;
31828 SwigValueWrapper
<wxBitmap
> result
;
31833 PyObject
* obj0
= 0 ;
31834 PyObject
* obj1
= 0 ;
31835 char * kwnames
[] = {
31836 (char *) "self",(char *) "index", NULL
31839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31841 if (!SWIG_IsOK(res1
)) {
31842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31844 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31846 if (!SWIG_IsOK(ecode2
)) {
31847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31849 arg2
= static_cast< int >(val2
);
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31863 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
= 0;
31865 wxImageList
*arg1
= (wxImageList
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 char * kwnames
[] = {
31875 (char *) "self",(char *) "index", NULL
31878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31880 if (!SWIG_IsOK(res1
)) {
31881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31883 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31885 if (!SWIG_IsOK(ecode2
)) {
31886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31888 arg2
= static_cast< int >(val2
);
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31902 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= 0;
31904 wxImageList
*arg1
= (wxImageList
*) 0 ;
31906 wxBitmap
*arg3
= 0 ;
31907 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31908 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 PyObject
* obj2
= 0 ;
31921 PyObject
* obj3
= 0 ;
31922 char * kwnames
[] = {
31923 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31928 if (!SWIG_IsOK(res1
)) {
31929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31931 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31933 if (!SWIG_IsOK(ecode2
)) {
31934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31936 arg2
= static_cast< int >(val2
);
31937 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31938 if (!SWIG_IsOK(res3
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31944 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31946 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31947 if (!SWIG_IsOK(res4
)) {
31948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31953 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31957 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31970 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
= 0;
31972 wxImageList
*arg1
= (wxImageList
*) 0 ;
31977 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31978 bool arg7
= (bool) (bool)false ;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 PyObject
* obj2
= 0 ;
31997 PyObject
* obj3
= 0 ;
31998 PyObject
* obj4
= 0 ;
31999 PyObject
* obj5
= 0 ;
32000 PyObject
* obj6
= 0 ;
32001 char * kwnames
[] = {
32002 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32007 if (!SWIG_IsOK(res1
)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32010 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32012 if (!SWIG_IsOK(ecode2
)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32015 arg2
= static_cast< int >(val2
);
32016 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32017 if (!SWIG_IsOK(res3
)) {
32018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32023 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32025 if (!SWIG_IsOK(ecode4
)) {
32026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32028 arg4
= static_cast< int >(val4
);
32029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32030 if (!SWIG_IsOK(ecode5
)) {
32031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32033 arg5
= static_cast< int >(val5
);
32035 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32036 if (!SWIG_IsOK(ecode6
)) {
32037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32039 arg6
= static_cast< int >(val6
);
32042 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32043 if (!SWIG_IsOK(ecode7
)) {
32044 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32046 arg7
= static_cast< bool >(val7
);
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32050 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32063 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32064 PyObject
*resultobj
= 0;
32065 wxImageList
*arg1
= (wxImageList
*) 0 ;
32069 PyObject
*swig_obj
[1] ;
32071 if (!args
) SWIG_fail
;
32072 swig_obj
[0] = args
;
32073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32074 if (!SWIG_IsOK(res1
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32077 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 result
= (int)(arg1
)->GetImageCount();
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= SWIG_From_int(static_cast< int >(result
));
32091 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
= 0;
32093 wxImageList
*arg1
= (wxImageList
*) 0 ;
32100 PyObject
* obj0
= 0 ;
32101 PyObject
* obj1
= 0 ;
32102 char * kwnames
[] = {
32103 (char *) "self",(char *) "index", NULL
32106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32108 if (!SWIG_IsOK(res1
)) {
32109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32111 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32113 if (!SWIG_IsOK(ecode2
)) {
32114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32116 arg2
= static_cast< int >(val2
);
32118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32119 result
= (bool)(arg1
)->Remove(arg2
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32132 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32133 PyObject
*resultobj
= 0;
32134 wxImageList
*arg1
= (wxImageList
*) 0 ;
32138 PyObject
*swig_obj
[1] ;
32140 if (!args
) SWIG_fail
;
32141 swig_obj
[0] = args
;
32142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32143 if (!SWIG_IsOK(res1
)) {
32144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32146 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 result
= (bool)(arg1
)->RemoveAll();
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32162 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32163 PyObject
*resultobj
= 0;
32164 wxImageList
*arg1
= (wxImageList
*) 0 ;
32173 int res3
= SWIG_TMPOBJ
;
32175 int res4
= SWIG_TMPOBJ
;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char * kwnames
[] = {
32179 (char *) "self",(char *) "index", NULL
32184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32186 if (!SWIG_IsOK(res1
)) {
32187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32189 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32191 if (!SWIG_IsOK(ecode2
)) {
32192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32194 arg2
= static_cast< int >(val2
);
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32201 resultobj
= SWIG_Py_Void();
32202 if (SWIG_IsTmpObj(res3
)) {
32203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32205 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32208 if (SWIG_IsTmpObj(res4
)) {
32209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32211 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32220 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32223 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32224 return SWIG_Py_Void();
32227 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32228 return SWIG_Python_InitShadowInstance(args
);
32231 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32232 PyObject
*resultobj
= 0;
32233 wxStockGDI
*result
= 0 ;
32235 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 result
= (wxStockGDI
*)new wxStockGDI();
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32249 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32250 PyObject
*resultobj
= 0;
32251 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32254 PyObject
*swig_obj
[1] ;
32256 if (!args
) SWIG_fail
;
32257 swig_obj
[0] = args
;
32258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32259 if (!SWIG_IsOK(res1
)) {
32260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32262 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 wxPyEndAllowThreads(__tstate
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32270 resultobj
= SWIG_Py_Void();
32277 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32278 PyObject
*resultobj
= 0;
32280 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 wxStockGDI::DeleteAll();
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32287 resultobj
= SWIG_Py_Void();
32294 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32295 PyObject
*resultobj
= 0;
32296 wxStockGDI
*result
= 0 ;
32298 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32302 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32303 result
= (wxStockGDI
*) &_result_ref
;
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32315 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
= 0;
32317 wxStockGDI::Item arg1
;
32318 wxBrush
*result
= 0 ;
32321 PyObject
* obj0
= 0 ;
32322 char * kwnames
[] = {
32323 (char *) "item", NULL
32326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32328 if (!SWIG_IsOK(ecode1
)) {
32329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32331 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32345 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
= 0;
32347 wxStockGDI::Item arg1
;
32348 wxColour
*result
= 0 ;
32351 PyObject
* obj0
= 0 ;
32352 char * kwnames
[] = {
32353 (char *) "item", NULL
32356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32358 if (!SWIG_IsOK(ecode1
)) {
32359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32361 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32375 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
= 0;
32377 wxStockGDI::Item arg1
;
32378 wxCursor
*result
= 0 ;
32381 PyObject
* obj0
= 0 ;
32382 char * kwnames
[] = {
32383 (char *) "item", NULL
32386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32388 if (!SWIG_IsOK(ecode1
)) {
32389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32391 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32405 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
= 0;
32407 wxStockGDI::Item arg1
;
32408 wxPen
*result
= 0 ;
32411 PyObject
* obj0
= 0 ;
32412 char * kwnames
[] = {
32413 (char *) "item", NULL
32416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32417 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32418 if (!SWIG_IsOK(ecode1
)) {
32419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32421 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32435 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32436 PyObject
*resultobj
= 0;
32437 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32438 wxStockGDI::Item arg2
;
32439 wxFont
*result
= 0 ;
32444 PyObject
* obj0
= 0 ;
32445 PyObject
* obj1
= 0 ;
32446 char * kwnames
[] = {
32447 (char *) "self",(char *) "item", NULL
32450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32452 if (!SWIG_IsOK(res1
)) {
32453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32455 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32457 if (!SWIG_IsOK(ecode2
)) {
32458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32460 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32474 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32477 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32478 return SWIG_Py_Void();
32481 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32482 return SWIG_Python_InitShadowInstance(args
);
32485 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32486 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32491 SWIGINTERN PyObject
*NullBitmap_get(void) {
32492 PyObject
*pyobj
= 0;
32494 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32499 SWIGINTERN
int NullIcon_set(PyObject
*) {
32500 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32505 SWIGINTERN PyObject
*NullIcon_get(void) {
32506 PyObject
*pyobj
= 0;
32508 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32513 SWIGINTERN
int NullCursor_set(PyObject
*) {
32514 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32519 SWIGINTERN PyObject
*NullCursor_get(void) {
32520 PyObject
*pyobj
= 0;
32522 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32527 SWIGINTERN
int NullPen_set(PyObject
*) {
32528 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32533 SWIGINTERN PyObject
*NullPen_get(void) {
32534 PyObject
*pyobj
= 0;
32536 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32541 SWIGINTERN
int NullBrush_set(PyObject
*) {
32542 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32547 SWIGINTERN PyObject
*NullBrush_get(void) {
32548 PyObject
*pyobj
= 0;
32550 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32555 SWIGINTERN
int NullPalette_set(PyObject
*) {
32556 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32561 SWIGINTERN PyObject
*NullPalette_get(void) {
32562 PyObject
*pyobj
= 0;
32564 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32569 SWIGINTERN
int NullFont_set(PyObject
*) {
32570 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32575 SWIGINTERN PyObject
*NullFont_get(void) {
32576 PyObject
*pyobj
= 0;
32578 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32583 SWIGINTERN
int NullColour_set(PyObject
*) {
32584 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32589 SWIGINTERN PyObject
*NullColour_get(void) {
32590 PyObject
*pyobj
= 0;
32592 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32597 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32598 PyObject
*resultobj
= 0;
32599 wxGDIObjListBase
*result
= 0 ;
32601 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32604 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32615 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32616 PyObject
*resultobj
= 0;
32617 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32620 PyObject
*swig_obj
[1] ;
32622 if (!args
) SWIG_fail
;
32623 swig_obj
[0] = args
;
32624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32625 if (!SWIG_IsOK(res1
)) {
32626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32628 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_Py_Void();
32643 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32646 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32647 return SWIG_Py_Void();
32650 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32651 return SWIG_Python_InitShadowInstance(args
);
32654 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
= 0;
32656 wxPenList
*arg1
= (wxPenList
*) 0 ;
32657 wxColour
*arg2
= 0 ;
32660 wxPen
*result
= 0 ;
32668 PyObject
* obj0
= 0 ;
32669 PyObject
* obj1
= 0 ;
32670 PyObject
* obj2
= 0 ;
32671 PyObject
* obj3
= 0 ;
32672 char * kwnames
[] = {
32673 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32681 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32684 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32687 if (!SWIG_IsOK(ecode3
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32690 arg3
= static_cast< int >(val3
);
32691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32692 if (!SWIG_IsOK(ecode4
)) {
32693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32695 arg4
= static_cast< int >(val4
);
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32709 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
= 0;
32711 wxPenList
*arg1
= (wxPenList
*) 0 ;
32712 wxPen
*arg2
= (wxPen
*) 0 ;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 char * kwnames
[] = {
32720 (char *) "self",(char *) "pen", NULL
32723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32728 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32730 if (!SWIG_IsOK(res2
)) {
32731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32733 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 (arg1
)->AddPen(arg2
);
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_Py_Void();
32747 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32748 PyObject
*resultobj
= 0;
32749 wxPenList
*arg1
= (wxPenList
*) 0 ;
32750 wxPen
*arg2
= (wxPen
*) 0 ;
32755 PyObject
* obj0
= 0 ;
32756 PyObject
* obj1
= 0 ;
32757 char * kwnames
[] = {
32758 (char *) "self",(char *) "pen", NULL
32761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32763 if (!SWIG_IsOK(res1
)) {
32764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32766 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32768 if (!SWIG_IsOK(res2
)) {
32769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32771 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 (arg1
)->RemovePen(arg2
);
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 resultobj
= SWIG_Py_Void();
32785 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32788 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32789 return SWIG_Py_Void();
32792 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32793 PyObject
*resultobj
= 0;
32794 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32795 wxColour
*arg2
= 0 ;
32796 int arg3
= (int) wxSOLID
;
32797 wxBrush
*result
= 0 ;
32803 PyObject
* obj0
= 0 ;
32804 PyObject
* obj1
= 0 ;
32805 PyObject
* obj2
= 0 ;
32806 char * kwnames
[] = {
32807 (char *) "self",(char *) "colour",(char *) "style", NULL
32810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32812 if (!SWIG_IsOK(res1
)) {
32813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32815 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32822 if (!SWIG_IsOK(ecode3
)) {
32823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32825 arg3
= static_cast< int >(val3
);
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32840 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
= 0;
32842 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32843 wxBrush
*arg2
= (wxBrush
*) 0 ;
32848 PyObject
* obj0
= 0 ;
32849 PyObject
* obj1
= 0 ;
32850 char * kwnames
[] = {
32851 (char *) "self",(char *) "brush", NULL
32854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32856 if (!SWIG_IsOK(res1
)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32859 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32861 if (!SWIG_IsOK(res2
)) {
32862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32864 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 (arg1
)->AddBrush(arg2
);
32868 wxPyEndAllowThreads(__tstate
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32871 resultobj
= SWIG_Py_Void();
32878 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32879 PyObject
*resultobj
= 0;
32880 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32881 wxBrush
*arg2
= (wxBrush
*) 0 ;
32886 PyObject
* obj0
= 0 ;
32887 PyObject
* obj1
= 0 ;
32888 char * kwnames
[] = {
32889 (char *) "self",(char *) "brush", NULL
32892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32894 if (!SWIG_IsOK(res1
)) {
32895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32897 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32899 if (!SWIG_IsOK(res2
)) {
32900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32902 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32905 (arg1
)->RemoveBrush(arg2
);
32906 wxPyEndAllowThreads(__tstate
);
32907 if (PyErr_Occurred()) SWIG_fail
;
32909 resultobj
= SWIG_Py_Void();
32916 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32919 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32920 return SWIG_Py_Void();
32923 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32924 PyObject
*resultobj
= 0;
32925 wxFontList
*arg1
= (wxFontList
*) 0 ;
32930 bool arg6
= (bool) false ;
32931 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32933 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32934 wxFont
*result
= 0 ;
32947 bool temp7
= false ;
32950 PyObject
* obj0
= 0 ;
32951 PyObject
* obj1
= 0 ;
32952 PyObject
* obj2
= 0 ;
32953 PyObject
* obj3
= 0 ;
32954 PyObject
* obj4
= 0 ;
32955 PyObject
* obj5
= 0 ;
32956 PyObject
* obj6
= 0 ;
32957 PyObject
* obj7
= 0 ;
32958 char * kwnames
[] = {
32959 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32964 if (!SWIG_IsOK(res1
)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32967 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32969 if (!SWIG_IsOK(ecode2
)) {
32970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32972 arg2
= static_cast< int >(val2
);
32973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32974 if (!SWIG_IsOK(ecode3
)) {
32975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32977 arg3
= static_cast< int >(val3
);
32978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32979 if (!SWIG_IsOK(ecode4
)) {
32980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32982 arg4
= static_cast< int >(val4
);
32983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32984 if (!SWIG_IsOK(ecode5
)) {
32985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32987 arg5
= static_cast< int >(val5
);
32989 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32990 if (!SWIG_IsOK(ecode6
)) {
32991 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32993 arg6
= static_cast< bool >(val6
);
32997 arg7
= wxString_in_helper(obj6
);
32998 if (arg7
== NULL
) SWIG_fail
;
33003 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33004 if (!SWIG_IsOK(ecode8
)) {
33005 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33007 arg8
= static_cast< wxFontEncoding
>(val8
);
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33030 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
= 0;
33032 wxFontList
*arg1
= (wxFontList
*) 0 ;
33033 wxFont
*arg2
= (wxFont
*) 0 ;
33038 PyObject
* obj0
= 0 ;
33039 PyObject
* obj1
= 0 ;
33040 char * kwnames
[] = {
33041 (char *) "self",(char *) "font", NULL
33044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33046 if (!SWIG_IsOK(res1
)) {
33047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33049 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33051 if (!SWIG_IsOK(res2
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33054 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 (arg1
)->AddFont(arg2
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= SWIG_Py_Void();
33068 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
= 0;
33070 wxFontList
*arg1
= (wxFontList
*) 0 ;
33071 wxFont
*arg2
= (wxFont
*) 0 ;
33076 PyObject
* obj0
= 0 ;
33077 PyObject
* obj1
= 0 ;
33078 char * kwnames
[] = {
33079 (char *) "self",(char *) "font", NULL
33082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33084 if (!SWIG_IsOK(res1
)) {
33085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33087 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33089 if (!SWIG_IsOK(res2
)) {
33090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33092 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 (arg1
)->RemoveFont(arg2
);
33096 wxPyEndAllowThreads(__tstate
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33099 resultobj
= SWIG_Py_Void();
33106 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33110 return SWIG_Py_Void();
33113 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33114 PyObject
*resultobj
= 0;
33115 wxColourDatabase
*result
= 0 ;
33117 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33119 if (!wxPyCheckForApp()) SWIG_fail
;
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33121 result
= (wxColourDatabase
*)new wxColourDatabase();
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33132 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33133 PyObject
*resultobj
= 0;
33134 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33137 PyObject
*swig_obj
[1] ;
33139 if (!args
) SWIG_fail
;
33140 swig_obj
[0] = args
;
33141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33142 if (!SWIG_IsOK(res1
)) {
33143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33145 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 wxPyEndAllowThreads(__tstate
);
33151 if (PyErr_Occurred()) SWIG_fail
;
33153 resultobj
= SWIG_Py_Void();
33160 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33161 PyObject
*resultobj
= 0;
33162 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33163 wxString
*arg2
= 0 ;
33167 bool temp2
= false ;
33168 PyObject
* obj0
= 0 ;
33169 PyObject
* obj1
= 0 ;
33170 char * kwnames
[] = {
33171 (char *) "self",(char *) "name", NULL
33174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33176 if (!SWIG_IsOK(res1
)) {
33177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33179 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33181 arg2
= wxString_in_helper(obj1
);
33182 if (arg2
== NULL
) SWIG_fail
;
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33206 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33207 PyObject
*resultobj
= 0;
33208 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33209 wxColour
*arg2
= 0 ;
33214 PyObject
* obj0
= 0 ;
33215 PyObject
* obj1
= 0 ;
33216 char * kwnames
[] = {
33217 (char *) "self",(char *) "colour", NULL
33220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33222 if (!SWIG_IsOK(res1
)) {
33223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33225 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33228 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33232 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33249 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33250 PyObject
*resultobj
= 0;
33251 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33252 wxString
*arg2
= 0 ;
33253 wxColour
*arg3
= 0 ;
33256 bool temp2
= false ;
33258 PyObject
* obj0
= 0 ;
33259 PyObject
* obj1
= 0 ;
33260 PyObject
* obj2
= 0 ;
33261 char * kwnames
[] = {
33262 (char *) "self",(char *) "name",(char *) "colour", NULL
33265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33267 if (!SWIG_IsOK(res1
)) {
33268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33270 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33272 arg2
= wxString_in_helper(obj1
);
33273 if (arg2
== NULL
) SWIG_fail
;
33278 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 resultobj
= SWIG_Py_Void();
33301 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33302 PyObject
*resultobj
= 0;
33303 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33304 wxString
*arg2
= 0 ;
33310 bool temp2
= false ;
33317 PyObject
* obj0
= 0 ;
33318 PyObject
* obj1
= 0 ;
33319 PyObject
* obj2
= 0 ;
33320 PyObject
* obj3
= 0 ;
33321 PyObject
* obj4
= 0 ;
33322 char * kwnames
[] = {
33323 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33328 if (!SWIG_IsOK(res1
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33331 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33333 arg2
= wxString_in_helper(obj1
);
33334 if (arg2
== NULL
) SWIG_fail
;
33337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33338 if (!SWIG_IsOK(ecode3
)) {
33339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33341 arg3
= static_cast< int >(val3
);
33342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33343 if (!SWIG_IsOK(ecode4
)) {
33344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33346 arg4
= static_cast< int >(val4
);
33347 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33348 if (!SWIG_IsOK(ecode5
)) {
33349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33351 arg5
= static_cast< int >(val5
);
33353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= SWIG_Py_Void();
33373 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33376 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33377 return SWIG_Py_Void();
33380 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33381 return SWIG_Python_InitShadowInstance(args
);
33384 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33385 PyObject
*resultobj
= 0;
33386 wxFontList
*result
= 0 ;
33388 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 result
= (wxFontList
*)_wxPyInitTheFontList();
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33402 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33403 PyObject
*resultobj
= 0;
33404 wxPenList
*result
= 0 ;
33406 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (wxPenList
*)_wxPyInitThePenList();
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33420 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33421 PyObject
*resultobj
= 0;
33422 wxBrushList
*result
= 0 ;
33424 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33438 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33439 PyObject
*resultobj
= 0;
33440 wxColourDatabase
*result
= 0 ;
33442 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33456 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33457 PyObject
*resultobj
= 0;
33458 wxEffects
*result
= 0 ;
33460 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 result
= (wxEffects
*)new wxEffects();
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33474 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33475 PyObject
*resultobj
= 0;
33476 wxEffects
*arg1
= (wxEffects
*) 0 ;
33480 PyObject
*swig_obj
[1] ;
33482 if (!args
) SWIG_fail
;
33483 swig_obj
[0] = args
;
33484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33485 if (!SWIG_IsOK(res1
)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33488 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33495 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33502 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33503 PyObject
*resultobj
= 0;
33504 wxEffects
*arg1
= (wxEffects
*) 0 ;
33508 PyObject
*swig_obj
[1] ;
33510 if (!args
) SWIG_fail
;
33511 swig_obj
[0] = args
;
33512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33513 if (!SWIG_IsOK(res1
)) {
33514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33516 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33519 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33520 wxPyEndAllowThreads(__tstate
);
33521 if (PyErr_Occurred()) SWIG_fail
;
33523 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33530 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33531 PyObject
*resultobj
= 0;
33532 wxEffects
*arg1
= (wxEffects
*) 0 ;
33536 PyObject
*swig_obj
[1] ;
33538 if (!args
) SWIG_fail
;
33539 swig_obj
[0] = args
;
33540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33541 if (!SWIG_IsOK(res1
)) {
33542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33544 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33548 wxPyEndAllowThreads(__tstate
);
33549 if (PyErr_Occurred()) SWIG_fail
;
33551 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33558 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33559 PyObject
*resultobj
= 0;
33560 wxEffects
*arg1
= (wxEffects
*) 0 ;
33564 PyObject
*swig_obj
[1] ;
33566 if (!args
) SWIG_fail
;
33567 swig_obj
[0] = args
;
33568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33569 if (!SWIG_IsOK(res1
)) {
33570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33572 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33576 wxPyEndAllowThreads(__tstate
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33579 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33586 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33587 PyObject
*resultobj
= 0;
33588 wxEffects
*arg1
= (wxEffects
*) 0 ;
33592 PyObject
*swig_obj
[1] ;
33594 if (!args
) SWIG_fail
;
33595 swig_obj
[0] = args
;
33596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33597 if (!SWIG_IsOK(res1
)) {
33598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33600 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33614 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33615 PyObject
*resultobj
= 0;
33616 wxEffects
*arg1
= (wxEffects
*) 0 ;
33617 wxColour
*arg2
= 0 ;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 char * kwnames
[] = {
33624 (char *) "self",(char *) "c", NULL
33627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33629 if (!SWIG_IsOK(res1
)) {
33630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33632 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33639 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33640 wxPyEndAllowThreads(__tstate
);
33641 if (PyErr_Occurred()) SWIG_fail
;
33643 resultobj
= SWIG_Py_Void();
33650 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33651 PyObject
*resultobj
= 0;
33652 wxEffects
*arg1
= (wxEffects
*) 0 ;
33653 wxColour
*arg2
= 0 ;
33657 PyObject
* obj0
= 0 ;
33658 PyObject
* obj1
= 0 ;
33659 char * kwnames
[] = {
33660 (char *) "self",(char *) "c", NULL
33663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33665 if (!SWIG_IsOK(res1
)) {
33666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33668 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33676 wxPyEndAllowThreads(__tstate
);
33677 if (PyErr_Occurred()) SWIG_fail
;
33679 resultobj
= SWIG_Py_Void();
33686 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33687 PyObject
*resultobj
= 0;
33688 wxEffects
*arg1
= (wxEffects
*) 0 ;
33689 wxColour
*arg2
= 0 ;
33693 PyObject
* obj0
= 0 ;
33694 PyObject
* obj1
= 0 ;
33695 char * kwnames
[] = {
33696 (char *) "self",(char *) "c", NULL
33699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33701 if (!SWIG_IsOK(res1
)) {
33702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33704 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33711 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= SWIG_Py_Void();
33722 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33723 PyObject
*resultobj
= 0;
33724 wxEffects
*arg1
= (wxEffects
*) 0 ;
33725 wxColour
*arg2
= 0 ;
33729 PyObject
* obj0
= 0 ;
33730 PyObject
* obj1
= 0 ;
33731 char * kwnames
[] = {
33732 (char *) "self",(char *) "c", NULL
33735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33737 if (!SWIG_IsOK(res1
)) {
33738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33740 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33743 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= SWIG_Py_Void();
33758 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33759 PyObject
*resultobj
= 0;
33760 wxEffects
*arg1
= (wxEffects
*) 0 ;
33761 wxColour
*arg2
= 0 ;
33765 PyObject
* obj0
= 0 ;
33766 PyObject
* obj1
= 0 ;
33767 char * kwnames
[] = {
33768 (char *) "self",(char *) "c", NULL
33771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33773 if (!SWIG_IsOK(res1
)) {
33774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33776 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33787 resultobj
= SWIG_Py_Void();
33794 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33795 PyObject
*resultobj
= 0;
33796 wxEffects
*arg1
= (wxEffects
*) 0 ;
33797 wxColour
*arg2
= 0 ;
33798 wxColour
*arg3
= 0 ;
33799 wxColour
*arg4
= 0 ;
33800 wxColour
*arg5
= 0 ;
33801 wxColour
*arg6
= 0 ;
33809 PyObject
* obj0
= 0 ;
33810 PyObject
* obj1
= 0 ;
33811 PyObject
* obj2
= 0 ;
33812 PyObject
* obj3
= 0 ;
33813 PyObject
* obj4
= 0 ;
33814 PyObject
* obj5
= 0 ;
33815 char * kwnames
[] = {
33816 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33821 if (!SWIG_IsOK(res1
)) {
33822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33824 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33827 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33831 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33835 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33839 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33843 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33847 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33851 resultobj
= SWIG_Py_Void();
33858 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33859 PyObject
*resultobj
= 0;
33860 wxEffects
*arg1
= (wxEffects
*) 0 ;
33863 int arg4
= (int) 1 ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 PyObject
* obj2
= 0 ;
33874 PyObject
* obj3
= 0 ;
33875 char * kwnames
[] = {
33876 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33881 if (!SWIG_IsOK(res1
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33884 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33886 if (!SWIG_IsOK(res2
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33892 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33895 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33899 if (!SWIG_IsOK(ecode4
)) {
33900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33902 arg4
= static_cast< int >(val4
);
33905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33906 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 resultobj
= SWIG_Py_Void();
33917 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33918 PyObject
*resultobj
= 0;
33919 wxEffects
*arg1
= (wxEffects
*) 0 ;
33922 wxBitmap
*arg4
= 0 ;
33931 PyObject
* obj0
= 0 ;
33932 PyObject
* obj1
= 0 ;
33933 PyObject
* obj2
= 0 ;
33934 PyObject
* obj3
= 0 ;
33935 char * kwnames
[] = {
33936 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33941 if (!SWIG_IsOK(res1
)) {
33942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33944 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33949 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33950 if (!SWIG_IsOK(res3
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33956 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33957 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33958 if (!SWIG_IsOK(res4
)) {
33959 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33964 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33980 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33983 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33984 return SWIG_Py_Void();
33987 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33988 return SWIG_Python_InitShadowInstance(args
);
33991 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
= 0;
33996 wxSplitterRenderParams
*result
= 0 ;
34003 PyObject
* obj0
= 0 ;
34004 PyObject
* obj1
= 0 ;
34005 PyObject
* obj2
= 0 ;
34006 char * kwnames
[] = {
34007 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34012 if (!SWIG_IsOK(ecode1
)) {
34013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34015 arg1
= static_cast< int >(val1
);
34016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34017 if (!SWIG_IsOK(ecode2
)) {
34018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34020 arg2
= static_cast< int >(val2
);
34021 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34022 if (!SWIG_IsOK(ecode3
)) {
34023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34025 arg3
= static_cast< bool >(val3
);
34027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34028 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34029 wxPyEndAllowThreads(__tstate
);
34030 if (PyErr_Occurred()) SWIG_fail
;
34032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34039 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34040 PyObject
*resultobj
= 0;
34041 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34044 PyObject
*swig_obj
[1] ;
34046 if (!args
) SWIG_fail
;
34047 swig_obj
[0] = args
;
34048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34049 if (!SWIG_IsOK(res1
)) {
34050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34052 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 wxPyEndAllowThreads(__tstate
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34060 resultobj
= SWIG_Py_Void();
34067 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34068 PyObject
*resultobj
= 0;
34069 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34073 PyObject
*swig_obj
[1] ;
34075 if (!args
) SWIG_fail
;
34076 swig_obj
[0] = args
;
34077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34078 if (!SWIG_IsOK(res1
)) {
34079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34081 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34082 result
= (int)(int) ((arg1
)->widthSash
);
34083 resultobj
= SWIG_From_int(static_cast< int >(result
));
34090 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34091 PyObject
*resultobj
= 0;
34092 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34096 PyObject
*swig_obj
[1] ;
34098 if (!args
) SWIG_fail
;
34099 swig_obj
[0] = args
;
34100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34101 if (!SWIG_IsOK(res1
)) {
34102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34104 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34105 result
= (int)(int) ((arg1
)->border
);
34106 resultobj
= SWIG_From_int(static_cast< int >(result
));
34113 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34114 PyObject
*resultobj
= 0;
34115 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34119 PyObject
*swig_obj
[1] ;
34121 if (!args
) SWIG_fail
;
34122 swig_obj
[0] = args
;
34123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34124 if (!SWIG_IsOK(res1
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34127 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34128 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34129 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34136 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34139 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34140 return SWIG_Py_Void();
34143 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34144 return SWIG_Python_InitShadowInstance(args
);
34147 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34148 PyObject
*resultobj
= 0;
34149 wxHeaderButtonParams
*result
= 0 ;
34151 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34165 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34166 PyObject
*resultobj
= 0;
34167 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34170 PyObject
*swig_obj
[1] ;
34172 if (!args
) SWIG_fail
;
34173 swig_obj
[0] = args
;
34174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34175 if (!SWIG_IsOK(res1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34178 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34183 wxPyEndAllowThreads(__tstate
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34186 resultobj
= SWIG_Py_Void();
34193 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34194 PyObject
*resultobj
= 0;
34195 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34196 wxColour
*arg2
= (wxColour
*) 0 ;
34200 PyObject
*swig_obj
[2] ;
34202 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34204 if (!SWIG_IsOK(res1
)) {
34205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34207 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34210 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34212 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34214 resultobj
= SWIG_Py_Void();
34221 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34222 PyObject
*resultobj
= 0;
34223 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34224 wxColour
*result
= 0 ;
34227 PyObject
*swig_obj
[1] ;
34229 if (!args
) SWIG_fail
;
34230 swig_obj
[0] = args
;
34231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34232 if (!SWIG_IsOK(res1
)) {
34233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34235 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34236 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34244 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34245 PyObject
*resultobj
= 0;
34246 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34247 wxColour
*arg2
= (wxColour
*) 0 ;
34251 PyObject
*swig_obj
[2] ;
34253 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34255 if (!SWIG_IsOK(res1
)) {
34256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34258 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34261 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34263 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34265 resultobj
= SWIG_Py_Void();
34272 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34273 PyObject
*resultobj
= 0;
34274 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34275 wxColour
*result
= 0 ;
34278 PyObject
*swig_obj
[1] ;
34280 if (!args
) SWIG_fail
;
34281 swig_obj
[0] = args
;
34282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34283 if (!SWIG_IsOK(res1
)) {
34284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34286 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34287 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34295 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34296 PyObject
*resultobj
= 0;
34297 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34298 wxString
*arg2
= (wxString
*) 0 ;
34301 bool temp2
= false ;
34302 PyObject
*swig_obj
[2] ;
34304 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34306 if (!SWIG_IsOK(res1
)) {
34307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34309 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34311 arg2
= wxString_in_helper(swig_obj
[1]);
34312 if (arg2
== NULL
) SWIG_fail
;
34315 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34317 resultobj
= SWIG_Py_Void();
34332 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34333 PyObject
*resultobj
= 0;
34334 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34335 wxString
*result
= 0 ;
34338 PyObject
*swig_obj
[1] ;
34340 if (!args
) SWIG_fail
;
34341 swig_obj
[0] = args
;
34342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34343 if (!SWIG_IsOK(res1
)) {
34344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34346 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34347 result
= (wxString
*)& ((arg1
)->m_labelText
);
34350 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34352 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34361 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34362 PyObject
*resultobj
= 0;
34363 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34364 wxFont
*arg2
= (wxFont
*) 0 ;
34369 PyObject
*swig_obj
[2] ;
34371 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34373 if (!SWIG_IsOK(res1
)) {
34374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34376 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34377 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34378 if (!SWIG_IsOK(res2
)) {
34379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34381 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34382 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34384 resultobj
= SWIG_Py_Void();
34391 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34392 PyObject
*resultobj
= 0;
34393 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34394 wxFont
*result
= 0 ;
34397 PyObject
*swig_obj
[1] ;
34399 if (!args
) SWIG_fail
;
34400 swig_obj
[0] = args
;
34401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34402 if (!SWIG_IsOK(res1
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34405 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34406 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34414 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34415 PyObject
*resultobj
= 0;
34416 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34417 wxColour
*arg2
= (wxColour
*) 0 ;
34421 PyObject
*swig_obj
[2] ;
34423 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34425 if (!SWIG_IsOK(res1
)) {
34426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34428 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34431 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34433 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34435 resultobj
= SWIG_Py_Void();
34442 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34443 PyObject
*resultobj
= 0;
34444 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34445 wxColour
*result
= 0 ;
34448 PyObject
*swig_obj
[1] ;
34450 if (!args
) SWIG_fail
;
34451 swig_obj
[0] = args
;
34452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34453 if (!SWIG_IsOK(res1
)) {
34454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34456 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34457 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34465 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34466 PyObject
*resultobj
= 0;
34467 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34468 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34473 PyObject
*swig_obj
[2] ;
34475 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34477 if (!SWIG_IsOK(res1
)) {
34478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34480 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34481 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34482 if (!SWIG_IsOK(res2
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34485 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34486 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34488 resultobj
= SWIG_Py_Void();
34495 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34496 PyObject
*resultobj
= 0;
34497 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34498 wxBitmap
*result
= 0 ;
34501 PyObject
*swig_obj
[1] ;
34503 if (!args
) SWIG_fail
;
34504 swig_obj
[0] = args
;
34505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34509 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34510 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34518 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34519 PyObject
*resultobj
= 0;
34520 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34526 PyObject
*swig_obj
[2] ;
34528 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34530 if (!SWIG_IsOK(res1
)) {
34531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34533 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34534 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34535 if (!SWIG_IsOK(ecode2
)) {
34536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34538 arg2
= static_cast< int >(val2
);
34539 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34541 resultobj
= SWIG_Py_Void();
34548 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34549 PyObject
*resultobj
= 0;
34550 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34554 PyObject
*swig_obj
[1] ;
34556 if (!args
) SWIG_fail
;
34557 swig_obj
[0] = args
;
34558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34559 if (!SWIG_IsOK(res1
)) {
34560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34562 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34563 result
= (int) ((arg1
)->m_labelAlignment
);
34564 resultobj
= SWIG_From_int(static_cast< int >(result
));
34571 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34574 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34575 return SWIG_Py_Void();
34578 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34579 return SWIG_Python_InitShadowInstance(args
);
34582 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
= 0;
34586 wxRendererVersion
*result
= 0 ;
34591 PyObject
* obj0
= 0 ;
34592 PyObject
* obj1
= 0 ;
34593 char * kwnames
[] = {
34594 (char *) "version_",(char *) "age_", NULL
34597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34598 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34599 if (!SWIG_IsOK(ecode1
)) {
34600 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34602 arg1
= static_cast< int >(val1
);
34603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34604 if (!SWIG_IsOK(ecode2
)) {
34605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34607 arg2
= static_cast< int >(val2
);
34609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34610 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34611 wxPyEndAllowThreads(__tstate
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34621 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34622 PyObject
*resultobj
= 0;
34623 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34626 PyObject
*swig_obj
[1] ;
34628 if (!args
) SWIG_fail
;
34629 swig_obj
[0] = args
;
34630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34631 if (!SWIG_IsOK(res1
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34634 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 resultobj
= SWIG_Py_Void();
34649 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
= 0;
34651 wxRendererVersion
*arg1
= 0 ;
34655 PyObject
* obj0
= 0 ;
34656 char * kwnames
[] = {
34657 (char *) "ver", NULL
34660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34661 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34662 if (!SWIG_IsOK(res1
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34668 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34671 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34684 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34685 PyObject
*resultobj
= 0;
34686 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34690 PyObject
*swig_obj
[1] ;
34692 if (!args
) SWIG_fail
;
34693 swig_obj
[0] = args
;
34694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34695 if (!SWIG_IsOK(res1
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34698 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34699 result
= (int)(int) ((arg1
)->version
);
34700 resultobj
= SWIG_From_int(static_cast< int >(result
));
34707 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34708 PyObject
*resultobj
= 0;
34709 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34713 PyObject
*swig_obj
[1] ;
34715 if (!args
) SWIG_fail
;
34716 swig_obj
[0] = args
;
34717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34718 if (!SWIG_IsOK(res1
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34721 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34722 result
= (int)(int) ((arg1
)->age
);
34723 resultobj
= SWIG_From_int(static_cast< int >(result
));
34730 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34733 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34734 return SWIG_Py_Void();
34737 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34738 return SWIG_Python_InitShadowInstance(args
);
34741 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
= 0;
34743 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34744 wxWindow
*arg2
= (wxWindow
*) 0 ;
34747 int arg5
= (int) 0 ;
34748 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34749 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 PyObject
* obj2
= 0 ;
34766 PyObject
* obj3
= 0 ;
34767 PyObject
* obj4
= 0 ;
34768 PyObject
* obj5
= 0 ;
34769 PyObject
* obj6
= 0 ;
34770 char * kwnames
[] = {
34771 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34776 if (!SWIG_IsOK(res1
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34779 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34781 if (!SWIG_IsOK(res2
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34784 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34785 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34786 if (!SWIG_IsOK(res3
)) {
34787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34792 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34795 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34799 if (!SWIG_IsOK(ecode5
)) {
34800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34802 arg5
= static_cast< int >(val5
);
34805 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34806 if (!SWIG_IsOK(ecode6
)) {
34807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34809 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34812 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34813 if (!SWIG_IsOK(res7
)) {
34814 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34816 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34821 wxPyEndAllowThreads(__tstate
);
34822 if (PyErr_Occurred()) SWIG_fail
;
34824 resultobj
= SWIG_Py_Void();
34831 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34832 PyObject
*resultobj
= 0;
34833 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34834 wxWindow
*arg2
= (wxWindow
*) 0 ;
34837 int arg5
= (int) 0 ;
34838 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34839 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34853 PyObject
* obj0
= 0 ;
34854 PyObject
* obj1
= 0 ;
34855 PyObject
* obj2
= 0 ;
34856 PyObject
* obj3
= 0 ;
34857 PyObject
* obj4
= 0 ;
34858 PyObject
* obj5
= 0 ;
34859 PyObject
* obj6
= 0 ;
34860 char * kwnames
[] = {
34861 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34866 if (!SWIG_IsOK(res1
)) {
34867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34869 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34871 if (!SWIG_IsOK(res2
)) {
34872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34875 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34876 if (!SWIG_IsOK(res3
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34882 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34885 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34888 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34889 if (!SWIG_IsOK(ecode5
)) {
34890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34892 arg5
= static_cast< int >(val5
);
34895 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34896 if (!SWIG_IsOK(ecode6
)) {
34897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34899 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34902 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34903 if (!SWIG_IsOK(res7
)) {
34904 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34906 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_Py_Void();
34921 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34924 wxWindow
*arg2
= (wxWindow
*) 0 ;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 char * kwnames
[] = {
34933 (char *) "self",(char *) "win", NULL
34936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34938 if (!SWIG_IsOK(res1
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34941 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34943 if (!SWIG_IsOK(res2
)) {
34944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= SWIG_From_int(static_cast< int >(result
));
34960 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34961 PyObject
*resultobj
= 0;
34962 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34963 wxWindow
*arg2
= (wxWindow
*) 0 ;
34966 int arg5
= (int) 0 ;
34976 PyObject
* obj0
= 0 ;
34977 PyObject
* obj1
= 0 ;
34978 PyObject
* obj2
= 0 ;
34979 PyObject
* obj3
= 0 ;
34980 PyObject
* obj4
= 0 ;
34981 char * kwnames
[] = {
34982 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34987 if (!SWIG_IsOK(res1
)) {
34988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34990 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34992 if (!SWIG_IsOK(res2
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34995 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34996 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34997 if (!SWIG_IsOK(res3
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35003 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35006 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35009 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35010 if (!SWIG_IsOK(ecode5
)) {
35011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35013 arg5
= static_cast< int >(val5
);
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35018 wxPyEndAllowThreads(__tstate
);
35019 if (PyErr_Occurred()) SWIG_fail
;
35021 resultobj
= SWIG_Py_Void();
35028 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35031 wxWindow
*arg2
= (wxWindow
*) 0 ;
35034 int arg5
= (int) 0 ;
35044 PyObject
* obj0
= 0 ;
35045 PyObject
* obj1
= 0 ;
35046 PyObject
* obj2
= 0 ;
35047 PyObject
* obj3
= 0 ;
35048 PyObject
* obj4
= 0 ;
35049 char * kwnames
[] = {
35050 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35058 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35060 if (!SWIG_IsOK(res2
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35063 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35064 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35065 if (!SWIG_IsOK(res3
)) {
35066 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35071 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35074 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35077 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35078 if (!SWIG_IsOK(ecode5
)) {
35079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35081 arg5
= static_cast< int >(val5
);
35084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35085 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35089 resultobj
= SWIG_Py_Void();
35096 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35097 PyObject
*resultobj
= 0;
35098 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35099 wxWindow
*arg2
= (wxWindow
*) 0 ;
35103 wxOrientation arg6
;
35104 int arg7
= (int) 0 ;
35118 PyObject
* obj0
= 0 ;
35119 PyObject
* obj1
= 0 ;
35120 PyObject
* obj2
= 0 ;
35121 PyObject
* obj3
= 0 ;
35122 PyObject
* obj4
= 0 ;
35123 PyObject
* obj5
= 0 ;
35124 PyObject
* obj6
= 0 ;
35125 char * kwnames
[] = {
35126 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35131 if (!SWIG_IsOK(res1
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35134 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35136 if (!SWIG_IsOK(res2
)) {
35137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35140 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35141 if (!SWIG_IsOK(res3
)) {
35142 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35147 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35152 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35153 if (!SWIG_IsOK(ecode5
)) {
35154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35156 arg5
= static_cast< int >(val5
);
35157 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35158 if (!SWIG_IsOK(ecode6
)) {
35159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35161 arg6
= static_cast< wxOrientation
>(val6
);
35163 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35164 if (!SWIG_IsOK(ecode7
)) {
35165 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35167 arg7
= static_cast< int >(val7
);
35170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35171 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35172 wxPyEndAllowThreads(__tstate
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35175 resultobj
= SWIG_Py_Void();
35182 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35183 PyObject
*resultobj
= 0;
35184 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35185 wxWindow
*arg2
= (wxWindow
*) 0 ;
35188 int arg5
= (int) 0 ;
35198 PyObject
* obj0
= 0 ;
35199 PyObject
* obj1
= 0 ;
35200 PyObject
* obj2
= 0 ;
35201 PyObject
* obj3
= 0 ;
35202 PyObject
* obj4
= 0 ;
35203 char * kwnames
[] = {
35204 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35209 if (!SWIG_IsOK(res1
)) {
35210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35212 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35214 if (!SWIG_IsOK(res2
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35217 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35218 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35219 if (!SWIG_IsOK(res3
)) {
35220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35225 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35228 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35232 if (!SWIG_IsOK(ecode5
)) {
35233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35235 arg5
= static_cast< int >(val5
);
35238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= SWIG_Py_Void();
35250 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35251 PyObject
*resultobj
= 0;
35252 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35253 wxWindow
*arg2
= (wxWindow
*) 0 ;
35256 int arg5
= (int) 0 ;
35266 PyObject
* obj0
= 0 ;
35267 PyObject
* obj1
= 0 ;
35268 PyObject
* obj2
= 0 ;
35269 PyObject
* obj3
= 0 ;
35270 PyObject
* obj4
= 0 ;
35271 char * kwnames
[] = {
35272 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35280 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35282 if (!SWIG_IsOK(res2
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35286 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35287 if (!SWIG_IsOK(res3
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35293 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35296 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35300 if (!SWIG_IsOK(ecode5
)) {
35301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35303 arg5
= static_cast< int >(val5
);
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35311 resultobj
= SWIG_Py_Void();
35318 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35319 PyObject
*resultobj
= 0;
35320 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35321 wxWindow
*arg2
= (wxWindow
*) 0 ;
35324 int arg5
= (int) 0 ;
35334 PyObject
* obj0
= 0 ;
35335 PyObject
* obj1
= 0 ;
35336 PyObject
* obj2
= 0 ;
35337 PyObject
* obj3
= 0 ;
35338 PyObject
* obj4
= 0 ;
35339 char * kwnames
[] = {
35340 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35345 if (!SWIG_IsOK(res1
)) {
35346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35348 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35350 if (!SWIG_IsOK(res2
)) {
35351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35353 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35354 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35355 if (!SWIG_IsOK(res3
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35361 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35364 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35367 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35368 if (!SWIG_IsOK(ecode5
)) {
35369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35371 arg5
= static_cast< int >(val5
);
35374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35375 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35379 resultobj
= SWIG_Py_Void();
35386 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35387 PyObject
*resultobj
= 0;
35388 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35389 wxWindow
*arg2
= (wxWindow
*) 0 ;
35392 int arg5
= (int) 0 ;
35402 PyObject
* obj0
= 0 ;
35403 PyObject
* obj1
= 0 ;
35404 PyObject
* obj2
= 0 ;
35405 PyObject
* obj3
= 0 ;
35406 PyObject
* obj4
= 0 ;
35407 char * kwnames
[] = {
35408 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35413 if (!SWIG_IsOK(res1
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35416 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35418 if (!SWIG_IsOK(res2
)) {
35419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35422 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35423 if (!SWIG_IsOK(res3
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35429 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35432 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35435 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35436 if (!SWIG_IsOK(ecode5
)) {
35437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35439 arg5
= static_cast< int >(val5
);
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35444 wxPyEndAllowThreads(__tstate
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35447 resultobj
= SWIG_Py_Void();
35454 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35455 PyObject
*resultobj
= 0;
35456 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35457 wxWindow
*arg2
= (wxWindow
*) 0 ;
35460 int arg5
= (int) 0 ;
35470 PyObject
* obj0
= 0 ;
35471 PyObject
* obj1
= 0 ;
35472 PyObject
* obj2
= 0 ;
35473 PyObject
* obj3
= 0 ;
35474 PyObject
* obj4
= 0 ;
35475 char * kwnames
[] = {
35476 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35481 if (!SWIG_IsOK(res1
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35484 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35486 if (!SWIG_IsOK(res2
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35489 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35490 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35491 if (!SWIG_IsOK(res3
)) {
35492 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35497 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35500 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35503 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35504 if (!SWIG_IsOK(ecode5
)) {
35505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35507 arg5
= static_cast< int >(val5
);
35510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35511 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35512 wxPyEndAllowThreads(__tstate
);
35513 if (PyErr_Occurred()) SWIG_fail
;
35515 resultobj
= SWIG_Py_Void();
35522 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35523 PyObject
*resultobj
= 0;
35524 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35525 wxWindow
*arg2
= (wxWindow
*) 0 ;
35526 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 char * kwnames
[] = {
35534 (char *) "self",(char *) "win", NULL
35537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35539 if (!SWIG_IsOK(res1
)) {
35540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35542 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35544 if (!SWIG_IsOK(res2
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35547 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35561 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35562 PyObject
*resultobj
= 0;
35563 wxRendererNative
*result
= 0 ;
35565 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35567 if (!wxPyCheckForApp()) SWIG_fail
;
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35570 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35571 result
= (wxRendererNative
*) &_result_ref
;
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35583 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35584 PyObject
*resultobj
= 0;
35585 wxRendererNative
*result
= 0 ;
35587 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35589 if (!wxPyCheckForApp()) SWIG_fail
;
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35593 result
= (wxRendererNative
*) &_result_ref
;
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35605 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35606 PyObject
*resultobj
= 0;
35607 wxRendererNative
*result
= 0 ;
35609 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35611 if (!wxPyCheckForApp()) SWIG_fail
;
35612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35614 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35615 result
= (wxRendererNative
*) &_result_ref
;
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35627 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
= 0;
35629 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35630 wxRendererNative
*result
= 0 ;
35633 PyObject
* obj0
= 0 ;
35634 char * kwnames
[] = {
35635 (char *) "renderer", NULL
35638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35640 if (!SWIG_IsOK(res1
)) {
35641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35643 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35645 if (!wxPyCheckForApp()) SWIG_fail
;
35646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35647 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35648 wxPyEndAllowThreads(__tstate
);
35649 if (PyErr_Occurred()) SWIG_fail
;
35651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35658 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35659 PyObject
*resultobj
= 0;
35660 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35661 SwigValueWrapper
<wxRendererVersion
> result
;
35664 PyObject
*swig_obj
[1] ;
35666 if (!args
) SWIG_fail
;
35667 swig_obj
[0] = args
;
35668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35669 if (!SWIG_IsOK(res1
)) {
35670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35672 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35675 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35679 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35686 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35689 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35690 return SWIG_Py_Void();
35693 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35694 PyObject
*resultobj
= 0;
35695 wxPseudoDC
*result
= 0 ;
35697 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 result
= (wxPseudoDC
*)new wxPseudoDC();
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35711 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35712 PyObject
*resultobj
= 0;
35713 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35716 PyObject
*swig_obj
[1] ;
35718 if (!args
) SWIG_fail
;
35719 swig_obj
[0] = args
;
35720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35721 if (!SWIG_IsOK(res1
)) {
35722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35724 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35727 (arg1
)->BeginDrawing();
35728 wxPyEndAllowThreads(__tstate
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 resultobj
= SWIG_Py_Void();
35738 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35739 PyObject
*resultobj
= 0;
35740 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35743 PyObject
*swig_obj
[1] ;
35745 if (!args
) SWIG_fail
;
35746 swig_obj
[0] = args
;
35747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35748 if (!SWIG_IsOK(res1
)) {
35749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35751 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35754 (arg1
)->EndDrawing();
35755 wxPyEndAllowThreads(__tstate
);
35756 if (PyErr_Occurred()) SWIG_fail
;
35758 resultobj
= SWIG_Py_Void();
35765 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35766 PyObject
*resultobj
= 0;
35767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35770 PyObject
*swig_obj
[1] ;
35772 if (!args
) SWIG_fail
;
35773 swig_obj
[0] = args
;
35774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35775 if (!SWIG_IsOK(res1
)) {
35776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35778 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 resultobj
= SWIG_Py_Void();
35793 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35794 PyObject
*resultobj
= 0;
35795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35798 PyObject
*swig_obj
[1] ;
35800 if (!args
) SWIG_fail
;
35801 swig_obj
[0] = args
;
35802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35803 if (!SWIG_IsOK(res1
)) {
35804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35806 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35809 (arg1
)->RemoveAll();
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 resultobj
= SWIG_Py_Void();
35820 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35821 PyObject
*resultobj
= 0;
35822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35826 PyObject
*swig_obj
[1] ;
35828 if (!args
) SWIG_fail
;
35829 swig_obj
[0] = args
;
35830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35831 if (!SWIG_IsOK(res1
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 result
= (int)(arg1
)->GetLen();
35838 wxPyEndAllowThreads(__tstate
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35841 resultobj
= SWIG_From_int(static_cast< int >(result
));
35848 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35849 PyObject
*resultobj
= 0;
35850 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35856 PyObject
* obj0
= 0 ;
35857 PyObject
* obj1
= 0 ;
35858 char * kwnames
[] = {
35859 (char *) "self",(char *) "id", NULL
35862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35864 if (!SWIG_IsOK(res1
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35867 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35869 if (!SWIG_IsOK(ecode2
)) {
35870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35872 arg2
= static_cast< int >(val2
);
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 (arg1
)->SetId(arg2
);
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35879 resultobj
= SWIG_Py_Void();
35886 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35887 PyObject
*resultobj
= 0;
35888 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35894 PyObject
* obj0
= 0 ;
35895 PyObject
* obj1
= 0 ;
35896 char * kwnames
[] = {
35897 (char *) "self",(char *) "id", NULL
35900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35902 if (!SWIG_IsOK(res1
)) {
35903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35905 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35907 if (!SWIG_IsOK(ecode2
)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35910 arg2
= static_cast< int >(val2
);
35912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35913 (arg1
)->ClearId(arg2
);
35914 wxPyEndAllowThreads(__tstate
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35917 resultobj
= SWIG_Py_Void();
35924 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35925 PyObject
*resultobj
= 0;
35926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35932 PyObject
* obj0
= 0 ;
35933 PyObject
* obj1
= 0 ;
35934 char * kwnames
[] = {
35935 (char *) "self",(char *) "id", NULL
35938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35940 if (!SWIG_IsOK(res1
)) {
35941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35945 if (!SWIG_IsOK(ecode2
)) {
35946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35948 arg2
= static_cast< int >(val2
);
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35951 (arg1
)->RemoveId(arg2
);
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= SWIG_Py_Void();
35962 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
= 0;
35964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35976 PyObject
* obj0
= 0 ;
35977 PyObject
* obj1
= 0 ;
35978 PyObject
* obj2
= 0 ;
35979 PyObject
* obj3
= 0 ;
35980 char * kwnames
[] = {
35981 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35986 if (!SWIG_IsOK(res1
)) {
35987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35989 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35991 if (!SWIG_IsOK(ecode2
)) {
35992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35994 arg2
= static_cast< int >(val2
);
35995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35996 if (!SWIG_IsOK(ecode3
)) {
35997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35999 arg3
= static_cast< int >(val3
);
36000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36001 if (!SWIG_IsOK(ecode4
)) {
36002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36004 arg4
= static_cast< int >(val4
);
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36008 wxPyEndAllowThreads(__tstate
);
36009 if (PyErr_Occurred()) SWIG_fail
;
36011 resultobj
= SWIG_Py_Void();
36018 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36019 PyObject
*resultobj
= 0;
36020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36022 bool arg3
= (bool) true ;
36029 PyObject
* obj0
= 0 ;
36030 PyObject
* obj1
= 0 ;
36031 PyObject
* obj2
= 0 ;
36032 char * kwnames
[] = {
36033 (char *) "self",(char *) "id",(char *) "greyout", NULL
36036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36038 if (!SWIG_IsOK(res1
)) {
36039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36041 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36043 if (!SWIG_IsOK(ecode2
)) {
36044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36046 arg2
= static_cast< int >(val2
);
36048 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36049 if (!SWIG_IsOK(ecode3
)) {
36050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36052 arg3
= static_cast< bool >(val3
);
36055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36057 wxPyEndAllowThreads(__tstate
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36060 resultobj
= SWIG_Py_Void();
36067 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36068 PyObject
*resultobj
= 0;
36069 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36076 PyObject
* obj0
= 0 ;
36077 PyObject
* obj1
= 0 ;
36078 char * kwnames
[] = {
36079 (char *) "self",(char *) "id", NULL
36082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36084 if (!SWIG_IsOK(res1
)) {
36085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36087 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36089 if (!SWIG_IsOK(ecode2
)) {
36090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36092 arg2
= static_cast< int >(val2
);
36094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36095 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36096 wxPyEndAllowThreads(__tstate
);
36097 if (PyErr_Occurred()) SWIG_fail
;
36100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36108 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36109 PyObject
*resultobj
= 0;
36110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36113 int arg4
= (int) 1 ;
36114 wxColor
const &arg5_defvalue
= *wxWHITE
;
36115 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36116 PyObject
*result
= 0 ;
36127 PyObject
* obj0
= 0 ;
36128 PyObject
* obj1
= 0 ;
36129 PyObject
* obj2
= 0 ;
36130 PyObject
* obj3
= 0 ;
36131 PyObject
* obj4
= 0 ;
36132 char * kwnames
[] = {
36133 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36138 if (!SWIG_IsOK(res1
)) {
36139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36143 if (!SWIG_IsOK(ecode2
)) {
36144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36146 arg2
= static_cast< int >(val2
);
36147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36148 if (!SWIG_IsOK(ecode3
)) {
36149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36151 arg3
= static_cast< int >(val3
);
36153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36154 if (!SWIG_IsOK(ecode4
)) {
36155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36157 arg4
= static_cast< int >(val4
);
36160 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36161 if (!SWIG_IsOK(res5
)) {
36162 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36167 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36170 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= result
;
36180 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36181 PyObject
*resultobj
= 0;
36182 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36185 PyObject
*result
= 0 ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 PyObject
* obj2
= 0 ;
36195 char * kwnames
[] = {
36196 (char *) "self",(char *) "x",(char *) "y", NULL
36199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36201 if (!SWIG_IsOK(res1
)) {
36202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36206 if (!SWIG_IsOK(ecode2
)) {
36207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36209 arg2
= static_cast< int >(val2
);
36210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36211 if (!SWIG_IsOK(ecode3
)) {
36212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36214 arg3
= static_cast< int >(val3
);
36216 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36219 resultobj
= result
;
36226 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36227 PyObject
*resultobj
= 0;
36228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36230 wxDC
*arg3
= (wxDC
*) 0 ;
36237 PyObject
* obj0
= 0 ;
36238 PyObject
* obj1
= 0 ;
36239 PyObject
* obj2
= 0 ;
36240 char * kwnames
[] = {
36241 (char *) "self",(char *) "id",(char *) "dc", NULL
36244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36246 if (!SWIG_IsOK(res1
)) {
36247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36251 if (!SWIG_IsOK(ecode2
)) {
36252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36254 arg2
= static_cast< int >(val2
);
36255 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36256 if (!SWIG_IsOK(res3
)) {
36257 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36259 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36262 (arg1
)->DrawIdToDC(arg2
,arg3
);
36263 wxPyEndAllowThreads(__tstate
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36266 resultobj
= SWIG_Py_Void();
36273 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36274 PyObject
*resultobj
= 0;
36275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 PyObject
* obj2
= 0 ;
36286 char * kwnames
[] = {
36287 (char *) "self",(char *) "id",(char *) "rect", NULL
36290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36292 if (!SWIG_IsOK(res1
)) {
36293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36297 if (!SWIG_IsOK(ecode2
)) {
36298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36300 arg2
= static_cast< int >(val2
);
36303 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36307 (arg1
)->SetIdBounds(arg2
,*arg3
);
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36311 resultobj
= SWIG_Py_Void();
36318 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36319 PyObject
*resultobj
= 0;
36320 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36327 PyObject
* obj0
= 0 ;
36328 PyObject
* obj1
= 0 ;
36329 char * kwnames
[] = {
36330 (char *) "self",(char *) "id", NULL
36333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36335 if (!SWIG_IsOK(res1
)) {
36336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36338 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36340 if (!SWIG_IsOK(ecode2
)) {
36341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36343 arg2
= static_cast< int >(val2
);
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36350 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36357 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
= 0;
36359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36360 wxDC
*arg2
= (wxDC
*) 0 ;
36367 PyObject
* obj0
= 0 ;
36368 PyObject
* obj1
= 0 ;
36369 PyObject
* obj2
= 0 ;
36370 char * kwnames
[] = {
36371 (char *) "self",(char *) "dc",(char *) "rect", NULL
36374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36376 if (!SWIG_IsOK(res1
)) {
36377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36381 if (!SWIG_IsOK(res2
)) {
36382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36384 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36387 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36391 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36392 wxPyEndAllowThreads(__tstate
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= SWIG_Py_Void();
36402 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
= 0;
36404 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36405 wxDC
*arg2
= (wxDC
*) 0 ;
36406 wxRegion
*arg3
= 0 ;
36413 PyObject
* obj0
= 0 ;
36414 PyObject
* obj1
= 0 ;
36415 PyObject
* obj2
= 0 ;
36416 char * kwnames
[] = {
36417 (char *) "self",(char *) "dc",(char *) "region", NULL
36420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36422 if (!SWIG_IsOK(res1
)) {
36423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36425 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36427 if (!SWIG_IsOK(res2
)) {
36428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36430 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36431 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36432 if (!SWIG_IsOK(res3
)) {
36433 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36438 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36441 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36442 wxPyEndAllowThreads(__tstate
);
36443 if (PyErr_Occurred()) SWIG_fail
;
36445 resultobj
= SWIG_Py_Void();
36452 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
= 0;
36454 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36455 wxDC
*arg2
= (wxDC
*) 0 ;
36460 PyObject
* obj0
= 0 ;
36461 PyObject
* obj1
= 0 ;
36462 char * kwnames
[] = {
36463 (char *) "self",(char *) "dc", NULL
36466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36468 if (!SWIG_IsOK(res1
)) {
36469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36471 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36473 if (!SWIG_IsOK(res2
)) {
36474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36476 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 (arg1
)->DrawToDC(arg2
);
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36483 resultobj
= SWIG_Py_Void();
36490 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36491 PyObject
*resultobj
= 0;
36492 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36495 wxColour
*arg4
= 0 ;
36496 int arg5
= (int) wxFLOOD_SURFACE
;
36506 PyObject
* obj0
= 0 ;
36507 PyObject
* obj1
= 0 ;
36508 PyObject
* obj2
= 0 ;
36509 PyObject
* obj3
= 0 ;
36510 PyObject
* obj4
= 0 ;
36511 char * kwnames
[] = {
36512 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36517 if (!SWIG_IsOK(res1
)) {
36518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36520 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36522 if (!SWIG_IsOK(ecode2
)) {
36523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36525 arg2
= static_cast< int >(val2
);
36526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36527 if (!SWIG_IsOK(ecode3
)) {
36528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36530 arg3
= static_cast< int >(val3
);
36533 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36537 if (!SWIG_IsOK(ecode5
)) {
36538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36540 arg5
= static_cast< int >(val5
);
36543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36544 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_Py_Void();
36555 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
= 0;
36557 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36558 wxPoint
*arg2
= 0 ;
36559 wxColour
*arg3
= 0 ;
36560 int arg4
= (int) wxFLOOD_SURFACE
;
36567 PyObject
* obj0
= 0 ;
36568 PyObject
* obj1
= 0 ;
36569 PyObject
* obj2
= 0 ;
36570 PyObject
* obj3
= 0 ;
36571 char * kwnames
[] = {
36572 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36577 if (!SWIG_IsOK(res1
)) {
36578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36587 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36591 if (!SWIG_IsOK(ecode4
)) {
36592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36594 arg4
= static_cast< int >(val4
);
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36602 resultobj
= SWIG_Py_Void();
36609 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
= 0;
36611 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 PyObject
* obj2
= 0 ;
36629 PyObject
* obj3
= 0 ;
36630 PyObject
* obj4
= 0 ;
36631 char * kwnames
[] = {
36632 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36637 if (!SWIG_IsOK(res1
)) {
36638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36640 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36642 if (!SWIG_IsOK(ecode2
)) {
36643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36645 arg2
= static_cast< int >(val2
);
36646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36647 if (!SWIG_IsOK(ecode3
)) {
36648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36650 arg3
= static_cast< int >(val3
);
36651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36652 if (!SWIG_IsOK(ecode4
)) {
36653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36655 arg4
= static_cast< int >(val4
);
36656 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36657 if (!SWIG_IsOK(ecode5
)) {
36658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36660 arg5
= static_cast< int >(val5
);
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_Py_Void();
36674 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
= 0;
36676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36677 wxPoint
*arg2
= 0 ;
36678 wxPoint
*arg3
= 0 ;
36683 PyObject
* obj0
= 0 ;
36684 PyObject
* obj1
= 0 ;
36685 PyObject
* obj2
= 0 ;
36686 char * kwnames
[] = {
36687 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36692 if (!SWIG_IsOK(res1
)) {
36693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36695 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36698 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36702 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_Py_Void();
36717 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
= 0;
36719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36728 PyObject
* obj0
= 0 ;
36729 PyObject
* obj1
= 0 ;
36730 PyObject
* obj2
= 0 ;
36731 char * kwnames
[] = {
36732 (char *) "self",(char *) "x",(char *) "y", NULL
36735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36737 if (!SWIG_IsOK(res1
)) {
36738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36742 if (!SWIG_IsOK(ecode2
)) {
36743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36745 arg2
= static_cast< int >(val2
);
36746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36747 if (!SWIG_IsOK(ecode3
)) {
36748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36750 arg3
= static_cast< int >(val3
);
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->CrossHair(arg2
,arg3
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= SWIG_Py_Void();
36764 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
= 0;
36766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36767 wxPoint
*arg2
= 0 ;
36771 PyObject
* obj0
= 0 ;
36772 PyObject
* obj1
= 0 ;
36773 char * kwnames
[] = {
36774 (char *) "self",(char *) "pt", NULL
36777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36779 if (!SWIG_IsOK(res1
)) {
36780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36782 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36789 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36793 resultobj
= SWIG_Py_Void();
36800 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36801 PyObject
*resultobj
= 0;
36802 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36823 PyObject
* obj0
= 0 ;
36824 PyObject
* obj1
= 0 ;
36825 PyObject
* obj2
= 0 ;
36826 PyObject
* obj3
= 0 ;
36827 PyObject
* obj4
= 0 ;
36828 PyObject
* obj5
= 0 ;
36829 PyObject
* obj6
= 0 ;
36830 char * kwnames
[] = {
36831 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36836 if (!SWIG_IsOK(res1
)) {
36837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36839 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36841 if (!SWIG_IsOK(ecode2
)) {
36842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36844 arg2
= static_cast< int >(val2
);
36845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36846 if (!SWIG_IsOK(ecode3
)) {
36847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36849 arg3
= static_cast< int >(val3
);
36850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36851 if (!SWIG_IsOK(ecode4
)) {
36852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36854 arg4
= static_cast< int >(val4
);
36855 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36856 if (!SWIG_IsOK(ecode5
)) {
36857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36859 arg5
= static_cast< int >(val5
);
36860 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36861 if (!SWIG_IsOK(ecode6
)) {
36862 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36864 arg6
= static_cast< int >(val6
);
36865 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36866 if (!SWIG_IsOK(ecode7
)) {
36867 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36869 arg7
= static_cast< int >(val7
);
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_Py_Void();
36883 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36884 PyObject
*resultobj
= 0;
36885 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36886 wxPoint
*arg2
= 0 ;
36887 wxPoint
*arg3
= 0 ;
36888 wxPoint
*arg4
= 0 ;
36894 PyObject
* obj0
= 0 ;
36895 PyObject
* obj1
= 0 ;
36896 PyObject
* obj2
= 0 ;
36897 PyObject
* obj3
= 0 ;
36898 char * kwnames
[] = {
36899 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36904 if (!SWIG_IsOK(res1
)) {
36905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 resultobj
= SWIG_Py_Void();
36933 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
= 0;
36935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36950 PyObject
* obj0
= 0 ;
36951 PyObject
* obj1
= 0 ;
36952 PyObject
* obj2
= 0 ;
36953 PyObject
* obj3
= 0 ;
36954 PyObject
* obj4
= 0 ;
36955 char * kwnames
[] = {
36956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36961 if (!SWIG_IsOK(res1
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36964 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36966 if (!SWIG_IsOK(ecode2
)) {
36967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36969 arg2
= static_cast< int >(val2
);
36970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36971 if (!SWIG_IsOK(ecode3
)) {
36972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36974 arg3
= static_cast< int >(val3
);
36975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36976 if (!SWIG_IsOK(ecode4
)) {
36977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36979 arg4
= static_cast< int >(val4
);
36980 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36981 if (!SWIG_IsOK(ecode5
)) {
36982 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36984 arg5
= static_cast< int >(val5
);
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36988 wxPyEndAllowThreads(__tstate
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36991 resultobj
= SWIG_Py_Void();
36998 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36999 PyObject
*resultobj
= 0;
37000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37005 PyObject
* obj0
= 0 ;
37006 PyObject
* obj1
= 0 ;
37007 char * kwnames
[] = {
37008 (char *) "self",(char *) "rect", NULL
37011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37013 if (!SWIG_IsOK(res1
)) {
37014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37019 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37023 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37027 resultobj
= SWIG_Py_Void();
37034 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
= 0;
37036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37057 PyObject
* obj0
= 0 ;
37058 PyObject
* obj1
= 0 ;
37059 PyObject
* obj2
= 0 ;
37060 PyObject
* obj3
= 0 ;
37061 PyObject
* obj4
= 0 ;
37062 PyObject
* obj5
= 0 ;
37063 PyObject
* obj6
= 0 ;
37064 char * kwnames
[] = {
37065 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37070 if (!SWIG_IsOK(res1
)) {
37071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37075 if (!SWIG_IsOK(ecode2
)) {
37076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37078 arg2
= static_cast< int >(val2
);
37079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37080 if (!SWIG_IsOK(ecode3
)) {
37081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37083 arg3
= static_cast< int >(val3
);
37084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37085 if (!SWIG_IsOK(ecode4
)) {
37086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37088 arg4
= static_cast< int >(val4
);
37089 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37090 if (!SWIG_IsOK(ecode5
)) {
37091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37093 arg5
= static_cast< int >(val5
);
37094 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37095 if (!SWIG_IsOK(ecode6
)) {
37096 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37098 arg6
= static_cast< double >(val6
);
37099 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37100 if (!SWIG_IsOK(ecode7
)) {
37101 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37103 arg7
= static_cast< double >(val7
);
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37107 wxPyEndAllowThreads(__tstate
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37110 resultobj
= SWIG_Py_Void();
37117 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
= 0;
37119 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37120 wxPoint
*arg2
= 0 ;
37132 PyObject
* obj0
= 0 ;
37133 PyObject
* obj1
= 0 ;
37134 PyObject
* obj2
= 0 ;
37135 PyObject
* obj3
= 0 ;
37136 PyObject
* obj4
= 0 ;
37137 char * kwnames
[] = {
37138 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37143 if (!SWIG_IsOK(res1
)) {
37144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37153 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37155 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37156 if (!SWIG_IsOK(ecode4
)) {
37157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37159 arg4
= static_cast< double >(val4
);
37160 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37161 if (!SWIG_IsOK(ecode5
)) {
37162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37164 arg5
= static_cast< double >(val5
);
37166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37168 wxPyEndAllowThreads(__tstate
);
37169 if (PyErr_Occurred()) SWIG_fail
;
37171 resultobj
= SWIG_Py_Void();
37178 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37179 PyObject
*resultobj
= 0;
37180 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37189 PyObject
* obj0
= 0 ;
37190 PyObject
* obj1
= 0 ;
37191 PyObject
* obj2
= 0 ;
37192 char * kwnames
[] = {
37193 (char *) "self",(char *) "x",(char *) "y", NULL
37196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37198 if (!SWIG_IsOK(res1
)) {
37199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37201 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37203 if (!SWIG_IsOK(ecode2
)) {
37204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37206 arg2
= static_cast< int >(val2
);
37207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37208 if (!SWIG_IsOK(ecode3
)) {
37209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37211 arg3
= static_cast< int >(val3
);
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 (arg1
)->DrawPoint(arg2
,arg3
);
37215 wxPyEndAllowThreads(__tstate
);
37216 if (PyErr_Occurred()) SWIG_fail
;
37218 resultobj
= SWIG_Py_Void();
37225 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37226 PyObject
*resultobj
= 0;
37227 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37228 wxPoint
*arg2
= 0 ;
37232 PyObject
* obj0
= 0 ;
37233 PyObject
* obj1
= 0 ;
37234 char * kwnames
[] = {
37235 (char *) "self",(char *) "pt", NULL
37238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37240 if (!SWIG_IsOK(res1
)) {
37241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37250 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37251 wxPyEndAllowThreads(__tstate
);
37252 if (PyErr_Occurred()) SWIG_fail
;
37254 resultobj
= SWIG_Py_Void();
37261 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37262 PyObject
*resultobj
= 0;
37263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37278 PyObject
* obj0
= 0 ;
37279 PyObject
* obj1
= 0 ;
37280 PyObject
* obj2
= 0 ;
37281 PyObject
* obj3
= 0 ;
37282 PyObject
* obj4
= 0 ;
37283 char * kwnames
[] = {
37284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37289 if (!SWIG_IsOK(res1
)) {
37290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37294 if (!SWIG_IsOK(ecode2
)) {
37295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37297 arg2
= static_cast< int >(val2
);
37298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37299 if (!SWIG_IsOK(ecode3
)) {
37300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37302 arg3
= static_cast< int >(val3
);
37303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37304 if (!SWIG_IsOK(ecode4
)) {
37305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37307 arg4
= static_cast< int >(val4
);
37308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37309 if (!SWIG_IsOK(ecode5
)) {
37310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37312 arg5
= static_cast< int >(val5
);
37314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37315 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37316 wxPyEndAllowThreads(__tstate
);
37317 if (PyErr_Occurred()) SWIG_fail
;
37319 resultobj
= SWIG_Py_Void();
37326 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37327 PyObject
*resultobj
= 0;
37328 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37333 PyObject
* obj0
= 0 ;
37334 PyObject
* obj1
= 0 ;
37335 char * kwnames
[] = {
37336 (char *) "self",(char *) "rect", NULL
37339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37341 if (!SWIG_IsOK(res1
)) {
37342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37347 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37351 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 resultobj
= SWIG_Py_Void();
37362 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
= 0;
37364 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37365 wxPoint
*arg2
= 0 ;
37371 PyObject
* obj0
= 0 ;
37372 PyObject
* obj1
= 0 ;
37373 PyObject
* obj2
= 0 ;
37374 char * kwnames
[] = {
37375 (char *) "self",(char *) "pt",(char *) "sz", NULL
37378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37380 if (!SWIG_IsOK(res1
)) {
37381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37386 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37390 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37394 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37395 wxPyEndAllowThreads(__tstate
);
37396 if (PyErr_Occurred()) SWIG_fail
;
37398 resultobj
= SWIG_Py_Void();
37405 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37406 PyObject
*resultobj
= 0;
37407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37425 PyObject
* obj0
= 0 ;
37426 PyObject
* obj1
= 0 ;
37427 PyObject
* obj2
= 0 ;
37428 PyObject
* obj3
= 0 ;
37429 PyObject
* obj4
= 0 ;
37430 PyObject
* obj5
= 0 ;
37431 char * kwnames
[] = {
37432 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37437 if (!SWIG_IsOK(res1
)) {
37438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37442 if (!SWIG_IsOK(ecode2
)) {
37443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37445 arg2
= static_cast< int >(val2
);
37446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37447 if (!SWIG_IsOK(ecode3
)) {
37448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37450 arg3
= static_cast< int >(val3
);
37451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37452 if (!SWIG_IsOK(ecode4
)) {
37453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37455 arg4
= static_cast< int >(val4
);
37456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37457 if (!SWIG_IsOK(ecode5
)) {
37458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37460 arg5
= static_cast< int >(val5
);
37461 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37462 if (!SWIG_IsOK(ecode6
)) {
37463 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37465 arg6
= static_cast< double >(val6
);
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37469 wxPyEndAllowThreads(__tstate
);
37470 if (PyErr_Occurred()) SWIG_fail
;
37472 resultobj
= SWIG_Py_Void();
37479 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37480 PyObject
*resultobj
= 0;
37481 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37489 PyObject
* obj0
= 0 ;
37490 PyObject
* obj1
= 0 ;
37491 PyObject
* obj2
= 0 ;
37492 char * kwnames
[] = {
37493 (char *) "self",(char *) "r",(char *) "radius", NULL
37496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37498 if (!SWIG_IsOK(res1
)) {
37499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37504 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37506 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37507 if (!SWIG_IsOK(ecode3
)) {
37508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37510 arg3
= static_cast< double >(val3
);
37512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37513 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37514 wxPyEndAllowThreads(__tstate
);
37515 if (PyErr_Occurred()) SWIG_fail
;
37517 resultobj
= SWIG_Py_Void();
37524 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37525 PyObject
*resultobj
= 0;
37526 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37527 wxPoint
*arg2
= 0 ;
37536 PyObject
* obj0
= 0 ;
37537 PyObject
* obj1
= 0 ;
37538 PyObject
* obj2
= 0 ;
37539 PyObject
* obj3
= 0 ;
37540 char * kwnames
[] = {
37541 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37556 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37558 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37559 if (!SWIG_IsOK(ecode4
)) {
37560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37562 arg4
= static_cast< double >(val4
);
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37566 wxPyEndAllowThreads(__tstate
);
37567 if (PyErr_Occurred()) SWIG_fail
;
37569 resultobj
= SWIG_Py_Void();
37576 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37577 PyObject
*resultobj
= 0;
37578 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37590 PyObject
* obj0
= 0 ;
37591 PyObject
* obj1
= 0 ;
37592 PyObject
* obj2
= 0 ;
37593 PyObject
* obj3
= 0 ;
37594 char * kwnames
[] = {
37595 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37600 if (!SWIG_IsOK(res1
)) {
37601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37603 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37605 if (!SWIG_IsOK(ecode2
)) {
37606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37608 arg2
= static_cast< int >(val2
);
37609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37610 if (!SWIG_IsOK(ecode3
)) {
37611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37613 arg3
= static_cast< int >(val3
);
37614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37615 if (!SWIG_IsOK(ecode4
)) {
37616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37618 arg4
= static_cast< int >(val4
);
37620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37621 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37625 resultobj
= SWIG_Py_Void();
37632 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37633 PyObject
*resultobj
= 0;
37634 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37635 wxPoint
*arg2
= 0 ;
37642 PyObject
* obj0
= 0 ;
37643 PyObject
* obj1
= 0 ;
37644 PyObject
* obj2
= 0 ;
37645 char * kwnames
[] = {
37646 (char *) "self",(char *) "pt",(char *) "radius", NULL
37649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37651 if (!SWIG_IsOK(res1
)) {
37652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37654 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37660 if (!SWIG_IsOK(ecode3
)) {
37661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37663 arg3
= static_cast< int >(val3
);
37665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37666 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37667 wxPyEndAllowThreads(__tstate
);
37668 if (PyErr_Occurred()) SWIG_fail
;
37670 resultobj
= SWIG_Py_Void();
37677 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37678 PyObject
*resultobj
= 0;
37679 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37694 PyObject
* obj0
= 0 ;
37695 PyObject
* obj1
= 0 ;
37696 PyObject
* obj2
= 0 ;
37697 PyObject
* obj3
= 0 ;
37698 PyObject
* obj4
= 0 ;
37699 char * kwnames
[] = {
37700 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37705 if (!SWIG_IsOK(res1
)) {
37706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37708 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37710 if (!SWIG_IsOK(ecode2
)) {
37711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37713 arg2
= static_cast< int >(val2
);
37714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37715 if (!SWIG_IsOK(ecode3
)) {
37716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37718 arg3
= static_cast< int >(val3
);
37719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37720 if (!SWIG_IsOK(ecode4
)) {
37721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37723 arg4
= static_cast< int >(val4
);
37724 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37725 if (!SWIG_IsOK(ecode5
)) {
37726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37728 arg5
= static_cast< int >(val5
);
37730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37731 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37732 wxPyEndAllowThreads(__tstate
);
37733 if (PyErr_Occurred()) SWIG_fail
;
37735 resultobj
= SWIG_Py_Void();
37742 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37743 PyObject
*resultobj
= 0;
37744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37749 PyObject
* obj0
= 0 ;
37750 PyObject
* obj1
= 0 ;
37751 char * kwnames
[] = {
37752 (char *) "self",(char *) "rect", NULL
37755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37757 if (!SWIG_IsOK(res1
)) {
37758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37763 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37767 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37768 wxPyEndAllowThreads(__tstate
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37771 resultobj
= SWIG_Py_Void();
37778 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37779 PyObject
*resultobj
= 0;
37780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37781 wxPoint
*arg2
= 0 ;
37787 PyObject
* obj0
= 0 ;
37788 PyObject
* obj1
= 0 ;
37789 PyObject
* obj2
= 0 ;
37790 char * kwnames
[] = {
37791 (char *) "self",(char *) "pt",(char *) "sz", NULL
37794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37796 if (!SWIG_IsOK(res1
)) {
37797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37799 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37806 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37811 wxPyEndAllowThreads(__tstate
);
37812 if (PyErr_Occurred()) SWIG_fail
;
37814 resultobj
= SWIG_Py_Void();
37821 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37822 PyObject
*resultobj
= 0;
37823 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37835 PyObject
* obj0
= 0 ;
37836 PyObject
* obj1
= 0 ;
37837 PyObject
* obj2
= 0 ;
37838 PyObject
* obj3
= 0 ;
37839 char * kwnames
[] = {
37840 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37845 if (!SWIG_IsOK(res1
)) {
37846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37848 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37850 if (!SWIG_IsOK(res2
)) {
37851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37856 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37858 if (!SWIG_IsOK(ecode3
)) {
37859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37861 arg3
= static_cast< int >(val3
);
37862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37863 if (!SWIG_IsOK(ecode4
)) {
37864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37866 arg4
= static_cast< int >(val4
);
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37870 wxPyEndAllowThreads(__tstate
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37873 resultobj
= SWIG_Py_Void();
37880 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
= 0;
37882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37884 wxPoint
*arg3
= 0 ;
37890 PyObject
* obj0
= 0 ;
37891 PyObject
* obj1
= 0 ;
37892 PyObject
* obj2
= 0 ;
37893 char * kwnames
[] = {
37894 (char *) "self",(char *) "icon",(char *) "pt", NULL
37897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37899 if (!SWIG_IsOK(res1
)) {
37900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37902 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37904 if (!SWIG_IsOK(res2
)) {
37905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37910 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37918 wxPyEndAllowThreads(__tstate
);
37919 if (PyErr_Occurred()) SWIG_fail
;
37921 resultobj
= SWIG_Py_Void();
37928 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37929 PyObject
*resultobj
= 0;
37930 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37931 wxBitmap
*arg2
= 0 ;
37934 bool arg5
= (bool) false ;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 PyObject
* obj2
= 0 ;
37948 PyObject
* obj3
= 0 ;
37949 PyObject
* obj4
= 0 ;
37950 char * kwnames
[] = {
37951 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37956 if (!SWIG_IsOK(res1
)) {
37957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37961 if (!SWIG_IsOK(res2
)) {
37962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37967 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37969 if (!SWIG_IsOK(ecode3
)) {
37970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37972 arg3
= static_cast< int >(val3
);
37973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37974 if (!SWIG_IsOK(ecode4
)) {
37975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37977 arg4
= static_cast< int >(val4
);
37979 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37980 if (!SWIG_IsOK(ecode5
)) {
37981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37983 arg5
= static_cast< bool >(val5
);
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37988 wxPyEndAllowThreads(__tstate
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37991 resultobj
= SWIG_Py_Void();
37998 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37999 PyObject
*resultobj
= 0;
38000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38001 wxBitmap
*arg2
= 0 ;
38002 wxPoint
*arg3
= 0 ;
38003 bool arg4
= (bool) false ;
38011 PyObject
* obj0
= 0 ;
38012 PyObject
* obj1
= 0 ;
38013 PyObject
* obj2
= 0 ;
38014 PyObject
* obj3
= 0 ;
38015 char * kwnames
[] = {
38016 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38021 if (!SWIG_IsOK(res1
)) {
38022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38024 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38026 if (!SWIG_IsOK(res2
)) {
38027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38032 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38035 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38038 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38039 if (!SWIG_IsOK(ecode4
)) {
38040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38042 arg4
= static_cast< bool >(val4
);
38045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38046 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38047 wxPyEndAllowThreads(__tstate
);
38048 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= SWIG_Py_Void();
38057 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
= 0;
38059 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38060 wxString
*arg2
= 0 ;
38065 bool temp2
= false ;
38070 PyObject
* obj0
= 0 ;
38071 PyObject
* obj1
= 0 ;
38072 PyObject
* obj2
= 0 ;
38073 PyObject
* obj3
= 0 ;
38074 char * kwnames
[] = {
38075 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38085 arg2
= wxString_in_helper(obj1
);
38086 if (arg2
== NULL
) SWIG_fail
;
38089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38090 if (!SWIG_IsOK(ecode3
)) {
38091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38093 arg3
= static_cast< int >(val3
);
38094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38095 if (!SWIG_IsOK(ecode4
)) {
38096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38098 arg4
= static_cast< int >(val4
);
38100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38101 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38102 wxPyEndAllowThreads(__tstate
);
38103 if (PyErr_Occurred()) SWIG_fail
;
38105 resultobj
= SWIG_Py_Void();
38120 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38121 PyObject
*resultobj
= 0;
38122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38123 wxString
*arg2
= 0 ;
38124 wxPoint
*arg3
= 0 ;
38127 bool temp2
= false ;
38129 PyObject
* obj0
= 0 ;
38130 PyObject
* obj1
= 0 ;
38131 PyObject
* obj2
= 0 ;
38132 char * kwnames
[] = {
38133 (char *) "self",(char *) "text",(char *) "pt", NULL
38136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38138 if (!SWIG_IsOK(res1
)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38143 arg2
= wxString_in_helper(obj1
);
38144 if (arg2
== NULL
) SWIG_fail
;
38149 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 resultobj
= SWIG_Py_Void();
38172 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38173 PyObject
*resultobj
= 0;
38174 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38175 wxString
*arg2
= 0 ;
38181 bool temp2
= false ;
38188 PyObject
* obj0
= 0 ;
38189 PyObject
* obj1
= 0 ;
38190 PyObject
* obj2
= 0 ;
38191 PyObject
* obj3
= 0 ;
38192 PyObject
* obj4
= 0 ;
38193 char * kwnames
[] = {
38194 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38199 if (!SWIG_IsOK(res1
)) {
38200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38202 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38204 arg2
= wxString_in_helper(obj1
);
38205 if (arg2
== NULL
) SWIG_fail
;
38208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38209 if (!SWIG_IsOK(ecode3
)) {
38210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38212 arg3
= static_cast< int >(val3
);
38213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38214 if (!SWIG_IsOK(ecode4
)) {
38215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38217 arg4
= static_cast< int >(val4
);
38218 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38219 if (!SWIG_IsOK(ecode5
)) {
38220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38222 arg5
= static_cast< double >(val5
);
38224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38225 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38229 resultobj
= SWIG_Py_Void();
38244 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38245 PyObject
*resultobj
= 0;
38246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38247 wxString
*arg2
= 0 ;
38248 wxPoint
*arg3
= 0 ;
38252 bool temp2
= false ;
38256 PyObject
* obj0
= 0 ;
38257 PyObject
* obj1
= 0 ;
38258 PyObject
* obj2
= 0 ;
38259 PyObject
* obj3
= 0 ;
38260 char * kwnames
[] = {
38261 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38266 if (!SWIG_IsOK(res1
)) {
38267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38271 arg2
= wxString_in_helper(obj1
);
38272 if (arg2
== NULL
) SWIG_fail
;
38277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38279 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38280 if (!SWIG_IsOK(ecode4
)) {
38281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38283 arg4
= static_cast< double >(val4
);
38285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38286 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38287 wxPyEndAllowThreads(__tstate
);
38288 if (PyErr_Occurred()) SWIG_fail
;
38290 resultobj
= SWIG_Py_Void();
38305 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38306 PyObject
*resultobj
= 0;
38307 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38309 wxPoint
*arg3
= (wxPoint
*) 0 ;
38310 int arg4
= (int) 0 ;
38311 int arg5
= (int) 0 ;
38318 PyObject
* obj0
= 0 ;
38319 PyObject
* obj1
= 0 ;
38320 PyObject
* obj2
= 0 ;
38321 PyObject
* obj3
= 0 ;
38322 char * kwnames
[] = {
38323 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38328 if (!SWIG_IsOK(res1
)) {
38329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38333 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38334 if (arg3
== NULL
) SWIG_fail
;
38337 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38338 if (!SWIG_IsOK(ecode4
)) {
38339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38341 arg4
= static_cast< int >(val4
);
38344 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38345 if (!SWIG_IsOK(ecode5
)) {
38346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38348 arg5
= static_cast< int >(val5
);
38351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38352 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38353 wxPyEndAllowThreads(__tstate
);
38354 if (PyErr_Occurred()) SWIG_fail
;
38356 resultobj
= SWIG_Py_Void();
38358 if (arg3
) delete [] arg3
;
38363 if (arg3
) delete [] arg3
;
38369 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38370 PyObject
*resultobj
= 0;
38371 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38373 wxPoint
*arg3
= (wxPoint
*) 0 ;
38374 int arg4
= (int) 0 ;
38375 int arg5
= (int) 0 ;
38376 int arg6
= (int) wxODDEVEN_RULE
;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 PyObject
* obj2
= 0 ;
38388 PyObject
* obj3
= 0 ;
38389 PyObject
* obj4
= 0 ;
38390 char * kwnames
[] = {
38391 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38396 if (!SWIG_IsOK(res1
)) {
38397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38399 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38401 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38402 if (arg3
== NULL
) SWIG_fail
;
38405 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38406 if (!SWIG_IsOK(ecode4
)) {
38407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38409 arg4
= static_cast< int >(val4
);
38412 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38413 if (!SWIG_IsOK(ecode5
)) {
38414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38416 arg5
= static_cast< int >(val5
);
38419 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38420 if (!SWIG_IsOK(ecode6
)) {
38421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38423 arg6
= static_cast< int >(val6
);
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38428 wxPyEndAllowThreads(__tstate
);
38429 if (PyErr_Occurred()) SWIG_fail
;
38431 resultobj
= SWIG_Py_Void();
38433 if (arg3
) delete [] arg3
;
38438 if (arg3
) delete [] arg3
;
38444 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38445 PyObject
*resultobj
= 0;
38446 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38447 wxString
*arg2
= 0 ;
38449 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38450 int arg5
= (int) -1 ;
38453 bool temp2
= false ;
38459 PyObject
* obj0
= 0 ;
38460 PyObject
* obj1
= 0 ;
38461 PyObject
* obj2
= 0 ;
38462 PyObject
* obj3
= 0 ;
38463 PyObject
* obj4
= 0 ;
38464 char * kwnames
[] = {
38465 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38470 if (!SWIG_IsOK(res1
)) {
38471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38473 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38475 arg2
= wxString_in_helper(obj1
);
38476 if (arg2
== NULL
) SWIG_fail
;
38481 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38485 if (!SWIG_IsOK(ecode4
)) {
38486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38488 arg4
= static_cast< int >(val4
);
38491 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38492 if (!SWIG_IsOK(ecode5
)) {
38493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38495 arg5
= static_cast< int >(val5
);
38498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38499 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= SWIG_Py_Void();
38518 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38519 PyObject
*resultobj
= 0;
38520 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38521 wxString
*arg2
= 0 ;
38522 wxBitmap
*arg3
= 0 ;
38524 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38525 int arg6
= (int) -1 ;
38528 bool temp2
= false ;
38536 PyObject
* obj0
= 0 ;
38537 PyObject
* obj1
= 0 ;
38538 PyObject
* obj2
= 0 ;
38539 PyObject
* obj3
= 0 ;
38540 PyObject
* obj4
= 0 ;
38541 PyObject
* obj5
= 0 ;
38542 char * kwnames
[] = {
38543 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38548 if (!SWIG_IsOK(res1
)) {
38549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38551 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38553 arg2
= wxString_in_helper(obj1
);
38554 if (arg2
== NULL
) SWIG_fail
;
38557 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38558 if (!SWIG_IsOK(res3
)) {
38559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38564 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38567 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38570 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38571 if (!SWIG_IsOK(ecode5
)) {
38572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38574 arg5
= static_cast< int >(val5
);
38577 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38578 if (!SWIG_IsOK(ecode6
)) {
38579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38581 arg6
= static_cast< int >(val6
);
38584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38585 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38586 wxPyEndAllowThreads(__tstate
);
38587 if (PyErr_Occurred()) SWIG_fail
;
38589 resultobj
= SWIG_Py_Void();
38604 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38605 PyObject
*resultobj
= 0;
38606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38608 wxPoint
*arg3
= (wxPoint
*) 0 ;
38611 PyObject
* obj0
= 0 ;
38612 PyObject
* obj1
= 0 ;
38613 char * kwnames
[] = {
38614 (char *) "self",(char *) "points", NULL
38617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38619 if (!SWIG_IsOK(res1
)) {
38620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38622 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38624 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38625 if (arg3
== NULL
) SWIG_fail
;
38628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38629 (arg1
)->DrawSpline(arg2
,arg3
);
38630 wxPyEndAllowThreads(__tstate
);
38631 if (PyErr_Occurred()) SWIG_fail
;
38633 resultobj
= SWIG_Py_Void();
38635 if (arg3
) delete [] arg3
;
38640 if (arg3
) delete [] arg3
;
38646 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38647 PyObject
*resultobj
= 0;
38648 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38651 PyObject
*swig_obj
[1] ;
38653 if (!args
) SWIG_fail
;
38654 swig_obj
[0] = args
;
38655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38656 if (!SWIG_IsOK(res1
)) {
38657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38659 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38663 wxPyEndAllowThreads(__tstate
);
38664 if (PyErr_Occurred()) SWIG_fail
;
38666 resultobj
= SWIG_Py_Void();
38673 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38674 PyObject
*resultobj
= 0;
38675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38681 PyObject
* obj0
= 0 ;
38682 PyObject
* obj1
= 0 ;
38683 char * kwnames
[] = {
38684 (char *) "self",(char *) "font", NULL
38687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38689 if (!SWIG_IsOK(res1
)) {
38690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38692 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38694 if (!SWIG_IsOK(res2
)) {
38695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38700 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38703 (arg1
)->SetFont((wxFont
const &)*arg2
);
38704 wxPyEndAllowThreads(__tstate
);
38705 if (PyErr_Occurred()) SWIG_fail
;
38707 resultobj
= SWIG_Py_Void();
38714 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38715 PyObject
*resultobj
= 0;
38716 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38722 PyObject
* obj0
= 0 ;
38723 PyObject
* obj1
= 0 ;
38724 char * kwnames
[] = {
38725 (char *) "self",(char *) "pen", NULL
38728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38730 if (!SWIG_IsOK(res1
)) {
38731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38733 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38735 if (!SWIG_IsOK(res2
)) {
38736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38741 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38744 (arg1
)->SetPen((wxPen
const &)*arg2
);
38745 wxPyEndAllowThreads(__tstate
);
38746 if (PyErr_Occurred()) SWIG_fail
;
38748 resultobj
= SWIG_Py_Void();
38755 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38756 PyObject
*resultobj
= 0;
38757 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38758 wxBrush
*arg2
= 0 ;
38763 PyObject
* obj0
= 0 ;
38764 PyObject
* obj1
= 0 ;
38765 char * kwnames
[] = {
38766 (char *) "self",(char *) "brush", NULL
38769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38771 if (!SWIG_IsOK(res1
)) {
38772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38776 if (!SWIG_IsOK(res2
)) {
38777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38782 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38785 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38786 wxPyEndAllowThreads(__tstate
);
38787 if (PyErr_Occurred()) SWIG_fail
;
38789 resultobj
= SWIG_Py_Void();
38796 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38797 PyObject
*resultobj
= 0;
38798 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38799 wxBrush
*arg2
= 0 ;
38804 PyObject
* obj0
= 0 ;
38805 PyObject
* obj1
= 0 ;
38806 char * kwnames
[] = {
38807 (char *) "self",(char *) "brush", NULL
38810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38812 if (!SWIG_IsOK(res1
)) {
38813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38815 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38817 if (!SWIG_IsOK(res2
)) {
38818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38823 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38826 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38827 wxPyEndAllowThreads(__tstate
);
38828 if (PyErr_Occurred()) SWIG_fail
;
38830 resultobj
= SWIG_Py_Void();
38837 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38838 PyObject
*resultobj
= 0;
38839 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38845 PyObject
* obj0
= 0 ;
38846 PyObject
* obj1
= 0 ;
38847 char * kwnames
[] = {
38848 (char *) "self",(char *) "mode", NULL
38851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38853 if (!SWIG_IsOK(res1
)) {
38854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38856 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38858 if (!SWIG_IsOK(ecode2
)) {
38859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38861 arg2
= static_cast< int >(val2
);
38863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38864 (arg1
)->SetBackgroundMode(arg2
);
38865 wxPyEndAllowThreads(__tstate
);
38866 if (PyErr_Occurred()) SWIG_fail
;
38868 resultobj
= SWIG_Py_Void();
38875 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38876 PyObject
*resultobj
= 0;
38877 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38878 wxPalette
*arg2
= 0 ;
38883 PyObject
* obj0
= 0 ;
38884 PyObject
* obj1
= 0 ;
38885 char * kwnames
[] = {
38886 (char *) "self",(char *) "palette", NULL
38889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38891 if (!SWIG_IsOK(res1
)) {
38892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38894 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38896 if (!SWIG_IsOK(res2
)) {
38897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38902 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38905 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38909 resultobj
= SWIG_Py_Void();
38916 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38917 PyObject
*resultobj
= 0;
38918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38919 wxColour
*arg2
= 0 ;
38923 PyObject
* obj0
= 0 ;
38924 PyObject
* obj1
= 0 ;
38925 char * kwnames
[] = {
38926 (char *) "self",(char *) "colour", NULL
38929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38931 if (!SWIG_IsOK(res1
)) {
38932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38934 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38937 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38941 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38942 wxPyEndAllowThreads(__tstate
);
38943 if (PyErr_Occurred()) SWIG_fail
;
38945 resultobj
= SWIG_Py_Void();
38952 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38953 PyObject
*resultobj
= 0;
38954 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38955 wxColour
*arg2
= 0 ;
38959 PyObject
* obj0
= 0 ;
38960 PyObject
* obj1
= 0 ;
38961 char * kwnames
[] = {
38962 (char *) "self",(char *) "colour", NULL
38965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38967 if (!SWIG_IsOK(res1
)) {
38968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38970 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38977 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38978 wxPyEndAllowThreads(__tstate
);
38979 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= SWIG_Py_Void();
38988 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38989 PyObject
*resultobj
= 0;
38990 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38996 PyObject
* obj0
= 0 ;
38997 PyObject
* obj1
= 0 ;
38998 char * kwnames
[] = {
38999 (char *) "self",(char *) "function", NULL
39002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39004 if (!SWIG_IsOK(res1
)) {
39005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39007 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39009 if (!SWIG_IsOK(ecode2
)) {
39010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39012 arg2
= static_cast< int >(val2
);
39014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39015 (arg1
)->SetLogicalFunction(arg2
);
39016 wxPyEndAllowThreads(__tstate
);
39017 if (PyErr_Occurred()) SWIG_fail
;
39019 resultobj
= SWIG_Py_Void();
39026 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39030 return SWIG_Py_Void();
39033 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39034 return SWIG_Python_InitShadowInstance(args
);
39037 static PyMethodDef SwigMethods
[] = {
39038 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39039 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39040 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39041 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39042 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39043 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39047 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39048 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39049 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39050 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39051 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39052 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39057 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39061 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39062 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39063 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39065 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39068 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39069 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39070 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39071 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39073 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39074 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39075 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39076 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39077 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39078 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39079 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39086 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39088 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39089 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39093 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39094 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39097 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39101 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39102 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39103 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39104 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39105 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39106 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39107 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39109 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39115 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39117 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39118 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39119 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39120 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39121 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39122 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39123 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39129 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39141 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39142 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39146 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39147 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39148 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39149 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39150 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39151 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39152 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39153 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39154 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39155 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39156 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39157 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39158 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39159 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39160 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39162 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39163 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39169 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39170 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39171 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39172 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39173 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39174 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39175 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39176 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39177 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39178 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39179 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39180 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39182 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39183 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39189 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39190 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39191 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39193 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39194 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39195 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39197 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39198 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39203 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39205 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39206 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39207 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39208 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39214 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39215 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39217 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39218 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39220 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39222 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39223 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39224 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39225 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39228 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39232 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39233 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39235 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39238 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39240 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39241 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39242 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39243 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39248 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39249 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39254 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39255 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39261 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39265 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39276 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39279 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39280 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39282 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39283 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39284 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39285 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39286 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39287 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39288 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39289 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39290 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39291 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39292 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39293 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39294 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39295 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39296 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39297 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39298 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39300 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39301 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39302 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39303 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39304 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39305 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39306 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39307 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39317 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39318 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39320 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39321 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39322 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39323 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39324 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39325 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39326 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39327 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39328 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39330 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39331 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39332 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39335 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39336 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39337 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39340 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39346 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39351 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39352 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39354 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39360 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39363 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39364 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39365 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39366 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39367 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39368 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39369 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39370 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39371 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39372 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39373 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39374 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39375 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39387 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39388 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39389 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39391 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39392 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39394 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39395 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39396 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39397 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39401 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39402 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39404 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39405 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39406 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39407 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39408 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39409 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39410 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39411 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39414 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39417 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39418 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39419 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39420 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39421 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39422 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39423 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39424 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39434 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39436 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39438 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39442 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39443 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39444 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39445 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39446 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39447 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39453 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39454 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39455 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39505 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39507 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39508 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39509 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39516 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39517 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39518 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39519 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39520 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39525 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39526 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39527 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39528 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39537 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39538 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39539 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39540 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39541 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39542 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39543 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39544 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39545 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39546 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39547 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39548 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39551 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39553 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39555 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39557 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39558 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39561 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39562 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39566 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39568 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39571 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39572 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39573 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39574 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39575 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39576 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39577 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39579 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39586 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39588 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39589 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39590 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39592 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39593 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39594 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39596 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39597 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39598 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39599 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39600 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39601 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39602 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39607 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39608 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39609 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39612 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39613 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39614 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39616 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39617 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39619 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39620 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39622 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39623 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39624 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39625 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39626 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39627 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39628 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39630 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39631 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39633 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39634 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39637 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39638 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39640 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39643 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39644 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39645 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39647 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39648 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39650 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39651 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39652 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39653 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39654 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39655 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39657 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39658 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39659 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39661 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39662 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39664 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39665 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39666 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39667 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39668 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39669 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39670 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39671 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39672 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39673 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39674 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39675 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39676 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39677 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39678 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39679 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39680 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39681 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39682 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39686 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39688 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39694 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39695 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39696 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39697 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39698 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39699 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39700 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39701 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39703 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39704 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39705 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39712 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39715 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39716 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39717 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39718 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39719 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39720 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39723 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39730 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39731 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39734 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39735 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39741 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39742 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39743 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39744 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39762 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39763 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39764 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39765 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39766 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39769 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39776 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39778 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39779 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39781 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39782 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39783 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39784 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39785 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39786 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39787 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39788 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39789 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39790 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39791 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39792 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39794 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39802 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39804 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39806 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39807 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39808 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39809 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39810 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39811 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39817 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39818 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39819 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39820 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39821 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39822 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39826 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39830 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39834 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39835 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39836 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39841 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39842 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39843 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39844 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39845 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39846 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39847 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39848 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39849 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39850 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39851 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39852 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39861 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39862 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39864 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39865 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39866 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39867 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39868 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39869 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39870 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39871 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39872 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39873 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39874 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39875 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39876 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39877 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39878 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39879 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39880 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39881 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39882 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39883 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39884 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39885 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39886 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39887 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39889 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39891 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39892 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39893 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39894 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39907 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39908 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39909 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39911 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39913 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39914 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39915 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39916 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39917 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39918 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39971 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39981 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39982 { NULL
, NULL
, 0, NULL
}
39986 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39988 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39989 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39991 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39992 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39994 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39995 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39997 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39998 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40000 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40001 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40003 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40004 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40006 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40007 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40009 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40010 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40012 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40013 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40015 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40016 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40018 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40019 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40021 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40022 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40024 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40025 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40027 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40028 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40030 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40031 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40033 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40034 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40036 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40037 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40039 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40040 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40042 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40043 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40045 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40046 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40048 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40049 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40051 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40052 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40054 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40055 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40057 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40058 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40060 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40061 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
40063 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40064 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40066 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40067 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40069 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40070 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40072 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40073 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40075 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40076 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40078 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40079 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40081 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40082 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40084 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40085 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40087 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40088 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40090 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40091 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40093 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40094 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40096 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40097 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40099 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40100 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40102 static void *_p_wxPenTo_p_wxObject(void *x
) {
40103 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40105 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40106 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40108 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40109 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40111 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40112 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40114 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40117 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40118 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40120 static void *_p_wxIconTo_p_wxObject(void *x
) {
40121 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40123 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40124 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40126 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40127 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40129 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40130 return (void *)((wxObject
*) ((wxSizer
*) x
));
40132 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40133 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40135 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40136 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40138 static void *_p_wxEventTo_p_wxObject(void *x
) {
40139 return (void *)((wxObject
*) ((wxEvent
*) x
));
40141 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40142 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40144 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40145 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40147 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40148 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40150 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40151 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40153 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40156 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40157 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40159 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40160 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40162 static void *_p_wxDCTo_p_wxObject(void *x
) {
40163 return (void *)((wxObject
*) ((wxDC
*) x
));
40165 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40166 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40168 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40169 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40171 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40172 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40174 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40175 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40177 static void *_p_wxControlTo_p_wxObject(void *x
) {
40178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40180 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40181 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40183 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40184 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40186 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40187 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40189 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40190 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40192 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40193 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
40195 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40196 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40198 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40199 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40201 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40202 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40204 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40205 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40207 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40208 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40210 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40211 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40213 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40214 return (void *)((wxObject
*) ((wxEffects
*) x
));
40216 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40217 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40219 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40220 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40222 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40223 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40225 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40226 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40228 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40229 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40231 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40232 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40234 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40237 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40238 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40240 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40243 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40244 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40246 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40247 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40249 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40250 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40252 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40253 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40255 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40256 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40258 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40259 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40261 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40264 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40267 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40268 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40270 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40271 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40273 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40274 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40276 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40277 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40279 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40280 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40282 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40283 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40285 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40286 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40288 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40289 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40291 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40292 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40294 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40295 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40297 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40298 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40300 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40301 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40303 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40304 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40306 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40307 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40309 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40310 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40312 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40313 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40315 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40316 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40318 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40319 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40321 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40322 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40324 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40325 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40327 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40328 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40330 static void *_p_wxImageTo_p_wxObject(void *x
) {
40331 return (void *)((wxObject
*) ((wxImage
*) x
));
40333 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40334 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40336 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40337 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40339 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40340 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40342 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40343 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40345 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40346 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40348 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40349 return (void *)((wxObject
*) ((wxImageList
*) x
));
40351 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40352 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40354 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40355 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40357 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40358 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40360 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40361 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40363 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40364 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40366 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40369 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40370 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40372 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40373 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40375 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40376 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40378 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40379 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40381 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40384 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40385 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40387 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40388 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40390 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40391 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40393 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40394 return (void *)((wxObject
*) ((wxMask
*) x
));
40396 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40397 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40399 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40402 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40403 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40405 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40406 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40408 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40409 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40411 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40412 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40414 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40415 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40417 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40420 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40421 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40423 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40424 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40426 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40427 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40429 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40432 static void *_p_wxFontTo_p_wxObject(void *x
) {
40433 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40435 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40436 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40438 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40439 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40441 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40444 static void *_p_wxColourTo_p_wxObject(void *x
) {
40445 return (void *)((wxObject
*) ((wxColour
*) x
));
40447 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40450 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40451 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40453 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40454 return (void *)((wxWindow
*) ((wxControl
*) x
));
40456 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40457 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40459 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40460 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40462 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40463 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40465 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40466 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40468 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40469 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40470 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40471 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};
40472 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40473 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40474 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40475 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40476 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40477 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40478 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40479 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40480 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40481 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40482 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40483 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40484 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40485 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40486 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40487 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40488 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40489 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40490 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40491 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40492 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40493 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40494 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40495 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40496 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40497 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40498 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40499 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40500 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40501 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40502 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40503 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40504 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40505 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40506 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40507 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40508 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40509 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40510 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40511 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40512 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40513 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40514 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40515 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40516 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40517 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40518 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40519 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40520 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40521 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40522 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40523 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40524 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40525 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40526 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40527 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40528 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40529 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40530 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40531 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40532 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40533 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40534 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40535 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40536 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40537 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40538 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40539 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40540 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40541 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40542 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40543 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40544 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40545 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40546 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40547 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40548 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40549 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40550 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40551 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40552 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40553 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40554 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40555 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40556 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40557 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40558 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40559 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40560 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40561 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40562 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40563 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40564 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40565 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40566 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40567 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40568 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40569 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40570 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40571 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40572 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40573 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40574 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40575 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40576 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40577 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40578 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40579 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40580 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40581 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40582 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40583 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40584 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40585 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40586 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40587 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40588 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40589 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40590 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40591 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40592 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40593 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40594 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40595 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40596 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40597 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40598 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40599 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40600 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40601 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40602 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40603 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40604 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40605 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40606 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40607 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40608 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40609 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40610 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40611 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40612 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40613 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40614 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40615 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40616 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40617 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40618 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40619 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40620 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40621 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40622 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40623 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40624 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40625 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40626 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40627 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40628 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40629 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40630 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40631 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40632 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40633 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40634 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40635 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40636 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40637 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40638 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40640 static swig_type_info
*swig_type_initial
[] = {
40644 &_swigt__p_form_ops_t
,
40646 &_swigt__p_unsigned_char
,
40647 &_swigt__p_unsigned_int
,
40648 &_swigt__p_unsigned_long
,
40650 &_swigt__p_wxANIHandler
,
40651 &_swigt__p_wxAcceleratorTable
,
40652 &_swigt__p_wxActivateEvent
,
40653 &_swigt__p_wxAlphaPixelData
,
40654 &_swigt__p_wxAlphaPixelData_Accessor
,
40655 &_swigt__p_wxAutoBufferedPaintDC
,
40656 &_swigt__p_wxBMPHandler
,
40657 &_swigt__p_wxBitmap
,
40658 &_swigt__p_wxBoxSizer
,
40659 &_swigt__p_wxBrush
,
40660 &_swigt__p_wxBrushList
,
40661 &_swigt__p_wxBufferedDC
,
40662 &_swigt__p_wxBufferedPaintDC
,
40663 &_swigt__p_wxCURHandler
,
40665 &_swigt__p_wxChildFocusEvent
,
40666 &_swigt__p_wxClientDC
,
40667 &_swigt__p_wxClipboardTextEvent
,
40668 &_swigt__p_wxCloseEvent
,
40669 &_swigt__p_wxColor
,
40670 &_swigt__p_wxColour
,
40671 &_swigt__p_wxColourDatabase
,
40672 &_swigt__p_wxCommandEvent
,
40673 &_swigt__p_wxContextMenuEvent
,
40674 &_swigt__p_wxControl
,
40675 &_swigt__p_wxControlWithItems
,
40676 &_swigt__p_wxCursor
,
40678 &_swigt__p_wxDCBrushChanger
,
40679 &_swigt__p_wxDCClipper
,
40680 &_swigt__p_wxDCOverlay
,
40681 &_swigt__p_wxDCPenChanger
,
40682 &_swigt__p_wxDCTextColourChanger
,
40684 &_swigt__p_wxDateEvent
,
40685 &_swigt__p_wxDisplayChangedEvent
,
40686 &_swigt__p_wxDropFilesEvent
,
40687 &_swigt__p_wxDuplexMode
,
40688 &_swigt__p_wxEffects
,
40689 &_swigt__p_wxEncodingConverter
,
40690 &_swigt__p_wxEraseEvent
,
40691 &_swigt__p_wxEvent
,
40692 &_swigt__p_wxEvtHandler
,
40693 &_swigt__p_wxFSFile
,
40694 &_swigt__p_wxFileSystem
,
40695 &_swigt__p_wxFlexGridSizer
,
40696 &_swigt__p_wxFocusEvent
,
40698 &_swigt__p_wxFontList
,
40699 &_swigt__p_wxFontMapper
,
40700 &_swigt__p_wxGBSizerItem
,
40702 &_swigt__p_wxGDIObjListBase
,
40703 &_swigt__p_wxGDIObject
,
40704 &_swigt__p_wxGIFHandler
,
40705 &_swigt__p_wxGraphicsBrush
,
40706 &_swigt__p_wxGraphicsContext
,
40707 &_swigt__p_wxGraphicsFont
,
40708 &_swigt__p_wxGraphicsMatrix
,
40709 &_swigt__p_wxGraphicsObject
,
40710 &_swigt__p_wxGraphicsPath
,
40711 &_swigt__p_wxGraphicsPen
,
40712 &_swigt__p_wxGraphicsRenderer
,
40713 &_swigt__p_wxGridBagSizer
,
40714 &_swigt__p_wxGridSizer
,
40715 &_swigt__p_wxHeaderButtonParams
,
40716 &_swigt__p_wxICOHandler
,
40718 &_swigt__p_wxIconBundle
,
40719 &_swigt__p_wxIconLocation
,
40720 &_swigt__p_wxIconizeEvent
,
40721 &_swigt__p_wxIdleEvent
,
40722 &_swigt__p_wxImage
,
40723 &_swigt__p_wxImageHandler
,
40724 &_swigt__p_wxImageList
,
40725 &_swigt__p_wxIndividualLayoutConstraint
,
40726 &_swigt__p_wxInitDialogEvent
,
40727 &_swigt__p_wxJPEGHandler
,
40728 &_swigt__p_wxKeyEvent
,
40729 &_swigt__p_wxLanguageInfo
,
40730 &_swigt__p_wxLayoutConstraints
,
40731 &_swigt__p_wxLocale
,
40733 &_swigt__p_wxMaximizeEvent
,
40734 &_swigt__p_wxMemoryDC
,
40736 &_swigt__p_wxMenuBar
,
40737 &_swigt__p_wxMenuEvent
,
40738 &_swigt__p_wxMenuItem
,
40739 &_swigt__p_wxMetaFile
,
40740 &_swigt__p_wxMetaFileDC
,
40741 &_swigt__p_wxMirrorDC
,
40742 &_swigt__p_wxMouseCaptureChangedEvent
,
40743 &_swigt__p_wxMouseCaptureLostEvent
,
40744 &_swigt__p_wxMouseEvent
,
40745 &_swigt__p_wxMoveEvent
,
40746 &_swigt__p_wxNativeEncodingInfo
,
40747 &_swigt__p_wxNativeFontInfo
,
40748 &_swigt__p_wxNativePixelData
,
40749 &_swigt__p_wxNativePixelData_Accessor
,
40750 &_swigt__p_wxNavigationKeyEvent
,
40751 &_swigt__p_wxNcPaintEvent
,
40752 &_swigt__p_wxNotifyEvent
,
40753 &_swigt__p_wxObject
,
40754 &_swigt__p_wxOverlay
,
40755 &_swigt__p_wxPCXHandler
,
40756 &_swigt__p_wxPNGHandler
,
40757 &_swigt__p_wxPNMHandler
,
40758 &_swigt__p_wxPaintDC
,
40759 &_swigt__p_wxPaintEvent
,
40760 &_swigt__p_wxPalette
,
40761 &_swigt__p_wxPaletteChangedEvent
,
40762 &_swigt__p_wxPaperSize
,
40764 &_swigt__p_wxPenList
,
40765 &_swigt__p_wxPixelDataBase
,
40766 &_swigt__p_wxPoint
,
40767 &_swigt__p_wxPoint2D
,
40768 &_swigt__p_wxPoint2DDouble
,
40769 &_swigt__p_wxPostScriptDC
,
40770 &_swigt__p_wxPrintData
,
40771 &_swigt__p_wxPrinterDC
,
40772 &_swigt__p_wxPseudoDC
,
40773 &_swigt__p_wxPyApp
,
40774 &_swigt__p_wxPyCommandEvent
,
40775 &_swigt__p_wxPyEvent
,
40776 &_swigt__p_wxPyFontEnumerator
,
40777 &_swigt__p_wxPyImageHandler
,
40778 &_swigt__p_wxPyLocale
,
40779 &_swigt__p_wxPySizer
,
40780 &_swigt__p_wxPyValidator
,
40781 &_swigt__p_wxQueryNewPaletteEvent
,
40783 &_swigt__p_wxRect2DDouble
,
40784 &_swigt__p_wxRegion
,
40785 &_swigt__p_wxRegionIterator
,
40786 &_swigt__p_wxRendererNative
,
40787 &_swigt__p_wxRendererVersion
,
40788 &_swigt__p_wxScreenDC
,
40789 &_swigt__p_wxScrollEvent
,
40790 &_swigt__p_wxScrollWinEvent
,
40791 &_swigt__p_wxSetCursorEvent
,
40792 &_swigt__p_wxShowEvent
,
40794 &_swigt__p_wxSizeEvent
,
40795 &_swigt__p_wxSizer
,
40796 &_swigt__p_wxSizerItem
,
40797 &_swigt__p_wxSplitterRenderParams
,
40798 &_swigt__p_wxStaticBoxSizer
,
40799 &_swigt__p_wxStdDialogButtonSizer
,
40800 &_swigt__p_wxStockGDI
,
40801 &_swigt__p_wxString
,
40802 &_swigt__p_wxSysColourChangedEvent
,
40803 &_swigt__p_wxTGAHandler
,
40804 &_swigt__p_wxTIFFHandler
,
40805 &_swigt__p_wxUpdateUIEvent
,
40806 &_swigt__p_wxValidator
,
40807 &_swigt__p_wxWindow
,
40808 &_swigt__p_wxWindowCreateEvent
,
40809 &_swigt__p_wxWindowDC
,
40810 &_swigt__p_wxWindowDestroyEvent
,
40811 &_swigt__p_wxXPMHandler
,
40814 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40815 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40816 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40817 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40818 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40819 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40820 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40821 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40822 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40823 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40824 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40825 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40826 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40827 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40828 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40829 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}};
40830 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40831 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40832 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}};
40833 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40834 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40835 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40836 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40837 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}};
40838 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40839 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40840 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40841 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40842 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40843 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40844 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40845 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40846 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40847 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40848 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40849 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40850 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40851 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}};
40852 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}};
40853 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40854 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40855 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40856 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40857 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}};
40858 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40859 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40860 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40861 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40862 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40863 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40864 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40865 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40866 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40867 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40868 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}};
40869 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40870 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}};
40871 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40872 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40873 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40874 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40875 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40876 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40877 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40878 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40879 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40880 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40881 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40882 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40883 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40884 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40885 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40886 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40887 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40888 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40889 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40890 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40891 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40892 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40893 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40894 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40895 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40896 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40897 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40898 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40899 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40900 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40901 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40902 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40903 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40904 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40905 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40906 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40907 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40908 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40909 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40910 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40911 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40912 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40913 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40914 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40915 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40916 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40917 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40918 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40919 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40920 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40921 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40922 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40923 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40924 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40925 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40926 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40927 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40928 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40929 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40930 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40931 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40932 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40933 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40934 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40935 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40936 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40937 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40938 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40939 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40940 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40941 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40942 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40943 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40944 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40945 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40946 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40947 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40948 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40949 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40950 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40951 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40952 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40953 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40954 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40955 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}};
40956 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40957 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40958 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40959 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40960 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40961 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40962 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}};
40963 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40964 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40965 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40966 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40967 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40968 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40969 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40970 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40971 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40972 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40973 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40974 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40975 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40976 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40977 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40978 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40979 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40980 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40981 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40982 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40983 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}};
40984 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40986 static swig_cast_info
*swig_cast_initial
[] = {
40990 _swigc__p_form_ops_t
,
40992 _swigc__p_unsigned_char
,
40993 _swigc__p_unsigned_int
,
40994 _swigc__p_unsigned_long
,
40996 _swigc__p_wxANIHandler
,
40997 _swigc__p_wxAcceleratorTable
,
40998 _swigc__p_wxActivateEvent
,
40999 _swigc__p_wxAlphaPixelData
,
41000 _swigc__p_wxAlphaPixelData_Accessor
,
41001 _swigc__p_wxAutoBufferedPaintDC
,
41002 _swigc__p_wxBMPHandler
,
41003 _swigc__p_wxBitmap
,
41004 _swigc__p_wxBoxSizer
,
41006 _swigc__p_wxBrushList
,
41007 _swigc__p_wxBufferedDC
,
41008 _swigc__p_wxBufferedPaintDC
,
41009 _swigc__p_wxCURHandler
,
41011 _swigc__p_wxChildFocusEvent
,
41012 _swigc__p_wxClientDC
,
41013 _swigc__p_wxClipboardTextEvent
,
41014 _swigc__p_wxCloseEvent
,
41016 _swigc__p_wxColour
,
41017 _swigc__p_wxColourDatabase
,
41018 _swigc__p_wxCommandEvent
,
41019 _swigc__p_wxContextMenuEvent
,
41020 _swigc__p_wxControl
,
41021 _swigc__p_wxControlWithItems
,
41022 _swigc__p_wxCursor
,
41024 _swigc__p_wxDCBrushChanger
,
41025 _swigc__p_wxDCClipper
,
41026 _swigc__p_wxDCOverlay
,
41027 _swigc__p_wxDCPenChanger
,
41028 _swigc__p_wxDCTextColourChanger
,
41030 _swigc__p_wxDateEvent
,
41031 _swigc__p_wxDisplayChangedEvent
,
41032 _swigc__p_wxDropFilesEvent
,
41033 _swigc__p_wxDuplexMode
,
41034 _swigc__p_wxEffects
,
41035 _swigc__p_wxEncodingConverter
,
41036 _swigc__p_wxEraseEvent
,
41038 _swigc__p_wxEvtHandler
,
41039 _swigc__p_wxFSFile
,
41040 _swigc__p_wxFileSystem
,
41041 _swigc__p_wxFlexGridSizer
,
41042 _swigc__p_wxFocusEvent
,
41044 _swigc__p_wxFontList
,
41045 _swigc__p_wxFontMapper
,
41046 _swigc__p_wxGBSizerItem
,
41048 _swigc__p_wxGDIObjListBase
,
41049 _swigc__p_wxGDIObject
,
41050 _swigc__p_wxGIFHandler
,
41051 _swigc__p_wxGraphicsBrush
,
41052 _swigc__p_wxGraphicsContext
,
41053 _swigc__p_wxGraphicsFont
,
41054 _swigc__p_wxGraphicsMatrix
,
41055 _swigc__p_wxGraphicsObject
,
41056 _swigc__p_wxGraphicsPath
,
41057 _swigc__p_wxGraphicsPen
,
41058 _swigc__p_wxGraphicsRenderer
,
41059 _swigc__p_wxGridBagSizer
,
41060 _swigc__p_wxGridSizer
,
41061 _swigc__p_wxHeaderButtonParams
,
41062 _swigc__p_wxICOHandler
,
41064 _swigc__p_wxIconBundle
,
41065 _swigc__p_wxIconLocation
,
41066 _swigc__p_wxIconizeEvent
,
41067 _swigc__p_wxIdleEvent
,
41069 _swigc__p_wxImageHandler
,
41070 _swigc__p_wxImageList
,
41071 _swigc__p_wxIndividualLayoutConstraint
,
41072 _swigc__p_wxInitDialogEvent
,
41073 _swigc__p_wxJPEGHandler
,
41074 _swigc__p_wxKeyEvent
,
41075 _swigc__p_wxLanguageInfo
,
41076 _swigc__p_wxLayoutConstraints
,
41077 _swigc__p_wxLocale
,
41079 _swigc__p_wxMaximizeEvent
,
41080 _swigc__p_wxMemoryDC
,
41082 _swigc__p_wxMenuBar
,
41083 _swigc__p_wxMenuEvent
,
41084 _swigc__p_wxMenuItem
,
41085 _swigc__p_wxMetaFile
,
41086 _swigc__p_wxMetaFileDC
,
41087 _swigc__p_wxMirrorDC
,
41088 _swigc__p_wxMouseCaptureChangedEvent
,
41089 _swigc__p_wxMouseCaptureLostEvent
,
41090 _swigc__p_wxMouseEvent
,
41091 _swigc__p_wxMoveEvent
,
41092 _swigc__p_wxNativeEncodingInfo
,
41093 _swigc__p_wxNativeFontInfo
,
41094 _swigc__p_wxNativePixelData
,
41095 _swigc__p_wxNativePixelData_Accessor
,
41096 _swigc__p_wxNavigationKeyEvent
,
41097 _swigc__p_wxNcPaintEvent
,
41098 _swigc__p_wxNotifyEvent
,
41099 _swigc__p_wxObject
,
41100 _swigc__p_wxOverlay
,
41101 _swigc__p_wxPCXHandler
,
41102 _swigc__p_wxPNGHandler
,
41103 _swigc__p_wxPNMHandler
,
41104 _swigc__p_wxPaintDC
,
41105 _swigc__p_wxPaintEvent
,
41106 _swigc__p_wxPalette
,
41107 _swigc__p_wxPaletteChangedEvent
,
41108 _swigc__p_wxPaperSize
,
41110 _swigc__p_wxPenList
,
41111 _swigc__p_wxPixelDataBase
,
41113 _swigc__p_wxPoint2D
,
41114 _swigc__p_wxPoint2DDouble
,
41115 _swigc__p_wxPostScriptDC
,
41116 _swigc__p_wxPrintData
,
41117 _swigc__p_wxPrinterDC
,
41118 _swigc__p_wxPseudoDC
,
41120 _swigc__p_wxPyCommandEvent
,
41121 _swigc__p_wxPyEvent
,
41122 _swigc__p_wxPyFontEnumerator
,
41123 _swigc__p_wxPyImageHandler
,
41124 _swigc__p_wxPyLocale
,
41125 _swigc__p_wxPySizer
,
41126 _swigc__p_wxPyValidator
,
41127 _swigc__p_wxQueryNewPaletteEvent
,
41129 _swigc__p_wxRect2DDouble
,
41130 _swigc__p_wxRegion
,
41131 _swigc__p_wxRegionIterator
,
41132 _swigc__p_wxRendererNative
,
41133 _swigc__p_wxRendererVersion
,
41134 _swigc__p_wxScreenDC
,
41135 _swigc__p_wxScrollEvent
,
41136 _swigc__p_wxScrollWinEvent
,
41137 _swigc__p_wxSetCursorEvent
,
41138 _swigc__p_wxShowEvent
,
41140 _swigc__p_wxSizeEvent
,
41142 _swigc__p_wxSizerItem
,
41143 _swigc__p_wxSplitterRenderParams
,
41144 _swigc__p_wxStaticBoxSizer
,
41145 _swigc__p_wxStdDialogButtonSizer
,
41146 _swigc__p_wxStockGDI
,
41147 _swigc__p_wxString
,
41148 _swigc__p_wxSysColourChangedEvent
,
41149 _swigc__p_wxTGAHandler
,
41150 _swigc__p_wxTIFFHandler
,
41151 _swigc__p_wxUpdateUIEvent
,
41152 _swigc__p_wxValidator
,
41153 _swigc__p_wxWindow
,
41154 _swigc__p_wxWindowCreateEvent
,
41155 _swigc__p_wxWindowDC
,
41156 _swigc__p_wxWindowDestroyEvent
,
41157 _swigc__p_wxXPMHandler
,
41161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41163 static swig_const_info swig_const_table
[] = {
41164 {0, 0, 0, 0.0, 0, 0}};
41169 /* -----------------------------------------------------------------------------
41170 * Type initialization:
41171 * This problem is tough by the requirement that no dynamic
41172 * memory is used. Also, since swig_type_info structures store pointers to
41173 * swig_cast_info structures and swig_cast_info structures store pointers back
41174 * to swig_type_info structures, we need some lookup code at initialization.
41175 * The idea is that swig generates all the structures that are needed.
41176 * The runtime then collects these partially filled structures.
41177 * The SWIG_InitializeModule function takes these initial arrays out of
41178 * swig_module, and does all the lookup, filling in the swig_module.types
41179 * array with the correct data and linking the correct swig_cast_info
41180 * structures together.
41182 * The generated swig_type_info structures are assigned staticly to an initial
41183 * array. We just loop though that array, and handle each type individually.
41184 * First we lookup if this type has been already loaded, and if so, use the
41185 * loaded structure instead of the generated one. Then we have to fill in the
41186 * cast linked list. The cast data is initially stored in something like a
41187 * two-dimensional array. Each row corresponds to a type (there are the same
41188 * number of rows as there are in the swig_type_initial array). Each entry in
41189 * a column is one of the swig_cast_info structures for that type.
41190 * The cast_initial array is actually an array of arrays, because each row has
41191 * a variable number of columns. So to actually build the cast linked list,
41192 * we find the array of casts associated with the type, and loop through it
41193 * adding the casts to the list. The one last trick we need to do is making
41194 * sure the type pointer in the swig_cast_info struct is correct.
41196 * First off, we lookup the cast->type name to see if it is already loaded.
41197 * There are three cases to handle:
41198 * 1) If the cast->type has already been loaded AND the type we are adding
41199 * casting info to has not been loaded (it is in this module), THEN we
41200 * replace the cast->type pointer with the type pointer that has already
41202 * 2) If BOTH types (the one we are adding casting info to, and the
41203 * cast->type) are loaded, THEN the cast info has already been loaded by
41204 * the previous module so we just ignore it.
41205 * 3) Finally, if cast->type has not already been loaded, then we add that
41206 * swig_cast_info to the linked list (because the cast->type) pointer will
41208 * ----------------------------------------------------------------------------- */
41218 #define SWIGRUNTIME_DEBUG
41222 SWIG_InitializeModule(void *clientdata
) {
41224 swig_module_info
*module_head
;
41225 static int init_run
= 0;
41227 clientdata
= clientdata
;
41229 if (init_run
) return;
41232 /* Initialize the swig_module */
41233 swig_module
.type_initial
= swig_type_initial
;
41234 swig_module
.cast_initial
= swig_cast_initial
;
41236 /* Try and load any already created modules */
41237 module_head
= SWIG_GetModule(clientdata
);
41239 swig_module
.next
= module_head
->next
;
41240 module_head
->next
= &swig_module
;
41242 /* This is the first module loaded */
41243 swig_module
.next
= &swig_module
;
41244 SWIG_SetModule(clientdata
, &swig_module
);
41247 /* Now work on filling in swig_module.types */
41248 #ifdef SWIGRUNTIME_DEBUG
41249 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41251 for (i
= 0; i
< swig_module
.size
; ++i
) {
41252 swig_type_info
*type
= 0;
41253 swig_type_info
*ret
;
41254 swig_cast_info
*cast
;
41256 #ifdef SWIGRUNTIME_DEBUG
41257 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41260 /* if there is another module already loaded */
41261 if (swig_module
.next
!= &swig_module
) {
41262 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41265 /* Overwrite clientdata field */
41266 #ifdef SWIGRUNTIME_DEBUG
41267 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41269 if (swig_module
.type_initial
[i
]->clientdata
) {
41270 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41271 #ifdef SWIGRUNTIME_DEBUG
41272 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41276 type
= swig_module
.type_initial
[i
];
41279 /* Insert casting types */
41280 cast
= swig_module
.cast_initial
[i
];
41281 while (cast
->type
) {
41282 /* Don't need to add information already in the list */
41284 #ifdef SWIGRUNTIME_DEBUG
41285 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41287 if (swig_module
.next
!= &swig_module
) {
41288 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41289 #ifdef SWIGRUNTIME_DEBUG
41290 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41294 if (type
== swig_module
.type_initial
[i
]) {
41295 #ifdef SWIGRUNTIME_DEBUG
41296 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41301 /* Check for casting already in the list */
41302 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41303 #ifdef SWIGRUNTIME_DEBUG
41304 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41306 if (!ocast
) ret
= 0;
41311 #ifdef SWIGRUNTIME_DEBUG
41312 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41315 type
->cast
->prev
= cast
;
41316 cast
->next
= type
->cast
;
41322 /* Set entry in modules->types array equal to the type */
41323 swig_module
.types
[i
] = type
;
41325 swig_module
.types
[i
] = 0;
41327 #ifdef SWIGRUNTIME_DEBUG
41328 printf("**** SWIG_InitializeModule: Cast List ******\n");
41329 for (i
= 0; i
< swig_module
.size
; ++i
) {
41331 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41332 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41333 while (cast
->type
) {
41334 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41338 printf("---- Total casts: %d\n",j
);
41340 printf("**** SWIG_InitializeModule: Cast List ******\n");
41344 /* This function will propagate the clientdata field of type to
41345 * any new swig_type_info structures that have been added into the list
41346 * of equivalent types. It is like calling
41347 * SWIG_TypeClientData(type, clientdata) a second time.
41350 SWIG_PropagateClientData(void) {
41352 swig_cast_info
*equiv
;
41353 static int init_run
= 0;
41355 if (init_run
) return;
41358 for (i
= 0; i
< swig_module
.size
; i
++) {
41359 if (swig_module
.types
[i
]->clientdata
) {
41360 equiv
= swig_module
.types
[i
]->cast
;
41362 if (!equiv
->converter
) {
41363 if (equiv
->type
&& !equiv
->type
->clientdata
)
41364 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41366 equiv
= equiv
->next
;
41386 /* Python-specific SWIG API */
41387 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41388 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41389 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41391 /* -----------------------------------------------------------------------------
41392 * global variable support code.
41393 * ----------------------------------------------------------------------------- */
41395 typedef struct swig_globalvar
{
41396 char *name
; /* Name of global variable */
41397 PyObject
*(*get_attr
)(void); /* Return the current value */
41398 int (*set_attr
)(PyObject
*); /* Set the value */
41399 struct swig_globalvar
*next
;
41402 typedef struct swig_varlinkobject
{
41404 swig_globalvar
*vars
;
41405 } swig_varlinkobject
;
41407 SWIGINTERN PyObject
*
41408 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41409 return PyString_FromString("<Swig global variables>");
41412 SWIGINTERN PyObject
*
41413 swig_varlink_str(swig_varlinkobject
*v
) {
41414 PyObject
*str
= PyString_FromString("(");
41415 swig_globalvar
*var
;
41416 for (var
= v
->vars
; var
; var
=var
->next
) {
41417 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41418 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41420 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41425 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41426 PyObject
*str
= swig_varlink_str(v
);
41427 fprintf(fp
,"Swig global variables ");
41428 fprintf(fp
,"%s\n", PyString_AsString(str
));
41434 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41435 swig_globalvar
*var
= v
->vars
;
41437 swig_globalvar
*n
= var
->next
;
41444 SWIGINTERN PyObject
*
41445 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41446 PyObject
*res
= NULL
;
41447 swig_globalvar
*var
= v
->vars
;
41449 if (strcmp(var
->name
,n
) == 0) {
41450 res
= (*var
->get_attr
)();
41455 if (res
== NULL
&& !PyErr_Occurred()) {
41456 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41462 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41464 swig_globalvar
*var
= v
->vars
;
41466 if (strcmp(var
->name
,n
) == 0) {
41467 res
= (*var
->set_attr
)(p
);
41472 if (res
== 1 && !PyErr_Occurred()) {
41473 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41478 SWIGINTERN PyTypeObject
*
41479 swig_varlink_type(void) {
41480 static char varlink__doc__
[] = "Swig var link object";
41481 static PyTypeObject varlink_type
;
41482 static int type_init
= 0;
41484 const PyTypeObject tmp
41486 PyObject_HEAD_INIT(NULL
)
41487 0, /* Number of items in variable part (ob_size) */
41488 (char *)"swigvarlink", /* Type name (tp_name) */
41489 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41490 0, /* Itemsize (tp_itemsize) */
41491 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41492 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41493 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41494 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41495 0, /* tp_compare */
41496 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41497 0, /* tp_as_number */
41498 0, /* tp_as_sequence */
41499 0, /* tp_as_mapping */
41502 (reprfunc
)swig_varlink_str
, /* tp_str */
41503 0, /* tp_getattro */
41504 0, /* tp_setattro */
41505 0, /* tp_as_buffer */
41507 varlink__doc__
, /* tp_doc */
41508 0, /* tp_traverse */
41510 0, /* tp_richcompare */
41511 0, /* tp_weaklistoffset */
41512 #if PY_VERSION_HEX >= 0x02020000
41513 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41515 #if PY_VERSION_HEX >= 0x02030000
41518 #ifdef COUNT_ALLOCS
41519 0,0,0,0 /* tp_alloc -> tp_next */
41522 varlink_type
= tmp
;
41523 varlink_type
.ob_type
= &PyType_Type
;
41526 return &varlink_type
;
41529 /* Create a variable linking object for use later */
41530 SWIGINTERN PyObject
*
41531 SWIG_Python_newvarlink(void) {
41532 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41536 return ((PyObject
*) result
);
41540 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41541 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41542 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41544 size_t size
= strlen(name
)+1;
41545 gv
->name
= (char *)malloc(size
);
41547 strncpy(gv
->name
,name
,size
);
41548 gv
->get_attr
= get_attr
;
41549 gv
->set_attr
= set_attr
;
41550 gv
->next
= v
->vars
;
41556 SWIGINTERN PyObject
*
41558 static PyObject
*_SWIG_globals
= 0;
41559 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41560 return _SWIG_globals
;
41563 /* -----------------------------------------------------------------------------
41564 * constants/methods manipulation
41565 * ----------------------------------------------------------------------------- */
41567 /* Install Constants */
41569 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41572 for (i
= 0; constants
[i
].type
; ++i
) {
41573 switch(constants
[i
].type
) {
41574 case SWIG_PY_POINTER
:
41575 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41577 case SWIG_PY_BINARY
:
41578 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41585 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41591 /* -----------------------------------------------------------------------------*/
41592 /* Fix SwigMethods to carry the callback ptrs when needed */
41593 /* -----------------------------------------------------------------------------*/
41596 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41597 swig_const_info
*const_table
,
41598 swig_type_info
**types
,
41599 swig_type_info
**types_initial
) {
41601 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41602 const char *c
= methods
[i
].ml_doc
;
41603 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41605 swig_const_info
*ci
= 0;
41606 const char *name
= c
+ 10;
41607 for (j
= 0; const_table
[j
].type
; ++j
) {
41608 if (strncmp(const_table
[j
].name
, name
,
41609 strlen(const_table
[j
].name
)) == 0) {
41610 ci
= &(const_table
[j
]);
41615 size_t shift
= (ci
->ptype
) - types
;
41616 swig_type_info
*ty
= types_initial
[shift
];
41617 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41618 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41619 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41622 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41624 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41626 strncpy(buff
, "swig_ptr: ", 10);
41628 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41629 methods
[i
].ml_doc
= ndoc
;
41641 /* -----------------------------------------------------------------------------*
41642 * Partial Init method
41643 * -----------------------------------------------------------------------------*/
41648 SWIGEXPORT
void SWIG_init(void) {
41651 /* Fix SwigMethods to carry the callback ptrs when needed */
41652 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41654 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41655 d
= PyModule_GetDict(m
);
41657 SWIG_InitializeModule(0);
41658 SWIG_InstallConstants(d
,swig_const_table
);
41661 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41662 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41663 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41664 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41665 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41666 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41667 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41668 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41669 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41670 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41671 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41672 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41673 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41674 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41675 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41676 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41677 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41678 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41679 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41680 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41681 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41682 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41683 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41684 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41685 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41686 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41687 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41688 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41689 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41690 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41691 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41692 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41693 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41694 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41695 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41696 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41697 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41698 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41699 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41700 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41701 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41702 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41703 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41704 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41705 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41706 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41707 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41708 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41709 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41710 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41711 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41712 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41713 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41714 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41715 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41716 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41717 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41718 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41719 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41720 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41721 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41722 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41723 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41724 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41725 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41726 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41727 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41728 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41729 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41730 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41731 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41732 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41733 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41734 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41735 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41736 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41737 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41738 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41739 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41740 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41741 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41742 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41743 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41744 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41745 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41746 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41747 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41748 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41749 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41750 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41751 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41752 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41753 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41754 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41755 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41756 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41757 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41758 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41759 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41760 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41761 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41762 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41763 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41764 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41765 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41766 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41767 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41768 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41769 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41770 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41771 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41772 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41773 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41774 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41775 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41776 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41777 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41778 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41779 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41780 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41781 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41782 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41783 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41784 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41785 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41786 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41787 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41788 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41789 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41790 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41791 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41792 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41794 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41796 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41797 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41798 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41799 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41800 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41801 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41802 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41803 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41804 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41805 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41806 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41807 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41808 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41809 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41810 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41811 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41812 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41813 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41814 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41815 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41816 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41817 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41818 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41819 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41820 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41821 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41822 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41823 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41824 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41825 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41826 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41827 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41828 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41829 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41830 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41831 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41832 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41833 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41834 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41835 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41836 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41837 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41838 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41839 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41840 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41841 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41842 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41843 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41844 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41845 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41846 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41847 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41848 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41849 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41850 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41851 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41852 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41853 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41854 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41855 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41856 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41857 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41858 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41859 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41860 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41861 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41862 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41863 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41864 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41865 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41866 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41867 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41868 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41869 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41870 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41871 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41872 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41873 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41874 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41875 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41876 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41877 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41878 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41879 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41880 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41881 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41882 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41883 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41884 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41885 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41886 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41887 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41888 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41889 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41890 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41891 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41892 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41893 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41894 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41895 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41896 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41897 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41898 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41899 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41900 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41901 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41902 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41903 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41904 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41905 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41906 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41907 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41908 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41909 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41910 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41911 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41912 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41913 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41914 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41915 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41916 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41917 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41918 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41919 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41920 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41921 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41922 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41923 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41924 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41925 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41926 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41927 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41928 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41929 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41930 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41931 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41932 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41933 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41934 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41935 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41936 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41937 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41938 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41939 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41940 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41941 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41942 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41943 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41944 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41945 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41946 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41947 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41948 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41949 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41950 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41951 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41952 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41953 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41954 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41955 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41956 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41957 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41958 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41959 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41960 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41961 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41962 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41963 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41964 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41965 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41966 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41967 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41968 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41969 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41970 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41971 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41972 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41973 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41974 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41975 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41976 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41977 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41978 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41979 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41980 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41981 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41982 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41983 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41984 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41985 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41986 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41987 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41988 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41989 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41990 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41991 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41992 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41993 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41994 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41995 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41996 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42019 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42020 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42021 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42022 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42023 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42024 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42025 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42026 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42027 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42028 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42029 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42030 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42031 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42032 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42033 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42034 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42035 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42036 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42037 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42038 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42039 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42040 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42041 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42042 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42043 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42044 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42045 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42046 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42047 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42048 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42049 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42050 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42051 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42052 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42053 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42054 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42055 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42056 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42057 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42058 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42059 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42060 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42061 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42062 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42063 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42064 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42065 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42066 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42067 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42068 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42069 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42070 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42071 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42072 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42073 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42074 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42075 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42076 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42077 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42078 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42079 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42080 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42081 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42082 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42083 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42084 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42085 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42086 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42087 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42088 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42089 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42090 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42091 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42092 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42093 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42094 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42095 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42096 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42097 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42098 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42099 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42100 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42101 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42102 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42103 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42104 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42105 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42106 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42107 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42108 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42109 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42110 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42111 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42112 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42113 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42114 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42115 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42116 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42117 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42118 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42119 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42121 // Work around a chicken/egg problem in drawlist.cpp
42122 wxPyDrawList_SetAPIPtr();